[FFmpeg-user] output sequential filename offset

Zsolt zsocam at gmail.com
Fri Nov 25 13:43:17 EET 2016


Hello guys,
I'm encoding live stream to mp4 files, each file is 5 minutes long.
I use this command at the end: /dev/shm/video_$NAME1-%04d.mp4

It starts counting from zero, so 0000.mp4, 0001.mp4 and so on.
What I'd like to modify is to set an offset.
For example, start counting from 10, like 0010.mp4, 0011.mp4, 0012.mp4...

How can I set it?

BR,
Zsolt


More information about the ffmpeg-user mailing list