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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
-- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> À : Discussion of the development of GStreamer <[hidden email]> 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 <[hidden email]> wrote:
-- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
-- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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
------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Albert Costa
On 10.06.2010 10:15, Albert Costa 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 > > As this comes up quite often, it would maybe a good idea to make a > feature request for gst-inspect to allow to write: Not sure right now how easy that would be though. Stefan ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |