Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Advanced Video Processing > When To Use Codec Friendly Sizing?


Posted by: Brassplyer Oct 25 2012, 01:13 AM
Using the resize filter, when would you use the option for codec friendly sizing - multiples of 2, 4, 8, 16?

Thanks

Posted by: dloneranger Oct 25 2012, 05:20 AM
It's more of a safety feature than anything else
A lot of codecs require that the size of videos are multiples of 2, 4, 8 or 16
Also, certain codecs can be more efficient if the sizes are multiples of 8 or 16

You can waste a lot of time if the codec lets you pick a width that won't actually playback properly
XVID encoded videos with an odd width can play back as a slated black and white mess
But that all depends on exactly what codec is decoding the video

Safest choice is 16, but 8 and 4 are usually fine
At minimum, pick 2 as hardly anything works with odd widths

Posted by: phaeron Oct 28 2012, 07:56 PM
More applicable is that there are some codecs that simply won't even allow compression and will throw errors if you don't adjust to an appropriate width and height. The adjustment options save you the trouble of setting a percentage, reading off the sizes, and then manually adjusting both the size and cropping options to make the sizes work out without distorting the aspect ratio.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)