[FFmpeg-devel] [PATCH 1/2] vf_scale: add force_original_aspect_ratio

Andrey Utkin andrey.krieger.utkin at gmail.com
Sat Aug 3 16:15:35 CEST 2013

2013/8/3 Stefano Sabatini <stefasab at gmail.com>:
>> +
>> +One useful instance of this option is that when you know a specific device's
>> +maximum allowed resolution, you can use this to limit the output video to
>> +that, while retaining the aspect ratio. For example, device A allows
>> +1280x720 playback, and your video is 1920x800. Using this option (set it to
>> +1) and specifying 1280x720 to the command line makes the output 1280x533.
> Not sure this is a good idea, since this tricks the output size in
> possibly unexpected ways. Why can't you use an expression to set that
> condition, so that outw/h depends on the original input aspect ratio?

I am also unsure on usefulness of this feature. To add to the above,
on such resizes user is possible to want dimensions to be divisable by
2, 4 or 8...

Andrey Utkin

More information about the ffmpeg-devel mailing list