Repository navigation
Name WebVTT as the Reason HandBrake Encodes Without Subtitles - #1232
Conversation
HandBrake 1.10 and later keep SubRip subtitles as SubRip, so the ASS conversion is no longer a reason to encode without subtitles. The workaround stays for the dropped IETF tags and closed captions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
HandBrake 1.11.2 drops a WebVTT subtitle track on passthrough, which is why it still encodes without subtitles and MkvMerge merges the originals back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
A recorded local strict-review pass covers head |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Code Review by Qodo
1. A comment reads as a format list
|
PR Summary by QodoClarify why HandBrake encoding excludes subtitles
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🟡 Changes recommended
An active finding remains in PlexCleaner/ProcessFile.cs:2589 because the loss description incorrectly groups IETF language tags and embedded closed captions with subtitle formats.
1 open issue
What changed in this PR
This pull request updates the HandBrake subtitle-loss documentation to identify WebVTT as the format dropped by current HandBrake versions, while preserving the existing remux-and-restore workflow.
Changes:
- Rewords the
ConvertUsingHandBrake()comment to mention WebVTT. - Updates
ARCHITECTURE.mdto reflect HandBrake 1.10+ behavior. - Keeps the existing subtitle restoration logic unchanged.
- Review note: clarify that IETF language tags and embedded closed captions are distinct from subtitle formats. [P2, nit; 4 votes]
| File | Description |
|---|---|
PlexCleaner/ProcessFile.cs |
Updates the HandBrake conversion rationale comment. |
ARCHITECTURE.md |
Documents WebVTT loss and the continued subtitle remux workaround. |
Review effort: Lite
|
Qodo finding 1, "A comment reads as a format list" (PlexCleaner/ProcessFile.cs:2589, raised on 5902a29): Fixed in a5a41f2. The comment now reads "HandBrake drops WebVTT subtitles, the IETF tags, and embedded closed captions", so no "such as" list remains for the tags and captions to read into. (1) finding answered. |
|
@coderabbitai review |
Action performed
|

HandBrake 1.10 and later keep SubRip subtitles as SubRip, so the ASS conversion is no longer why
ConvertUsingHandBrake()encodes without subtitles. That reason is gone from the code comment and fromARCHITECTURE.md, which now name the format HandBrake still drops.Measured in the 3.24.41 image (HandBrake 1.11.2) on a synthetic MKV with SubRip, WebVTT, and ASS tracks, encoded with
--all-subtitles:So encoding without subtitles and merging the originals back with MkvMerge is still needed.
HISTORY.md's 3.23 line "no longer converts them to ASS" stays as it is, since 3.22 could run a HandBrake older than 1.10, which did convert.This closes the revalidation of #95. The
commentslabel is set because the change rewords a comment line.Open findings from the local review
PlexCleaner/ProcessFile.cs:2589(introduced): "some subtitle formats, such as WebVTT, the IETF tags, and embedded closed captions" can read as a list of subtitle formats. Fixed in a5a41f2, which names WebVTT subtitles directly.🤖 Generated with Claude Code
Summary by CodeRabbit