[gst-devel] Re : Listing capabilities of a video device

Raseel raseelbhagat at gmail.com
Thu Jun 10 20:59:22 CEST 2010


Hi,
I'm still a gstreamer noob, but as far as I know gstreamer can only  
construct data flows based on assumed capabilities.
The actual capabilities of the device can only be made available from  
the device's driver.

The only other way I can think of is to "guess" caps using brute-force  
method, probably as Kapil mentioned,  by writing an application  
accordingly.

Just my 2 cents.

-
Raseel

On 10-Jun-2010, at 11:46 PM, Kapil Agrawal <kapil.agl at gmail.com> wrote:

> Hello Albert,
>
> For that I suppose you need to write the plugin in that way, and  
> write an appropriate application.
>
> Kapil
>
> On Thu, Jun 10, 2010 at 8:44 PM, Albert Costa  
> <costa_albert at yahoo.fr> wrote:
> Hi,
> yes gst-inspecting gives me the theoretical caps of the plugin, what  
> I need is to get the list of real supported caps of the device  
> itself. The idea behind is to show in a GUI the list of supported  
> resolutions/framerates of the device, so that the user can select a  
> combination that really works.
> Regards,
> Al
>
> De : Kapil Agrawal <kapil.agl at gmail.com>
> À : Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.ne 
> t>
> Envoyé le : Jeu 10 juin 2010, 10h 15min 39s
> Objet : Re: [gst-devel] Listing capabilities of a video device
>
> gst-inspect $GSTREAMER_PLUGIN
>
> this would list all the caps etc supported. But something if  
> dynamically determined after the device is fired isnt possible IMHO.
>
> Best
> Kapil
>
> On Thu, Jun 10, 2010 at 12:45 PM, Albert Costa  
> <costa_albert at yahoo.fr> wrote:
> Hi,
> is there a simple way with gstreamer (code) to list the capabilities  
> of a video device (get the list of all supported caps)? Thought  
> someone already raised the question sometime ago but I couldn't dig  
> the mail from gstreamer archives. My device is usb webcam, so I play  
> it with dshowvideosrc or ksvideosrc.
> Thanks,
> Al
>
>
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
> -- 
> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
> twitter handle: @gst_kaps
> http://www.linkedin.com/in/kapilagrawal
>
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
> -- 
> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
> twitter handle: @gst_kaps
> http://www.linkedin.com/in/kapilagrawal
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100611/eddb0833/attachment.htm>


More information about the gstreamer-devel mailing list