auto-commit for b5490b7b-d57f-4f53-9a99-bd8ed84027db

This commit is contained in:
emergent-agent-e1
2026-04-29 16:33:26 +00:00
parent 966ab6a34f
commit da8a2903b4
8 changed files with 698 additions and 21 deletions
+2 -1
View File
@@ -58,6 +58,7 @@ async def transcode_quick(source: Path, out_dir: Path, on_status: Callable[...,
return
out_dir.mkdir(parents=True, exist_ok=True)
cmd = [
"nice", "-n", "19",
"ffmpeg", "-y", "-i", str(source),
"-c:v", "copy", "-c:a", "copy",
"-bsf:v", "h264_mp4toannexb",
@@ -87,7 +88,7 @@ async def transcode_abr(source: Path, out_dir: Path, on_status: Callable[..., Aw
fc_parts.append(f"[v{i}]scale=w=-2:h={h}[v{i}out]")
filter_complex = ";".join(fc_parts)
cmd: List[str] = ["ffmpeg", "-y", "-i", str(source), "-filter_complex", filter_complex]
cmd: List[str] = ["nice", "-n", "19", "ffmpeg", "-y", "-i", str(source), "-filter_complex", filter_complex]
for i, (_h, vb, maxr, buf, _ab) in enumerate(variants):
cmd += [