From 38859f5b0a217ffc9cfe8affc3157148836c7341 Mon Sep 17 00:00:00 2001 From: Caine Date: Tue, 17 Mar 2026 13:06:59 +0000 Subject: Fix transcoder: convert subs to SRT instead of copy (fixes mov_text → MKV failures) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overnight_transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'overnight_transcoder.py') diff --git a/overnight_transcoder.py b/overnight_transcoder.py index 8a6d7d0..4008c34 100755 --- a/overnight_transcoder.py +++ b/overnight_transcoder.py @@ -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) ] -- cgit v1.2.3