Files
videobeaux/utils/ffprobe_operations.py
2024-06-29 12:15:38 -04:00

9 lines
283 B
Python

import subprocess
def run_ffprobe_command(command):
try:
result = subprocess.run(command, check=True, capture_output=True)
# print(result.stdout)
return result.stdout
except subprocess.CalledProcessError as e:
print(f"An error occurred: {e}")