Set up device on Gstreamer
Nicolas Dufresne
nicolas.dufresne at gmail.com
Tue May 31 16:01:59 UTC 2016
Le mardi 31 mai 2016 à 07:52 -0700, tgn1 a écrit :
> Is there another way than "device=/dev/video1" (for example) to set
> up the
> device I want to use for the stream?
>
> I would like to connect through the usb port, somehting like:
> device="(usb-0000:00:14.0-2)" as you can find it with the
> v4l2-ctl --list-devices command. ("HD Pro Webcam C920
> (usb-0000:00:14.0-2):")
We provide GstDeviceMonitor, to help you enumerate the cameras (and
other devices). This will give you a list of GstDevice, and there is
two methods for getting configured element, gst_device_create_element()
and gst_device_reconfigure_elements(). Filter classes, for getting
camera, are Source, Sink and Video.
regards,
Nicolas
More information about the gstreamer-devel
mailing list