View Single Post
Old 31st December 2009, 21:56   #10  |  Link
mariush
Registered User
 
Join Date: Dec 2008
Posts: 589
If i remember correctly xvid required width and height multiple of 4. I think it was because of some conversions between yv12 and yuv2 and other color spaces it supported. Huffyuv had the same requirements so I personally got used to cropping to multiples of 4.

As for x264, i think internally just duplicates the last line(s) to reach a multiple of 16. In some cases (mpc-hc with dxva decoding of 1920x1080 on 1920x1200 screen) I could see those duplicated lines and it was a bit annoying.

To answer the original question, I always crop the black lines out unless the destination is some device that only accepts some fixed resolutions. I also try to keep both width and height multiples of 16, 8 or in worst case multiples of 4. A couple of lines cut out to have a multiple of 4 at least, won't be noticeable.
mariush is offline   Reply With Quote