GNOME Bugzilla – Bug 417729
[autoaudiosink] plugs alsaspdifsink, breaking playbin
Last modified: 2007-03-13 16:34:53 UTC
From totem-moz: ** Message: NewStream mimetype 'video/x-ms-asf' URL 'http://mfile.akamai.com/19048/live/reflector:42503.asx?bkup=42504' ** Message: Should be dual type 'audio/x-ms-asx', making sure now ** Message: Is dual type 'audio/x-ms-asx' ** Message: Is playlist; need to wait for the file to be downloaded completely ** Message: StreamAsFile filename '/home/fer/.gnome2/epiphany/mozilla/epiphany/Cache/7EB76609d01' ** Message: Setting the current playlist to /home/fer/.gnome2/epiphany/mozilla/epiphany/Cache/7EB76609d01 (base: http://www.telemadrid.es/video/sat.pag?) added URI 'mms://a504.l1904842503.c19048.g.lm.akamaistream.net/D/504/19048/v0001/reflector:42503' with title 'empty' genre '(null)' added URI 'mms://a505.l1904842504.c19048.g.lm.akamaistream.net/D/505/19048/v0001/reflector:42504' with title 'empty' genre '(null)' ** Message: totem_embedded_open_internal 'mms://a504.l1904842503.c19048.g.lm.akamaistream.net/D/504/19048/v0001/reflector:42503' is-browser-stream 0 ** Message: BEFORE _open ** Message: DestroyStream reason 0 ** Message: URLNotify URL 'http://mfile.akamai.com/19048/live/reflector:42503.asx?bkup=42504' reason 0 Could not read packet header: Success ** Message: AFTER _open (ret: 1) 0:00:27.693822000 25746 0x883af28 ERROR ffmpeg :0:: warning: first frame is no keyframe 0:00:30.091195000 25746 0x84b4190 ERROR totem bacon-video-widget-gst-0.10.c:371:bvw_error_msg_print_dbg: error message = Internal GStreamer error: pad problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. 0:00:30.091247000 25746 0x84b4190 ERROR totem bacon-video-widget-gst-0.10.c:373:bvw_error_msg_print_dbg: error domain = 1951 (gst-core-error-quark) 0:00:30.091268000 25746 0x84b4190 ERROR totem bacon-video-widget-gst-0.10.c:374:bvw_error_msg_print_dbg: error code = 5 0:00:30.091284000 25746 0x84b4190 ERROR totem bacon-video-widget-gst-0.10.c:375:bvw_error_msg_print_dbg: error debug = gstplaybin.c(1130): gen_audio_element (): /play: Failed to configure the audio sink. 0:00:30.091303000 25746 0x84b4190 ERROR totem bacon-video-widget-gst-0.10.c:376:bvw_error_msg_print_dbg: error source = <play> ** Message: Error: Internal GStreamer error: pad problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. gstplaybin.c(1130): gen_audio_element (): /play: Failed to configure the audio sink. debugging with playbin I get this error: Setting pipeline to PAUSED ... Could not read packet header: Success Pipeline is PREROLLING ... 0:00:05.287382000 25880 0x99b66b8 WARN GST_PADS gstghostpad.c:1054:gst_ghost_pad_set_target:<audiosink:sink> could not link internal and target, reason:-4
Could you make a full debug log, like this? $ export GST_DEBUG_NO_COLOR=1 $ GST_DEBUG=*:5 totem 'http://mfile.akamai.com/19048/live/reflector:42503.asx?bkup=42504' 2>dbg.log ... reproduce error, then quit or Control-C ... $ gzip dbg.log
Created attachment 84495 [details] debug output
So it looks like what happens is that totem tries to use 'alsaspdifsink' as audiosink (via gconfaudiosink=>autoaudiosink) for some reason. Why it does that I do not understand. First of all, it should try other sinks like alsasink first (because of the rank). But it doesn't, it goes straight for alsaspdifsink. Secondly, autoaudiosink shouldn't try audio sinks with a rank < GST_RANK_MARGINAL, and alsaspdifsink should have a rank of 0. You seem to be using GStreamer CVS. Is this up-to-date(-ish)? (There was a short time a few months ago where this would happen, but it shouldn't happen with current -good and -bad CVS as far as I can tell). What's the output of: $ gst-inspect-0.10 alsasink | grep Rank $ gst-inspect-0.10 alsaspdifsink | grep Rank
my CVS build is from one week ago. I'll update and try it again. [fer@dhcppc1 include]$ gst-inspect-0.10 alsasink | grep Rank Rank: primary (256) [fer@dhcppc1 include]$ gst-inspect-0.10 alsaspdifsink | grep Rank Rank: primary (256) Other applications using gconfaudiosink work ok, so it could be a totem problem
> my CVS build is from one week ago. I'll update and try it again. > [fer@dhcppc1 include]$ gst-inspect-0.10 alsasink | grep Rank > Rank: primary (256) > [fer@dhcppc1 include]$ gst-inspect-0.10 alsaspdifsink | grep Rank > Rank: primary (256) This doesn't look like it is from one week ago. alsaspdifsink's rank has been set to NONE about 5-6 weeks ago in -bad CVS. According to the log file, the (mtime) timestamp of the loaded libgstalsaspdif.so is from February 1st, 2007. Maybe jhbuild stopped compiling/updating gst-plugins-bad for some reason? > Other applications using gconfaudiosink work ok, so it could be a totem problem totem uses gconfaudiosink as well (albeit with the music/video profile).
wops, jhbuild gnome-2.18 moduleset doesn't build gst-plugins-bad!. REbuilding
ok, it works now. thanks a lot and sorry for the noise