summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaine <caine@jihakuz.xyz>2026-03-17 13:06:59 +0000
committerCaine <caine@jihakuz.xyz>2026-03-17 13:06:59 +0000
commit38859f5b0a217ffc9cfe8affc3157148836c7341 (patch)
treebe02efc8604291d67ac8073b18a23b09abf281a1
parentc82c202d2643960e6a85d86821d062805bdeb54c (diff)
Fix transcoder: convert subs to SRT instead of copy (fixes mov_text → MKV failures)HEADmaster
-rwxr-xr-xovernight_transcoder.py2
1 files changed, 1 insertions, 1 deletions
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)
]