Dolby Vision Profile 7 & 8 support (.ts/.mkv files)

This post should have everything you need. Basically grab the script from the link and run your DV Profile 7 files through it.

1 Like

Are there actual instructions on how to run the script?

Yes, there is a txt with instructions, it’s very easy to use.

2 Likes

So sorry to be a nuisance. But I finally got home and downloaded the script and I don’t see a text note showing the instructions.

I downloaded the script but don’t see the instructions. Can you explain how to use the script?

Somehow I have a txt with instructions, maybe from an older version… anyway: “Just drag & drop the directory containing your Profile 7 MKV file(s) onto the file named DropDirHere_Profile7to8.bat.“

Yeah definitely something has changed. There’s not even a bat file with that name. Now it looks like DropDirHere_P8_CMv4. And I would like to just test one movie first. I don’t want to do my entire directory. Not all of my movies are DV.

That’s a different script. Get the profile 7 to profile 8 script here.

1 Like

Anyone have any recommendations for what would be the best way to determine which of my files I should be running a p7top8 script on.

I understand media info can tell me how it’s encoded, but is there any tool to run that on an entire directory and get an output per file.

I would love to run Speedy’s script across the whole gamut but have a ton of older things in there that don’t really need to be converted.

@speedy i have one of those new windows copilot pcs that run on arm64 architecture. the script runs ok with emulation (prism) but unfortunately it’s quite slow :grimacing: any chance on releasing the profile7to8 script as an arm64 native package? or maybe a linux version that could run on wsl (windows subsystem for linux)? :crossed_fingers:

Check your file info for each movie in Plex. If the “D O V I Profile” is listed as 5 or 8, then you don’t need to run the file through the script - Infuse should already play it correctly as-is.

If the “D O V I Profile” is 7, then Infuse can’t play it correctly and you MIGHT be able to fix it by running it through the P7toP8 script.

This is where it gets tricky. Once you know your file is P7, you need to determine if it’s Minimum Enhancement Layer (MEL) or Full Enhancement Layer (FEL). If it’s MEL, you can run it through the script to convert it to P8 with no quality loss. If it’s FEL, however, you can still run it through the script but you will be losing some image quality in the process. How much is lost is going to be different for every file as it depends on how much data has been encoded into the enhancement layer for that particular movie. For some it may be just a loss of a tiny amount of brightness, and for others it could result in a noticeably poorer image with visual artifacts or brightness flashes.

How to determine if it’s MEL or FEL? If you have the actual disc (or an .iso), you can run BD Info on it to see the stats about the video tracks. Running that will give you an output that looks like this:

VIDEO:

Codec Bitrate Description


MPEG-H HEVC Video 76496 kbps 2160p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / HDR10 / BT.2020

  • MPEG-H HEVC Video 2832 kbps 1080p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / Dolby Vision / BT.2020

That first Video track is the base layer and the second one is the enhancement track. Generally, if the second video track is more than 2000kbps in bitrate, that means the file is FEL. The example above is from the 4K-BluRay for Out of Sight, which is FEL.

VIDEO:

Codec Bitrate Description


MPEG-H HEVC Video 79793 kbps 2160p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / HDR10 / BT.2020

  • MPEG-H HEVC Video 85 kbps 1080p / 24 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / Dolby Vision / BT.2020

However, this example is from the UK 4k-Blu-Ray for Bill & Ted’s Excellent Adventure, which is MEL (note the second video track is only 85kbps, which basically means there’s nothing in it).

So how do you get the BDInfo if you don’t have the actual disc? The two main methods I know of are this thread on the blu-ray.com forums, and the caps-a-holic website. However i still often come across titles that aren’t on either of those websites. In those cases, you either have to google search for it and hope you get lucky, or err on the side of caution and presume it’s FEL.

If anyone has another resource for finding BDInfo for titles or being able to tell if a .mkv file is FEL vs MEL, I’d love to hear it!

4 Likes

Just use
dovi_tool info -i RPU.bin -f 0

MakeMKV can tell you whether a disc, ISO or MKV is FEL or MEL.

Infuse 8 looks great! Are there any changes to DV handling in Infuse8, or is it pretty unchanged from the last version.

Honestly, I think the only thing still missing is some kind of profile 7 compatibility and I’m not even sure that’s possible with the current hardware.

1 Like

Will a Handbrake converted file work with Infuse?

https://handbrake.fr/docs/en/latest/technical/hdr.html