PDA

View Full Version : How can I delete scenes with Vdub and save w/out reencoding it?


YaoMing11
22nd April 2004, 08:54
I used Virtualdub to encode a video clip in divx format a week ago. Is there a way to open the file and delete certain frames from it and then save it straight to disk without having to go through another encoding process and waste time and quality? I can't seem to figure out how to just save it to disk after deleting the frames I dont want.

Matthew
22nd April 2004, 09:09
video->directstreamcopy
audio->directstreamcopy
file->save as avi

Selur
22nd April 2004, 09:45
.. before saving you should select the frames and delete them

Soulhunter
22nd April 2004, 19:58
But make sure that...

- The resulting stuff starts always with a key frame

- That the stuff behind a cut starts with a key frame


Bye

Gambler's Ruin
12th May 2004, 07:57
what's this about keyframes? the first frame of a video and after a cut should be keyframes? is this in any guides somewhere, i don't think i've seen it. i'm just wondering, because i haven't paid any attention to where my cuts go, keyframes or not; so you could you elaborate? Thanks.

stephanV
12th May 2004, 09:49
if you dont pay attention to it, VDub will do it for you :) (it doesnt allow you to make miscuts)

deltaframes are predicted from keyframes, so each deltaframe can only be decoded if its own keyframe is present and the deltaframes are in the right order (otherwise results would be garbled). so you selection must start at a keyframe (again, if you dont VDub will make the cut at first keyframe before that deltaframe). Where you end you cut doesnt really matter as deltaframes usually predict backwards (then again, how would this work with B-frames..?).