Page 554 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Thu May 11, 2023 12:09 pm
by RESET_9999
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 4:35 am
by jkatchy2
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 ?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 6:24 am
by NiCE77
@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)?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 10:34 am
by quietvoid
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 10:55 am
by NiCE77
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?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 11:03 am
by quietvoid
NiCE77 wrote: Fri May 12, 2023 10:55 amThanks, 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).

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 11:59 am
by NiCE77
quietvoid wrote: Fri May 12, 2023 11:03 am
NiCE77 wrote: Fri May 12, 2023 10:55 amThanks, 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!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 5:40 pm
by danbez
quietvoid wrote: Fri May 12, 2023 11:03 am
NiCE77 wrote: Fri May 12, 2023 10:55 amThanks, 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"

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 6:10 pm
by Hellboy.
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?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri May 12, 2023 9:43 pm
by quietvoid
danbez wrote: Fri May 12, 2023 5:40 pm 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"
I don't know but you need to stick with HEVC if you want to reinject the RPU.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat May 13, 2023 5:22 am
by NiCE77
quietvoid wrote: Fri May 12, 2023 11:03 am
NiCE77 wrote: Fri May 12, 2023 10:55 amThanks, 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).
If the device will play Profile 7 MEL, would there be an advantage to choosing mode 1 (converts the RPU to be MEL compatible)?
Will this also remove the mapping metadata and NLQ? If not, how will the end result still be good?

Another question:
Dune / Zidoo / Zappiti will also play the Profile 7 FEL files with the EL skipped, but I see RPU response in the test file (blinking colors). Is this also the wrong method used by these vendors?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat May 13, 2023 2:12 pm
by quietvoid
NiCE77 wrote: Sat May 13, 2023 5:22 amIf the device will play Profile 7 MEL, would there be an advantage to choosing mode 1 (converts the RPU to be MEL compatible)?
Will this also remove the mapping metadata and NLQ? If not, how will the end result still be good?
Conversion to MEL doesn't remove anything.
So if the title is FEL the result can be wrong.
NiCE77 wrote: Sat May 13, 2023 5:22 amAnother question:
Dune / Zidoo / Zappiti will also play the Profile 7 FEL files with the EL skipped, but I see RPU response in the test file (blinking colors). Is this also the wrong method used by these vendors?
Probably.
It's only an issue when FEL has mapping metadata that affects the image a lot, because the intermediate image is not correct without the EL.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 14, 2023 3:10 am
by Roadwarrior980
Is the FEL issue with Saving Private Ryan limited to just the US release or does it impact all the other regions (like UK, Australia, Canada)? Curious if trying another disc from a different country would produce similar results

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon May 15, 2023 5:22 am
by NiCE77
quietvoid wrote: Sat May 13, 2023 2:12 pm
NiCE77 wrote: Sat May 13, 2023 5:22 amIf the device will play Profile 7 MEL, would there be an advantage to choosing mode 1 (converts the RPU to be MEL compatible)?
Will this also remove the mapping metadata and NLQ? If not, how will the end result still be good?
Conversion to MEL doesn't remove anything.
So if the title is FEL the result can be wrong.
NiCE77 wrote: Sat May 13, 2023 5:22 amAnother question:
Dune / Zidoo / Zappiti will also play the Profile 7 FEL files with the EL skipped, but I see RPU response in the test file (blinking colors). Is this also the wrong method used by these vendors?
Probably.
It's only an issue when FEL has mapping metadata that affects the image a lot, because the intermediate image is not correct without the EL.
Thank you, can you give me some movie titles where FEL has mapping metadata?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon May 15, 2023 11:58 am
by quietvoid
NiCE77 wrote: Mon May 15, 2023 5:22 am Thank you, can you give me some movie titles where FEL has mapping metadata?
Not sure, you can look at the FEL required list RESET_9999 made.