Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

I will try it, but first will have to see the RPU syncing steps, as I'm not to clear on that, as the two editions do not perfectly line-up, there is a few hundred milliseconds difference between the 'donor' and the 'patient' :D
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I show how to resync the rpu in my P8 hybrid tutorial video on YouTube.
You can't really resync FEL though.

https://www.youtube.com/watch?v=hVWZpat34oc
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik »

@RESET_9999

is there a workflow or script which can simply convert a mkv file to mp4 without encoding or demuxing & remuxing etc? I currently use tsmuxer to do that as it converts mkv to m2ts on the fly so I only need about 110% of the original file as free space, whereas if I were to demux it, then convert/encode it and then remux it I would need 3x the free space.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I think ffmpeg can do that but I dont know the command.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik »

RESET_9999 wrote:
Wed Jan 17, 2024 12:27 am
I think ffmpeg can do that but I dont know the command.
ok, thank you :)
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:
Tue Jan 16, 2024 11:10 pm
I show how to resync the rpu in my P8 hybrid tutorial video on YouTube.
You can't really resync FEL though.

https://www.youtube.com/watch?v=hVWZpat34oc
Yeah, but seems I am not able to fix this one. I have MadVR installed, Lav filters and all.

"Could not retrieve IMeasureHDR interface."
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

which movie is it?
Yeah, but seems I am not able to fix this one. I have MadVR installed, Lav filters and all.

"Could not retrieve IMeasureHDR interface."
you're talking about 6-2 madvr measure?
check your lavfilters settings

Image
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 »

Yep, 6-2, got the same lavfilters settings, same error.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Check if your path to DoVi_Scripts\tools\madvr\madMeasureHDR.exe exist
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
skull88
Posts: 69
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 »

azreil24 wrote:
Wed Jan 17, 2024 8:32 pm
Yep, 6-2, got the same lavfilters settings, same error.
This is not a fun error to deal with, as I had it before and took me a long time to resolve, lots of uninstalling/re-installing and troubleshooting. From what I recall, the key was to ensure I had 32-bit (x86) version of LAVFilters installed and registered, as well as AviSynth+ (may or may not be related to your specific IMeasureHDR error msg), as madMeasureHDR.exe is actually quite an old executable that has not been updated by madshi for a while and it does not play nice with 64-bit anything. Make sure not to use any weird paths and consider making a new Windows user account to confirm it's not an issue with your user profile/registry. Good luck!
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 8:46 pm
Check if your path to DoVi_Scripts\tools\madvr\madMeasureHDR.exe exist
It's there, I checked.
skull88 wrote:
Wed Jan 17, 2024 9:02 pm
azreil24 wrote:
Wed Jan 17, 2024 8:32 pm
Yep, 6-2, got the same lavfilters settings, same error.
This is not a fun error to deal with, as I had it before and took me a long time to resolve, lots of uninstalling/re-installing and troubleshooting. From what I recall, the key was to ensure I had 32-bit (x86) version of LAVFilters installed and registered, as well as AviSynth+ (may or may not be related to your specific IMeasureHDR error msg), as madMeasureHDR.exe is actually quite an old executable that has not been updated by madshi for a while and it does not play nice with 64-bit anything. Make sure not to use any weird paths and consider making a new Windows user account to confirm it's not an issue with your user profile/registry. Good luck!
Thanks, will try the 32-bit also.
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

AndreasT wrote:
Wed Jan 10, 2024 1:57 pm
comorla45 wrote:
Sat Jan 06, 2024 8:10 pm
Hello, I stumbled upon issue, maybe someone here might be able to help me.

I want to convert 4K DV+HDR10 MKV into lower bitrate MP4 to play DV on my LG Plex.

Normally, when I only want to change the container from MKV to MP4 I just use

Code: Select all

ffmpeg.exe -i "source.mkv" -map 0 -c copy -c:s mov_text -strict unofficial "output.mp4" 
and all is nice and dandy. It triggers DV on my LG, but preservers the HDR10 metadata also, so all is OKay.

When I want to convert video stream I use:

Code: Select all

ffmpeg.exe -i "source.mkv" -map 0 -c copy -c:0 hevc_nvenc -cq 32 -preset p5 -c:s mov_text -strict unofficial "output.mp4" 
and it also copy all DV/HDR metadata, it even triggers Dolby Vision playback on TV (DV logo appears in the top right) but brightness is like in SD material. MediaInfoGUI claims all is okay. I lose HDR10+ but I do not care for that.

First is original MKV file:
Image
converted MP4:
Image

Any ideas whit it triggers DV but plays in low brightness?
I'm just curious, why do you want to convert to lower bit-rate?
I use PLEX and some of my friends have very bad WiFi signal, when the 4K bitrate jumps to 40-50 Mbps they just buffer non stop.
And second, I like to save place. I am happy with some quality downgrade when I can reduce video size. I can not afford hundred TBs of storage.
skull88
Posts: 69
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 »

comorla45 wrote:
Wed Jan 17, 2024 9:14 pm
I use PLEX and some of my friends have very bad WiFi signal, when the 4K bitrate jumps to 40-50 Mbps they just buffer non stop.
And second, I like to save place. I am happy with some quality downgrade when I can reduce video size. I can not afford hundred TBs of storage.
This is precisely what "optimized versions" feature in PLEX is for, have you considered trying that? It transcodes and saves a smaller version of an entry in your library, so that it is compatible with all devices/situations, and doesn't have to do real-time transcoding. Just a thought. ;)
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:16 pm
comorla45 wrote:
Wed Jan 17, 2024 9:14 pm
I use PLEX and some of my friends have very bad WiFi signal, when the 4K bitrate jumps to 40-50 Mbps they just buffer non stop.
And second, I like to save place. I am happy with some quality downgrade when I can reduce video size. I can not afford hundred TBs of storage.
This is precisely what "optimized versions" feature in PLEX is for, have you considered trying that? It transcodes and saves a smaller version of any movie in your library, so that it is compatible with all devices/situations, and doesn't have to do real-time transcoding. Just a thought. ;)
It does not handle DV.

Besides, did anyone tried recently to sign up to dolby customer to get the files needed for RESET_9999 scripts? https://customer.dolby.com/product-regi ... tools-v541
I provide all required fields but nothing happen after I click the button.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

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%
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply