[gstreamer-bugs] [Bug 594035] Add HTTP Live Streaming playback support
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 28 18:08:59 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=594035
GStreamer | don't know | git
Julien Isorce <julien.isorce> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julien.isorce at gmail.com
--- Comment #2 from Julien Isorce <julien.isorce at gmail.com> 2010-07-29 01:08:52 UTC ---
Hi, an other example is this one:
http://iphone.envivio.com/iphone/downloads/ch6/index.m3u8
which contains:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=257184
01.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=359456
02.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=565504
03.m3u8
then this one http://iphone.envivio.com/iphone/downloads/ch6/01.m3u8
which contains 'ts' file which have to be played successively:
#EXTM3U
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:264169
#EXTINF:5,
20100711T120659-01-264169.ts
#EXTINF:5,
20100711T120659-01-264170.ts
#EXTINF:5,
20100711T120659-01-264171.ts
Finally,
http://iphone.envivio.com/iphone/downloads/ch6/20100711T120659-01-264169.ts
is playable using:
gst-launch-0.10 souphttpsrc location='the final uri.ts' ! mpegtsparse !
mpegtsdemux ! ...
Note that whithout mpegtsparse then the pipeline (especially mpegtsdemux) is
waiting around 5 sec before demuxing.
If you first download all the 'ts' files then you can play the full stream:
gst-launch-0.10 multifilesrc location=20100711T120659-01-%06d.ts index=264169 !
mpegtsparse ! decodebin2 name=d ! queue2 ! glimagesink d. ! queue2 !
audioconvert ! autoaudiosink
Gstreamer should automatically handle this kind of streaming.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list