[gst-devel] How do I get gst-inspect properties for v4l2src device other than /dev/video0?

Kapil Agrawal kapil.agl at gmail.com
Wed Apr 14 07:36:10 CEST 2010


Are your capture cards supported by v4l2 drivers ? If yes then only you can
use v4l2src.

Assuming it supports, you need to figure out where is your card installed,
like for my blackmagic capture card its /dev/blackmagic/card0 (although
there is no v4l2 support, hence wrote our own src element for blackmagic).

So if its not supported by v4l2 you either check if any other src element
supports your card or write one of your own :)

Best
Kapil

On Wed, Apr 14, 2010 at 4:22 AM, Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. &
ENG.] <walter.kulecz-1 at nasa.gov> wrote:

> I need two capture cards in my application.  In the process of playing
> around with things, I've currently got three installed  All work in a simple
> pipeline if I set the device property with C code using:
>
> g_object_set(G_OBJECT(source), "device",  "/dev/video2",  NULL)
>
> but the capture devices are different enough that I'm stumbling around with
> the caps, as only using unfiltered caps works for all three cards.  The
> point of the exercise is to figure out if I can use our current assortment
> of PCI capture cards and add in some USB ones I've found.
>
> I'd prefer having to only deal with a single buffer type by forcing an
> input format common to all the capture devices if possible.
>
> So how can I  get gst-inspect to list the properties of the other capture
> devices?
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100414/74b2903e/attachment.htm>


More information about the gstreamer-devel mailing list