After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670712 - [flvdemux] failure to play live stream
[flvdemux] failure to play live stream
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-23 20:40 UTC by Ralph Giles
Modified: 2016-10-15 07:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ralph Giles 2012-02-23 20:40:52 UTC
I'm trying to play back the air.mozilla.org live stream, served by bitgravity. At best I get a second of output, and then playback freezes.

It may be a choking on new stream features: there are a number of warnings about unuspported tag types. It may be reading to far into the stream: totem complains it can't seek, and if I wget the same stream it plays fine off the disk.

Example command line:

GST_DEBUG=2 gst-launch souphttpsrc location="http://mozilla.live.cdn.bitgravity.com/mozilla/live/feed03" ! flvdemux ! fluh264dec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:02.383451458 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 25
0:00:02.383495036 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 32
0:00:02.383578860 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 0
0:00:02.383592015 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 0
0:00:02.383604127 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 1
0:00:02.383616127 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 255
0:00:02.383630818 28374      0x1e35920 WARN                flvdemux gstflvdemux.c:1512:gst_flv_demux_parse_tag_type:<flvdemux0> unsupported tag type 103
[...and so on...]
Comment 1 Sebastian Dröge (slomo) 2013-08-21 19:15:15 UTC
The stream is not available anymore. Does anybody still have it?
Comment 2 kashish.saini 2014-04-30 10:58:56 UTC
i am facing the same issues on a following live link 
"http://bglive-a.bitgravity.com/ndtv/247lo/live/native"


Gstreamer PIPELINE
gst-launch souphttpsrc location="http://bglive-a.bitgravity.com/ndtv/247lo/live/native" is-live=true ! flvdemux name=demux demux.video ! h264parse ! queue ! mpegtsmux name=mux ! filesink location=test.ts demux.audio ! queue ! mux.
Comment 3 kashish.saini 2014-05-12 06:56:53 UTC
(In reply to comment #1)
> The stream is not available anymore. Does anybody still have it?

i am facing the same issues on a following live link 
"http://bglive-a.bitgravity.com/ndtv/247lo/live/native"


Gstreamer PIPELINE
gst-launch souphttpsrc
location="http://bglive-a.bitgravity.com/ndtv/247lo/live/native" is-live=true !
flvdemux name=demux demux.video ! h264parse ! queue ! mpegtsmux name=mux !
filesink location=test.ts demux.audio ! queue ! mux.
Comment 4 Edward Hervey 2014-05-12 10:28:56 UTC
Essentially flvdemux is not properly skipping unknown FLVTAG chunks in push-mode.

It's not flushing out of the adapter the content of that unknown tag, and then we end up with continuous random garbage.
Comment 5 Edward Hervey 2014-05-12 11:47:59 UTC
The following (committed) patch fixes the issue with skipping too much data. This doesn't completely fix the issue, since when using playbin it'll just keep on buffering forever. When using http:// ! flvdemux ! h264parse ! avdec_h264 ! queue ! xvimagesink it plays correctly.


commit c09b14c931e36c2648a269ac74c9df8eac64981e
Author: Edward Hervey <edward@collabora.com>
Date:   Mon May 12 13:45:06 2014 +0200

    flvdemux: Skip unknown tags in push-mode
    
    We add a new mode (SKIP) in push-mode to skip tags that we don't known about
    
    Partially fixes https://bugzilla.gnome.org/show_bug.cgi?id=670712
Comment 6 Vincent Penquerc'h 2016-10-14 11:29:49 UTC
Works fine with current git (both gst-play-1.0 and the mux-to-ts command above).
Comment 7 Sebastian Dröge (slomo) 2016-10-15 07:07:01 UTC
Please reopen then if it's still a problem, with a new backtrace.