Teapack1's picture
Create test.py
fc73901
raw
history blame
205 Bytes
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)