Jump to content

Recommended Posts

Posted

@ Which values did you change in the file header, as @@FrostByte and I have been amending both the "Video Pixel Height" and "Video Display Height" to 2160, but HDR still doesn't trigger ?

 

 

You change the display height not the video. I'll post a screenshot in a little while.

"Video Display Height" ?

  • Like 1
Guest asrequested
Posted

Here you go, guys. No need to run a library scan after you save the change. Doing this has nothing to do with Emby.

 

5c2a5ae2ac535_Changedisplayheight.gif

  • Like 3
Posted

Here you go, guys. No need to run a library scan after you save the change. Doing this has nothing to do with Emby.

 

 

Yep, that's what I did earlier, but it made no difference, HDR wasn't triggered in Emby.

  • Like 1
Guest asrequested
Posted

Yep, that's what I did earlier, but it made no difference, HDR wasn't triggered in Emby.

 

Works everytime, for me

vdatanet
Posted

For me it also works, if I set Video Display Height to 2160 it triggers HDR.

  • Like 1
Posted

Yep, that's what I did earlier, but it made no difference, HDR wasn't triggered in Emby.

Works everytime, for me

For me it also works, if I set Video Display Height to 2160 it triggers HDR.

OK, I'll try again in a while.

 

You didn't need to do anything in Emby?

  • Like 1
vdatanet
Posted

OK, I'll try again in a while.

 

You didn't need to do anything in Emby?

 

No, I changed the value and I played start the movie.

  • Like 1
Guest asrequested
Posted

You just save the change, and play the video. No need to scan or restart anything emby.

  • Like 1
Posted

OK, so changing just the Video Display Height to 2160 triggers HDR now !!

  • Like 1
Guest asrequested
Posted

So that's the issue. Android has to run at full screen for it to activate HDR (same as Windows). It looks like Exoplayer/shield is circumventing that by setting frame size according to the video frame. I would imagine that the other apps like plex are probably making sure that Android maintains full screen, regardless of video frame ratio.

  • Like 1
Posted

I wonder if somehow Plex is setting the "Video Display Height" value to 2160 before playback starts.

 

I wonder if @@ebr can do something similar.

  • Like 1
Guest asrequested
Posted

I wonder if somehow Plex is setting the "Video Display Height" value to 2160 before playback starts.

 

I wonder if @@ebr can do something similar.

 

If you were to correct this by changing that, you'd have to add padding, so that Android sees information in those last 5 pixels. Or it would just stretch the image.

Posted

I have changed the "Video Display Height" value to 2160 on a few other samples/movies I have, but they are not triggering HDR.

  • Like 1
Posted

For 2 samples that do trigger HDR, are in fact stretched.

  • Like 1
Guest asrequested
Posted

I have changed the "Video Display Height" value to 2160 on a few other samples/movies I have, but they are not triggering HDR.

 

 Can you share one? Or link me to it?

Posted

Can you share one? Or link me to it?

I'll do it tomorrow, as getting ready for New Year now, plus I've had enough of it today :)

  • Like 2
vdatanet
Posted

In my testing, if it triggers HDR video is stretched. If HDR is not triggered video is not stretched.

 

(1) triggers hdr.txt -> After setting VDH to 2160 triggers HDR but video is stretched

(2) not triggers hdr.txt -> After setting VDH to 2160 not triggers HDR and video is not strecched

 

File (2) is supposed to be HDR, but I think it's not and obviously doesn't trigger HDR, and plex doesn't too.

triggers hdr.txt

not triggers hdr.txt

  • Like 1
Posted

Can you share one? Or link me to it?

 

Here is a link to a 30 second sample.

 

The Media Info for the sample is:

 

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main 10@L5.1@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 32 s 366 ms
Width                                    : 3 840 pixels
Height                                   : 1 600 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 (Type 2)
Bit depth                                : 10 bits
Writing library                          : x265 2.7+17-2e370d98c806:[Windows][GCC 6.3.0][64 bit] 10bit
Encoding settings                        : cpuid=1173503 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=156295 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) / max-cll=1000,295 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Statistics Tags Issue                    : no_variable_data 1970-01-01 00:00:00 / Lavf58.18.102 
FromStats_BitRate                        : 28349751
FromStats_Duration                       : 00:00:30.135000000
FromStats_FrameCount                     : 156295
FromStats_StreamSize                     : 23100809584
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 295 cd/m2

 I haven't changed the VDH on this sample.

 

It does not trigger HDR in the Emby ATV app, but it does in the Plex ATV app and Archos Media Player if used as an external player to Emby ATV app.

  • Like 1
Guest asrequested
Posted

 

Here is a link to a 30 second sample.

 

The Media Info for the sample is:

 

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main 10@L5.1@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 32 s 366 ms
Width                                    : 3 840 pixels
Height                                   : 1 600 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 (Type 2)
Bit depth                                : 10 bits
Writing library                          : x265 2.7+17-2e370d98c806:[Windows][GCC 6.3.0][64 bit] 10bit
Encoding settings                        : cpuid=1173503 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=156295 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) / max-cll=1000,295 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Statistics Tags Issue                    : no_variable_data 1970-01-01 00:00:00 / Lavf58.18.102 
FromStats_BitRate                        : 28349751
FromStats_Duration                       : 00:00:30.135000000
FromStats_FrameCount                     : 156295
FromStats_StreamSize                     : 23100809584
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 295 cd/m2

 I haven't changed the VDH on this sample.

 

It does not trigger HDR in the Emby ATV app, but it does in the Plex ATV app and Archos Media Player if used as an external player to Emby ATV app.

 

When I change the height, it stretches and enables HDR, for me

Posted

When I change the height, it stretches and enables HDR, for me

Yes, if you change the height, it stretches the video, so not a solution.

 

Still triggers HDR in Plex, even untouched.

  • Like 1
vdatanet
Posted

When I change the height, it stretches and enables HDR, for me

 

This not triggers HDR for me.

Posted

This not triggers HDR for me.

Did you change the VDH value in the header?

 

It won't trigger HDR as is, unless you play it in Plex.

  • Like 1
Guest asrequested
Posted

Yes, if you change the height, it stretches the video, so not a solution.

 

Still triggers HDR in Plex, even untouched.

 

I'm confused. You said;

 

I have changed the "Video Display Height" value to 2160 on a few other samples/movies I have, but they are not triggering HDR.

 

And I asked for a sample. So all of your videos play HDR when stretched?

vdatanet
Posted

I think that Doofus does not propose this as a solution rather as a demonstration that the problem is in the crop and not in the encoding.

Guest asrequested
Posted

This not triggers HDR for me.

 

The display height and width on that sample have no values. Fill them both in, and try again. The whole frame needs to be filled, not just the height,

Guest
This topic is now closed to further replies.
×
×
  • Create New...