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 676689 - Switching from mp3 to ogg file cases Rhythmbox to stop playing
Switching from mp3 to ogg file cases Rhythmbox to stop playing
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
2.96
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 599571 678234 678961 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-23 21:17 UTC by Kamil Páral
Modified: 2012-06-27 23:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (407.17 KB, text/plain)
2012-06-01 14:16 UTC, Kamil Páral
Details

Description Kamil Páral 2012-05-23 21:17:25 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
Comment 1 Kamil Páral 2012-05-23 21:32:26 UTC
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
Comment 2 Jonathan Matthew 2012-05-31 03:24:04 UTC
Please attach full output from 'GST_DEBUG=*:3 rhythmbox -D player' showing this problem occurring.
Comment 3 Kamil Páral 2012-06-01 14:16:01 UTC
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.
Comment 4 Jonathan Matthew 2012-06-17 03:09:29 UTC
*** Bug 678234 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Matthew 2012-06-17 12:11:35 UTC
commit 3880323 in gst-plugins-base fixes this.
Comment 6 Kamil Páral 2012-06-18 11:07:20 UTC
Thank you.
Comment 7 Jonathan Matthew 2012-06-27 11:23:40 UTC
*** Bug 678961 has been marked as a duplicate of this bug. ***
Comment 8 Alex Hultman 2012-06-27 15:21:48 UTC
(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?
Comment 9 Jonathan Matthew 2012-06-27 22:37:13 UTC
*** Bug 599571 has been marked as a duplicate of this bug. ***
Comment 10 Kip 2012-06-27 22:46:01 UTC
(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.
Comment 11 Jonathan Matthew 2012-06-27 22:52:18 UTC
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.
Comment 12 Kip 2012-06-27 23:01:06 UTC
Thanks Jonathan. I'll try building from source if it is debianized.
Comment 13 Kip 2012-06-27 23:03:09 UTC
Looks like it isn't. I'll have to wait until the GStreamer Developer's PPA updates their packages, I suppose. =(