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 301785 - "Internal GStreamer error: negotiation problem." when playing mp3s
"Internal GStreamer error: negotiation problem." when playing mp3s
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.8
Other Linux
: Normal major
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 301848 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-24 13:01 UTC by Simon Morgan
Modified: 2005-07-05 02:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gstreamer debug log (192.19 KB, application/x-bzip)
2005-04-25 10:38 UTC, Simon Morgan
Details

Description Simon Morgan 2005-04-24 13:01:11 UTC
Version details: 0.8.8-7ubuntu5
Distribution/Version: Ubuntu 5.04

Whenever I attempt to play an mp3 with rhythmbox I get the error dialogs:

Internal GStreamer error: negotiation problem.  File a bug.
Internal GStreamer error: pad problem.  File a bug.

rhythmbox --gst-debug-level=1 gives:

ERROR (0xa8ada0 - 309540:51:51.592332000)        GST_PADS( 9295)
gstpad.c(2563):gst_pad_set_explicit_caps:<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)44100, channels=(int)2" returned REFUSED)
ERROR (0xa8ada0 - 309540:51:51.593027000)             mad( 9295)
gstmad.c(1199):gst_mad_check_caps_reset:<mad0> Failed to negotiate 44100 Hz, 2
channels
ERROR (0xa8ada0 - 309540:51:51.593269000)       scheduler( 9295)
gstoptimalscheduler.c(2797):gst_opt_scheduler_iterate:<GstOptScheduler@0xa29c40>
in error state

Other formats (at least Vorbis) play fine.
Comment 1 Christophe Fergeau 2005-04-25 08:07:50 UTC
Looks like a gstreamer bug.
Comment 2 Tim-Philipp Müller 2005-04-25 09:18:14 UTC
Could you run rhythmbox like this

 % rhythmbox --gst-debug=*:5 --gst-debug-no-color 2>&1 | bzip2 > gstdebug.log.bz2

and reproduce the error and then attach the log to the bug report?

Cheers
 -Tim
Comment 3 Simon Morgan 2005-04-25 10:38:44 UTC
Created attachment 45644 [details]
gstreamer debug log

Hope this helps.
Comment 4 Tim-Philipp Müller 2005-04-26 22:05:10 UTC
Possibly an alsasink bug?

gstpad.c(1342):gst_pad_link_call_link_functions:<alsasink0:sink> calling link
function with caps audio/x-raw-int, rate=(int)44100, channels=(int)2,
endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true
gstalsa.c(1267):gst_alsa_link: found format S16_LE
gstalsa.c(1659):gst_alsa_probe_hw_params: Probing format: S16_LE 44100Hz, 2
gstalsa.c(1701):gst_alsa_probe_hw_params:<alsasink0>
"snd_pcm_hw_params_set_period_size_near (this->handle, hw_params, &period_size,
0)": Invalid argument
gstpad.c(1346):gst_pad_link_call_link_functions:<alsasink0:sink> got reply -1
from link function
gstpad.c(1350):gst_pad_link_call_link_functions:<alsasink0:sink> pad doesn't
accept caps audio/x-raw-int, rate=(int)44100, channels=(int)2,
endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true
gstpad.c(1420):gst_pad_link_try: link refused, returning

Cheers
 -Tim
Comment 5 Simon Morgan 2005-04-26 23:28:11 UTC
I'm inclined to agree. Bug 173102 may be of interest.
Comment 6 Ronald Bultje 2005-04-27 08:21:53 UTC
No, unrelated.
Comment 7 David Hammerton 2005-05-11 22:38:45 UTC
I sometimes get this problem in TunesBrowser
(http://crazney.net/programs/itunes/tunesbrowser.html). Very occasional though.
I have a user that I think gets the problem all the time. I'll try and get a gst
debug log from him, if you like.

David
Comment 8 Ronald Bultje 2005-05-12 08:45:49 UTC
David, where's (web)CVS of tunesbrowser? This may just as well be a problem in
tunesbrowser. For us, it's easier if you reproduce it in a known-good app such
as RB or Totem (or commandline).
Comment 9 Simon Morgan 2005-05-21 23:17:54 UTC
This seems to be working now. I've since switched from x86_64 to i386 (on the
same hardware obviously) but I'm pretty sure I remember trying rhythmbox again
initially and it not working. I guess some update since must have fixed the problem.
Comment 10 Ronald Bultje 2005-06-09 16:09:31 UTC
I fixed a bug in alsasink related to this - probably that fixed it. Thanks for
reporting.
Comment 11 Ronald Bultje 2005-06-09 16:11:04 UTC
*** Bug 301848 has been marked as a duplicate of this bug. ***
Comment 12 David Lorang 2005-06-26 18:40:24 UTC
Ronald,

Can you please which file, release or version you fixed this bug in? I have
updated my gstreamer to 0.8.8-3 which is the latest in the debian testing main
repository, and I still see that same problem.

Thanks,
Comment 13 Ronald Bultje 2005-06-26 19:53:36 UTC
gst-plugins/ext/alsa/gstalsa.c
Comment 14 David Lorang 2005-07-05 02:12:32 UTC
OK, it looks fixed now to me.  I re-updated everything and tried again; the
problem is gone.  Many thanks.