Kodi Community Forum
4k and HDR Switching - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: 4k and HDR Switching (/showthread.php?tid=357763)



4k and HDR Switching - THRobinson - 2020-10-17

I've had this TV (TCL 6-Series 55" 4K UHD HDR LED Roku OS Smart TV (55R615-CA)) for over a year now, great TV, nice image and colour etc... but was never sure if for 4k video, if it was switching over.

This week I found that for stuff like xbox and playstation, they said to switch the HDMI mode from AUTO to HDMI 2.0... other option was I think HDMI 1.2 or something.

After doing that and rebooting everything, I tried Avengers Endgame, and when it started the screen flickered for a second and HDR showed up in the upper right corner. When I go to the TV's pop-out screen, video mode went from NORMAL to HD.

However... it's not always the case.

Example. I have 2 files... Spider-Man Homecoming, and Far From Home... I made both files the same at the same time, and both show in KODI as 4k, both are 10bit colour, both the same dimensions and pretty much the same bitrate. However, Homecoming switches to HDR mode, and Far From Home doesn't.

I have maybe a dozen 4k videos, and only half seem to switch to HDR.

Any ideas? Hard to tell if a TV or KODI situation... I'm using the current CoreElec.

Here's a side-by-side cap of the media info screens... pretty much the same to me...

Image


RE: 4k and HDR Switching - Hitcher - 2020-10-17

Can you post the whole details as I can't see if they're BT 709 or BT 2020.


RE: 4k and HDR Switching - THRobinson - 2020-10-17

Yup... I'll grab the txt... looks like that's it though. 

So... what do I do? I encoded with the same settings and both 10bit colour... or is this where I need to switch to a Handbrake forum?

Also... HDR would be colour... so, how do I know if I'm getting 4k for 4k videos? 

----------------------------

Homecoming (Works)

General
Unique ID                   : 309260238330613174222399202046520990610 (0xE8A95AF8EF03EF2FC5CF7432FEF61B92)
Complete name               : Y:\Spider-Man - Homecoming (2017) 4k 10bit.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 11.8 GiB
Duration                    : 2 h 13 min
Overall bit rate            : 12.7 Mb/s
Movie name                  : Spider-Man - Homecoming (2017) 4k 10bit
Encoded date                : UTC 2020-10-17 05:30:56
Writing application         : mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
Writing library             : libebml v1.3.10 + libmatroska v1.5.2

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 2 h 13 min
Bit rate                    : 12.0 Mb/s
Width                       : 3 840 pixels
Height                      : 1 604 pixels
Display aspect ratio        : 2.40:1
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.082
Stream size                 : 11.2 GiB (95%)
Writing library             : x265 3.2.1+1-b5c86a64bbbe:[Windows][GCC 9.2.0][64 bit] 10bit
Encoding settings           : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / 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-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / 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=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=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=0 / display-window=0 / cll=0,0 / 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 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / 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
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.2020
Transfer characteristics    : PQ
Matrix coefficients         : BT.2020 non-constant

Audio
ID                          : 2
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Codec ID                    : A_AC3
Duration                    : 2 h 13 min
Bit rate mode               : Constant
Bit rate                    : 640 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Bit depth                   : 16 bits
Compression mode            : Lossy
Stream size                 : 611 MiB (5%)
Title                       : AC-3 5.1
Language                    : English
Service kind                : Complete Main
Default                     : No
Forced                      : No

Text
ID                          : 3
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Duration                    : 2 h 12 min
Bit rate                    : 64 b/s
Count of elements           : 1777
Stream size                 : 62.9 KiB (0%)
Title                       : English
Language                    : English
Default                     : Yes
Forced                      : No



Far From Home (Not Switching)

General
Unique ID                   : 268215433318196260130493741583376727186 (0xC9C869D858A154A50C73F87F774A3C92)
Complete name               : Y:\Spider-Man - Far from Home (2019) 4k 10bit.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 10.1 GiB
Duration                    : 2 h 9 min
Overall bit rate            : 11.2 Mb/s
Movie name                  : Spider-Man - Far from Home (2019) 4k 10bit
Encoded date                : UTC 2020-10-17 05:24:45
Writing application         : mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
Writing library             : libebml v1.3.10 + libmatroska v1.5.2

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 2 h 9 min
Bit rate                    : 10.5 Mb/s
Width                       : 3 840 pixels
Height                      : 1 606 pixels
Display aspect ratio        : 2.40:1
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.071
Stream size                 : 9.51 GiB (94%)
Writing library             : x265 3.2.1+1-b5c86a64bbbe:[Windows][GCC 9.2.0][64 bit] 10bit
Encoding settings           : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1606 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / 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-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / 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=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=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=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / 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 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / 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
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709

Audio
ID                          : 2
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Codec ID                    : A_AC3
Duration                    : 2 h 9 min
Bit rate mode               : Constant
Bit rate                    : 640 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Bit depth                   : 16 bits
Compression mode            : Lossy
Stream size                 : 592 MiB (6%)
Title                       : AC-3 5.1
Language                    : English
Service kind                : Complete Main
Default                     : No
Forced                      : No

Text
ID                          : 3
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Duration                    : 2 h 7 min
Bit rate                    : 65 b/s
Count of elements           : 1733
Stream size                 : 60.9 KiB (0%)
Title                       : English
Language                    : English
Default                     : Yes
Forced                      : No


RE: 4k and HDR Switching - Hitcher - 2020-10-17

Yep, first one is HDR (BT2020) and the second one isn't HDR (BT709).

Is HDR and 10 bit same thing?


RE: 4k and HDR Switching - THRobinson - 2020-10-17

(2020-10-17, 21:12)Hitcher Wrote: Yep, first one is HDR (BT2020) and the second one isn't HDR (BT709).

Is HDR and 10 bit same thing?

So... not something I did or can do... it's more of the source file needing both 10bit and BT2020. 

I did finally figure out how to see if in 1080 or 4k mode on the TV and seems to be ok on that end.


RE: 4k and HDR Switching - squaleca - 2021-02-05

off topic but is there anyway to show wether or not a movie is in hdr or not as my remote doesnt have an info button.  Cinema HD when playing hdr movies indicates res refresh rate and wether its hdr or not kodi doesnt


RE: 4k and HDR Switching - scott967 - 2021-02-05

(2021-02-05, 02:02)squaleca Wrote: off topic but is there anyway to show wether or not a movie is in hdr or not as my remote doesnt have an info button.  Cinema HD when playing hdr movies indicates res refresh rate and wether its hdr or not kodi doesnt
First, from an online source
Quote:HDR 10 Media Profile - The Consumer Technologies Association (CTA)’s official HDR video standard for use in HDR Televisions. HDR 10 requires the use of the SMPTE ST.2084 EOTF, BT.2020 color space, 10 bits per channel, 4.2.0 chroma subsampling, and the inclusion of SMPTE ST.2086 and associated MaxCLL and MaxFALL metadata values.
So that is what you need to look for.  I think mediainfo app and ffprobe app should show you this.  For Kodi 19, there is a Windows x64 fork for test that can display this info.

scott s.
.