[gst-devel] xvimagesink on several video widget

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Jul 27 23:33:55 CEST 2008


On Sun, 2008-07-27 at 18:55 +0200, nico wrote:

> I develop an application, who needs to display the play back of a webcam
> and at the same time display an video.
> The both display are made on a single gtk based window. One drawing area
> for the webcam display an another for  the video display. Each drawing
> area have his associated xvimagesink
> 
> When I run this application under Ubuntu 7.10 (
> gst-plugin-base-0.10.14.1), It works nice, and I can have the both
> display at the same time.
> 
> But when I run this application under Ubunu 8.04 (
> gst-plugin-base-0.10.18.3), I cna no more have the both display at the
> same time. The first display start correctly, but the second canno't be
> launch and I have an error message raised by xvimageSink : "No port
> available" .

This is most likely a limitation of the graphics driver. Check with
'xvinfo' what's available. On many machines there'll be only one
available Xv port (on some there may be none at all).

> So how i need to configure xvimage with the new gstreamer, to have 2
> several display at the same time ?

Fall back to using ximagesink instead of xvimagesink.

Cheers
 -Tim






More information about the gstreamer-devel mailing list