mpeg dash player using gstreamer

Sebastian Dröge sebastian at centricular.com
Fri Nov 21 01:21:48 PST 2014


On Fr, 2014-11-21 at 14:22 +0530, Mayank Agarwal wrote:
> Hi,
> 
> 
> I am trying to implement mpeg dash player using gstreamer.
> 
> I came across the following pipeline:
> 
> gst-launch \
> dashbin location=http://example.com/dash_manifest.mpd \
> ! qtdemux ! queue ! ffdec_h264 ! xvimagesink
> 
> to play mpd file.I want to implement the above pipeline
> in the code,and i want the application to switch between
> available streams depending on the bandwidth,since each of the
> streams come at different bitrate.My doubts are:
> 
> 1.If i want to accomplish above should i have to implement
> dashbin again,studied the dashbin code,it is downloading and parsing
> the streams using souphttpsrc and mpdparse elements.
> so if i have to modify and reimplement the code as done in dashbin element.
> 
> 2.How can i accomplish my task by making minimal changes to the above pipeline.

The GStreamer project provides a "dashdemux" element that works
conceptionally the same as "hlsdemux". It will be automatically be used
if you point playbin to a DASH MPD. This will do the MPD parsing,
downloading, etc. for you and provides the same playback interface as
any other stream (including HLS or local files) via playbin.

The dashbin element you found would be provided by someone else and
probably follows a different approach for supporting DASH than the
GStreamer project recommends. You should ask the author of that element
if you want to use that instead of dashdemux.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141121/5532067c/attachment.sig>


More information about the gstreamer-devel mailing list