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 657805 - matroska: webmmux streamable=true ! matroskademux fails
matroska: webmmux streamable=true ! matroskademux fails
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-31 11:08 UTC by bram
Modified: 2015-09-10 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bram 2011-08-31 11:08:28 UTC
I know the following pipeline is incorrect (I should set streamable=true on webmmux), but it should throw an error, which it doesn't do:

GST_DEBUG=3 gst-launch -v videotestsrc ! vp8enc ! webmmux ! queue ! matroskademux ! vp8dec ! xvimagesink

It seems that vp8enc doesn't handle GST_FLOW_ERROR the way it should; the pipeline just keeps on running without producing any more buffers instead of erroring.
Comment 1 David Schleef 2011-09-01 23:55:48 UTC
It appears this particular bug has been fixed recently in git.

However, it still doesn't *work* with streamable=true, which is what I would expect.  So I'm hijacking the bug for that case.

Specifically, this does not work:

  gst-launch videotestsrc ! vp8enc ! webmmux streamable=true ! queue ! matroskademux ! vp8dec ! xvimagesink sync=false

The equivalent launch lines with theora/matroskamux, or vp8enc/oggmux, work as expected.
Comment 2 bram 2011-09-06 08:48:34 UTC
Okay, good to know that it has been fixed in git!

Regarding it not actually working with streamable=true, both the pipeline you mention and a more involved program using this setup *do* work for me...  Both on Debian Testing (gst-plugins-good 0.10.30) and on Ubuntu 11.04 (gst-plugins-good 0.10.28).  I can provide some kind of debug logs if you want them.
Comment 3 Debarshi Ray 2012-11-02 23:52:22 UTC
(In reply to comment #1)
> It appears this particular bug has been fixed recently in git.

I am not so sure. eg., with 1.0.2 none of them error out. They are both stuck unless one presses ctrl+c:

[rishi@kolache ~]$ gst-launch-1.0 videotestsrc ! vp8enc ! webmmux ! queue ! matroskademux ! vp8dec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
[rishi@kolache ~]$ gst-launch-1.0 videotestsrc ! vp8enc ! webmmux streamable=true ! queue ! matroskademux ! vp8dec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
[rishi@kolache ~]$

However both of them error out on gst-plugins-good-0.10.31. Something has changed since then, but I am not sure whether the change is correct or not.
Comment 4 Vincent Penquerc'h 2015-02-03 10:27:49 UTC
All the pipelines above work fine on git master.
Comment 5 Tim-Philipp Müller 2015-09-10 15:05:36 UTC
A patch for this is attached to bug #754768.
Comment 6 Tim-Philipp Müller 2015-09-10 20:09:36 UTC
Closing as OBSOLETE as per Vincent's comment, and the pipelines work fine for me too. If anyone is still having problems with recent versions of GStreamer, please re-open this bug or file a new bug, thanks!