[FFmpeg-devel] [PATCH] Fix odd width or height from scaling filter expression
jeroen.ost at gmail.com
Mon Aug 20 14:44:21 CEST 2012
The attached patch fixes the issue that the scaling filter, when used
with an expression like
scale=iw*sar:ih (to correct non-square pixels), can lead to odd width or height.
Example: 720x576 [SAR 12:11] and scale=iw*sar:ih
before patch: 785x576
after patch: 786x576
It causes a vf_pad filter further in the filter chain to abort because
of the odd video size. I suspect codecs and players don't like odd
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 917 bytes
Desc: not available
More information about the ffmpeg-devel