Hi! > Thanks for this interesting error:
...and thanks for your quick reply. :) > On Thu, Feb 24, 2005, Georg Wittenburg wrote: > > GStreamer crashes when used by Amarok 1.2.0. The console says: > > > > amarok: [Gst-Engine] [ERROR!] [GStreamer Error] Internal GStreamer > > error: padproblem. File a bug. ** gstpad.c(2563): > > gst_pad_set_explicit_caps: /root_bin/thread0/bin0/spider0/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) > > I could not find a bug similar to yours, and the one you pointed to is > fixed upstream since 0.8.6 at least. > > Could you please point to a sample file which has the problem for you? > I'll forward the problem upstream with a link to the file. It happens for all MP3s in my collection, i.e. encoder used, bit rate, etc. all don't really seem to matter. OGG seems to be affected, too. I got a bit more info when trying to play a file with gst-launch. The following two work fine: [EMAIL PROTECTED]:~$ gst-launch-0.8 filesrc location="/media/data/Music/Erikah Badu - Tyrone.mp3" ! mad ! alsasink RUNNING pipeline ... Execution ended after 101 iterations (sum 2069227000 ns, average 20487396 ns, min 34000 ns, max 175411000 ns). Caught interrupt. [EMAIL PROTECTED]:~$ gst-launch-0.8 filesrc location="/usr/share/sounds/KDE_Startup_1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! alsasink RUNNING pipeline ... Execution ended after 145 iterations (sum 1920410000 ns, average 13244206 ns, min 25000 ns, max 317577000 ns). Caught interrupt. Note that my ALSA pipeline is setup as default -> plug -> asym -> dmix -> card0 -> hw:0. The "plug" seems to be the relevant part. When I access the hardware directly, I get crashes: [EMAIL PROTECTED]:~$ gst-launch-0.8 filesrc location="/media/data/Music/Erikah Badu - Tyrone.mp3" ! mad ! alsasink device=hw:0 RUNNING pipeline ... ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2563): 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)44100, channels=(int)2" returned REFUSED) Floating point exception [EMAIL PROTECTED]:~$ gst-launch-0.8 filesrc location="/usr/share/sounds/KDE_Startup_1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! alsasink device=hw:0 RUNNING pipeline ... ERROR: from element /pipeline0/vorbisdec0: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2563): gst_pad_set_explicit_caps: /pipeline0/vorbisdec0: failed to negotiate (try_set_caps with "audio/x-raw-float, rate=(int)44100, channels=(int)2, endianness=(int)1234, width=(int)32, buffer-frames=(int)0" returned REFUSED) Execution ended after 16 iterations (sum 78853000 ns, average 4928312 ns, min 25000 ns, max 77533000 ns). Hope this is usefull, but please contact me, if you need more info. Regards, Georg -- Georg Wittenburg http://page.mi.fu-berlin.de/~wittenbu/
pgpgok96T1UWm.pgp
Description: PGP signature

