Set up device on Gstreamer

Tim Müller tim at centricular.com
Tue May 31 15:58:55 UTC 2016


On Tue, 2016-05-31 at 07:52 -0700, tgn1 wrote:

Hi,

> 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):")

You can use the GstDeviceMonitor API to discover devices, see e.g.

 gst-device-monitor-1.0 Video/Source

for a list.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list