[MEncoder-users] zoom to fit resolution
Andrew Wason
rectalogic at rectalogic.com
Fri Aug 22 04:42:54 CEST 2008
John Deas <john.deas <at> gmail.com> writes:
> I want to export to have it at an exact resolution, whatever the aspect
> ratio and original resolution. The purposed behavior would be:
> - if all dimensions are below the target resolutions, zoom until one
> resolution match the target (and thus kep the original aspect ratio)
> - if all dimensions are above the target resolutions, unzoom until one
> resolution match the target
> - if one is above and one is below, unzoom until the resolution above match
> the target resolution
e.g. for 480x320 bounding box:
-vf scale=0:0,scale=480:-2,scale=-2:320
Andrew
More information about the MEncoder-users
mailing list