GNOME Bugzilla – Bug 676689
Switching from mp3 to ogg file cases Rhythmbox to stop playing
Last modified: 2012-06-27 23:03:09 UTC
I have a mix of mp3 and ogg files in my library. I have big troubles with ogg files with Rhythmbox. Probably not for all of them, but for many of them Rhythmbox stops playing when a song switches from a mp3 song to an ogg song. Reproducer: 1. Place two files in your music queue - first one mp3 song, second one ogg song 2. After mp3 song finishes and Rhythmbox switches to the ogg song, no sound is played and the progressbar stays in the beginning. Debug output of Rhythmbox prints messages like: (23:07:56) [0x2275ca0] [tick_cb] rb-shell-player.c:3599: tick: [file:///home/kparal/hudba/artists/nocreeps/nocreeps%20-%20Time%20To%20Differ/02%20-%20It%20s%20up%20to%20you.ogg, 129160998:205000000000(0)] (23:07:56) [0x2275ca0] [tick_cb] rb-shell-player.c:3599: tick: [file:///home/kparal/hudba/artists/nocreeps/nocreeps%20-%20Time%20To%20Differ/02%20-%20It%20s%20up%20to%20you.ogg, 129160998:205000000000(0)] (23:07:57) [0x2275ca0] [tick_cb] rb-shell-player.c:3599: tick: [file:///home/kparal/hudba/artists/nocreeps/nocreeps%20-%20Time%20To%20Differ/02%20-%20It%20s%20up%20to%20you.ogg, 129160998:205000000000(0)] (23:07:57) [0x2275ca0] [tick_cb] rb-shell-player.c:3599: tick: [file:///home/kparal/hudba/artists/nocreeps/nocreeps%20-%20Time%20To%20Differ/02%20-%20It%20s%20up%20to%20you.ogg, 129160998:205000000000(0)] over and over again (notice the seek position is not moving). 3. The ogg file actually might start playing after some time. If I have played a 20 second mp3 file, the first 20 seconds of the following ogg file will not be played (just silence, progressbar not moving), then it will seek to 20 seconds position and start playing. I have have played one minute mp3 file, I will not hear the first minute of the ogg file. You get the idea. You can easily try this be seeking in the mp3 file (seek to last 20 seconds of the mp3, then let it automatically switch to the ogg file). Reproducible 100%. Note: If I click the ogg file and have it play manually (without automatic transition from the previous file), it plays OK. Also automatic transition from ogg to ogg file is OK. Only mp3->ogg is problematic. I don't have this problem with other gstreamer applications, like totem. rhythmbox-2.96-3.fc17.x86_64, Fedora 17
An example ogg file that is problematic (transition mp3->ogg is broken) is here: http://bayfiles.com/file/aFxD/gZ5vl1/02_-_It_s_up_to_you.ogg http://minus.com/lbyps5z6W48I6D The file is under CC-BY-ND licence[1], so there should be no legal issues attaching it here. Unfortunately the ogg version seem no longer to be available on jamendo, so I have to post it to file-sharing sites. http://www.jamendo.com/en/track/23861/it-s-up-to-you
Please attach full output from 'GST_DEBUG=*:3 rhythmbox -D player' showing this problem occurring.
Created attachment 215423 [details] debug log Requested log is attached. I have started Rhythmbox, placed two songs in the queue - "Iron Maiden - The Wicker Man.mp3" and "02 - It s up to you.ogg". I started the mp3 song, and sought at roughly 15 seconds before its end. I let it play. After it transitioned to the ogg song, there was a silence and progress bar was not moving. Then (after 15-20 seconds) it jumped to roughly 20 seconds position and started playing normally.
*** Bug 678234 has been marked as a duplicate of this bug. ***
commit 3880323 in gst-plugins-base fixes this.
Thank you.
*** Bug 678961 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > commit 3880323 in gst-plugins-base fixes this. Thank you. Does this apply to my Mp3-to-Flac issue in 2.97?
*** Bug 599571 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > commit 3880323 in gst-plugins-base fixes this. Thanks Jonathon. I am still experiencing this issue with Rhythmbox 2.97 on Xubuntu 12.04. How can I tell what revision my gst-plugins-base runtime was built against? e.g. >= commit 3880323.
There hasn't been a release of gst-plugins-base since that commit, which was made in April. Your gst-plugins-base package is most likely version 0.10.36, which does not include this fix.
Thanks Jonathan. I'll try building from source if it is debianized.
Looks like it isn't. I'll have to wait until the GStreamer Developer's PPA updates their packages, I suppose. =(