As long as you're not transcoding it's the same as playing direct from network
Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
Yes DV5 versions of titles are always/almost always encoded at higher bitrates than HDR10 versions of some files from what I've seen - I imagine it's 'spec' or 'guidelines' by Dolby for DV certification/redistribution 'can't be below/must be at certain bitrate/threshold' in order to show 'how DV is the best' - Lord knows the streamers would love to reduce bitrate/transmission costs/storage/etc as much as they can get away with.foxbat wrote: ↑Fri May 16, 2025 11:32 amIs it normal for the DV P5 version of a given stream to be around 30% larger than the equivalent HDR10 version?
For example:
Andor.S02E04.2160p.DSNP.WEB-DL.DDPA5.1.DV.HEVC-PlayWEB.mkv: 6431381983
Andor.S02E04.2160p.DSNP.WEB-DL.DDPA5.1.HDR.HEVC-PlayWEB.mkv: 4305241410
I also notice that the hybrid P8 files people are posting are around the same size as the HDR10 versions. Is something being lost from the P5 files during that conversion?
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999, I have questions regarding HDR to Dolby Vision conversion and proxy encoding.
1. cm_analyze vs. Resolve for DV conversion: which produces better (more accurate) RPU?
I've generated RPU XML files using both DaVinci Resolve (following your tutorial) and cm_analyze, and noticed differences in the Level 1 metadata. The ColorEncoding sections also differ significantly:
Resolve output:
cm_analyze output:

