GNOME Bugzilla – Bug 625371
[matroskademux] critical warnings when playing live webm with progressive download enabled
Last modified: 2010-08-12 07:11:50 UTC
I know it's probably not a normal use-case but anyway ;) gst-launch playbin2 uri=http://195.10.10.75:8800/live.webm flags=0x97 ** (gst-launch-0.10:16028): CRITICAL **: file matroska-demux.c: line 578 (gst_matroska_demux_get_length): should not be reached
It plays fine for a while and then: 0:00:49.139167391 16427 0xe767c0 ERROR ebmlread ebml-read.c:150:gst_ebml_peek_id_length:<matroskademux0> Invalid EBML ID size tag (0x0) at position 2626175 (0x28127f) ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0: GStreamer encountered a general stream error. Additional debug info: matroska-demux.c(5926): gst_matroska_demux_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0: stream stopped, reason error
Making gst_matroska_demux_get_length() return -1 instead of spewing a warning seems to fix the issue.
(In reply to comment #2) > Making gst_matroska_demux_get_length() return -1 instead of spewing a warning > seems to fix the issue. But after some time the sink starts dropping buffers. Before that it kept rebuffering... so not a good fix anyway
Created attachment 166645 [details] [review] matroskademux: proper handling of streaming upstream without duration Attached patch addresses a technical FIXME that should prevent g_warning spewing. As for other issues, I have not (yet) been able to reproduce (and they seem most likely not related to the warnings anyway).
Best to open another bug if the other issues above persist (still not able to reproduce so far btw), but the following should take care of the g_warning: commit 8419df627bd9f4b9d31ed9f73b9e4c487d6c7d73 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Tue Jul 27 15:58:02 2010 +0200 matroskademux: proper handling of streaming upstream without duration Fixes #625371.
All works fine with git HEAD, thanks Mark :)