I want to zoom in 3 seconds every 6 seconds and then zoom out. I can do this, but the sound slips is out of syncing. What would be the reason ?

ffmpeg -i "test.mp4" -vf "zoompan=z='if(lte(mod(time,4),3),zoom+0.5,zoom-0.2)':x='iw/2-(iw/zoom)/2':y='ih/2-(ih/zoom)/2':d=1" -vcodec libx264 -acodec aac -preset ultrafast "rendered/test.mp4"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.