-1

I want the zoomin to come as circle as showen on video if possible. Image to animated video using ffmpeg zoompan(optional)

Tried this one got error: 'not found option rotate'

ffmpeg -i img001.jpg \
  -vf "zoompan=z='min(zoom+0.0005,1.5)':\
               y='if(gte(zoom,1.5),y,y+1)':
               x='x':
               d=225:
               rotate=-3*PI/180" \
  -c:v libx264 -t 10 output4.mp4

Tried also this one, no luck, not what i wanted :(

ffmpeg -i img001.jpg 
  -vf "zoompan=z='min(zoom+0.0005,1.5)':
               y='if(gte(zoom,1.5),y,y+1)':
               x='if(gte(zoom,1.5),x,x+1)':
               d=225" \
  -c:v libx264 -t 10 output4.mp4

The effect shown in 3 seconds: Sample video (min 3:17 - 3:20) Sample video

Any help is appreciated thanks

kesh
  • 2,427
  • 2
  • 9
  • 16
Rino
  • 19
  • 4
  • There's no Javascript here. Check https://stackoverflow.com/questions/3937387/rotating-videos-with-ffmpeg – James May 05 '22 at 12:29

0 Answers0