gstreamer/ext/dash
Chris Bass 19a45554bf dashdemux: remove incorrect timestamp scaling.
When using a SegmentTemplate element, the timestamps of the buffers
output by dashdemux are incorrect, causing problems downstream.

The reason is that GstMediaSegment start times are calculated (in
gst_mpdparser_get_chunk_by_index) by multiplying segment index by
segment duration and then scaling the result according the `timebase'
attribute from the MPD. However, the segment duration is already a
GstClockTime (i.e., it has already been scaled according to the timebase
from the MPD and converted to a nanosecond value), so multiplying it by
the segment index will give the correct timestamp without the need for
any further scaling.

https://bugzilla.gnome.org/show_bug.cgi?id=705679
2013-08-16 10:22:21 -03:00
..
gstdash_debug.h dash: use same debug category for dashdemux and the mpd parser 2013-07-01 14:22:02 -03:00
gstdashdemux.c dashdemux: use push_force when adding events to the dataqueue 2013-08-13 11:49:54 -03:00
gstdashdemux.h dash: Add support for group-id in the stream-start event 2013-07-23 10:33:31 +02:00
gstdownloadrate.c dashdemux: port to 1.0 2013-05-08 18:14:46 -03:00
gstdownloadrate.h dashdemux: port to 1.0 2013-05-08 18:14:46 -03:00
gstmpdparser.c dashdemux: remove incorrect timestamp scaling. 2013-08-16 10:22:21 -03:00
gstmpdparser.h dashdemux: handle live playback resync 2013-07-08 23:40:14 -03:00
gstplugin.c dashdemux: port to 1.0 2013-05-08 18:14:46 -03:00
Makefile.am dash: use same debug category for dashdemux and the mpd parser 2013-07-01 14:22:02 -03:00
README Replaced URL pointing to obsolete Klagenfurt MPD by a new one 2013-05-08 18:14:33 -03:00

dashdemux

GStreamer plugin allowing the playback of MPEG DASH streams.

The plugin is based on some basic objects defined in the GStreamer HLS
Demux plugin from the gst-plugins-bad module.

Minimum requirements:
- glib 2.32.1
- gstreamer 0.10.36
- gst-plugins-base 0.10.36
- gst-plugins-good 0.10.31
- gst-plugins-bad 0.10.23

The following patches need in addition to be applied:

isomp4 (from gst-plugins-good):
https://bugzilla.gnome.org/show_bug.cgi?id=677535
https://bugzilla.gnome.org/show_bug.cgi?id=678767
https://bugzilla.gnome.org/show_bug.cgi?id=678772

decodebin2 (from gst-plugins-base):
https://bugzilla.gnome.org/show_bug.cgi?id=685938

To build gst-dashdemux:
./autogen.sh
./configure
./make
sudo make install

To launch gst-dashdemux:

gst-launch playbin2 uri=http://www-itec.uni-klu.ac.at/ftp/datasets/mmsys13/redbull_4sec.mpd
 
gst-launch playbin2 uri=http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-main-multi/mp4-main-multi-mpd-AV-BS.mpd