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 153418 - Pad error when trying to play MP3 file
Pad error when trying to play MP3 file
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.4
Other Linux
: Normal normal
: 0.8.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-22 12:18 UTC by Ross Burton
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Burton 2004-09-22 12:18:17 UTC
When I try to play a MP3 file in Totem-GStreamer, this message appears on the
console:

(totem:22869): GStreamer-WARNING **: element work_thread claimed state-change
success,but state didn't change to PLAYING. State is PAUSED (NONE_PENDING
pending), fix the element.

If I try with gst-launch-0.8, this happens:

$ gst-launch-ext-0.8 h2g2-20040921.mp3
Running command-line
gst-launch-0.8 filesrc location="h2g2-20040921.mp3" ! mad ! esdsink

RUNNING pipeline ...
ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad problem. 
File a bug.
Additional debug info:
gstpad.c(2490): gst_pad_set_explicit_caps: /pipeline0/mad0:
failed to negotiate (try_set_caps with "audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000,
channels=(int)2" returned REFUSED)
Execution ended after 2 iterations (sum 2760000 ns, average 1380000 ns, min
135000 ns, max 2625000 ns).

I'm using libgstreamer0.8-0 0.8.5-1 and gstreamer0.8-mad 0.8.4-1ubuntu1.
Comment 1 Ronald Bultje 2004-09-23 15:11:47 UTC
Try gst-launch-0.8 filesrc location="h2g2-20040921.mp3" ! mad ! audioconvert !
audioscale ! esdsink

I don't know why totem-gstreamer fails right now.
Comment 2 Ross Burton 2004-09-23 15:23:42 UTC
Yes, that works.

I take it the error was esd refusing to accept a 48khz stream?
Comment 3 Ronald Bultje 2004-09-24 14:58:39 UTC
Yes.
Comment 4 Ronald Bultje 2004-10-01 11:49:33 UTC
Can you confirm that the current CVS of Totem plays this file fine (or provide
the file, for that matter)?
Comment 5 Ross Burton 2004-11-02 19:57:13 UTC
I can indeed, closing.