How to find device index of external camera for avfvideosrc ?

Michael Moser moser.michael at gmail.com
Thu Dec 27 05:10:11 UTC 2018


gst-device-monitor-1.0 is displaying devices of class Audio/Source only.
it does not display Video/Source devices at all, 

gst-device-monitor-1.0 Video/Source
Probing devices...

0:00:00.023973000 37488 0x7fce61d80350 WARN                 default
gstdevicemonitor.c:465:gboolean gst_device_monitor_start(GstDeviceMonitor
*):<devicemonitor0> No providers match the current filters
Failed to start device monitor!

however the following command works, so it can see the built in camera, and
I have another one attached through USB.

gst-launch-1.0 avfvideosrc device-index=0 ! video/x-raw, framerate=30/1,
width=1280, height=720   ! autovideosink

Is there another way of finding out the device-index of the attached
external camera?





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list