Repository navigation
Poster caption: name Dolby Vision for a file that carries it - #1412
Merged
Merged
Conversation
The identity line said "4K" for an HDR or Dolby Vision film and nothing more: the poster caption's Video quality part was the only place the app worded the dynamic range. The detail page now draws one more keyline chip right after the resolution, "Dolby Vision" for a file that carries it and "HDR" for any other HDR video (the facts the page already holds, of the same default version the resolution chip describes). Home's hero draws "HDR" in the same place when its row says so; a listing row knows only that its video is HDR, so a Dolby Vision title reads "HDR" there, as it does under a poster. Both go through the shared identity row, so the chip takes part in the text run's budget and elision like the others. Signed-off-by: Tiago Pereira <[email protected]>
The hero read "HDR" for a Dolby Vision title because a listing row knew only that its video is HDR. The row now also carries whether that stream is Dolby Vision, along the lane the HDR fact already travels (ListingFacts, PmsMovie), and the hero words both through fmt::dynamic_range. Signed-off-by: Tiago Pereira <[email protected]>
tiper
force-pushed
the
up/caption-dolby-vision
branch
from
November 16, 2026 10:05
3c6fd8a to
61951ab
Compare
The Video quality part of the caption under posters now words the dynamic range through the same fmt::dynamic_range as the detail page and the Home hero, so a Dolby Vision title reads "4K · Dolby Vision" rather than "4K · HDR". Signed-off-by: Tiago Pereira <[email protected]>
tiper
force-pushed
the
up/caption-dolby-vision
branch
from
November 16, 2026 10:06
61951ab to
77abce1
Compare
The detail page's HDR / Dolby Vision chip now reads route::detail_played_video's range(), the same file the resolution chip describes, and names what this set will present. The Home hero keeps the listing row's facts through DynamicRange::carried. Signed-off-by: Tiago Pereira <[email protected]>
fmt::dynamic_range now takes a DynamicRange (plxnative#1457); the caption names what the listing row's file carries. Signed-off-by: Tiago Pereira <[email protected]>
This was referenced Nov 19, 2026
Signed-off-by: Tiago Pereira <[email protected]>
tiper
added a commit
to tiper/fin-native
that referenced
this pull request
Nov 23, 2026
…s declared A remux can drop the container's Dolby Vision configuration record and keep the RPUs in the bitstream. The server then reports no Dolby Vision, the Load declares no DolbyHdrInfo node and the panel shows the base layer while every RPU is still fed. For an HEVC stream with no record, the demuxer now reads its first packets (ff::RpuOnlyScan) and reports, once per open, what the first RPU says (FeedRaw::rpu_dovi): Profile 5, or Profile 8 over a PQ or HLG base layer. An RPU that maps an enhancement layer, an enhancement-layer NAL and an RPU that does not parse report nothing; a Profile 8 over any other transfer is logged as refused. Once the Load has returned, the pump has the route declare it (route::declare_rpu_dovi: the decision the record would have frozen, so Dolby Vision Off, a set without confirmed support and a re-encode change nothing) and reloads once with the node. The installed route, the file's own declaration and the stored Auto Original candidate all follow, and a later withdrawal is not undone. The base layer's transfer is the container's, or, where the container states none (a Matroska remux with no Colour element reports trc=2), the first SPS's VUI transfer_characteristics (ff::stream_transfer). Measured on an LG C1 (webOS 6.5.3), stable build, on an MKV with Profile 8 RPUs, no record, trc=2 in the container and PQ in the SPS: - before: Load dv=present:0, dynamicRange=hdr, pictureMode=hdrCinemaBright - after: "the SPS says trc=16", "Dolby Vision P8 bl_compat=1 in the RPUs", "dv: reload at 323.291s with DolbyHdrInfo", Load dv=present:1 P8/1, dynamicRange=dolbyHdr, pictureMode=dolbyHdrCinemaBright; no withdrawal after the reload. Not measured: a Profile 5 or HLG Profile 8 stream with no record, and the 49SM9000 dev set. Not remembered: the finding lives for the play that made it. The server's metadata still reports no Dolby Vision for such a file, so the detail and Home hero range chip (plxnative#1348) and the poster caption (plxnative#1412) read HDR while the set plays Dolby Vision, and each play declares it again with one reload. Signed-off-by: Tiago Pereira <[email protected]>
GLinnik21
pushed a commit
that referenced
this pull request
Nov 23, 2026
…s declared (#1472) * Playback: Dolby Vision found in the RPUs of a stream with no record is declared A remux can drop the container's Dolby Vision configuration record and keep the RPUs in the bitstream. The server then reports no Dolby Vision, the Load declares no DolbyHdrInfo node and the panel shows the base layer while every RPU is still fed. For an HEVC stream with no record, the demuxer now reads its first packets (ff::RpuOnlyScan) and reports, once per open, what the first RPU says (FeedRaw::rpu_dovi): Profile 5, or Profile 8 over a PQ or HLG base layer. An RPU that maps an enhancement layer, an enhancement-layer NAL and an RPU that does not parse report nothing; a Profile 8 over any other transfer is logged as refused. Once the Load has returned, the pump has the route declare it (route::declare_rpu_dovi: the decision the record would have frozen, so Dolby Vision Off, a set without confirmed support and a re-encode change nothing) and reloads once with the node. The installed route, the file's own declaration and the stored Auto Original candidate all follow, and a later withdrawal is not undone. The base layer's transfer is the container's, or, where the container states none (a Matroska remux with no Colour element reports trc=2), the first SPS's VUI transfer_characteristics (ff::stream_transfer). Measured on an LG C1 (webOS 6.5.3), stable build, on an MKV with Profile 8 RPUs, no record, trc=2 in the container and PQ in the SPS: - before: Load dv=present:0, dynamicRange=hdr, pictureMode=hdrCinemaBright - after: "the SPS says trc=16", "Dolby Vision P8 bl_compat=1 in the RPUs", "dv: reload at 323.291s with DolbyHdrInfo", Load dv=present:1 P8/1, dynamicRange=dolbyHdr, pictureMode=dolbyHdrCinemaBright; no withdrawal after the reload. Not measured: a Profile 5 or HLG Profile 8 stream with no record, and the 49SM9000 dev set. Not remembered: the finding lives for the play that made it. The server's metadata still reports no Dolby Vision for such a file, so the detail and Home hero range chip (#1348) and the poster caption (#1412) read HDR while the set plays Dolby Vision, and each play declares it again with one reload. Signed-off-by: Tiago Pereira <[email protected]> * Playback: the RPU declaration is direct play only, with the setting frozen at the resolve A play's RPU declaration is now one per-play state (RpuDv), set at the resolve and kept outside the route projection: Open with the Dolby Vision setting the resolve read, for a file with no record; Declared; Closed after a decline, a withdrawal, or for a file with a record. A rollback cannot re-open it, and turning Dolby Vision on mid-play no longer declares. Only a direct play declares: a server remux's start.mkv begins at its offset, so the reload's seek would land wrong. A report on a transcoding route leaves the play open. The pump also waits for an Original trial to be confirmed, as the plain seek does. A Profile 5 declaration forbids a video copy from then on, so a later re-encode never hands the set its base layer undeclared. The SPS walk refuses a log2_max_pic_order_cnt_lsb_minus4 past H.265's limit of 12 instead of overflowing on a corrupt SPS. Signed-off-by: Tiago Pereira <[email protected]> * Playback: a Profile 5 source forbids a video copy on every rebuild The copy restriction lived only on the route's contract, which an Original recovery resets, so an audio conversion after a return to Original asked the server for directStream=1. Read it from the file's own Dolby Vision record as well, which the RPU declaration already adopts. * Playback: say what the Profile 5 copy rule does for an inferred record The file's Dolby Vision fields are set at the resolve and rewritten by the RPU declaration, not frozen. An inferred Profile 5 refused a copy still has no correct server route: the server has no record, so it encodes the base layer. * Playback: one reader for the video-copy rule The Original remux shape, the burn check and the failed-open ladder read the rule through is_no_video_copy, so the candidate's own Profile 5 term goes: the candidate's record is the file's. The enhancement fixture plants the file's record beside the candidate's, as a resolve does. --------- Signed-off-by: Tiago Pereira <[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.
Depends on #1348.
#1348 names the dynamic range beside the resolution on the detail page and the Home hero ("Dolby Vision" or "HDR"). The poster caption's Video quality part still said "HDR" for a Dolby Vision title, as the review of #1348 noted.
This words that part through the same
fmt::dynamic_range, so a Dolby Vision title reads "4K · Dolby Vision" under its poster, in step with its detail page and the hero.CaptionFactsgainsdolby_vision, filled fromPmsMovie.dolby_vision(tile_facts::caption_facts) and from the Watchlist copy'sListingFacts.dolby_vision.video_and_age_rating_linesasserts the Dolby Vision wording.