simplify building (#26)

This commit is contained in:
Adeeb Shihadeh
2026-02-25 20:17:13 -08:00
committed by GitHub
parent ae529b6818
commit 357d36a61d
15 changed files with 473 additions and 420 deletions

View File

@@ -18,3 +18,12 @@ def _run_ffmpeg():
def _run_ffprobe():
_run("ffprobe")
def smoketest():
import subprocess
ffmpeg = os.path.join(BIN_DIR, "ffmpeg")
ffprobe = os.path.join(BIN_DIR, "ffprobe")
subprocess.run([ffmpeg, "-version"], check=True)
subprocess.run([ffprobe, "-version"], check=True)