Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

thirdmoon wrote:
Sun Oct 08, 2023 5:49 am
@RESET_9999
Is it possible to get heatmap and gamut from 7-3 in 2160p?
you can try to edit line 11923 and 12059

echo final_image_resized = cv2.resize(final_image_rgb, (1955, 1080^), interpolation=cv2.INTER_AREA^) >> "%TEMP%heat_map.py"

and

echo final_image_resized = cv2.resize(cv2.cvtColor(original_img_cv, cv2.COLOR_RGB2BGR^), (1920, 1080^), interpolation=cv2.INTER_AREA^) >> "%TEMP%gamut_map.py"
Last edited by RESET_9999 on Sun Oct 08, 2023 12:24 pm, edited 1 time in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dapope wrote:
Sun Oct 08, 2023 9:43 am
Does anyone know why I'm getting this error message when inputting a .TS file into 4-2? The MKV file works fine.
https://imgur.com/a/nNV7q4g
Have you tried the latest version 1.9.5.5. There was a typo in that workflow for the TS/M2ts input in the previous versions.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
thirdmoon
Posts: 35
Joined: Mon Jul 03, 2023 6:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thirdmoon »

RESET_9999 wrote:
Sun Oct 08, 2023 12:17 pm
thirdmoon wrote:
Sun Oct 08, 2023 5:49 am
@RESET_9999
Is it possible to get heatmap and gamut from 7-3 in 2160p?
you can try to edit line 11923 and 12059

echo final_image_resized = cv2.resize(final_image_rgb, (1955, 1080^), interpolation=cv2.INTER_AREA^) >> "%TEMP%heat_map.py"

and

echo final_image_resized = cv2.resize(cv2.cvtColor(original_img_cv, cv2.COLOR_RGB2BGR^), (1920, 1080^), interpolation=cv2.INTER_AREA^) >> "%TEMP%gamut_map.py"
Working thanks. Changed it in 6-7 as well.
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Sun Oct 08, 2023 12:17 pm
dapope wrote:
Sun Oct 08, 2023 9:43 am
Does anyone know why I'm getting this error message when inputting a .TS file into 4-2? The MKV file works fine.
https://imgur.com/a/nNV7q4g
Have you tried the latest version 1.9.5.5. There was a typo in that workflow for the TS/M2ts input in the previous versions.
Yes it's working now, thanks.
Actually, nevermind. The process gets further but still get an error message and the resulting file is unplayable.
https://imgur.com/a/evr0A6M
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Big-rome wrote:
Mon Oct 09, 2023 3:30 am
@RESET_9999

https://github.com/erazortt/DoViBaker/i ... 1931385132
thanks
dapope wrote:
Mon Oct 09, 2023 4:21 am
Actually, nevermind. The process gets further but still get an error message and the resulting file is unplayable.
https://imgur.com/a/evr0A6M
Looks like your input is broken. Did you split your sample with tsmuxer? tsmuxer always breaks the RPU when it splits DV files.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Mon Oct 09, 2023 11:53 am
Big-rome wrote:
Mon Oct 09, 2023 3:30 am
@RESET_9999

https://github.com/erazortt/DoViBaker/i ... 1931385132
thanks
dapope wrote:
Mon Oct 09, 2023 4:21 am
Actually, nevermind. The process gets further but still get an error message and the resulting file is unplayable.
https://imgur.com/a/evr0A6M
Looks like your input is broken. Did you split your sample with tsmuxer? tsmuxer always breaks the RPU when it splits DV files.
Yes I did. But I thought that I'd used split tsmuxer files before with older version of your program.
What program should I use to split a DV MKV file?
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

mkvtoolnix
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Mon Oct 09, 2023 3:26 pm
mkvtoolnix
OK done.
Do you think you could please help me make sense of this DV vs HDR graph as I'm looking for FEL brightness extension?
https://slow.pics/c/mzG9Nk9K
HDR reports a higher maxFALL, however DV reports a higher average maxCLL.
When I use 4-2 to convert the file to Profile 8 it produces an identical DV plot as the Profile 7 file... Which is confirmation that there's no FEL brightening, correct?
So why does it report a higher average maxCLL than HDR?

Thanks!
Last edited by dapope on Tue Oct 10, 2023 8:53 am, edited 1 time in total.
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

