This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] HDR10 encoding wrong colors
#1
Hi Selur,

I try desperately to encode a UHD HDR10 mkv movie to a UHD Blu-ray disc.
I have an issue with the colors. I put the color data from the source in x265/signaling
According to Mediainfo, the output file is HDR10. But the colors are wrong. They're the same as the movie without HDR. So I suppose I didn't put the correct settings.

The debug includes two jobs.
First job with incorrect color data and giving a file without HDR10, according to Mediainfo.
Second job has supposedly the correct color datas and gave a HDR10 file but with wrong colors.

Thanks for your help.


Laurent
Reply
#2
Looking at the second job:
"/Applications/Hybrid.app/Contents/MacOS/x265" --input - --output-depth 10 --y4m --uhd-bd --profile main10 --level-idc 5.1 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --keyint 24 --min-keyint 1 --lookahead-slices 0 --pass 2 --bitrate 23000 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --vbv-maxrate 160000 --vbv-bufsize 160000 --hrd --vui-hrd-info --aud --deblock=-1:-1 --limit-sao --range limited --colorprim bt2020 --transfer bt2020-10 --colormatrix bt2020nc --chromaloc 1 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,0)" --max-cll 1000,1000 --hdr --stats "/Users/Laurent/Movies/Hybrid/Dredd_2160_HDR10_generated_2021-11-29@21_53_29_8110_03.stats" --multi-pass-opt-analysis --multi-pass-opt-distortion --analysis-reuse-file "/Users/Laurent/Movies/Hybrid/Dredd_2160_HDR10_generated_2021-11-29@21_53_29_8110_03.analysis" --output "/Users/Laurent/Movies/Hybrid/2021-11-29@21_53_29_8110_04.265"
I see:
--colorprim bt2020 --transfer bt2020-10 --colormatrix bt2020nc --chromaloc 1 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,0)" --max-cll 1000,1000 --hdr
but now '--hdr10' which should be used assuming the x265 version is detected at as version 3.3 or higher.
Problem is that the version is detected as 'x265 -> unknown'.

I'll try to write a workaround for it when I find some time, but I probably won't get around to it before the weekend.

As a workaround: Check your settings folder, it should container a file named 'toolInfos.xml'.
Open it with a simple text editor, look for the line:
<ToolInfo version="unknown" path=".\64bit\x265.exe" name="x265"/>
(path might be different)
and change the version info to:
<ToolInfo version="3.5+21-428400bf5" path=".\64bit\x265.exe" name="x265"/>
this way Hybrid should use '--hdr10' which might fix your issue.
Depending on the tool you use for playback you probably could also signal the HDR Data throught he container, by adjusting 'Config->MKV tagging->Matroska advanced video signaling'.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Thanks for all the tips.
I think I use the 16 sept 21 Hybrid version (I forgot to tell you that, sorry)
And yes, in tools info, x265 appears as unknown.

I'll do as you said and give another try.
I'll keep in touch ^^
Reply
#4
on my way to bed atm. but I send you a link to a dev verison via pm for testing 3hrs ago btw.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
(02.12.2021, 21:46)Selur Wrote: on my way to bed atm. but I send you a link to a dev verison via pm for testing 3hrs ago btw.

Cu Selur

Oups! didn't see that. Thanks! I'll try on a sample to go faster. My computer takes two days to deal with a 2 hours film...

And have a good night sleepĀ  zzzzz...
Reply
#6
Hi,

I tried on a movie sample with your new dev version.
The result is good: it's HDR10 according to MediaInfo and colors are the same as the original.
So your workaround succeeded!
Even though the x265 version is still unknown and I didn't have to use the mkv tagging "video signaling". But I'll keep that in mind, just in case.

Thanks for your quick solution !
Have a nice weekend.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)