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

DopeLabs dopelabs at dubstep.fm
Fri Mar 8 15:37:29 EET 2019


looks like you can specify if you use webm_dash_manifest.. check the manpage

> On Mar 8, 2019, at 12:05 57AM, 韦林 <weilin139 at 126.com> wrote:
> 
> it seems ffmpeg had hardcode starting from 1.
> you could modify source code file 'libavformat/dashenc.c’ in function dash_init, member ‘segment_index' of OutputStream.
> i’m not sure which unexpected result would be raised up.
> 
>> 在 2019年3月8日,下午2:27,Sai Balaji <mynameisbaju at gmail.com> 写道:
>> 
>> 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
>> _______________________________________________
>> 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".
> 
> _______________________________________________
> 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