Solved Dolby Vision, HDR10 Hybrid MKV files
#1
So I've been testing the Omega RC1 and played back some dolby vision files with great success. However I noticed there are now also some files that have both DV and HDR metadata in these scenarios Kodi however seems to prefer using HDR (or is unable to render Dolby Vision). I read somewhere you can disable HDR10 metadata which I did disable in the settings but it still gave me HDR output anyway. Some background info is that I'm playing back this file on the Dune HD 8K pro player. When using the native player it does actually play the file in Dolby Vision but not in Kodi. Here's the video information on the file in question:
Quote:Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@main
HDR format                               : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 54 min 10 s
Bit rate                                 : 21.6 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 920 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 0)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.122
Stream size                              : 8.16 GiB (95%)
Writing library                          : x265 3.5+1-f0c1022b6:[Linux][GCC 10.2.1][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1920 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=0 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=96 / keyint=96 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=96 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / selective-sao=0 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=11.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=21900 / vbv-bufsize=40000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / cll=351,75 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 351 cd/m2
Maximum Frame-Average Light Level        : 75 cd/m2
Reply
#2
To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
Reply
#3
Ok thanks. Here's the log I uploaded:

https://paste.kodi.tv/oqiyipuceh.kodi
Reply
#4
I'm no expert but these don't sound good:
IsHDRDisplay: false
GetDolbyVisionCapabilities Display: false
Reply
#5
Yeah I saw that too but I would say that's a bug I use a LG C1 and can guarantee you this TV is dolby vision capable TV Wink. In fact plenty of files in Kodi that are not hybrid display dolby vision perfectly fine with the logo appearing in my top right screen when the video starts. Just these hybrid videos don't seem to, and again the Dune native player will play back these files in Dolby Vision just not Kodi.

Not sure what I can do to make Kodi detect my TV as dolby vision capable
Reply
#6
You can start by contacting Dune about it, it's an Android firmware issue.
Kodi just uses the existing Android APIs.
Reply
#7
Are you also referring to these points?

IsHDRDisplay: false
GetDolbyVisionCapabilities Display: false

I wouldn't mind contacting Dune but they'd probably need a bit more information on what exactly would be going wrong...

Also as far as I can tell tell it both misidentifies my TV as being non HDR as well as not being Dolby Vision capable yet it still somehow chooses HDR, not really sure why that would happen. Wouldn't it try tonemapping it to SDR or something ?
Reply
#8
(2024-03-22, 19:43)banggun Wrote: Are you also referring to these points?

IsHDRDisplay: false
GetDolbyVisionCapabilities Display: false

I wouldn't mind contacting Dune but they'd probably need a bit more information on what exactly would be going wrong...
Yes.

Kodi calls these API methods:
IsHdr: https://developer.android.com/reference/...play#ishdr
getHdrCapabilities -> getSupportedHdrTypes: https://developer.android.com/reference/...HdrTypes()

Since IsHdrDisplay logs false, then the OS says that there are no supported HDR types.

(2024-03-22, 19:43)banggun Wrote: Also as far as I can tell tell it both misidentifies my TV as being non HDR as well as not being Dolby Vision capable yet it still somehow chooses HDR, not really sure why that would happen. Wouldn't it try tonemapping it to SDR or something ?
Kodi does not care if the display is HDR, everything is handled by the hardware decoder.

It only explicitly enables Dolby VIsion in these cases:
- MediaCodec supports Dolby VIsion (yes in your case)
- Display supports Dolby Vision (no according to the OS) OR the file is profile 5 (non backwards compatible).

The only reason profile 5 is allowed is for some hardware where MediaCodec supports tone mapping the video to non-Dolby Vision.
So in that case the display support is not necessary.
Reply
#9
Thanks so much. I'll try contacting Dune and report back if there's any change! Just a sudden thought I think it could also be because the player is connected to the AVR first and then to the TV which maybe this detection fails to get done properly?
Reply
#10
Ok already reporting back I tested this connecting the Dune directly to my other LG c1 (don't ask me why I have same model tv's lol). When connecting it directly to the TV HDMI port it plays Dolby Vision fine so I'm guessing the fault is neither with Dune or Kodi the detection I suppose is good and I have no idea if I could change some setting on my AVR to make Kodi detect my display as DV capable. It would however be very helpful of Kodi has an option to bypass this detection and output to DV regardless of this.
Reply
#11
(2024-03-22, 21:32)banggun Wrote: I have no idea if I could change some setting on my AVR to make Kodi detect my display as DV capable.

What brand and type is your AVR? On my Denon X2800H I need to change the HDMI ports from Standard to Enhanced or 8K Enhanced before it will accept DV video signals.
Reply
#12
It's the Sony TA-AN1000 which to be honest is fairly limited when it comes to customisation (compared to the Denon at least as I used to once have one). Ok just checked it does have the enhanced format option enabled but it's connected to 4K only ports it does have 2 8k ports through which I currently already have my PC and PS5 connected to I could try switching it later on. I think this shouldn't be a requirement as the 4k ports also do support DV and it does have enhanced enabled. I'll try fiddling a bit more tomorrow as my setup is fairly static with cables running behind the wall my ability to change cables is a bit time consuming :p
Reply
#13
Well my Denon has three 4K ports and three 8K ports, but my Shield is connected to a 4K port and works fine with hybrid HDR10/DV files with the port setting set to Enhanced (I checked a couple of files that have the same HDR format as yours according to MediaInfo).
Reply
#14
Ok apologies false alarm I went testing today again starting with the 8K port and yes Kodi suddenly played back dolby vision. So I went back to the old 4k port. HDR again. Then replaced my HDMI cable and boom fixed we have dolby vision again. Sigh the importance of quality HDMI cables. Anyway thanks to everyone for helping out. Issue resolved, hopefully my silly experience might help someone else down the road.....

Still a bit misleading for me as the content played back fine using the native player I assumed it was software thing and it sort of is but in the end I guess not enough bandwidth on the HDMI cable made the Android API report my display as not HDR/DV capable.
Reply
#15
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
Dolby Vision, HDR10 Hybrid MKV files0