Add Avisynth video encoding workflow

This commit is contained in:
ajp_anton
2026-07-21 00:41:00 +00:00
parent f50f465465
commit 49296d6f45
37 changed files with 9487 additions and 76 deletions
+3 -7
View File
@@ -10,12 +10,11 @@ If more than one file is provided or found, only the first file is shown.
from __future__ import annotations
import subprocess
import sys
from pathlib import Path
from tools.console import pause_if_interactive
from tools.exiftool import require_exiftool
from tools.exiftool import require_exiftool, run_exiftool_command
from tools.filesystem import first_file_from_path
@@ -44,18 +43,15 @@ def run(argv: list[str]) -> int:
return 1
print(f"Showing metadata for: {file_path}\n", flush=True)
command = [
exiftool,
args = [
"-a",
"-u",
"-ee",
"-G0:1",
"-s",
"-charset",
"filename=UTF8",
str(file_path),
]
return subprocess.run(command).returncode
return run_exiftool_command(exiftool, args).returncode
def main(argv: list[str]) -> int: