What i dont understand is the hdr measurement difference. The avg_pq of "quietvoid sample is quite different than the original P7 rpu while the one created by this cmd is almost the same as the original.%ffmpeg_path% -i "%filepath%%filename%.avs" -preset %preset% -x265-params crf=%crf%:repeat-headers=1:sar=1:hrd=1:hdr10-opt=1:aud=1:open-gop=0:hdr10=1:sao=0:rect=0:cutree=0:deblock=-3-3:strong-intra-smoothing=0:chromaloc=2:aq-mode=2:colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:vbv-maxrate=160000:vbv-bufsize=160000:max-luma=1023:max-cll=%maxcll_path%,%maxfall_path%:master-display=%MDP%WP(15635,16450)L(%max_pq%0000,%min_pq%) -pix_fmt yuv420p10le -y "%output_path%%filename%_HDR10.hevc"
Dolby Vision now possible through MP4 Mux.
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I use this cli...
-
quietvoid
- Posts: 377
- Joined: Sun Apr 19, 2020 4:15 pm
Re: Dolby Vision now possible through MP4 Mux.
Your measurements are off somehow. This is what I get from measuring my profile 8.1 encode: https://0x0.st/HQ26.pngRESET_9999 wrote: Sun Jun 25, 2023 7:28 pm What i dont understand is the hdr measurement difference. The avg_pq of "quietvoid sample is quite different than the original P7 rpu while the one created by this cmd is almost the same as the original.
And with the same scenes as original: https://0x0.st/HQ2l.png
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
that is strange. I used madvr...quietvoid wrote: Sun Jun 25, 2023 9:28 pm Your measurements are off somehow. This is what I get from measuring my profile 8.1 encode: https://0x0.st/HQ26.png
And with the same scenes as original: https://0x0.st/HQ2l.png
I figured out the color shift though. It needed ConvertToYUV420(matrix="2020") in the avs script. And now madvr read the avg_pq just like your original p8 sample
how did you measure it ?
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Ha, if I measure it in resolve instead, now it's closer to yours and almost identical to the original P7. So something is wrong with madvr measurement for this file, somehow. strange stuff...
https://slow.pics/c/GdrYzfzM
https://slow.pics/c/GdrYzfzM
-
quietvoid
- Posts: 377
- Joined: Sun Apr 19, 2020 4:15 pm
Re: Dolby Vision now possible through MP4 Mux.
I use my own script in VapourSynth.
-
speeddemon
- Posts: 77
- Joined: Wed Oct 16, 2019 3:44 am
Re: Dolby Vision now possible through MP4 Mux.
@quietvoid and @RESET_9999 is this FEL expansion issue more of a problem for >1000-nit displays or is it also a problem on typical 700-1000-nit OLEDs?quietvoid wrote: Sun Jun 25, 2023 11:16 amThe output wouldn't be easily playable if it sticks to lossless encoding, as the files would be huge.speeddemon wrote: Sun Jun 25, 2023 3:42 am Would it be possible to have a version of DoVi_Scripts someday that uses DoViBaker and dovi_tool to reconstruct the FEL image and output a correct P8.1 file?
@quietvoid & @RESET_9999 have either of you considered teaming up with erazortt to do this?
Thanks!
And there are too many variables when reencoding lossy, so it's probably not worth it.
Also, is there anywhere where one of you (or someone else) has completely explained why this FEL expansion issue exists and what is happening in detail?
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
it's a problem for any display.speeddemon wrote: Mon Jun 26, 2023 6:19 am
@quietvoid and @RESET_9999 is this FEL expansion issue more of a problem for >1000-nit displays or is it also a problem on typical 700-1000-nit OLEDs?
Also, is there anywhere where one of you (or someone else) has completely explained why this FEL expansion issue exists and what is happening in detail?
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
The TV receives brightness metadata (L1/L2) that is wrong for the content it's displaying so because it thinks the content is much brighter than it is, it dims the brightness accordingly to adapt to its capabilities.
see:
https://www.youtube.com/watch?v=nT1qBQLZIIc
https://www.youtube.com/watch?v=S0J0blslHjY
https://www.youtube.com/watch?v=VObky4peBXE
-
danbez
- Posts: 13
- Joined: Tue Nov 27, 2018 6:08 am
Re: Dolby Vision now possible through MP4 Mux.
On top of that, we also have titles where the Base Layer was poorly authored resulting in a lot of compression artifacts and other issues that are only fixed with the FEL layer. Typical examples are Total Recall, Halloween 2 and a few others.RESET_9999 wrote: Mon Jun 26, 2023 8:44 amit's a problem for any display.speeddemon wrote: Mon Jun 26, 2023 6:19 am
@quietvoid and @RESET_9999 is this FEL expansion issue more of a problem for >1000-nit displays or is it also a problem on typical 700-1000-nit OLEDs?
Also, is there anywhere where one of you (or someone else) has completely explained why this FEL expansion issue exists and what is happening in detail?
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
The TV receives brightness metadata (L1/L2) that is wrong for the content it's displaying so because it thinks the content is much brighter than it is, it dims the brightness accordingly to adapt to its capabilities.
see:
https://www.youtube.com/watch?v=nT1qBQLZIIc
https://www.youtube.com/watch?v=S0J0blslHjY
https://www.youtube.com/watch?v=VObky4peBXE
-
speeddemon
- Posts: 77
- Joined: Wed Oct 16, 2019 3:44 am
Re: Dolby Vision now possible through MP4 Mux.
Do you/we have any idea why they're doing this?RESET_9999 wrote: Mon Jun 26, 2023 8:44 am The TV receives brightness metadata (L1/L2) that is wrong for the content it's displaying so because it thinks the content is much brighter than it is, it dims the brightness accordingly to adapt to its capabilities.
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
Would it be possible to re-write the L1/L2 metadata so it's corrected/"unexpanded"?
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
4 options:speeddemon wrote: Mon Jun 26, 2023 3:49 pm Do you/we have any idea why they're doing this?
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
Would it be possible to re-write the L1/L2 metadata so it's corrected/"unexpanded"?
1- just watch in HDR10
2- bake the EL into the BL
3- generate a proper RPU in resolve for the BL actual brightness.
4- get a proper player
Expanding the brightness makes sense actually. It futureproofs the grade for when the TV will be brighter and it makes the content accurate on more type(brightness, HDR format) of display.
Because this way, people with brighter DV TV(G3) can enjoy brighter HDR and people with low nits DV TV can also get an accurate picture thanks to the trim pass and L1.
Then, people with HDR10-only TVs (low nits) can also get an accurate image with the 1000nits BL. If the BL was as bright as the EL, then those low-nits HDR10 TVs would look bad/clipped.
That's right. I found a couple that improve grain/details: https://docs.google.com/spreadsheets/d/ ... =917134052danbez wrote: Mon Jun 26, 2023 3:08 pm On top of that, we also have titles where the Base Layer was poorly authored resulting in a lot of compression artifacts and other issues that are only fixed with the FEL layer. Typical examples are Total Recall, Halloween 2 and a few others.
-
speeddemon
- Posts: 77
- Joined: Wed Oct 16, 2019 3:44 am
Re: Dolby Vision now possible through MP4 Mux.
Do you have a tutorial for this or know of a tutorial for this?RESET_9999 wrote: Mon Jun 26, 2023 4:01 pm 3- generate a proper RPU in resolve for the BL actual brightness.
Thanks!
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
https://www.youtube.com/watch?v=ZdFiqATo_j8speeddemon wrote: Mon Jun 26, 2023 4:11 pm Do you have a tutorial for this or know of a tutorial for this?
Thanks!
-
speeddemon
- Posts: 77
- Joined: Wed Oct 16, 2019 3:44 am
Re: Dolby Vision now possible through MP4 Mux.
Can I do this in the free version of Resolve?RESET_9999 wrote: Mon Jun 26, 2023 4:14 pmhttps://www.youtube.com/watch?v=ZdFiqATo_j8speeddemon wrote: Mon Jun 26, 2023 4:11 pm Do you have a tutorial for this or know of a tutorial for this?
Thanks!
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I don't think so
-
Trees
- Posts: 59
- Joined: Sat Sep 03, 2022 8:04 am
Re: Dolby Vision now possible through MP4 Mux.
Of course. But visually lossless quality transcoding is possible. If it's advantageous to visually losslessly convert Blu-ray remuxes to IPTPQc2, why wouldn't you? We're all trying to get the absolute best quality available, after all.quietvoid wrote: Tue Jun 20, 2023 11:13 am And any reencoding of a Blu-ray into IPT would be worse as transcoding is lossy.
What HDR would you say is the best, purely in terms of colour representation, accuracy and quality? P5, P7 or P8.1? Why is the IPTPQc2 colour space better than the YCbCr color space found on Blu-rays?
Sorry for all the questions, I'm just quite interested in the subject and trying to do a bit of research in Dolby Vision (I've tried to read the white papers, but they're too overwhelming). I'm just trying to find out what is best for me, in layman's terms. I leaning towards valuing HDR quality over bit rate, so I'm willing to trade in my remuxes for WEB-DLs, they're very good these days, but only IF the HDR is actually better than the HDR found on Blu-rays.