You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EXPERIMENTAL] Force DV metadata decoding on non-DV displays (Samsung TVs and similar) #455
I bought a Samsung TV which doesn’t support Dolby Vision so I used this opportunity to experiment with how AVPlayer handles DV on that TV.
After some testing, I realised that DV 5 looks slightly better than DV 8.x so I investigated further.
DV 5:
AVPlayer uses player-led decoding (LLDV) and applies the metadata to the video frame pixels directly BEFORE sending them to the TV. This is confirmed by Dolby’s test video strobing effect indicating video is playing in Dolby Vision mode.
DV 8.1 & DV 8.4:
AVPlayer plays the HDR10 & HLG base layers without the metadata, no brightness strobing
My experimental workaround:
Tag the DV 8.1 fMP4 segments as dvh1 instead of hvc1
Change dvhe08.07 to dvhe05.07 in the dvcC box
Master routing with codecs=dvh1
Outcome:
DV 8.1 plays as DV instead of HDR10. Test video strobes indicating metadata is being decoded.
No regressions:
Tested on devices that have native DV support and they still work as expected.
Untested: AV1 but should be similar (av1 for SDR/HDR and dav1 for DV 10.0/10.1/10.4)
I know you also have a Samsung TV so might be worth experimenting with this and seeing if forced DV looks better than the HDR10 base layer on your panel.
Motivating media or use case
Could be a nice opt-in feature for Samsung TV users to be able to benefit from dynamic metadata. Default behaviour should remain unchanged at least for now.
Built as an opt-in on feat/ae455-force-dv-non-dv-panel (9030c0e4), default off, LoadOptions.forceDolbyVisionOnNonDVDisplay.
On a display that reports no Dolby Vision, an HEVC Profile 8.1 source is now routed the way a Profile 5 is: dvh1 sample entry, container dvcC rewritten to dv_profile=5 / dv_bl_signal_compatibility_id=0 / el_present_flag=0, and CODECS="dvh1.05.<dvLevel>" in the master with no SUPPLEMENTAL-CODECS. The bitstream is untouched; only the container's claim about it moves. aetherctl serve|validate|segverify --no-dv --force-dv reproduces it without a device.
Measured on a P8.1 fixture, the served init.mp4 goes from the current strip path (hvc1, no DOVI record) to
codec_tag_string=dvh1
dv_profile=5 dv_bl_signal_compatibility_id=0 el_present_flag=0 rpu_present_flag=1
colr nclx 9/16/9 (BT.2020 / PQ, unchanged from the source)
and the master from CODECS="hvc1.2.4.L120" to CODECS="dvh1.05.03". The route stays inert on a DV-capable display, where the existing dvh1.08.<level>/db1p supplemental already gets the panel the real thing.
Scope. Profile 8.1 only. P8.4's base layer is HLG and a profile-5 dvcC over an HLG colr is a container that contradicts itself, so 8.4 keeps its current route until somebody measures the alternative rather than reasoning about it. P7 already converts to 8.1, but only on a DV panel; routing that conversion into this path too is a separate step with its own failure surface. AV1 P10.1 is untested by anyone so far, so it stays where it is.
The reservation, stated because this ships as experimental. The whole thing rests on Apple's composer taking the base layer's colorimetry from the RPU rather than from the container's profile field. A build that read the profile instead would decode an HDR10 base layer as IPT, which is the green / violet cast of #4 and #176. That is not a subtle failure, which is exactly why it is opt-in rather than a default: the worst case is loud and one switch away from gone.
Two readings that would sharpen the picture before the Samsung round here:
Which tvOS version the strobing run was on. The dvh1.05 master on a non-DV HDR10 panel was verified on 26.5 in Unify handling of dynamic range checks #98, but the composition behaviour is a different surface from the manifest gate.
Whether the no-regression pass on the DV-capable devices ran on the patched files or on untouched ones. If it was untouched files, the DV-panel case is unmeasured rather than clean, which does not matter for the shipped route (it is gated off there) but does matter for what the profile field actually means to that decoder.
Samsung round on this end is next. Useful report: the field-by-field description of what you changed in the dvcC is what made this a small change instead of an investigation.
I have only tested 8.1 so far but to answer your questions:
1- tested on tvOS 26.6 and 27 beta connected to Samsung TV.
2- The test on the DV capable panel was done with the patched file but like you said, it's gated on non-DV panels which I think is the better & safer approach anyway.
You can always compare to your iPhone display (since it has native DV support so will strobe without any workarounds) and compare that to your Samsung TV.
Device-verified, and the composer does apply the RPU.
Rig: Apple TV 4K (3rd gen), tvOS 26.6, Samsung HDR10+ panel with no Dolby Vision. Both Apple TVs here hang on that kind of set, which is the class this is for: dynamic metadata the panel can do, just not Dolby's variant.
The first round on this end found nothing, and it was the method that was wrong rather than the build. Comparing only off against on, on an arbitrary P8.1 title, cannot separate "no effect" from "there is an effect and this title's RPU sits close to its static grade". Your test kit fixes that in one step, because it ships the same graded content as P5 and as 8.1: the P5 leg is a positive control for what RPU application even looks like on this panel.
Three-way, same content, Patterns_Of_Nature UHD 24p from browser_test_kit/source_mp4s/24fps.zip:
genuine DV P5 -> strobes
P8.1, opt-in off (today's route, hvc1 + stripped dvcC) -> no strobe
P8.1, opt-in on -> strobes, and looks like 1
So the composition engages on the masqueraded stream instead of the dvh1 track merely being tone-mapped as PQ. Worth stating for anyone reading this later: the visible gain is title-dependent, because it is the distance between a title's dynamic metadata and its own static grade. On the first title tried here that distance was small enough to see nothing at all.
One structural result alongside it, measured locally through aetherctl. A genuine Dolby P5 and our masqueraded 8.1 are indistinguishable to AVPlayer in both the manifest and the init segment:
Had the composer refused, the packaging could not have been the reason; it would have been the bitstream or the RPU. (Incidental: your P5 file carries color_transfer=unknown, and the engine's #19 repair writes the canonical PQ tuple on the way out, so that repair is now confirmed against real Dolby material rather than only against the WEB-DL that motivated it.)
Still opt-in, and staying that way. One panel and one tvOS version is what has been measured, and the failure mode if a build ever read the profile field instead of the RPU is the green / violet cast of #4 and #176, which nobody would miss but nobody wants to meet either.
Next here is the merge and a release, then the Sodalite pin, so there is something for you to retest against.
A note before the retest, because 6.72.0 moves the baseline this option is measured against.
On #493 the strip that hands a non-DV display the bare HDR10 base layer was re-measured on tvOS 26.6 and removed (6.72.0). A Profile 8.1 or 8.4 now keeps its dvcC on that branch, and on the media-direct route that is enough on its own: measured on the Samsung HDR10+ panel here, with no switch set anywhere, the RPU reaches the pixels and the clip strobes the way the Profile 5 control does.
So the two paths now divide by panel state rather than by option:
Panel not in HDR (Match Dynamic Range off, or a panel parked in SDR), which routes media-direct: composition arrives without this option, because AVPlayer consults the record when it has to convert the base layer.
Panel in HDR, which routes through the master: nothing composes from the record, on either setting. Serving the 8.1 as a Profile 5, which is what this option does, is still the only way to get Apple's composer to apply the RPU there.
The option is unchanged and still experimental, and it is still gated on the display having no Dolby Vision of its own. It is worth knowing which row you are in when the retest happens, since a session with the panel out of HDR mode will now look composed whether the switch is on or off.
What ships stays as it was: experimental, opt-in, default off, and gated on a display that has no Dolby Vision of its own (LoadOptions.forceDolbyVisionOnNonDVDisplay, in Sodalite under Settings > Playback > Picture). Two releases moved the baseline underneath it since the option landed, so for anyone reading this later, here is where each row stands on a panel without DV:
Media-direct route (panel not presenting HDR): 6.72.0 removed the strip, so a Profile 8.1 keeps its dvvC, and AVPlayer puts the RPU on the pixels with no switch set anywhere.
Master route (panel presenting HDR): nothing composes from the record on either setting, and serving the 8.1 as a Profile 5 is still the only way to get Apple's composer to apply it. 6.82.0 also stopped trusting UIScreen.currentEDRHeadroom for the panel state and serves the master to an HDR-eligible display whose state is unproven, which makes this the more common row rather than the rare one.
One thing worth knowing whenever there is a spare minute, and the closed thread is fine for it: was the switch on in the run that worked, or off? That separates "the masquerade holds on a second rig" from "the 6.72.0 baseline is enough there", and it is the reading that decides whether the default ever flips.
Everything measured so far is Samsung, here and on that end. Reports from an LG, Sony, Philips, TCL or Hisense without Dolby Vision are the ones still missing, and they are what would move this off experimental.
Activity
superuser404notfound commentedon Aug 31, 2026
Built as an opt-in on
feat/ae455-force-dv-non-dv-panel(9030c0e4), default off,LoadOptions.forceDolbyVisionOnNonDVDisplay.On a display that reports no Dolby Vision, an HEVC Profile 8.1 source is now routed the way a Profile 5 is:
dvh1sample entry, containerdvcCrewritten todv_profile=5/dv_bl_signal_compatibility_id=0/el_present_flag=0, andCODECS="dvh1.05.<dvLevel>"in the master with noSUPPLEMENTAL-CODECS. The bitstream is untouched; only the container's claim about it moves.aetherctl serve|validate|segverify --no-dv --force-dvreproduces it without a device.Measured on a P8.1 fixture, the served
init.mp4goes from the current strip path (hvc1, no DOVI record) toand the master from
CODECS="hvc1.2.4.L120"toCODECS="dvh1.05.03". The route stays inert on a DV-capable display, where the existingdvh1.08.<level>/db1psupplemental already gets the panel the real thing.Scope. Profile 8.1 only. P8.4's base layer is HLG and a profile-5
dvcCover an HLGcolris a container that contradicts itself, so 8.4 keeps its current route until somebody measures the alternative rather than reasoning about it. P7 already converts to 8.1, but only on a DV panel; routing that conversion into this path too is a separate step with its own failure surface. AV1 P10.1 is untested by anyone so far, so it stays where it is.The reservation, stated because this ships as experimental. The whole thing rests on Apple's composer taking the base layer's colorimetry from the RPU rather than from the container's profile field. A build that read the profile instead would decode an HDR10 base layer as IPT, which is the green / violet cast of #4 and #176. That is not a subtle failure, which is exactly why it is opt-in rather than a default: the worst case is loud and one switch away from gone.
Two readings that would sharpen the picture before the Samsung round here:
dvh1.05master on a non-DV HDR10 panel was verified on 26.5 in Unify handling of dynamic range checks #98, but the composition behaviour is a different surface from the manifest gate.Samsung round on this end is next. Useful report: the field-by-field description of what you changed in the
dvcCis what made this a small change instead of an investigation.DrHurt commentedon Aug 31, 2026
I have only tested 8.1 so far but to answer your questions:
1- tested on tvOS 26.6 and 27 beta connected to Samsung TV.
2- The test on the DV capable panel was done with the patched file but like you said, it's gated on non-DV panels which I think is the better & safer approach anyway.
I'll test when this makes it to Sodalite.
In the mean time, here's a link to the dynamic metadata test files if you want to try them yourself:
https://spott.ott.dolby.com/
You can always compare to your iPhone display (since it has native DV support so will strobe without any workarounds) and compare that to your Samsung TV.
superuser404notfound commentedon Sep 1, 2026
Device-verified, and the composer does apply the RPU.
Rig: Apple TV 4K (3rd gen), tvOS 26.6, Samsung HDR10+ panel with no Dolby Vision. Both Apple TVs here hang on that kind of set, which is the class this is for: dynamic metadata the panel can do, just not Dolby's variant.
The first round on this end found nothing, and it was the method that was wrong rather than the build. Comparing only off against on, on an arbitrary P8.1 title, cannot separate "no effect" from "there is an effect and this title's RPU sits close to its static grade". Your test kit fixes that in one step, because it ships the same graded content as P5 and as 8.1: the P5 leg is a positive control for what RPU application even looks like on this panel.
Three-way, same content,
Patterns_Of_NatureUHD 24p frombrowser_test_kit/source_mp4s/24fps.zip:hvc1+ strippeddvcC) -> no strobeSo the composition engages on the masqueraded stream instead of the
dvh1track merely being tone-mapped as PQ. Worth stating for anyone reading this later: the visible gain is title-dependent, because it is the distance between a title's dynamic metadata and its own static grade. On the first title tried here that distance was small enough to see nothing at all.One structural result alongside it, measured locally through
aetherctl. A genuine Dolby P5 and our masqueraded 8.1 are indistinguishable to AVPlayer in both the manifest and the init segment:Had the composer refused, the packaging could not have been the reason; it would have been the bitstream or the RPU. (Incidental: your P5 file carries
color_transfer=unknown, and the engine's #19 repair writes the canonical PQ tuple on the way out, so that repair is now confirmed against real Dolby material rather than only against the WEB-DL that motivated it.)Still opt-in, and staying that way. One panel and one tvOS version is what has been measured, and the failure mode if a build ever read the profile field instead of the RPU is the green / violet cast of #4 and #176, which nobody would miss but nobody wants to meet either.
Next here is the merge and a release, then the Sodalite pin, so there is something for you to retest against.
superuser404notfound commentedon Sep 7, 2026
A note before the retest, because 6.72.0 moves the baseline this option is measured against.
On #493 the strip that hands a non-DV display the bare HDR10 base layer was re-measured on tvOS 26.6 and removed (6.72.0). A Profile 8.1 or 8.4 now keeps its
dvcCon that branch, and on the media-direct route that is enough on its own: measured on the Samsung HDR10+ panel here, with no switch set anywhere, the RPU reaches the pixels and the clip strobes the way the Profile 5 control does.So the two paths now divide by panel state rather than by option:
The option is unchanged and still experimental, and it is still gated on the display having no Dolby Vision of its own. It is worth knowing which row you are in when the retest happens, since a session with the panel out of HDR mode will now look composed whether the switch is on or off.
DrHurt commentedon Sep 14, 2026
This seems to be working now so you can close this if you want.
superuser404notfound commentedon Sep 15, 2026
Thanks for the retest, closing on that.
What ships stays as it was: experimental, opt-in, default off, and gated on a display that has no Dolby Vision of its own (
LoadOptions.forceDolbyVisionOnNonDVDisplay, in Sodalite under Settings > Playback > Picture). Two releases moved the baseline underneath it since the option landed, so for anyone reading this later, here is where each row stands on a panel without DV:dvvC, and AVPlayer puts the RPU on the pixels with no switch set anywhere.UIScreen.currentEDRHeadroomfor the panel state and serves the master to an HDR-eligible display whose state is unproven, which makes this the more common row rather than the rare one.One thing worth knowing whenever there is a spare minute, and the closed thread is fine for it: was the switch on in the run that worked, or off? That separates "the masquerade holds on a second rig" from "the 6.72.0 baseline is enough there", and it is the reading that decides whether the default ever flips.
Everything measured so far is Samsung, here and on that end. Reports from an LG, Sony, Philips, TCL or Hisense without Dolby Vision are the ones still missing, and they are what would move this off experimental.