jessielw / HDR-Multi-Tool

A graphical user interface for parsing HDR10+ and Dolby Vision
MIT License
75 stars 6 forks source link

Empty RPU #12

Closed darkjumpy closed 5 months ago

darkjumpy commented 6 months ago

Hi, I have a problem with your app. I'm unable to extract any RPU from DoVi. I always get an empty bin file whatever my settings are. The Dolby profile of my files is 07.06

jessielw commented 6 months ago

Do you think you could possibly give me a small sample of this file? A couple minutes of it, you can split it up with MKVToolNix and send me the sample so I can test it here locally and figure out what's going on.

I did some tests on some files I had here for both HDR10Plus and Dolby Vision and both of them worked properly.

darkjumpy commented 6 months ago

Here is 15min of my file

cartman0208 commented 5 months ago

Had the same issue, but the logfile gave me a hint

FFMPEG 2024-01-24T12:40:49.795Z: Unrecognized option 'vbsf'.

It seems the wrong ffmpeg.exe is called, in my case there was an environment variable set to a folder where a newer version of ffmpeg was located, which obviously did not feature the vbsf option anymore. Guess that can be solved by calling the ffmpeg.exe in the /apps folder of HDR-Multi-Tool explicitly

My workaround was to add another environment variable pointing to the /apps folder and locating it above the other variable giving it a higher priority. Then the extraction worked again.

jessielw commented 5 months ago

I'll take a look at both of these issues today, although these are potentially separate issues.

jessielw commented 5 months ago

Here is 15min of my file

Your source file has invalid/incorrect dolby vision metadata. It cannot be parsed.

Error: No NALU start codes found in the file. Maybe not a valid RPU?

Unfortunately there isn't much I can do about the invalid metadata. This is generally due to improper injection of the metadata in the source. However, in the latest release I added a check that will alert the user if invalid metadata was detected post extraction.

https://github.com/jlw4049/HDR-Multi-Tool/releases/tag/2.0.1