Fix transcoder: convert subs to SRT instead of copy (fixes mov_text → MKV failures)
This commit is contained in:
@@ -654,7 +654,7 @@ def transcode_file(input_path: str, conn: sqlite3.Connection) -> Optional[dict]:
|
|||||||
"-x265-params", f"pools={CONFIG['threads']}",
|
"-x265-params", f"pools={CONFIG['threads']}",
|
||||||
"-c:a", CONFIG["audio_codec"],
|
"-c:a", CONFIG["audio_codec"],
|
||||||
"-b:a", CONFIG["audio_bitrate"],
|
"-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)
|
str(output_path)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user