View Full Version : Cropping XviD without re-compressing?
McGee
23rd October 2003, 06:24
This is my first attempt at encoding. Everything turned out fine, except I've got a jumpy line down the right side of the video. It's only 2 pixels wide, and I'd like to crop it out. I found one other thread about a problem like this, but it was determined to be a video card or codec problem because it only occurred in full screen. I'm getting the problem any time I play the video, including previewing in Virtual Dub.
I see that there's a filter called "null transform" that lets you crop, but I can't figure out how to apply it without re-encoding the video. Can anyone help me? Thank you.
hellgauss
23rd October 2003, 08:03
you can't crop without reencoding.
I also suggest you not to reencoding an encoded video, since in each encoding the loss of quality is very high. If you want to reencode, reencode from the original.
HG
Rober2D2
23rd October 2003, 13:49
I am not too sure, but I think that you may crop during playback if you use ffdshow instead of xvid to decode. Ok, may be it is not a good solution, but you won't need to reencode.
McGee
24th October 2003, 08:08
I had retained the first pass, so I just did a different second pass with the "null transform" filter to crop out the problem. It worked, but it also transferred an error message to the first two frames of the second pass video. It says "Warning: nothing to output bframe decoder lag." So now I have to get rid of those frames somehow.
Koepi
24th October 2003, 08:22
You can't. The decoder pipeline has to be filled and thus this message gets shown.
Please read the guides and the FAQ, you'll soon see which errors you did in that encoding. (And head over to the avisynth forum and read about "YV12 process chain" - vdub's null-transform is a big no-no).
Regards
Koepi
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.