PDA

View Full Version : Editing AVI


dr00bie
11th October 2006, 21:55
I have a DVD from a Sony camcorder that I need to edit. I need to break it into 5 different files. The problem I am having is that when when I attempt to edit the avi's with VirtualDub, it only allows me to clip them on a keyframe, but that is not where I need to clip them. How can I get around this and make my edits where I need to? Do I need to reencode a higher number of keyframes?

Thanks,
Drew

CWR03
12th October 2006, 01:20
You can convert the file to a lossless format, such as HuffYUV, then you can cut it on exact frames with VirtualDub. As a rule, MPEG-2 cannot be cut in on anything but I-frames.

BigDid
12th October 2006, 01:57
You can convert the file to a lossless format, such as HuffYUV, then you can cut it on exact frames with VirtualDub. As a rule, MPEG-2 cannot be cut in on anything but I-frames.
Hi (again)

dr00bie's title is "Editing AVI" and he is talking of a "DVD from a Sony camcorder"; maybe the DVD is with AVI files not VOB's ?...

Did

dr00bie
12th October 2006, 02:09
I am sorry, I did not explain myself good enough.

I have a small dvd from the Sony camcorder, I ripped the contents, then converted the vob files into an avi and a sound track. When I load the avi and sound track into VirtualDub, I can mark in and mark out where I want to clip it, but it always moves to a keyframe instead of where I put it (the keyframes are about 8 seconds apart). This makes editing hard, because the points I need to edit at are in between keyframes.

Thanks,
Drew

drcl
12th October 2006, 02:26
well the same applies for avis. Keyframes are the start of an sequence of frames. Subsequent frames are derived from the data in the keyframe therefore the keyframe must be included in the cut or you would just get garbage.

The best solution is to re-encode from the source and doing the editing before you encode to avi.