mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-09 00:09:55 +00:00
emit command for format video (2)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user