title: How can I get the name of the webcams present on the computer in python?
body: <p>I have a problem.
  I would need to use ffmpeg with subprocess in python for video capture.</p>
  <p>For this I need to identify the name of the cameras present in the computer in order to be able to pass this parameter to the ffmpeg process.</p>
  <p>So far I have used the WMI module, but it only works on windows and is not very easy to use.</p>
  <p>Is there any easier way to extract the names of the webcams on your computer and save them to an array?
  Maybe also using the ffmpeg list-devices and filtering the results?
  Can you help me?</p>
  <p>I would not like to use the WMI module anymore, as I would like a universal solution for windows or linux, perhaps using subprocess and the ffmpeg list_devices command.
  Thank you</p>