Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
valington
Posts: 38
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

#8296 Post by valington » Mon May 08, 2023 8:49 am

RESET_9999 wrote:
Mon May 08, 2023 1:58 am
9700PRO wrote:
Sun May 07, 2023 11:13 pm
I did as you said. Disabled mux in bat.
Image
If i take a mkv 7 profile dolby vision then i mux it in tsmuxer and then gonna play it in x800m2 sony player from usb, do i get truly dolby vision with all subtitles and all languages which was in previous mkv 7 profele dolby vision ?

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

Re: Dolby Vision now possible through MP4 Mux.

#8297 Post by RESET_9999 » Mon May 08, 2023 11:00 am

9700PRO wrote:
Mon May 08, 2023 6:01 am
Is it possible to convert Profile 8 to Profile 7 st-dl? (Blu-ray UHD standart).
no, and st-dl is not bluray standard
valington wrote:
Mon May 08, 2023 8:49 am
gonna play it in x800m2 sony player from usb, do i get truly dolby vision with all subtitles and all languages ?
yes, see the link in my signature for what the x800m2 support or not

Coopervid
Posts: 1660
Joined: Tue Feb 19, 2019 10:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#8298 Post by Coopervid » Mon May 08, 2023 5:47 pm

Is it possible to convert Profile 8 to Profile 7 st-dl? (Blu-ray UHD standart).

Yes, it is. Here is a crude tutorial how to do it.

https://forum.redfox.bz/threads/create- ... mkv.87159/

renvan
Posts: 1
Joined: Wed May 10, 2023 2:38 pm

Re: Dolby Vision now possible through MP4 Mux.

#8299 Post by renvan » Wed May 10, 2023 2:42 pm

Is it possible to change maxfall and maxcll values with the script?

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

Re: Dolby Vision now possible through MP4 Mux.

#8300 Post by RESET_9999 » Wed May 10, 2023 6:27 pm

renvan wrote:
Wed May 10, 2023 2:42 pm
Is it possible to change maxfall and maxcll values with the script?
For L6 DV yes: workflow 2-1-1

For the BL: no, not with my script.

valington
Posts: 38
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

#8301 Post by valington » Thu May 11, 2023 11:24 am

RESET_9999 wrote:
Wed May 10, 2023 6:27 pm
renvan wrote:
Wed May 10, 2023 2:42 pm
Is it possible to change maxfall and maxcll values with the script?
For L6 DV yes: workflow 2-1-1

For the BL: no, not with my script.
Hi , is it possible to mux with your script MKV 7 PROFILE DOLVY VISION to
MKV HDR10+ and remove dolby vision metadate, cause i m asking it for qd-oled samsung

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

Re: Dolby Vision now possible through MP4 Mux.

#8302 Post by RESET_9999 » Thu May 11, 2023 12:09 pm

valington wrote:
Thu May 11, 2023 11:24 am
Hi , is it possible to mux with your script MKV 7 PROFILE DOLVY VISION to
MKV HDR10+ and remove dolby vision metadate, cause i m asking it for qd-oled samsung
Yes you can remove the DV metadata/layer with 6-1-2 but you will have to mux the new HEVC file to MKV yourself with mkvtoolnix.

jkatchy2
Posts: 16
Joined: Tue Mar 10, 2020 2:13 am

Re: Dolby Vision now possible through MP4 Mux.

#8303 Post by jkatchy2 » Fri May 12, 2023 4:35 am

RESET_9999 wrote:
Thu May 11, 2023 12:09 pm
Yes you can remove the DV metadata/layer with 6-1-2 but you will have to mux the new HEVC file to MKV yourself with mkvtoolnix.
So with Tool its possible to remove DV metadata , is there a way to convert that DV metadata to HDR10+ metadata ?

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

#8304 Post by NiCE77 » Fri May 12, 2023 6:24 am

@RESET_9999

Can you give me some guidance on DoViBaker?

Let's assume this is the starting script:
bl=DGSource("blclip.dgi")
el=DGSource("elclip.dgi")
DoViBaker(bl,el,rpu="RPU.bin")

If I recompress this with e.g. Handbrake, I get a 10 bit HEVC HDR10 stream containing the FEL data, to which I can add the RPU converted to Profile 8 with dovi_tool.
So why does DoViBaker need the RPU?
In this case, in which mode should the RPU be converted to P8 (preserving mapping or not)?

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

Re: Dolby Vision now possible through MP4 Mux.

#8305 Post by quietvoid » Fri May 12, 2023 10:34 am

NiCE77 wrote:
Fri May 12, 2023 6:24 am
@RESET_9999

Can you give me some guidance on DoViBaker?

Let's assume this is the starting script:
bl=DGSource("blclip.dgi")
el=DGSource("elclip.dgi")
DoViBaker(bl,el,rpu="RPU.bin")

