Fix transcoder: convert subs to SRT instead of copy (fixes mov_text → MKV failures)

This commit is contained in:
Caine
2026-03-17 13:06:59 +00:00
parent c82c202d26
commit 38859f5b0a
+1 -1
View File
@@ -654,7 +654,7 @@ def transcode_file(input_path: str, conn: sqlite3.Connection) -> Optional[dict]:
"-x265-params", f"pools={CONFIG['threads']}",
"-c:a", CONFIG["audio_codec"],
"-b:a", CONFIG["audio_bitrate"],
"-c:s", "copy", # Copy subtitles
"-c:s", "srt", # Convert subtitles to SRT (mov_text from MP4 cant copy to MKV)
str(output_path)
]