Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
skull88
Posts: 69
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 »

I didn't think your users would care to just play in HDR, if they don't care about bitrate. But to each his own. For Dolby website, try another browser or incognito window, I think I had similar issue and used Edge.
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

RESET_9999 wrote:
Wed Jan 17, 2024 9:19 pm
azreil24 wrote:
Wed Jan 17, 2024 9:06 pm
It's there, I checked.
then idk, show me the log with ''echo'' set to ''on'' maybe.
you can also try it manually:

D:\DoVi_Scripts\tools\madvr\madMeasureHDR.exe "D:\Interstellar.2014.iMAX.HDRg 2.9 itunes (4000nits).mkv"
Measuring video file "D:\Interstellar.2014.iMAX.HDRg 2.9 itunes (4000nits).mkv" using D3D11 (native)...
1%
I get the same message even for manual call. Will give it another go tomorrow. Thanks for the help.
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

skull88 wrote:
Wed Jan 17, 2024 9:21 pm
I didn't think your users would care to just play in HDR, if they don't care about bitrate. But to each his own. For Dolby website, try another browser or incognito window, I think I had similar issue and used Edge.
I played around a bit and it seems FFMPEG does not support native converting video with DV. I managed to get it working with this tool however: https://github.com/quietvoid/dovi_tool/tree/main

I had to first extract .hevc from original file and extract RPU. Then convert original .hevc to lower bitrate and inject the RPU into it. Then just replace the video stream in original file. This way I get HDR and DV correctly detected on my LG, no more issues with the brightness in DoVi mode.
There is a few step, but doable with some powershell script.

Might also be some issue with hevc_nvenc, as I use GPU encoding and not the cpu x265 encoder. I think with x265 you can pass RPU while encoding and not as separate step with --dolby-vision-rpu
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

azreil24 wrote:
Wed Jan 17, 2024 10:01 pm
RESET_9999 wrote:
Wed Jan 17, 2024 9:19 pm
azreil24 wrote:
Wed Jan 17, 2024 9:06 pm
It's there, I checked.
then idk, show me the log with ''echo'' set to ''on'' maybe.
you can also try it manually:

D:\DoVi_Scripts\tools\madvr\madMeasureHDR.exe "D:\Interstellar.2014.iMAX.HDRg 2.9 itunes (4000nits).mkv"
Measuring video file "D:\Interstellar.2014.iMAX.HDRg 2.9 itunes (4000nits).mkv" using D3D11 (native)...
1%
I get the same message even for manual call. Will give it another go tomorrow. Thanks for the help.
I moved the scripts to another drive, as I had them in C: root, I know it's not recommended but it worked fine with all the other flows, moved them to the same drive I had them prior to moving to C. On the new drive, I still had the IMeasureHDR error, but after that it started giving me Python not found error, although it was installed. It seems that it only wants the Python version installed through Microsoft Store, for some reason, that is what the error message was suggesting to install from, while I initially had it installed from their website, as indicated in the Dovi Scripts installation documentation.

I then re-downloaded your tools archive and re-copied the madVR folder and it's now working. Not sure what happened there and why the error, but its working now.
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

I tried injecting the RPU data into my Akira copy and at the end failed saying it could not find the metadata XML in the temp folder, although this process worked fine before. I get the same error when using the 3-1 flow, as I wanted to play with it, but this XML file is never generated in the process.

"metafier: ERROR Unable to open Metadata file 'C:\DoVi.Scripts\temp.folder77\00000_DV.xml'"
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

you have to show me the full log with ''echo on'' if you want me to help you.

But it sounds like you didn't install avisynth plus.

https://github.com/AviSynth/AviSynthPlu ... 230715.exe
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

Avisynth is also installed.

Let me know how can I share the log, as it seems the forum doesn't allow me to add any files.

Seems like it fails here:

C:\DoVi_Scripts>"C:\DoVi_Scripts\tools\cm_analyze.exe" --shot-list "C:\DoVi_Scripts\temp.folder77\00000.scene.cuts.txt" -m 20 -r 24000/1001 --source-format "pq bt2020" --letterbox 0 0 0 0 --analysis-tuning 1 "C:\DoVi_Scripts\temp.folder77\00000_prores.422.mov" "C:\DoVi_Scripts\temp.folder77\00000_DV.xml"
Copyright (c) 2013-2024 Dolby Laboratories, Inc. All Rights Reserved
01/18/2024/17:38:58.310000000 ArgParser: ERROR Unknown argument '--analysis-tuning'
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

https://justpaste.it/

You need the latest Cm_analyze.exe which has the L1 tunning.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

Yes sir, that was it. I copied the one from the Dolby install folder and it did the trick. Many thanks!
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Dolby Vision raised black level in Movies & TV app.

Post by sw5163 »

I've been recently testing DV on the Win11 Movies & TV app. I got both "Dolby Vision" and "Dolby Vision Extensions" plugins installed since I don't know what's the difference between them.
dolby.vision.plugin.png
dolby.vision.plugin.png (37.16 KiB) Viewed 9452 times
I connected it to S95Z(S95C) and tried the CMv4.0 test pattern from quietvoid, most trims worked so I'm guessing it's LLDV (Samsung doesn't support DV). However, I noticed black level is raised and I got a dark grey when it should be completely black. Windows HDR Calibration app couldn't fix this. Any thoughts would be much appreciated thanks!

HDR10 content also has a very slight raised black in Movies & TV app but it's barely noticeable by naked eye, I have to take a 30 second exposure photo to really make sure and it can be fixed by the Windows HDR Calibration app. DV content black level is unacceptable compared to HDR10. Screenshot and SDR content look right, completely black.

Win11 is on 23H2, AMD driver 23.11.1, all softwares invovled are up to date.
GPU output is set to 10bit Full Range RGB HDR, TV input set to Full Range.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dont waste your time with the the Win11 Movies & TV app, the Energy player supports MKV/TS and profile 7 and lossless audio

https://www.youtube.com/watch?v=bXS5I1GlRSM
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
valington
Posts: 44
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by valington »

RESET_9999 wrote:
Fri Jan 19, 2024 12:10 pm
dont waste your time with the the Win11 Movies & TV app, the Energy player supports MKV/TS and profile 7 and lossless audio

https://www.youtube.com/watch?v=bXS5I1GlRSM
Reset in unreleased version 20.1 which i renamed in MP4 .bat which numbers need for making from remux mkv 7 profile dolby vision to mp4 7 profile
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

if you just want to mux the ST-DL MKV(or any dv file) to MP4: workflow 5
if you want to demux ST-DL MKV and mux to a DT-DL mp4: Workflow 4-3
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
valington
Posts: 44
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by valington »

RESET_9999 wrote:
Fri Jan 19, 2024 3:02 pm
if you just want to mux the ST-DL MKV(or any dv file) to MP4: workflow 5
if you want to demux ST-DL MKV and mux to a DT-DL mp4: Workflow 4-3
Thank you
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

new test file like the eagle beak sample but this time, the L2 trims are a positive lift. I haven't checked on my TV yet but it should show how trim offset not working in TV-LED is a problem

P8: https://drive.google.com/file/d/1TURYOD ... drive_link
P5: https://drive.google.com/file/d/1FD17Lr ... sp=sharing

True Detective frame 1138:

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply