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 738543 - decodebin: doesn't expose pads when one stream contains garbage
decodebin: doesn't expose pads when one stream contains garbage
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.4.3
Other All
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-14 18:06 UTC by Andrew Jones
Modified: 2018-11-03 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Jones 2014-10-14 18:06:41 UTC
We have a .mpg file (here for the next 7 days) http://wikisend.com/download/408582/ir.mpg that contains two streams.  One is "mpeg video" and is either MetaData, Encrypted, or corrupt.  The second stream is a valid H264 stream.

UriDecodeBin does not produce a pad.  It stops at two proxy pads within the bin.  It seems to get confused and waits forever for the bad stream to "settle out".

Thaytan, __Tim, have witnessed.  I can reached at above email address for the mpg.
Comment 1 Sebastian Dröge (slomo) 2014-10-14 19:08:50 UTC
I can confirm, and decodebin should really just ignore that stream :)
Comment 2 Jan Schmidt 2014-10-14 22:43:59 UTC
I didn't drill down far enough to understand exactly what's wrong in decodebin. It looks like it tries to grow the multiqueue multiple times as the H.264 queue fills up, and the MPEG-2 queue underflows (because mpegvideoparse is just discarding everything). Instead of actually growing the queue though, it sets it to 2MB/5buffers repeatedly and never triggers overrun to expose the one working stream.
Comment 3 Edward Hervey 2018-01-15 10:48:08 UTC
Andrew, does that issue still happen with latest gstreamer (1.12 or master) ?
Comment 4 GStreamer system administrator 2018-11-03 11:31:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/135.