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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel