[gst-devel] 2 playbins in a window

Michael Smith msmith at xiph.org
Tue May 27 18:49:49 CEST 2008


On Tue, May 27, 2008 at 3:11 AM, Julien GILLES <jul.gil at gmail.com> wrote:
> Hi,
>
> i am trying to play two videos in a window, using the playbin plugin.
> I use an ximagesink as video-sink, and set overlay on a
> GtkDrawingArea.
>
> With a single playbin everything is fine, but if I try to create 2
> playbins, strange things occurs : sometimes the application crashes,
> sometime the application launches, but the two videos remains black
> and there is a lot of GStreamer error on the standard output,
> sometimes the two videos runs, but after 2 seconds one of them hangs.
>
> Well, it seems to me that there is some global variables that prevents
> the 2 instances to live together ; II wonder if  the playbin plugin is
> guilty, or if the gstreamer framework allows twoo pipelines in the
> same application...

There should be no problem with running multiple pipelines in an
application - that's a normal use-case.

There also shouldn't be any problems specific to playbin. My guess is
that this is an application bug in your software, but I'm certainly
not sure about that.

Mike




More information about the gstreamer-devel mailing list