mirror of
https://github.com/vondas-network/videobeaux.git
synced 2026-01-11 09:25:29 +01:00
9 lines
283 B
Python
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}") |