Repository navigation
Dolby Vision: keep the declaration when the server copies the video - #839
Merged
Merged
Conversation
A remux or a Jellyfin DirectStream that copies the video (audio converted to AC3) hands on the file's own elementary stream, DOVI configuration record included. The route cleared the declaration on every server-built stream, so such a file played as HDR10. A /decision whose video lane says copy now keeps the declaration the direct play would have made: at the resolve, in an Original-recovery remux and in retranscode rebuilds (the session remembers the file's own record for that). Re-encodes and Profile 5 (no_video_copy) still clear it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Tiago Pereira <[email protected]>
…he DV-off note A remux whose /decision copies the video now keeps the Dolby Vision declaration, so the "Dolby Vision turns off" Audio-menu note is false in the normal case and EnhancementRoute::RemuxDropsDolbyVision (same wire shape as Remux) has no purpose left. Fold it into Remux, delete the note arm and the widgets.tracks.enh_note_dv_off string from every locale, and rewrite the menu test to expect the plain remux with no note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
copied_video_dv now lives beside decision_copies_video in plan.rs and takes the optional /decision body plus the route's EncodeContract; the cold-start plan, the Original recovery and the live retranscode all ask it. A missing decision follows the contract, which fixes the Original recovery declaring Dolby Vision over a burn re-encode (it hardcoded remux=true). Prose the copy behaviour made false is rewritten, and docs/pms-api.md M9 records the measurement. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks @tiper! Tested this on the TV: with Boost Dialog on, a Profile 8 and a Profile 7 film both played through the Plex remux with the panel in Dolby Vision. I pushed a few fixes to your branch:
|
Collaborator
|
Thank you, @tiper! Merged. |
1 task done
RichiL10
added a commit
to RichiL10/plx-native
that referenced
this pull request
Oct 22, 2026
The fork's 8 MiB audio base (24 MiB ceiling), the dts_core lane (7.1 DTS-HD core in Auto unless dts_core=never), the fork's flac/pcm/opus feed formats in the forced profile, and a test PMS whose video lane says transcode on a subtitles=burn decision (as PMS does), which plxnative#839's copied_video_dv reads.
tiper
added a commit
to tiper/fin-native
that referenced
this pull request
Oct 26, 2026
The maintainer pushed "Simplify:" commits onto every PR of ours he merged (plxnative#839, plxnative#937, plxnative#1018, plxnative#1034), behaviour unchanged each time. The skill writes down what he changed (reuse the existing path, one owner per state, values over globals, one named step for a repeated sequence, no redundant guards, docs kept true) and the steps to take before opening an upstream PR so he does not have to. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A remux or a Jellyfin DirectStream that copies the video (audio converted to AC3) hands on the file's own elementary stream, DOVI configuration record included. The route cleared the declaration on every server-built stream, so such a file played as HDR10.
A /decision whose video lane says copy now keeps the declaration the direct play would have made: at the resolve, in an Original-recovery remux and in retranscode rebuilds (the session remembers the file's own record for that). Re-encodes and Profile 5 (no_video_copy) still clear it.