[FFmpeg-user] filters zoompan and crop

Jim DeLaHunt list+ffmpeg-user at jdlh.com
Tue Oct 30 05:05:14 EET 2018

On 2018-10-28 23:15, Gyan wrote:

> On Mon, Oct 29, 2018 at 11:38 AM Jim DeLaHunt <list+ffmpeg-user at jdlh.com>
> wrote:
>>    A zoom
>> argument of /k/ is interpreted as if the input image was drawn /k /times
>> its original size, or equivalently, that the output image is 1//k/ the
>> size of the input image.
> That should be k^2. A zoom value of 2 crops a window of one-half width and
> height, so one-fourth area.
Agreed. By "size" I meant linear dimension, not area or pixel count.

So I think Gyan and I are both saying, interpret the "zoom" argument in 
terms of linear dimension, which means the resulting pixel count or area 
changes in terms of 1 divided by the square of the "zoom" argument.

     --Jim DeLaHunt, jdlh at jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
       multilingual websites consultant

       355-1027 Davie St, Vancouver BC V6E 4L2, Canada
          Canada mobile +1-604-376-8953

More information about the ffmpeg-user mailing list