[FFmpeg-user] Changing start number in segment name - ffmpeg mpeg dash encoder

Sai Balaji mynameisbaju at gmail.com
Fri Mar 8 08:27:12 EET 2019


Hi, I'm trying to implement MPEG dash live streaming using FFmpeg dash
encoder and shaka player.

Is there any way to set the start number to any value other than 1?

For example, chunk-stream0-00009.m4s instead of the default starting
segment chunk-stream0-00001.m4s

ffmpeg -f avfoundation -video_size 800x600 -framerate 30 -i 0  -vcodec
libx264 -x264-params keyint=30:scenecut=0  -acodec aac  -b:v 1M -b:a 192k
-f dash  -use_template 0 -use_timeline 0 -single_file 0  -streaming 1
-start_number
10 -seg_duration  1 sai.mpd


This is the command I am using.


Thanks and regards,

Sai


More information about the ffmpeg-user mailing list