Page 638 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 12:27 am
by RESET_9999
I think ffmpeg can do that but I dont know the command.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 2:21 am
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 :)

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 6:44 pm
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."

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 8:05 pm
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 8:32 pm
by azreil24
Yep, 6-2, got the same lavfilters settings, same error.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 8:46 pm
by RESET_9999
Check if your path to DoVi_Scripts\tools\madvr\madMeasureHDR.exe exist

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:02 pm
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!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:06 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:14 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:16 pm
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. ;)

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:18 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:19 pm
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%

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 9:21 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 10:01 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Jan 17, 2024 11:16 pm
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