[FFmpeg-devel] [Patch] Scale filter should use multiples of 2

Baptiste Coudurier baptiste.coudurier
Tue Jun 29 21:56:17 CEST 2010

On 6/29/10 12:02 PM, Daniel G. Taylor wrote:
> Hey,
> Attached is a small patch to make the vf_scale filter always produce
> multiples of 2 when the -1 option is used for either width or height to
> keep the aspect ratio. This lets you use it properly with some encoders,
> like libx264, that would otherwise fail, e.g:

This depends on the output pixel format. For 420, indeed it would be useful.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list