[FFmpeg-user] Changing start number in segment name - ffmpeg mpeg dash encoder
韦林
weilin139 at 126.com
Fri Mar 8 10:05:57 EET 2019
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".
More information about the ffmpeg-user
mailing list