Page 596 of 756
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 12:04 am
by dapope
Hi! Is there any explanation of the 7-5-3 workflow (playing FEL files with MPC)? I assume there's no way for windows to actually launch the display into dolby vision, so is this somehow showing the dynamic metadata using regular HDR output?
I also haven't been able to get the workflow to launch yet, I'm getting error messages (see image link).
It's possible I don't have MPC installed correctly, I downloaded the portable version and put it in the tools folder. But not sure if it matters whether I use the 64 or 32 bit version, or what the name for the MPC folder should be.
Thank you!
https://imgur.com/a/yRoA1tN
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 12:07 am
by Coopervid
dapope wrote: Fri Sep 22, 2023 12:04 am
Hi! Is there any explanation of the 7-5-3 workflow (playing FEL files with MPC)? I assume there's no way for windows to actually launch the display into dolby vision, so is this somehow showing the dynamic metadata using regular HDR output?
I also haven't been able to get the workflow to launch yet, I'm getting error messages (see attached file).
It's possible I don't have MPC installed correctly, I downloaded the portable version and put it in the tools folder. But not sure if it matters whether I use the 64 or 32 bit version, or what the name for the MPC folder should be.
Thank you!
My point just above your post. Tell me why you are going through all these hassles.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 12:57 am
by RESET_9999
dapope wrote: Fri Sep 22, 2023 12:04 am
Hi! Is there any explanation of the 7-5-3 workflow (playing FEL files with MPC)? I assume there's no way for windows to actually launch the display into dolby vision, so is this somehow showing the dynamic metadata using regular HDR output?
I also haven't been able to get the workflow to launch yet, I'm getting error messages (see image link).
It's possible I don't have MPC installed correctly, I downloaded the portable version and put it in the tools folder. But not sure if it matters whether I use the 64 or 32 bit version, or what the name for the MPC folder should be.
Thank you!
https://imgur.com/a/yRoA1tN
Only FEL, the dynamic metadata are not used and no it won't trigger DV but you can watch in HDR10 or SDR.
It looks like your input(p7 ST I guess?) failed to be demuxed with dovi_tool.
here's the tool pack:
https://mega.nz/file/VedxEIBB#bfjgWeSpr ... NCIC372rQQ

Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 1:10 am
by quietvoid
danbez wrote: Thu Sep 21, 2023 10:19 pm
@quietvoid, can you explain your method ? Or send a link where I can learn about it? Thanks!
I don't provide support, it's in VapourSynth:
https://github.com/OpusGang/awsmfunc/bl ... e.py#L1905
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 5:49 am
by Iam2smart
Great Thanks that fixed it my only other issue is my Elf copy. I've attached the XML file. I've done other movies and they work great
https://drive.google.com/file/d/1N98jY6 ... sp=sharing
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 7:52 am
by dapope
RESET_9999 wrote: Fri Sep 22, 2023 12:57 am
dapope wrote: Fri Sep 22, 2023 12:04 am
Hi! Is there any explanation of the 7-5-3 workflow (playing FEL files with MPC)? I assume there's no way for windows to actually launch the display into dolby vision, so is this somehow showing the dynamic metadata using regular HDR output?
I also haven't been able to get the workflow to launch yet, I'm getting error messages (see image link).
It's possible I don't have MPC installed correctly, I downloaded the portable version and put it in the tools folder. But not sure if it matters whether I use the 64 or 32 bit version, or what the name for the MPC folder should be.
Thank you!
https://imgur.com/a/yRoA1tN
Only FEL, the dynamic metadata are not used and no it won't trigger DV but you can watch in HDR10 or SDR.
It looks like your input(p7 ST I guess?) failed to be demuxed with dovi_tool.
here's the tool pack:
https://mega.nz/file/VedxEIBB#bfjgWeSpr ... NCIC372rQQ
OK interesting, thank you.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 1:08 pm
by RESET_9999
there's no L2 error on my copy of Elf (p5 iTunes)...
why do you share the XML instead of the rpu? maybe you're using an old version of dovi_meta(tool that converts rpu to XML)?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 2:11 pm
by Iam2smart
RESET_9999 wrote: Fri Sep 22, 2023 1:08 pm
there's no L2 error on my copy of Elf (p5 iTunes)...
why do you share the XML instead of the rpu? maybe you're using an old version of dovi_meta(tool that converts rpu to XML)?
That was the issue I updated dovi_meta tool from version 0.2.0 to 0.2.1 now I dont have any errors and everything works. Thanks for the help
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Sep 22, 2023 2:43 pm
by danbez
Thanks. I will try it out.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 12:48 am
by axeyou
When taking FEL screenshots with DoViBaker in AvsPmod, is there a good way to tone map to SDR? I've tried the default generated script as well as applying the 100-nit L2 trim to DoViBaker through "trimPq=2081, targetMaxNits=100, targetMinNits=1". Both look too washed out compared to CAH's 100-nit conversion.
https://slow.pics/c/l7iEtcS3
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 1:53 pm
by RESET_9999
axeyou wrote: Sun Sep 24, 2023 12:48 am
When taking FEL screenshots with DoViBaker in AvsPmod, is there a good way to tone map to SDR? I've tried the default generated script as well as applying the 100-nit L2 trim to DoViBaker through "trimPq=2081, targetMaxNits=100, targetMinNits=1". Both look too washed out compared to CAH's 100-nit conversion.
https://slow.pics/c/l7iEtcS3
I guess you would have to add libplacebo in the script.
You can use 7-5-3 (madVR +MPC) which has the best HDR to SDR tone mapping anyway.
Code: Select all
LoadPlugin("D:\DoVi_Scripts\tools\DoViBaker_x64.dll")
LoadPlugin("D:\DoVi_Scripts\tools\dgdecnv_242\DGDecodeNV.dll")
LoadPlugin("D:\DoVi_Scripts\tools\avs_libplacebo.dll")
bl = DGSource("D:\\P7_BL.dgi")
el = DGSource("D:\\P7_EL.dgi")
DoViBaker(bl, el, rpu= "D:\\P7RPU_FEL.bin")
libplacebo_Tonemap(src_csp=1, dst_csp=0, dynamic_peak_detection=true, tone_mapping_function=0, tone_mapping_mode=1)
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 3:24 pm
by Trees
I'm trying to inject HDR10+ metadata into an HR10 remux. However, the HDR10+ metadata is delayed by 24 frames.
How do I sync them? I'm familiar with syncing with dovi_tool, but I'm afraid it won't work with HDR10+.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 9:37 pm
by axeyou
RESET_9999 wrote: Sun Sep 24, 2023 1:53 pm
I guess you would have to add libplacebo in the script.
You can use 7-5-3 (madVR +MPC) which has the best HDR to SDR tone mapping anyway.
Code: Select all
LoadPlugin("D:\DoVi_Scripts\tools\DoViBaker_x64.dll")
LoadPlugin("D:\DoVi_Scripts\tools\dgdecnv_242\DGDecodeNV.dll")
LoadPlugin("D:\DoVi_Scripts\tools\avs_libplacebo.dll")
bl = DGSource("D:\\P7_BL.dgi")
el = DGSource("D:\\P7_EL.dgi")
DoViBaker(bl, el, rpu= "D:\\P7RPU_FEL.bin")
libplacebo_Tonemap(src_csp=1, dst_csp=0, dynamic_peak_detection=true, tone_mapping_function=0, tone_mapping_mode=1)
Thanks, RESET! libplacebo looks much better!
Do you also happen to know how to apply it to BL only? It looks like it doesn't accept a DGSource("BL.dgi") as input:
Code: Select all
LoadPlugin("D:\DoVi_Scripts\tools\dgdecnv\DGDecodeNV.dll")
LoadPlugin("D:\DoVi_Scripts\tools\avs_libplacebo.dll")
DGSource("D:\Movies\\00009\00009_BL.dgi")
# libplacebo_Tonemap: failed uploading data to the GPU! Trying alternative RGB32 conversion. Attempt failed !
libplacebo_Tonemap(src_csp=1, dst_csp=0, dynamic_peak_detection=true, scene_threshold_high=-1)
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 10:37 pm
by RESET_9999
it works fine on my end
btw I added support in the latest dovi_scripts workflow 7-1 for SDR tone mapping line 119 set tonemap=0

Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Sep 24, 2023 11:47 pm
by axeyou
Thanks again, RESET! I guessed I just hit some bug. Restarted AvsPmod and it worked fine : )
Appreciate your help!