[Bug 602286] playbin2 crossfading support

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 23 21:17:56 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=602286
  GStreamer | gst-plugins-base | unspecified

Arun Raghavan <arun> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arun at accosted.net

--- Comment #2 from Arun Raghavan <arun at accosted.net> 2011-05-24 04:17:52 UTC ---
I started looking at doing a cross-fading API, so let me just share some notes
here.

* If you try to do cross-fades on a sink with large buffer-time (which is
desirable for music players when you're using pulsesink, to save power), your
fades will be delayed by buffer-time, which is really not acceptable.

* I don't know how you'd fix this in the general case, but in the long term,
our plan is to expose a way to do crossfades in PulseAudio, and proxy that with
pulsesink somehow. So whatever API is decided, we could design it so that there
is an option to let downstream elements handle the implementation. In this
case, potentially we could implement this interface with the volume element and
plug it in if the sink doesn't support the interface.

* For the OP: if you're in a hurry to get this done and are willing to ignore
the buffer-time problem I stated (as Rhythmbox does), you can actually just use
multiple playbin2 elements (which would use multiple pulsesinks - so this does
introduce a dependency on PulseAudio (or at least on your sink being able to
support multiple instances)), and then use a volume element in the resulting
pipeline to do the fade.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list