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 483411 - Cannot play OGG file -- send me to file a bug here
Cannot play OGG file -- send me to file a bug here
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.13
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-04 16:11 UTC by Matěj Cepl
Modified: 2008-10-08 15:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
output of rhythmbox -d (202.64 KB, application/octet-stream)
2007-10-04 16:40 UTC, Matěj Cepl
Details
stdout/stderr of gst-launch playbin on the same file (3.94 KB, text/plain)
2007-10-04 21:59 UTC, Matěj Cepl
Details
when PA running through pulsesink (213.75 KB, application/octet-stream)
2007-10-04 22:16 UTC, Matěj Cepl
Details
when PA running through alsasink (202.84 KB, application/octet-stream)
2007-10-04 22:17 UTC, Matěj Cepl
Details
PA is killed through alsasink -- RB freezes (132.94 KB, application/octet-stream)
2007-10-04 22:17 UTC, Matěj Cepl
Details
PA killed and pulsesink is set as default in gstreamer-properties (3.94 KB, text/plain)
2007-10-04 22:20 UTC, Matěj Cepl
Details

Description Matěj Cepl 2007-10-04 16:11:39 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 ~]$
Comment 1 Matěj Cepl 2007-10-04 16:37:20 UTC
The song is available on http://www.ceplovi.cz/matej/tmp/08_-_Jsem_kv%c3%adtek_%c5%a1%c3%a1ronsk%c3%bd.ogg
Comment 2 Matěj Cepl 2007-10-04 16:40:05 UTC
Created attachment 96648 [details]
output of rhythmbox -d
Comment 3 Bastien Nocera 2007-10-04 16:49:14 UTC
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?
Comment 4 Tim-Philipp Müller 2007-10-04 16:53:46 UTC
Can you play back other files?  This looks like bug #471364.  Check your audio/musicsink settings in gconf / gnome-sound-properties.
Comment 5 Matěj Cepl 2007-10-04 21:59:49 UTC
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
Comment 6 Matěj Cepl 2007-10-04 22:15:28 UTC
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.
Comment 7 Matěj Cepl 2007-10-04 22:16:31 UTC
Created attachment 96666 [details]
when PA running through pulsesink
Comment 8 Matěj Cepl 2007-10-04 22:17:10 UTC
Created attachment 96667 [details]
when PA running through alsasink
Comment 9 Matěj Cepl 2007-10-04 22:17:52 UTC
Created attachment 96668 [details]
PA is killed through alsasink -- RB freezes
Comment 10 Matěj Cepl 2007-10-04 22:20:13 UTC
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.
Comment 11 Wim Taymans 2008-10-08 15:03:35 UTC
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.