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

Sai Balaji mynameisbaju at gmail.com
Fri Mar 8 18:42:56 EET 2019


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 1  -single_file 0  -streaming 1
 -start_number
10 -seg_duration  1 sai.mpd


This is the command which I use for dash.


When I try to modify the same for webm_dash_manifest, I am getting the
following error.


Input #0, avfoundation, from '1':

  Duration: N/A, start: 30498.367000, bitrate: N/A

    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 30
tbr, 1000k tbn, 1000k tbc

Output #0, webm_dash_manifest, to 'sai.mpd':

Output file #0 does not contain any stream

On Fri, Mar 8, 2019 at 7:07 PM DopeLabs <dopelabs at dubstep.fm> wrote:

> 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".
>
> _______________________________________________
> 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