playbin as a child element: deadlock when transitioning from PLAYING/PAUSED to NULL

Dustin Spicuzza dustin at virtualroadside.com
Sat May 30 10:30:32 PDT 2015



On 05/30/2015 11:54 AM, Tim Müller wrote:
> On Sat, 2015-05-30 at 10:38 -0400, Dustin Spicuzza wrote:
>
> Hi Dustin,
>
> If you must use multiple playbins, you could use interaudiosink as
> audiosinks, with a different "channel" name for each.
>
> Then in a separate pipeline you combine everything with interaudiosrc !
> audioconvert ! audioresample and audiomixer ! sink.
>
> That also lets you pause/play pipelines individually if that's something
> you desire.
>
> Cheers
>  -Tim
>

Hi Tim,

I'll look into trying that if I have to use multiple playbins.

Is there an alternative way to use all of the equivalent functionality
of playbin without creating multiple playbin elements? It seems like
every other way of creating an individual stream involves a ton of
boilerplate, which is why playbin is appealing to me.

It seems like it would be nice if there were an element that was roughly
equivalent to the current playbin that was actually a bin, and not a
pipeline. Perhaps the current playbin element could be refactored to
hold such an element as its only child.

Dustin



More information about the gstreamer-devel mailing list