File size: 220 Bytes
fc73901
 
ba86b0a
 
fc73901
 
1
2
3
4
5
6
import subprocess

command = ["ffmpeg", "-list_devices", "true", "-f", "dshow", "-i", ""]
print(command)
ffmpeg_devices = subprocess.run(command, text=True, stderr=subprocess.PIPE, encoding="utf-8")
print(ffmpeg_devices)