[FFmpeg-user] zoompan: video is jerking around

Paul B Mahol onemda at gmail.com
Sun Feb 7 15:27:04 CET 2016

On 2/7/16, Michael Koch <astroelectronic at t-online.de> wrote:
>> ffmpeg -i Baum.JPG -vf
>> "scale=iw*8:ih*8,zoompan=z='if(eq(zoom,1),5,zoom*1.005)':d=100:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'"
>> -c:v mpeg4 -s 1800x1200 -b:v 5M -q:v 2 test.mp4
> Error message: Picture size 43776x29184 is invalid. Failed to inject
> frame into filter network: Cannot allocate memory
> I decreased the factors from 8 to 2, but then the video is still jerking
> around.

Ugh, then you need to crop it and scale croped picture.

More information about the ffmpeg-user mailing list