File size: 205 Bytes
fc73901
 
 
 
 
1
2
3
4
5
import subprocess
command = ["ffmpeg", "-list_devices", "true", "-f", "dshow", "-i", ""]

ffmpeg_devices = subprocess.run(command, text=True, stderr=subprocess.PIPE, encoding="utf-8")
print(ffmpeg_devices)