[FFmpeg-user] Questions about using CROP filter to pan a jpeg image
Bram van Oosterhout
adriaanbram0712 at gmail.com
Sun Sep 29 05:11:14 EEST 2024
On Sat, Sep 28, 2024 at 7:41 AM <ffmpeg at dgmm.net> wrote:
> On Friday, 27 September 2024 14:01:49 BST Bram van Oosterhout wrote:
> > Thanks for the reference and... my IMG_8048.JPG has only one timestamp:
> > 2024:04:11 18:46:26.
> > /tmp/On6Ub.JPGdoes not have a timestamp:
> > file /tmp/On6Ub.JPG
> > /tmp/On6Ub.JPG: JPEG image data, baseline, precision 8, 4423x1080,
> > components 3
> > [Q2.1] So why does t vary?
> > [Q2.2] And with what start and interval?
>
> The timestamp refers to the timestamp of the frames in the resulting
> video,
> not the one on the source file :-)
Thanks for the responses. I have settled on pre scaling to the desired
height and then use:
ffmpeg -framerate 120 -loop 1 -i /tmp/5Pt7y.PNG -vf
"crop=1920:ih:t*(iw-1920)/6:0" -t 6 -y outfilecrop.mp4
The relation between "framerate", "-t" and "t" helps a lot in understanding
the behaviour of the command.
Thanks again,
Bram
More information about the ffmpeg-user
mailing list