[gst-devel] How to choose a videosink ?

Stefan Kost ensonic at hora-obscura.de
Fri Jan 29 09:41:31 CET 2010


Am 29.01.2010 07:17, schrieb Nicolas Bertrand:
> Hi
> I am developping an application under ubuntu karmic (and lucid) written
> in python.
> 
> I need to display a webcam output.
> 
> I have choosen to display it with xvvideosink , with no particular
> reasons (arbitrary choice ).
> 
> Now I notice, it does not always with all video cards or configuration :
> I have the error 'Resource busy or not available. :Could not initialise
> Xv output' and xvinfo tell no ports available.
> 
> So , I think to used another videosink , like ximagesink, autovideosink,
> or gconfvideosink , etc ...
> 
> But what is the 'strategy' or the way to choose a videosink ?
> I don't know wich parameters i have to take in account foe select a
> videosink for ubuntu configuration.
> 
> I just tried with ximagesink, who only a part of the live capture is
> displayed.
> With  autovideosink, and gconfvideosink , the display is correct.

You could use autovideosink and add settings to you application to choose a
specific one. But using any of autovideosink or gconfvideosink is better than
hardcoding one.

Stefan

> 
> But how to choose one ?
> 
> Thanks in advance
> 
> 
> Nico
> ----------------------------------------------
> https://launchpad.net/~nico-inattendu
> luciole developer : https://launchpad.net/luciole
> 
> 
>  
> 
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list