[FFmpeg-user] Controlling Numbering of Extracted Still Frames?

Sam Logan shapableline at gmail.com
Sat Jun 14 02:24:04 CEST 2014


When you convert a video to still frames via:

ffmpeg -i "Foobar.mp4" "Frame%05d.png"

For the filenames, FFmpeg always numbers the output frames/files starting at 1:

Frame00001.png
Frame00002.png
Frame00003.png
etc.

How can I get FFmpeg to instead number the outputted files starting at
some other value besides 1, such as 0?


More information about the ffmpeg-user mailing list