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 668745 - [0.11] - mp3 playback fails with playbin
[0.11] - mp3 playback fails with playbin
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal normal
: 0.11.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-26 14:47 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-02-18 23:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2012-01-26 14:47:03 UTC
gst-launch-0.11 playbin uri=file:///home/cschalle/Music/Ray_Parker_Jr-Ghostbusters.mp3 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0: GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(2961): gst_base_parse_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...

** CRITICAL **: gst_audio_decoder_finish_frame: assertion `buf == NULL || gst_pad_has_current_caps (dec->srcpad)' failed
Freeing pipeline ...


However this pipeline works:
gst-launch-0.11 filesrc location=/home/cschalle/Music/Ray_Parker_Jr-Ghostbusters.mp3 ! mpegaudioparse ! mad ! audioconvert ! pulsesink
Comment 1 Vincent Penquerc'h 2012-01-26 15:31:16 UTC
Once the typefind failure is fixed (see the patch in https://bugzilla.gnome.org/show_bug.cgi?id=667571), the assert is gone, but we then hit a loop autoplugging id3demux elements one after the other (probably infinitely, I got 451 id3demux elements plugged when I ^Cd).
Comment 2 Christian Fredrik Kalager Schaller 2012-01-27 09:13:07 UTC
Just tested with Wim's latest commit and it plays for me. Closing as fixed.
Comment 3 Vincent Penquerc'h 2012-01-27 11:02:47 UTC
Great :)
Which commit was that you're referring to, for my own curiosity ? I see several commits from Wim in core or -base but none that seem like the right one.
Comment 4 Christian Fredrik Kalager Schaller 2012-01-27 15:50:32 UTC
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Thu Jan 26 19:47:38 2012 +0100

    tagdemux: use default event handler for delayed events