[FFmpeg-user] ffmpeg: slide show on Windows

RAPPAZ Francois francois.rappaz at unifr.ch
Tue Nov 17 15:09:01 EET 2020


Thanks that was it

And if I Would like to have each image shown during 15 seconds (I have 15 pictures and  whants the total time being 225 sec), How should I specified the -framerate and -r ? I tried 
ffmpeg -y -f image2 -framerate 1/5 -i %%02d.JPG -i SligoAir_WhiteBlanket.mp3 -vsync vfr  -r 15 -pix_fmt yuv420p output.mkv

But that it's too short a time for each picture

Cheers

Fran├žois
-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Michael Koch
Sent: 17 November 2020 12:04
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] ffmpeg: slide show on Windows

Am 17.11.2020 um 11:50 schrieb RAPPAZ Francois via ffmpeg-user:
> I'm on Windows 10 with ffmpeg ...

> Then I tried with
> ffmpeg -y -f image2 -framerate 8 -i "%02d.JPG" -i 
> SligoAir_WhiteBlanket.mp3 -vsync vfr -pix_fmt yuv420p output.mkv

If you are starting this command line from a batch file, you must escape the % character:
-i %%02d.jpg
The "" quotation marks can be omitted.
"-f image2" can also be omitted.
I think "-vsync vfr" can also be omittred (but here I'm not sure).

Michael

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list