GNOME Bugzilla – Bug 670712
[flvdemux] failure to play live stream
Last modified: 2016-10-15 07:07:01 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...]
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.
(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.
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.
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
Works fine with current git (both gst-play-1.0 and the mux-to-ts command above).
Please reopen then if it's still a problem, with a new backtrace.