xvimagesink on several video widget

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xvimagesink on several video widget

Nicolas Bertrand-4
Hello.
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" .

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

Thanks in advance
Nico



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink on several video widget

Tim-Philipp Müller-2
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



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink on several video widget

Nicolas Bertrand-4

> 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).
>
>  
Ok , ok, you are damn right !
In the machine which I have the problem I have only 1 port, on the other
machine 32 ports ....

>> 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
Ok I'll go to try to use ximagesink.
Cheers Nico.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel