


You can give partial seconds with a decimal.The framerate will be whatever you specify under (the correct flag here would be -r) or default to 30 fps (I think) if you do not specify anything.

If just the three files in the example are run, you will get a 17 second video that shows 3 images the first for 5 seconds, the second for 3 seconds, and the third for 9 seconds.The text file lists the file name, then lists the amount of time to show it in seconds.The command uses -f concat demuxer to add all the files listed in the text file to a single output.Then you run the following command: ffmpeg -f concat -i output.mp4 To get each image to have a different time shown, instead of all images having the same time, you'll have to use the concat demuxer and a text file.Ĭreate a text file like the following, ordering the images as you'd want them.
