First DASH MP4 Fragment is only playable out of the frafments created by splitmuxsink
Jan Alexander Steffens
jan.steffens at gmail.com
Tue Oct 13 05:46:14 PDT 2015
On Tue, Oct 13, 2015 at 8:29 AM, raghava.447 <raghava.447 at gmail.com> wrote:
> I have used below pipeline to create the mp4 fragments.
> gst-launch-1.0 filesrc location=BigBuckBunny_320x180.mp4 ! decodebin
> name=dec dec. ! queue ! videoconvert ! x264enc ! splitmuxsink mux="mp4mux
> fragment-duration=30000 streamable=true" location=video%05d.m4s
> max-size-bytes=18446744073709551615 max-size-time=30000000000
> Then I have created mpd file manually. I tried to play the fragments by
> using below pipeline.
> gst-launch-1.0 filesrc location=dash.mpd ! decodebin name=dec dec. ! queue !
> videoconvert ! x264enc ! mpegtsmux ! udpsink host=10.0.100.6 port=8800
> I am able to see that only the first chunk is played then EOS is encountered
> by the pipeline and it stops. It seems that every fragment has EOS created
> by splitmuxsink.
> How to resolve this issue?
> Raghavendra Rao
This sounds less like DASH and more like HDS to me - the DASH I've
seen isn't a simple fragmented MP4 but splits video and audio streams
into separate files (with initialization fragments), requiring a
completely new muxer.
More information about the gstreamer-devel