If I recompress this with e.g. Handbrake, I get a 10 bit HEVC HDR10 stream containing the FEL data, to which I can add the RPU converted to Profile 8 with dovi_tool.
So why does DoViBaker need the RPU?
In this case, in which mode should the RPU be converted to P8 (preserving mapping or not)?
You use the original profile 7 RPU for DoViBaker.
And for the encode you convert to profile 8.1 (mode 2).

You have to be careful with DoViBaker as it outputs RGB by default, and a later conversion could make the colours wrong when encoding.

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

#8306 Post by NiCE77 » Fri May 12, 2023 10:55 am

quietvoid wrote:
Fri May 12, 2023 10:34 am
NiCE77 wrote:
Fri May 12, 2023 6:24 am
@RESET_9999

Can you give me some guidance on DoViBaker?

Let's assume this is the starting script:
bl=DGSource("blclip.dgi")
el=DGSource("elclip.dgi")
DoViBaker(bl,el,rpu="RPU.bin")

If I recompress this with e.g. Handbrake, I get a 10 bit HEVC HDR10 stream containing the FEL data, to which I can add the RPU converted to Profile 8 with dovi_tool.
So why does DoViBaker need the RPU?
In this case, in which mode should the RPU be converted to P8 (preserving mapping or not)?
You use the original profile 7 RPU for DoViBaker.
And for the encode you convert to profile 8.1 (mode 2).

You have to be careful with DoViBaker as it outputs RGB by default, and a later conversion could make the colours wrong when encoding.
Thanks, but I found this comment: https://github.com/erazortt/DoViBaker/i ... 1259843741
So the result will not be good if we inject the RPU because double processing. But then I don't really understand what this tool is for?

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

Re: Dolby Vision now possible through MP4 Mux.

#8307 Post by quietvoid » Fri May 12, 2023 11:03 am

NiCE77 wrote:
Fri May 12, 2023 10:55 am
Thanks, but I found this comment: https://github.com/erazortt/DoViBaker/i ... 1259843741
So the result will not be good if we inject the RPU because double processing. But then I don't really understand what this tool is for?
Reinjecting the *original* RPU is wrong. When converted to profile 8.1 it is fine.
As long as you don't tonemap using the trims in DoViBaker.

DoViBaker uses the mapping metadata and NLQ metadata to reconstruct the FEL image.
All this metadata is removed by profile 8.1 conversion (for FEL).

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

#8308 Post by NiCE77 » Fri May 12, 2023 11:59 am

quietvoid wrote:
Fri May 12, 2023 11:03 am
NiCE77 wrote:
Fri May 12, 2023 10:55 am
Thanks, but I found this comment: https://github.com/erazortt/DoViBaker/i ... 1259843741
So the result will not be good if we inject the RPU because double processing. But then I don't really understand what this tool is for?
Reinjecting the *original* RPU is wrong. When converted to profile 8.1 it is fine.
As long as you don't tonemap using the trims in DoViBaker.

DoViBaker uses the mapping metadata and NLQ metadata to reconstruct the FEL image.
All this metadata is removed by profile 8.1 conversion (for FEL).
Many thanks!

danbez
Posts: 13
Joined: Tue Nov 27, 2018 6:08 am

Re: Dolby Vision now possible through MP4 Mux.

#8309 Post by danbez » Fri May 12, 2023 5:40 pm

quietvoid wrote:
Fri May 12, 2023 11:03 am
NiCE77 wrote:
Fri May 12, 2023 10:55 am
Thanks, but I found this comment: https://github.com/erazortt/DoViBaker/i ... 1259843741
So the result will not be good if we inject the RPU because double processing. But then I don't really understand what this tool is for?
Reinjecting the *original* RPU is wrong. When converted to profile 8.1 it is fine.
As long as you don't tonemap using the trims in DoViBaker.

DoViBaker uses the mapping metadata and NLQ metadata to reconstruct the FEL image.
All this metadata is removed by profile 8.1 conversion (for FEL).
What would be a good FFMPEG command line to create the new base layer with as close to lossless quality as possible? I am playing with two at the moment, but not sure if those are the best options if I want to focus on quality.

ffmpeg -i "example.avs" -c:v libaom-av1 -crf 23 -pix_fmt yuv444p12le av1_test.mkv --> AV1 output

ffmpeg -i "example.avs" -x265-params "hdr10-opt=1:chromaloc=2:range=limited:output-depth=10:profile=main10:level-idc=5.1:colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:hdr10=1:max-cll=0,0:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" "out10.hevc"

Hellboy.
Posts: 15
Joined: Thu Mar 16, 2023 5:24 pm

Re: Dolby Vision now possible through MP4 Mux.

#8310 Post by Hellboy. » Fri May 12, 2023 6:10 pm

If i convert a DV movie to mkv (using HandBrake or DVDFab, without DV, just normal HDR), and then put the movie in tsMuxer, add the DV video, and then create a Bluray folder or ISO, the DV works?

Post Reply