Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
powdeau
Posts: 45
Joined: Sat Jan 12, 2019 1:01 am

Re: Dolby Vision now possible through MP4 Mux.

#5641 Post by powdeau » Thu Oct 21, 2021 12:27 pm

galarond wrote:
Wed Oct 20, 2021 7:20 pm
powdeau wrote:
Wed Oct 20, 2021 4:32 pm
quietvoid wrote:
Wed Oct 20, 2021 1:26 pm

No. Are you sure your TV doesn't support profile 8?
It works on the C8 with ts files.
I've tried and unfortunately it doesn't.

weird, profile 8 m2ts files worked in my lg b6
Maybe it's because of the HDR10+

EDIT: I've tried to remove HDR10+ but it's not working either.
Last edited by powdeau on Thu Oct 21, 2021 5:23 pm, edited 1 time in total.

agneva
Posts: 61
Joined: Mon Jan 06, 2020 11:42 am

Re: Dolby Vision now possible through MP4 Mux.

#5642 Post by agneva » Thu Oct 21, 2021 12:42 pm

Hello, I haven't been here for a long time... but is there now a player that can play mkv with DolbyVision Duallayer (native EL) ?

My LG TV + Bluray Player can only play mp4 with AC3 Audio.

Poker354
Posts: 11
Joined: Sat Oct 19, 2019 12:08 am

Re: Dolby Vision now possible through MP4 Mux.

#5643 Post by Poker354 » Fri Oct 22, 2021 4:47 am

A question for those with a Sony x700. I picked one up on sale about 3 weeks ago and just wondering if this glitch I'm experiencing is happening to everyone? When playing a dual track .ts Dolby Vision file via USB, if i stop the film and select another DV film its like it tries to play the two tracks independently one on top of the other and the screen is scrambled. Powering off and on fixes the issue for the next selected film but reappears again if i attempt another.

mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

#5644 Post by mattmarsden » Fri Oct 22, 2021 6:32 am

powdeau wrote:
Thu Oct 21, 2021 12:27 pm
galarond wrote:
Wed Oct 20, 2021 7:20 pm
powdeau wrote:
Wed Oct 20, 2021 4:32 pm

I've tried and unfortunately it doesn't.

weird, profile 8 m2ts files worked in my lg b6
Maybe it's because of the HDR10+

EDIT: I've tried to remove HDR10+ but it's not working either.
Can I ask how you remove HDR10+ because I need to do that on some files.

PlatypusW
Posts: 50
Joined: Mon Aug 03, 2020 2:14 pm

Re: Dolby Vision now possible through MP4 Mux.

#5645 Post by PlatypusW » Fri Oct 22, 2021 2:56 pm

Poker354 wrote:
Fri Oct 22, 2021 4:47 am
A question for those with a Sony x700. I picked one up on sale about 3 weeks ago and just wondering if this glitch I'm experiencing is happening to everyone? When playing a dual track .ts Dolby Vision file via USB, if i stop the film and select another DV film its like it tries to play the two tracks independently one on top of the other and the screen is scrambled. Powering off and on fixes the issue for the next selected film but reappears again if i attempt another.
See:
https://www.makemkv.com/forum/viewtopic ... 50#p104659

Then grab the file from RESET_9999’s signature :)

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5646 Post by quietvoid » Fri Oct 22, 2021 3:09 pm

mattmarsden wrote:
Fri Oct 22, 2021 6:32 am
Can I ask how you remove HDR10+ because I need to do that on some files.
You can try this: https://gist.github.com/quietvoid/175d7 ... 9eb1bd2c38
It's based on yusesope's script.

mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

#5647 Post by mattmarsden » Fri Oct 22, 2021 4:00 pm

quietvoid wrote:
Fri Oct 22, 2021 3:09 pm
mattmarsden wrote:
Fri Oct 22, 2021 6:32 am
Can I ask how you remove HDR10+ because I need to do that on some files.
You can try this: https://gist.github.com/quietvoid/175d7 ... 9eb1bd2c38
It's based on yusesope's script.
Looks like what I need - can you tell me how I use the script though? I've installed python but I'm not sure how to use it.

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5648 Post by quietvoid » Fri Oct 22, 2021 4:16 pm

mattmarsden wrote:
Fri Oct 22, 2021 4:00 pm
Looks like what I need - can you tell me how I use the script though? I've installed python but I'm not sure how to use it.
You need to demux the video first, and then run the script on the HEVC file.
example: python hdr10plus_remove.py -i video.hevc -o processed_file.hevc

powdeau
Posts: 45
Joined: Sat Jan 12, 2019 1:01 am

Re: Dolby Vision now possible through MP4 Mux.

#5649 Post by powdeau » Sat Oct 23, 2021 11:08 am

When I convert HDR10+ do DoVi, do I need to change something in generator_example.json or can I leave it as it is?

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5650 Post by quietvoid » Sat Oct 23, 2021 12:13 pm

powdeau wrote:
Sat Oct 23, 2021 11:08 am
When I convert HDR10+ do DoVi, do I need to change something in generator_example.json or can I leave it as it is?
You should adjust the JSON. Probably removing the level2 list as well as specifying proper level6 metadata.

mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

#5651 Post by mattmarsden » Sat Oct 23, 2021 5:46 pm

quietvoid wrote:
Fri Oct 22, 2021 4:16 pm
mattmarsden wrote:
Fri Oct 22, 2021 4:00 pm
Looks like what I need - can you tell me how I use the script though? I've installed python but I'm not sure how to use it.
You need to demux the video first, and then run the script on the HEVC file.
example: python hdr10plus_remove.py -i video.hevc -o processed_file.hevc
Thanks for that. Is there an idiots guide on HDR10+ to DV conversion?

staknhalo
Posts: 161
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5652 Post by staknhalo » Sat Oct 23, 2021 6:24 pm

mattmarsden wrote:
Sat Oct 23, 2021 5:46 pm
quietvoid wrote:
Fri Oct 22, 2021 4:16 pm
mattmarsden wrote:
Fri Oct 22, 2021 4:00 pm
Looks like what I need - can you tell me how I use the script though? I've installed python but I'm not sure how to use it.
You need to demux the video first, and then run the script on the HEVC file.
example: python hdr10plus_remove.py -i video.hevc -o processed_file.hevc
Thanks for that. Is there an idiots guide on HDR10+ to DV conversion?
I wrote up how this idiot does it here:

https://www.avsforum.com/threads/author ... t-60952335
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Turn HDR10+ metadata into Dolby Vision metadata**
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Command 1: 'hdr10plus_tool extract Video.hevc -o Metadata.json' (Extracts HDR10+ metadata and saves to .json file)

>>Next commands go through Dovi_Tool and v0.5.0 minimum required<<<
Command 2: 'dovi_tool generate -j Extra.json --hdr10plus-json Metadata.json --rpu-out RPUPlus.bin' (combines metadata from edited 'Extra.json' - template is below and you need to do one for every title specifically - and metadata from extracted 'Metadata.json' and combines+converts them into p8 RPU metadata format)

Command 3: 'dovi_tool.exe inject-rpu --input Video.hevc --rpu-in RPUPlus.bin' (Injects HDR10+ generated RPU metadata into HEVC stream turning it into single layer Dolby Vision 8 stream)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Blank Template for 'Extra.json'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
"length": (title specific framelength here without parenthesis),
"level2": [
{
"target_nits": 100
},
{
"target_nits": 600
},
{
"target_nits": 1000
},
{
"target_nits": 2000
}
],
"level6": {
"max_display_mastering_luminance": (title specific metadata info here without parenthesis),
"min_display_mastering_luminance": (title specific metadata info here without parenthesis),
"max_content_light_level": (title specific metadata info here without parenthesis),
"max_frame_average_light_level": (title specific metadata info here without parenthesis)
}
}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5653 Post by RESET_9999 » Sat Oct 23, 2021 6:26 pm

mattmarsden wrote:
Sat Oct 23, 2021 5:46 pm
Thanks for that. Is there an idiots guide on HDR10+ to DV conversion?
1- extract HDR10+ into a json

Code: Select all

hdr10plus_parser.exe -i X:\HDR10+.hevc -o X:\HDR10+.json
2- create a json with L6 metadata (static HDR metadata: match your source)

Code: Select all

{
    "length": 0,
    "level6": {
        "max_display_mastering_luminance": 1000,
        "min_display_mastering_luminance": 50,
        "max_content_light_level": 0,
        "max_frame_average_light_level": 0
    }
}
3- generate DV metadata

Code: Select all

dovi_tool.exe generate --hdr10plus-json X:\HDR10+.json --json X:\L6.json --rpu-out X:\DVrpu.bin
4- inject DV metadata

Code: Select all

dovi_tool.exe inject-rpu -i X:\HDR10+.hevc --rpu-in X:\DVrpu.bin
https://github.com/quietvoid/dovi_tool
https://github.com/quietvoid/hdr10plus_tool
Last edited by RESET_9999 on Sat Oct 23, 2021 8:32 pm, edited 2 times in total.

mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

#5654 Post by mattmarsden » Sat Oct 23, 2021 6:37 pm

RESET_9999 wrote:
Sat Oct 23, 2021 6:26 pm
mattmarsden wrote:
Sat Oct 23, 2021 5:46 pm
Thanks for that. Is there an idiots guide on HDR10+ to DV conversion?
1- extract HDR10+ into a json

Code: Select all

hdr10plus_parser.exe -i X:\HDR10+.hevc -o X:\HDR10+.JSON
2- create a json with L6 metadata (static HDR metadata)

Code: Select all

{
    "length": 0,
    "level6": {
        "max_display_mastering_luminance": 1000,
        "min_display_mastering_luminance": 50,
        "max_content_light_level": 0,
        "max_frame_average_light_level": 0
    }
}
3- generate DV metadata

Code: Select all

dovi_tool.exe generate --hdr10plus-json X:\HDR10+.JSON --json X:\L6.json --rpu-out X:\DVrpu.bin
4- inject DV metadata

Code: Select all

dovi_tool.exe inject-rpu -i X:\HDR10.hevc --rpu-in X:\DVrpu.bin
Brilliant, could you give me a link to the current dovi_tool.exe? Thanks very much


Post Reply