Based on this and the plots below, which RPU would you consider more accurate or "better"? I've included XMLs for reference.
2. Can ProRes Profile 1 or 2 (Apple HW) be used as a proxy instead of Profile 3 with q=4 (SW)?
From my tests, Profile 2 (Apple HW) seems to have higher fidelity to the original source than Profile 3 with q=4 (SW). Even Profile 1 (Apple HW) performs surprisingly well and is quite close.
Does the profile number carry any real-world implication beyond bitrate?
Would Profile 1 (Apple HW) be good enough for proxy use, or would you still recommend suffering through Profile 2's higher bitrate and file size?
Here are some PSNR results and encoding stats:
Encoding commands:
PSNR commands:
PSNR results:
Would love to hear your take on both these questions.
Thanks in advance!
1. cm_analyze vs. Resolve for DV conversion: which produces better (more accurate) RPU?
I've generated RPU XML files using both DaVinci Resolve (following your tutorial) and cm_analyze, and noticed differences in the Level 1 metadata. The ColorEncoding sections also differ significantly:
Resolve output:
Code: Select all
<ColorEncoding>
<Primaries>
<Red>0.68 0.32</Red>
<Green>0.265 0.69</Green>
<Blue>0.15 0.06</Blue>
</Primaries>
<ColorSpace>rgb</ColorSpace>
<SignalRange>computer</SignalRange>
</ColorEncoding>Code: Select all
<ColorEncoding>
<Primaries>
<Red>0.708 0.292</Red>
<Green>0.17 0.797</Green>
<Blue>0.131 0.046</Blue>
</Primaries>
<ColorSpace>ycbcr_bt2020</ColorSpace>
<SignalRange>video</SignalRange>
</ColorEncoding>
Based on this and the plots below, which RPU would you consider more accurate or "better"? I've included XMLs for reference.
2. Can ProRes Profile 1 or 2 (Apple HW) be used as a proxy instead of Profile 3 with q=4 (SW)?
From my tests, Profile 2 (Apple HW) seems to have higher fidelity to the original source than Profile 3 with q=4 (SW). Even Profile 1 (Apple HW) performs surprisingly well and is quite close.
Does the profile number carry any real-world implication beyond bitrate?
Would Profile 1 (Apple HW) be good enough for proxy use, or would you still recommend suffering through Profile 2's higher bitrate and file size?
Here are some PSNR results and encoding stats:
Code: Select all
Profile | Encoder | PSNR (avg) | PSNR (min) | Size | Bitrate
------------|------------------------|------------|------------|---------|---------
P3 Q4 | SW: prores_ks | 58.95 | 56.69 | 27.4 GB | 196 Mb/s
P1 | SW: prores_ks | 58.96 | 53.15 | 34.3 GB | 246 Mb/s
P2 (Apple) | HW: prores_videotoolbox| 62.82 | 58.26 | 48.8 GB | 350 Mb/s
P1 (Apple) | HW: prores_videotoolbox| 59.05 | 55.45 | 28.9 GB | 207 Mb/s
Code: Select all
- P3 (Q4): ffmpeg -i test.mkv -c:v prores_ks -profile:v 3 -vendor apl0 -qscale:v 4 -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc -pix_fmt yuv422p10le test_p3-q4.mov
- P1 (QX): ffmpeg -i test.mkv -c:v prores_ks -profile:v 1 -vendor apl0 -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc -pix_fmt yuv422p10le test_p1-qx.mov
- P2 (HW): ffmpeg -i test.mkv -c:v prores_videotoolbox -profile:v 2 -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc test_p2-hw.mov
- P1 (HW): ffmpeg -i test.mkv -c:v prores_videotoolbox -profile:v 1 -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc test_p1-hw.movCode: Select all
- P3 (Q4): ffmpeg -r 24000/1001 -i test.mkv -r 24000/1001 -i test_p3-q4.mov -lavfi psnr="stats_file=test_p3-q4.log" -f null -
- P1 (QX): ffmpeg -r 24000/1001 -i test.mkv -r 24000/1001 -i test_p1-qx.mov -lavfi psnr="stats_file=test_p1-qx.log" -f null -
- P2 (HW): ffmpeg -r 24000/1001 -i test.mkv -r 24000/1001 -i test_p2-hw.mov -lavfi psnr="stats_file=test_p2-hw.log" -f null -
- P1 (HW): ffmpeg -r 24000/1001 -i test.mkv -r 24000/1001 -i test_p1-hw.mov -lavfi psnr="stats_file=test_p1-hw.log" -f null -Code: Select all
- P3 (Q4): PSNR y:57.830199 u:61.702542 v:64.312729 average:58.951441 min:56.685113 max:inf
- P1 (QX): PSNR y:57.672183 u:62.738864 v:65.896872 average:58.958489 min:53.148347 max:inf
- P2 (HW): PSNR y:62.149857 u:63.255604 v:66.544010 average:62.822763 min:58.255157 max:inf
- P1 (HW): PSNR y:57.895307 u:61.791684 v:65.122727 average:59.052011 min:55.453200 max:infThanks in advance!
- Attachments
-
- Resolve-L3.xml
- (2.8 MiB) Downloaded 178 times
-
- CM_analyze-L3.xml
- (2.12 MiB) Downloaded 152 times
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I dont think the difference is big enough to have a noticeable difference in playback but if I had to guess, I would say CM might be more accurate because other things can interfere in resolve.
FYI, I did new and better test file for L1 and it seems that the average_pq has no effect at all in cmv4.0, not even high values way above my TV ABL. DV dims the image only when L1 max_pq reaches your TV target.
In cmv2.9, a 150nits max/avg_pq dims the image even on my 2500nits G5, which doesn't make much sense since the TV can do 2500 peak / 400nits full field, and this is exactly why the generated L2 trims brightens the image so much in 2.9. see: https://docs.google.com/spreadsheets/d/ ... 1289366200
So I'm no longer watching 2.9 retail movies. CMv4.0 for everything!
As for the XML header primaries, unless you encode in DEE, it doesn't matter.
As for the ProRes profile, as long as the brightness and colors remain the same, I don't think it matters much.
PS: The CM warning msg are gone in the latest version. It also fixed my Windows 11 crashes.
FYI, I did new and better test file for L1 and it seems that the average_pq has no effect at all in cmv4.0, not even high values way above my TV ABL. DV dims the image only when L1 max_pq reaches your TV target.
In cmv2.9, a 150nits max/avg_pq dims the image even on my 2500nits G5, which doesn't make much sense since the TV can do 2500 peak / 400nits full field, and this is exactly why the generated L2 trims brightens the image so much in 2.9. see: https://docs.google.com/spreadsheets/d/ ... 1289366200
So I'm no longer watching 2.9 retail movies. CMv4.0 for everything!
As for the XML header primaries, unless you encode in DEE, it doesn't matter.
As for the ProRes profile, as long as the brightness and colors remain the same, I don't think it matters much.
PS: The CM warning msg are gone in the latest version. It also fixed my Windows 11 crashes.
Re: Dolby Vision now possible through MP4 Mux.
Is it these files last modified 8th May 2025?
I've only just started avoiding cmv2.9 with a 4000 nits MDL due to the broken behaviour on my LG C4.RESET_9999 wrote: ↑Mon May 26, 2025 5:50 pmSo I'm no longer watching 2.9 retail movies. CMv4.0 for everything!
Are you saying there is more broken behaviour at other MDL's?
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yes
1000 mdl doesn't dim too early like 4000mdl but it is slightly crushed.I've only just started avoiding cmv2.9 with a 4000 nits MDL due to the broken behaviour on my LG C4.
Are you saying there is more broken behaviour at other MDL's?
Re: Dolby Vision now possible through MP4 Mux.
I apologize if I have missed some developments, but, are we now able to convert retail CMv2.9 to CMv4.0? If so how involved is that process?RESET_9999 wrote: ↑Mon May 26, 2025 5:50 pmSo I'm no longer watching 2.9 retail movies. CMv4.0 for everything!
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
You can restore cmv4.0 on a P7 rip with the metadata from web streaming. If no cmv4.0 source is available, then I will just generate it.foxbat wrote: ↑Tue May 27, 2025 12:25 pmI apologize if I have missed some developments, but, are we now able to convert retail CMv2.9 to CMv4.0? If so how involved is that process?RESET_9999 wrote: ↑Mon May 26, 2025 5:50 pmSo I'm no longer watching 2.9 retail movies. CMv4.0 for everything!
https://www.youtube.com/watch?v=RI_e-MPIPlw
Re: Dolby Vision now possible through MP4 Mux.
But wouldn’t generating CMv4.0 metadata mean losing the original manual L2 trims? In that case, wouldn’t it be better to just stick with CMv2.9 if those trims were carefully tuned?RESET_9999 wrote: ↑Tue May 27, 2025 12:32 pmYou can restore cmv4.0 on a P7 rip with the metadata from web streaming. If no cmv4.0 source is available, then I will just generate it.
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
My 2500nits G5 rarely needs tone mapping, so this doesn't really affect me, and all the 1000nits MDL trims are already ignored anyway on this TV.
For 4000nits MDL RPU, even in movies that have a lot of modification in the cmv2.9 trims like Mad Max, DV still dims a lot of 200-500nits shots on my G5.
Re: Dolby Vision now possible through MP4 Mux.
And for us people with G1/G2 for example?RESET_9999 wrote: ↑Tue May 27, 2025 2:14 pmMy 2500nits G5 rarely needs tone mapping, so this doesn't really affect me, and all the 1000nits MDL trims are already ignored anyway on this TV.
For 4000nits MDL RPU, even in movies that have a lot of modification in the cmv2.9 trims like Mad Max, DV still dims a lot of 200-500nits shots on my G5.
LG OLED65G1RLA / Samsung HW-Q990D / Sony UBP-X800M2 / Ugoos AM6B+ (CE with CPM Build)
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I would generate cmv4.0 for movies made in the old/original cmv2.9 algo (the ones with no automatic trims, no cmv4.0 to 2.9 conversion).
For the cmv2.9 rpu with automatic L2 trims from the cmv4.0 workflow master, I guess it's fine(minus black crush).
PS: Dolby knows that cmv2.9 is not very good, see their QC recommendations:
https://www.youtube.com/watch?v=t7mlzQNSdOw&t=3718s
Re: Dolby Vision now possible through MP4 Mux.
I ran some tests on my Sony A95L, and it seems tone mapping starts at:RESET_9999 wrote: ↑Tue May 27, 2025 3:18 pmI would generate cmv4.0 for movies made in the old/original cmv2.9 algo (the ones with no automatic trims, no cmv4.0 to 2.9 conversion).
For the cmv2.9 rpu with automatic L2 trims from the cmv4.0 workflow master, I guess it's fine(minus black crush).
- avg_pq 600, MDL 1000, CM v2.9: 1150 nits
- avg_pq 600, MDL 1000, CM v4.0: 1150 nits
- avg_pq 600, MDL 4000, CM v2.9: 150 nits!
- avg_pq 600, MDL 4000, CM v4.0: 1150 nits
Does having empty L2 trims guarantee the use of the legacy algorithm, or is there another way to confirm it?