tiagocoutinho / linuxpy

Human friendly interface to linux subsystems using python
https://tiagocoutinho.github.io/linuxpy/
GNU General Public License v3.0
33 stars 5 forks source link

access multi capture devices #17

Closed Dipankar1997161 closed 4 months ago

Dipankar1997161 commented 4 months ago

Hello,

In the library v4l2py, there was a function called v4l2py.iter_video_capture_devices() which listed all the capturing devices connected to my system.

what is the similar function for the same task in this updated library? When I use v4l2-ctl --list-devices in terminal, I get 2 usb cams and 1 integrated cam on my laptop and all their informations.

How do I access the same through a python code here. eventually iterated over all the devices and store it in a list is my end goal Thank you

Dipankar1997161 commented 4 months ago

solved