GNOME Bugzilla – Bug 483411
Cannot play OGG file -- send me to file a bug here
Last modified: 2008-10-08 15:03:35 UTC
When trying to play attached OGG file (don't distribute, just for testing purposes) rhythmbox gaves me error that it is not able to play the file, and with -d parameter it gives an error saying that I should file a report here (see attached). Using fedora with these packages: [matej@viklef ~]$ rpm -qa \*gstreamer\* rhythmbox\* gstreamer-ffmpeg-0.10.2-2.lvn7 gstreamer-0.10.13-0.1.fc7 gstreamer-plugins-bad-devel-0.10.5-3.lvn7 gstreamer-plugins-pulse-0.9.4-4.fc7 gstreamer-plugins-fluendo-mp3-0.10-11.el5 gstreamer-plugins-base-devel-0.10.13-1.fc7 gstreamer-plugins-fluendo-video-0.10-11.el5 gstreamer-plugins-good-devel-0.10.6-1.fc7 gstreamer-plugins-bad-debuginfo-0.10.5-2.fc7 gstreamer-plugins-bad-0.10.5-3.lvn7 gstreamer-python-0.10.7-2.fc7 gstreamer-plugins-ugly-0.10.5-2.lvn7 gstreamer-plugins-fluendo-windowsmedia-0.10-11.el5 gstreamer-tools-0.10.13-0.1.fc7 gstreamer-plugins-base-0.10.13-1.fc7 rhythmbox-0.10.1-2.fc7 gstreamer-devel-0.10.13-0.1.fc7 gstreamer-plugins-good-0.10.6-1.fc7 gstreamer-plugins-ugly-devel-0.10.5-2.lvn7 gstreamer-plugins-schroedinger-0.6.1-2.fc7 [matej@viklef ~]$
The song is available on http://www.ceplovi.cz/matej/tmp/08_-_Jsem_kv%c3%adtek_%c5%a1%c3%a1ronsk%c3%bd.ogg
Created attachment 96648 [details] output of rhythmbox -d
The interesting part of the log: (17:40:15) [0x95b4478] [rb_shell_player_open_location] rb-shell-player.c:1174: Opening file:///home/matej/archiv/music/Contemporary_Christian/Agapé/Dokonalé_město/08_-_Jsem_kvítek_šáronský.ogg... (17:40:15) [0x95b4478] [rb_player_gst_construct] rb-player-gst.c:609: constructing element "playbin" (17:40:15) [0x95b4478] [mutate_playbin] rb-visualizer-plugin.c:822: mutating playbin (17:40:15) [0x95b4478] [find_xoverlay] rb-visualizer-plugin.c:348: found xoverlay in video bin (17:40:15) [0x95b4478] [fixate_vis_caps] rb-visualizer-plugin.c:437: setting fixed caps on capsfilter: video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)60, height=(int)60, framerate=(fraction)1/1 (17:40:15) [0x95b4478] [rb_player_gst_construct] rb-player-gst.c:685: pipeline construction complete (17:40:15) [0x95b4478] [rb_player_gst_sync_pipeline] rb-player-gst.c:714: syncing pipeline (17:40:15) [0x95b4478] [rb_player_gst_sync_pipeline] rb-player-gst.c:725: PAUSING pipeline (17:40:15) [0x95b4478] [rb_player_gst_sync_pipeline] rb-player-gst.c:714: syncing pipeline (17:40:15) [0x95b4478] [rb_player_gst_sync_pipeline] rb-player-gst.c:716: PLAYING pipeline (17:40:15) [0x95b4478] [show_controls] rb-visualizer-plugin.c:553: showing controls (17:40:15) [0x95b4478] [rb_shell_player_set_playing_entry] rb-shell-player.c:1324: Success! (17:40:15) [0x95b4478] [rb_shell_hidden_notify_markup] rb-shell.c:3080: shell is visible, not notifying (17:40:15) [0x95b4478] [rb_lastfm_song_changed_cb] rb-lastfm-source.c:1244: non-lastfm entry being played (17:40:15) [0x95b4478] [rb_shell_player_sync_with_source] rb-shell-player.c:2374: playing source: 0x95d8208, active entry: 0xb5b05d48 (17:40:15) [0x95b4478] [rb_shell_set_window_title] rb-shell.c:2136: setting title to "Agapé - Jsem kvítek šáronský" (17:40:15) [0x95b4478] [show_controls] rb-visualizer-plugin.c:553: showing controls (17:40:15) [0x95b4478] [rb_header_sync] rb-header.c:355: syncing with entry = 0xb5b05d48 (17:40:15) [0x95b4478] [rb_shell_player_sync_buttons] rb-shell-player.c:2477: syncing with source 0x95d8208 (17:40:15) [0x95b4478] [rb_shell_clipboard_entryview_changed_cb] rb-shell-clipboard.c:796: entryview changed (17:40:15) [0x95b4478] [rb_shell_clipboard_sync] rb-shell-clipboard.c:549: syncing clipboard (17:40:15) [0x95b4478] [rb_shell_player_error] rb-shell-player.c:2776: playback error while playing: Internal GStreamer error: state change failed. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Can you play the file itself using gst-launch-0.10 and playbin?
Can you play back other files? This looks like bug #471364. Check your audio/musicsink settings in gconf / gnome-sound-properties.
Created attachment 96665 [details] stdout/stderr of gst-launch playbin on the same file Absolutely no problem with gst-launch playbin -- just works, see the output of gst-launch -v -t
OK, made couple of more tests and I think I have managed to find a way how to reproduce it. When default sink is set (via gstreamer-properties) to ALSA, then very soon after pulseaudio is killed (pulseaudio --check gives in $? 1), when rhythmbox is started and the music is played, it freezes and has to be forcibly killed. This emulates the situation with the original report, when I have switched to alsasink after pulseaudio was not working due to some issues with hald being killed by SELinux. When pulseaudio is running, rhythmbox is able to play perfectly both on PAsink as well as to alsasink (which is weird, I thought that PA monopolizes sound device). When pulseaudio is then killed and alsasink is used again, rhythmbox fails. Probably PA leaves something behind, and this situation is too weird to be considered seriously.
Created attachment 96666 [details] when PA running through pulsesink
Created attachment 96667 [details] when PA running through alsasink
Created attachment 96668 [details] PA is killed through alsasink -- RB freezes
Created attachment 96669 [details] PA killed and pulsesink is set as default in gstreamer-properties Interesting thing is that gst-launch just plays always, even when pulsesink is set as default and PA is killed.
gst-launch just tries to find whatever plugin that works using autoaudiosink, rhythmbox and totem use the gconf keys. alsa when pulseaudio is running is likely using the pa plugin for alsa.