AV1-vs-HEVC/workflows/benchmark_av1.py
2024-01-12 20:33:08 +01:00

17 lines
365 B
Python

import os
import subprocess
from . import res
def start_workflow():
res.bootstrap_folder_structure()
for f in res.get_all_encoded_files_av1():
if os.path.exists(res.get_filepath_metric_log(f)):
continue
subprocess.run(
res.get_benchmark_command(f),
shell=True,
check=True
)