Teapack1 commited on
Commit
fc73901
·
1 Parent(s): 7d5dbff

Create test.py

Browse files
Files changed (1) hide show
  1. test.py +5 -0
test.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import subprocess
2
+ command = ["ffmpeg", "-list_devices", "true", "-f", "dshow", "-i", ""]
3
+
4
+ ffmpeg_devices = subprocess.run(command, text=True, stderr=subprocess.PIPE, encoding="utf-8")
5
+ print(ffmpeg_devices)