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 625371 - [matroskademux] critical warnings when playing live webm with progressive download enabled
[matroskademux] critical warnings when playing live webm with progressive dow...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-27 07:48 UTC by Philippe Normand
Modified: 2010-08-12 07:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
matroskademux: proper handling of streaming upstream without duration (1.45 KB, patch)
2010-07-27 14:00 UTC, Mark Nauwelaerts
committed Details | Review

Description Philippe Normand 2010-07-27 07:48:39 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
Comment 1 Philippe Normand 2010-07-27 08:05:59 UTC
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
Comment 2 Philippe Normand 2010-07-27 08:31:43 UTC
Making gst_matroska_demux_get_length() return -1 instead of spewing a warning seems to fix the issue.
Comment 3 Philippe Normand 2010-07-27 08:34:51 UTC
(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
Comment 4 Mark Nauwelaerts 2010-07-27 14:00:22 UTC
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).
Comment 5 Mark Nauwelaerts 2010-07-28 12:57:51 UTC
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.
Comment 6 Philippe Normand 2010-08-12 07:11:50 UTC
All works fine with git HEAD, thanks Mark :)