[FFmpeg-user] zoompan: video is jerking around

Michael Koch astroelectronic at t-online.de
Sun Feb 7 15:12:14 CET 2016

> 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 


More information about the ffmpeg-user mailing list