emit command for format video (2)

This commit is contained in:
Brandon Thomas
2024-05-20 16:13:08 -04:00
parent 4566969931
commit ee352ceca2
+3
View File
@@ -14,6 +14,9 @@ def get_video_resolution(input_video):
'-of', 'json',
input_video
]
print(f"Command: {command}", flush=True)
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True)
video_info = json.loads(result.stdout)