Playback stops when going from an ogg to a flac

Bug #1026678 reported by Holstener Liesel
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gst-plugins-base
Fix Released
High
gst-plugins-base0.10 (Debian)
Fix Released
Unknown
gst-plugins-base0.10 (Ubuntu)
Fix Released
Low
Unassigned
Quantal
Fix Released
Low
Unassigned

Bug Description

Impact:
the audio playing with stop sometimes on ogg to flac transitions

Test Case:

Test in rhythmbox or try the upstream bug case:

"- play ogg vorbis file
 - seek near to the end
 - wait for about-to-finish
 - set new uri property (flac file)
 - playbin2 hangs when the transition should happen
 - a position query returns always the same value
 - state is still playing

Testcase: http://pastie.org/pastes/4283968/text (edit the uris..)"

Regression potential:
limited, check that playback and transitions from files to files works as it should

----

See upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=680252

This is probably related to, but was NOT fixed along with, https://bugs.launchpad.net/ubuntu/+source/gst-plugins-base0.10/+bug/921071

Steps to reproduce:

* Deactivate crossfade in Rhythmbox
* Make a playlist from two files, first one an ogg, second one a flac
* Start playing this playlist, skip towards the end of the first (ogg) piece if you like
* Playback stops after reaching the end of the ogg file, Rhythmbox displays the title of the second file but the timer does not move over the 0:00 mark

I've attached the output of

GST_DEBUG=:5 rhythmbox --debug &> debug.log

while performing the above steps.

description: updated
Revision history for this message
Holstener Liesel (holstenerliesel) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gst-plugins-base0.10 (Ubuntu):
status: New → Confirmed
Revision history for this message
Tino Meinen (a-t-meinen) wrote :

I'm experiencing the same bug here.
Now, seeing that a similar playback-pausing issue on mp3 to ogg transitions (lp: #921071) was fixed with a patched version of gst-plugins-base0.10 (0.10.36-1ubuntu0.1): "don't discard timestamps when consecutive input buffers have the same ts", could it perhaps be, that a similar patch needs to be applied to the handling of flac files in gst-plugins-base0.10 ?
Does anything stand out in the debug log?
Just guessing here.

Hew (hew)
Changed in gst-plugins-base0.10 (Ubuntu):
status: Confirmed → Triaged
Changed in gst-plugins-base:
importance: Unknown → High
status: Unknown → New
Changed in gst-plugins-base:
status: New → Expired
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gst-plugins-base0.10 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've uploaded to raring (not very useful since most of the defaults app transitioned to gst1) and a SRU to quantal, we can look at doing a precise SRU once the fix is confirmed to work on quantal

Changed in gst-plugins-base0.10 (Ubuntu Quantal):
importance: Undecided → Low
status: New → In Progress
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gst-plugins-base0.10 - 0.10.36-1ubuntu2

---------------
gst-plugins-base0.10 (0.10.36-1ubuntu2) raring; urgency=low

  * debian/patches/git_ringbuffer_resets.patch: Resync when ringbuffer resets,
    should fix ogg to flac transitions (lp: #1026678)
 -- Sebastien Bacher <email address hidden> Mon, 03 Dec 2012 19:09:24 +0100

Changed in gst-plugins-base0.10 (Ubuntu):
status: Triaged → Fix Released
Changed in gst-plugins-base:
status: Expired → Fix Released
Changed in gst-plugins-base0.10 (Debian):
status: Unknown → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Holstener, or anyone else affected,

Accepted gst-plugins-base0.10 into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gst-plugins-base0.10/0.10.36-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gst-plugins-base0.10 (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Tino Meinen (a-t-meinen) wrote :

Good news!

I've tested the bug with rhythmbox, before, and after updating with the new gstreamer package, and it solved the ogg -> flac transition for me.

Many thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Tino: thanks for testing!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Arnaud BERCEGEAY (arnaud-bercegeay) wrote :

I still use Ubuntu Precise, and this bug makes my crazy (i used to play randomly a lot of FLAC and OGG).

Is there any chance to have this fix available for Ubuntu Precise ?

Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gst-plugins-base0.10 - 0.10.36-1ubuntu1.1

---------------
gst-plugins-base0.10 (0.10.36-1ubuntu1.1) quantal-proposed; urgency=low

  * debian/patches/git_ringbuffer_resets.patch: Resync when ringbuffer resets,
    should fix ogg to flac transitions (lp: #1026678)
 -- Sebastien Bacher <email address hidden> Mon, 03 Dec 2012 19:09:24 +0100

Changed in gst-plugins-base0.10 (Ubuntu Quantal):
status: Fix Committed → Fix Released
Revision history for this message
Holstener Liesel (holstenerliesel) wrote :

Is there any way to get this fixed in 12.04? After all, it's an LTS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.