<html><body bgcolor="#FFFFFF"><div>Hi,</div><div>I'm still a gstreamer noob, but as far as I know gstreamer can only construct data flows based on assumed capabilities. </div><div>The actual capabilities of the device can only be made available from the device's driver.</div><div><br></div><div>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.</div><div><br></div><div>Just my 2 cents.</div><div><br></div><div>-</div><div>Raseel </div><div><br>On 10-Jun-2010, at 11:46 PM, Kapil Agrawal <<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hello Albert,<br><br>For that I suppose you need to write the plugin in that way, and write an appropriate application.<br><br>Kapil<br><br><div class="gmail_quote">On Thu, Jun 10, 2010 at 8:44 PM, Albert Costa <span dir="ltr"><<a href="mailto:costa_albert@yahoo.fr"><a href="mailto:costa_albert@yahoo.fr">costa_albert@yahoo.fr</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: 'times new roman','new york',times,serif; font-size: 12pt;">
<div>Hi, </div><div>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.</div>
<div>Regards,</div><div>Al</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1">
<b><span style="font-weight: bold;">De :</span></b> Kapil Agrawal <<a href="mailto:kapil.agl@gmail.com" target="_blank"><a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a></a>><br><b><span style="font-weight: bold;">À :</span></b> Discussion of the development of GStreamer
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank"><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a></a>><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Jeu 10 juin 2010, 10h 15min 39s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [gst-devel] Listing capabilities of a video device<br>
</font><div><div></div><div class="h5"><br>gst-inspect $GSTREAMER_PLUGIN<br><br>this would list all the caps etc supported. But something if dynamically determined after the device is fired isnt possible IMHO.<br><br>Best<br>
Kapil<br><br><div class="gmail_quote">On Thu, Jun 10, 2010 at 12:45 PM, Albert Costa <span dir="ltr"><<a rel="nofollow" href="mailto:costa_albert@yahoo.fr" target="_blank"><a href="mailto:costa_albert@yahoo.fr">costa_albert@yahoo.fr</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-size: 12pt;">
<div>Hi,</div><div>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.</div>
<div>Thanks,</div><div>Al</div><div><br></div><div></div>
</div><br>
</div><br>------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a rel="nofollow" href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank"><a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a></a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a rel="nofollow" href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank"><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a></a><br>
<a rel="nofollow" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank"><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a></a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a rel="nofollow" href="http://www.mediamagictechnologies.com" target="_blank"><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a></a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br>
<a rel="nofollow" href="http://www.linkedin.com/in/kapilagrawal" target="_blank"><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a></a><br>
</div></div></div></div><div></div>
</div><br>
</div><br>------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank"><a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a></a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net"><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a></a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank"><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a></a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com"><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a></a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal"><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a></a><br>
</div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>ThinkGeek and WIRED's GeekDad team up for the Ultimate </span><br><span>GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the </span><br><span>lucky parental unit. See the prize list and enter to win: </span><br><span><a href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a></span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a></span><br></div></blockquote></body></html>