And I'm having another problem, this time with 3-1.
Using the version from a couple of days ago I could agree to manual L5 entry, Dovi_scripts would then give me the suggested L5 settings to enter for that file.
Now it started giving me an error that .avs had no file association.
I switched the file association to notepad and it just opens this document, note that it always reads 0,2.5,255,0,255 regardless of the aspect ratio.
https://imgur.com/a/SvmMVCE
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dapope wrote:
Tue Oct 10, 2023 5:21 am
OK done.
Do you think you could please help me make sense of this DV vs HDR graph as I'm looking for FEL brightness extension?
https://slow.pics/c/mzG9Nk9K
HDR reports a higher maxFALL, however DV reports a higher average maxCLL.
When I use 4-2 to convert the file to Profile 8 it produces an identical DV plot as the Profile 7 file... Which is confirmation that there's no FEL brightening, correct?
So why does it report a higher average maxCLL than HDR?

Thanks!
Dolby and madvr avg_pq (maxfall) is calculated differently and will never be the same so those values can be ignored.
When you convert P7 to P8, it doesn't change the metadata, so it will always be the same as the original P7 L1.
To find expanded brightness video, export screenshots in 7-1 or look for comparisons here (I did not check Carrie though but by the look of the plot, it doesn't expand luminance):
https://docs.google.com/spreadsheets/d/ ... =917134052

dapope wrote:
Tue Oct 10, 2023 7:15 am
And I'm having another problem, this time with 3-1.
Using the version from a couple of days ago I could agree to manual L5 entry, Dovi_scripts would then give me the suggested L5 settings to enter for that file.
Now it started giving me an error that .avs had no file association.
I switched the file association to notepad and it just opens this document, note that it always reads 0,2.5,255,0,255 regardless of the aspect ratio.
https://imgur.com/a/SvmMVCE
Yes, this is normal.
I removed the L5 suggestions in the manual mode and now the script will launch avspmod with a black level tweak that makes manual cropping a LOT easier, especially for dark movies.
Levels(0, 2.5, 255, 0, 255, coring=false) is not the L5 but parameters that raise black levels(inspired by staxrip latest build).

If you were blindly using the suggestion in the manual mode, then just use the Auto mode and it will be the same as before.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

btw, I got a response from Dolby about the Cm_analyze.exe slow performance:
Our Professional Tools make use of Apple’s ProRes decoding library and we have identified performance bugs, including lack of GPU accelerated decoding on Windows and Linux, and a severe performance hit when running on some AMD chips, including their high-performance scalable EPYC chips.

Unfortunately, we are dependent on Apple updating their ProRes libraries to get this fixed.
Until we get an update from Apple, the only recommendation we can offer is to use JPEG2000 which has full GPU decoding support.

I'm sorry I can't give you any better news.
Let me know if there's anything else we can support with.

Thanks,

Michael
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Tue Oct 10, 2023 11:10 am
Yes, this is normal.
I removed the L5 suggestions in the manual mode and now the script will launch avspmod with a black level tweak that makes manual cropping a LOT easier, especially for dark movies.
Levels(0, 2.5, 255, 0, 255, coring=false) is not the L5 but parameters that raise black levels(inspired by staxrip latest build).

If you were blindly using the suggestion in the manual mode, then just use the Auto mode and it will be the same as before.
OK got all of this, thanks. I think for now the only thing I can't figure out is how to get those heatmaps. Dovi_scripts says "creating heatmap" but there's never any output. I've tried installing python to the default install location in appdata/local/programs and ran pip install numpy colour-science opencv-python-headless. But I don't really know what I'm doing with python.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dapope wrote:
Tue Oct 10, 2023 2:11 pm
OK got all of this, thanks. I think for now the only thing I can't figure out is how to get those heatmaps. Dovi_scripts says "creating heatmap" but there's never any output. I've tried installing python to the default install location in appdata/local/programs and ran pip install numpy colour-science opencv-python-headless. But I don't really know what I'm doing with python.
did you also pip install:
cv2/colour/matplotlib/scikit-image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Tue Oct 10, 2023 3:14 pm
dapope wrote:
Tue Oct 10, 2023 2:11 pm
OK got all of this, thanks. I think for now the only thing I can't figure out is how to get those heatmaps. Dovi_scripts says "creating heatmap" but there's never any output. I've tried installing python to the default install location in appdata/local/programs and ran pip install numpy colour-science opencv-python-headless. But I don't really know what I'm doing with python.
did you also pip install:
cv2/colour/matplotlib/scikit-image
How do I do that? python -m pip install cv2/colour/matplotlib/scikit-image does not work.
Post Reply