User User name Password  
   
Thursday 13.3.2025 / 16:42
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > virtualdub not deleting selection
Show topics
 
Forums
Forums
virtualdub not deleting selection
  Jump to:
 
Posted Message
sheik482
Newbie
_
1. December 2005 @ 17:50 _ Link to this message    Send private message to this user   
I am trying to delete the first 120 frames of a divx file. I cut out the part and everything looks fine, then when I save the avi the resulting file still has the 120 frames. Anyone have any idea why it is doing this? I have it set to direct streaming of audio/video.
Advertisement
_
__
sheik482
Newbie
_
1. December 2005 @ 18:27 _ Link to this message    Send private message to this user   
I think it has something to do with deleting the keyframe at frame 0. So how would you go about making frame 121 a key frame?
celtic_d
AfterDawn Addict
_
1. December 2005 @ 22:08 _ Link to this message    Send private message to this user   
That would require that you re-encode from frame 121 until the next available keyframe that is already present, say 250.
aldaco12
AfterDawn Addict
_
2. December 2005 @ 03:52 _ Link to this message    Send private message to this user   
I would try to do this thing: not deleting frames, but saving a second AVI from frame F to frame E where F is the fists keyframe larger then the segment you want to delete, and E is the ending frame.

You just have to set Video___Direct Stream Copy when you open your file in VirtualDub, and select Video___Select Range to insert F and E (avoid readinmg the ms, just look at the second half-screen, the one showing the frames).
Be sure that all optins are checked.
Advertisement
_
__
 
_
Lardzor
Junior Member
_
4. December 2005 @ 00:01 _ Link to this message    Send private message to this user   
Just my 2 cents.

I do recall reading something about clips haveing to start with a keyframe, but you can truncate them anywere at the end. The beginning has to be on a keyfram.

FYI, A keyframe is a frame that has ALL the info needed to construct a complete frame. Sure it's compressed, but it doesn't rely on data from the previous frame. That's why MPG-4 is so good at compression. It mainly stores only the changes from one frame to another. If the picture only changes a few pixels, it only stores the few pixes worth of data it needs to modify. The downside is that if you don't have the data from the previous frame, you don't have enough info to construct the current frame. You have to start with a keyframe because without the data from the previous frame, you don't have enough info to make a complete frame. It's also why when you seek through a video file with keyframes, you can only seek to a keyframe.

Old wizards never die....
(but young ones do)
afterdawn.com > forums > archived forums > divx / xvid > virtualdub not deleting selection
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork