I've been using the following zoom commands when making image videos:
Zoom in:
Zoom out:Code:ffmpeg -loop 1 -i input.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=125" -c:v libx264 -t 5 -s "800x450" zoomin.mp4
These zoom to/from the image's corners but I'd like to try to zoom to/from a specific part of the image.Code:ffmpeg -loop 1 -i input.jpg -vf "zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125" -c:v libx264 -t 5 -s "800x450" zoomout.mp4
i.e. starting with a close-up of someone's face then panning-out to show them standing in front of a famous landmark. (or vice-versa panning-in)
Is this possible? Does anyone know how to go about it?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
Zoom and Enhance image of thief from security camera footage
By Elizaabeth1818 in forum RestorationReplies: 6Last Post: 16th Jun 2023, 03:55 -
Ffmpeg — Specific of libx265
By Drag in forum EditingReplies: 2Last Post: 13th Oct 2018, 07:30 -
Stream image and video in youtube with ffmpeg
By jonaszo in forum ffmpegX general discussionReplies: 1Last Post: 6th Jan 2018, 16:45 -
How do I tell ffmpeg to export a image sequence to a MP4 video libx 264. Bu
By oduodui in forum EditingReplies: 3Last Post: 23rd Jun 2017, 18:12 -
ffmpeg mute specific time
By tb582 in forum EditingReplies: 2Last Post: 9th Apr 2015, 16:26