Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Sat Jul 22, 2023 12:52 pm
legosoff wrote:
Sat Jul 22, 2023 7:15 am
Hi, RESET_9999.
1) Mode 7/1/1 iPhone, iPad subtitles don't work, ffmpeg there are subtitles.
2) Mode 7/1/1 iPhone, iPad Dolby Vision don't work, he was just reading HDR10 https://radikal.host/i/FtgBco , other test_demo https://radikal.host/i/Ftgbsd
Well, I don't know. I changed 7-1-1 a while ago(HEV1 to HVC1) because the appleTV now natively supports Profile 8 and HEV1 didn't work.
I guess that broke support on other devices?
[*Dolby Vision works]
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.10, BL+RPU, HLG compatible
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 4 s 485 ms
Bit rate : 53.1 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Rotation : 90°
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 54.545 FPS
Maximum frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.107
Stream size : 28.4 MiB (100%)
Title : Core Media Video
Encoded date : 2023-07-10 14:13:37 UTC
Tagged date : 2023-07-10 14:13:43 UTC
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : HLG
Matrix coefficients : BT.2020 non-constant
Metas : 3,4,5
Codec configuration box : hvcC+dvvC

[*Dolby Vision no]
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 h 36 min
Bit rate : 24.3 Mb/s
Maximum bit rate : 34.8 Mb/s
Width : 3 840 pixels
Height : 1 608 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.164
Stream size : 16.4 GiB (94%)
Title : UPGRADE_2018_UHD_HDR10_DV_ENCODER | CinemaHD
Encoded date : 2023-07-21 13:55:06 UTC
Tagged date : 2023-07-21 13:55:30 UTC
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light : 280 cd/m2
mdhd_Duration : 5784070
Codec configuration box : hvcC+dvvC

I have already understood when when HDR10 compatible / SMPTE ST 2086 does not show Dolby Vision. HLG compatible that is , it shows Dolby Vision
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

It's hard for me to tell why because I dont have Apple devices but someone(@ragico) who tested the appleTV latest firmware said that 7-1-1 now produces profile-8 ( HDR10 base layer) that works on AppleTV native player.
Are you using apple native player?
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Sat Jul 22, 2023 1:49 pm
It's hard for me to tell why because I dont have Apple devices but someone(@ragico) who tested the appleTV latest firmware said that 7-1-1 now produces profile-8 ( HDR10 base layer) that works on AppleTV native player.
Are you using apple native player?
appleTV no, only iPhone 13 and 14 Pro Max.
Last edited by legosoff on Sat Jul 22, 2023 2:13 pm, edited 1 time in total.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

you could try the older version(1.7.4) of the script maybe.
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Sat Jul 22, 2023 1:58 pm
you could try the older version(1.7.4) of the script maybe.
version(1.7.4) I have done and received see dvh1, HDR10, Dolby Vision no. I seem to have something to update the iPhone and stopped.
Carefully, RPU 8.1+HDR10 Dolby Vision no. RPU 8.1+HLG Dolby Vision yes.
Do you have test demo video RPU 8.1+HDR10? Please send me a link.
fransalas
Posts: 14
Joined: Wed Jul 05, 2023 12:49 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fransalas »

The previous error was solved but these messages keep coming out

Image
Cr4z33
Posts: 17
Joined: Mon Dec 28, 2020 12:24 pm
Location: Italy

Re: Dolby Vision now possible through MP4 Mux.

Post by Cr4z33 »

Cr4z33 wrote:
Sat Jul 22, 2023 12:32 pm
I've remuxed a DV title with MKVtoolnix, but when it comes to MakeMKV I keep getting errors.

And by the way SAME errors with both DV MP4/MKV sources.

Is there really nothing I can do about it? :cry:

Code: Select all

MakeMKV v1.17.4 win(x64-release) started
Debug logging enabled, log will be saved as C:\Users\Cr4z33/MakeMKV_log.txt
Opening files on harddrive at Z:/***/***.mkv
Operation successfully completed
Saving 1 titles into directory Y:/2160p/***
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:121265453
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:213135021
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29394022
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29404878
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29405384
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29403383
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at _m/rhT44"V1.WQmL:213132537
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):121264464
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):121263912
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):213130145
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
LIBMKV_TRACE: Exception: Error in p->FetchFrames(2,true)
Failed to save title 0 to file Y:/2160p/***/***_t00.mkv
0 titles saved, 1 failed
Anybody that can please help me?
Nvidia Shield TV Pro -> DENON AVR-X2200W -> LG OLED65GX6
qwertiio
Posts: 3
Joined: Fri Jul 21, 2023 1:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by qwertiio »

RESET_9999 wrote:
Sun Jul 16, 2023 5:40 pm
DoVi_Scripts_1.8.9.1.beta
(3-1) can now generate DV with the Dolby cmv4.0 algo without the need for Davinci Resolve. It can also work without an nvidia GPU.
It can generate frame-by-frame long-play or shot-by-shot metadata. I haven't compared the scene cut detection algo I'm using with the one in Resolve yet.

needed exe (metafier and cm_analyze) can be found here: https://customer.dolby.com/content-crea ... tools-v530
fransalas wrote:
Fri Jul 14, 2023 8:24 am
Some explanatory manual of how to perform the process with DaVinci
there's an SDR to HDR template in my script tutorial folder that will convert gamma 2.4 to PQ.
Then you have to play with the HDR settings in resolve.
Phantomas wrote:
Sat Jul 15, 2023 6:12 am
Hello! Please tell me with what software I can change the fps of the Atmos track?
DEE but you should change the video fps instead.
https://professional.dolby.com/product/ ... ng-engine/
Lapihin_A wrote:
Sat Jul 15, 2023 5:18 pm
Hi RESET_9999! I know how, my question is exactly - Will the HDR10+ metadata work correctly IF! the two videos are different frame sizes? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
if the frame order is the same, I guess so. I don't know much about hdr10plus
fransalas wrote:
Sun Jul 16, 2023 3:55 pm
There would be some possibility to add in your tool in the 6-9 the possibility to add or modify HDR metadata such as Luminance monitor mastering, Light level maximum content and in maximum medium frame .. thanks is just to know if you could
6-9 already takes the metadata from the source rpu.
In mode 3-1, I got this "invalid Mastering Display index specified (ID:1000)" error in some video files, is it possible to manually choosing preset mastering displays or is there any workaround for this error????

I'm using this file as an example.

https://mega.nz/file/aOIj3RgY#9YSI8ik27 ... DVd7ga_vjc
fransalas
Posts: 14
Joined: Wed Jul 05, 2023 12:49 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fransalas »

I have deleted it because in its update it has been resolved
Last edited by fransalas on Sun Jul 23, 2023 2:28 pm, edited 1 time in total.
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Weird iPhone changed in the version now Dolby Vision Profile 5 does not work, Dolby Vision Profile 8.1+HDR10 only play on HDR10, Dolby Vision Profile 8.4+HLG now there is already Dolby Vision. I already understood iOS 16.5 stopped Dolby Vision 5 and Vision 8.1+HDR10.
Gatorman
Posts: 79
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

Cr4z33 wrote:
Sat Jul 22, 2023 12:32 pm
I've remuxed a DV title with MKVtoolnix, but when it comes to MakeMKV I keep getting errors.

And by the way SAME errors with both DV MP4/MKV sources.

Is there really nothing I can do about it? :cry:

Code: Select all

MakeMKV v1.17.4 win(x64-release) started
Debug logging enabled, log will be saved as C:\Users\Cr4z33/MakeMKV_log.txt
Opening files on harddrive at Z:/***/***.mkv
Operation successfully completed
Saving 1 titles into directory Y:/2160p/***
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
Program reads data faster than it can write to disk, consider upgrading your hard drive if you see many of these messages.
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:29397081
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:29398208
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
The source file 'Z:/***/***.mkv' is corrupt or invalid at offset 14345576448, attempting to work around
DEBUG: Code 0 at P!"D9mkbBYey!WCL"e9n:121265453
DEBUG: Code 0 at Ja:%,=w1-Hvtlno[h?Ff:213135021
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29394022
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29404878
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29405384
DEBUG: Code 0 at C2qeZ(}9UaJ/_9ed[EW}:29403383
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at _m/rhT44"V1.WQmL:213132537
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):121264464
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):121263912
DEBUG: Code 0 at S+CKH[[Cjt"K.94+):213130145
DEBUG: Code 0 at |03L4Qet`E.eCrMo,`Zs':213137068
LIBMKV_TRACE: Exception: Error in p->FetchFrames(2,true)
Failed to save title 0 to file Y:/2160p/***/***_t00.mkv
0 titles saved, 1 failed
It looks like the rip may be corrupted?

You can ignore the "Program reads data faster than it can write to disk," errors. The other errors are typically cause by the disc being dirty or damaged when it was ripped.
More reasons to collect physical media. 2019 Shield TV Pro.
lnchbox
Posts: 2
Joined: Thu Feb 02, 2023 11:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by lnchbox »

RESET_9999 wrote:
Fri Feb 24, 2023 8:19 pm
if you want to save some time, I already generated DV in resolve for most of the movies, here are over 600 RPU files ready to be injected :)

Code: Select all

https://mega.nz/folder/CjYWyaZR#tSlKPhdblAd8shSaYoiOWA
Anyway you can PM me the new mega link to these please? Thank you in advance
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

qwertiio wrote:
Sun Jul 23, 2023 6:56 am
In mode 3-1, I got this "invalid Mastering Display index specified (ID:1000)" error in some video files, is it possible to manually choosing preset mastering displays or is there any workaround for this error????
I'm using this file as an example.
https://mega.nz/file/aOIj3RgY#9YSI8ik27 ... DVd7ga_vjc
That file got invalid mastering display metadata.
In the next version, I'll make the script fallback to 1000/50/P3 by default when the source is missing metadata.
you can add this after line 4596:

Code: Select all

if not "%MDL1%"=="1000" if not "%MDL1%"=="4000" set MDL=20& set MDL1=1000& set min=50
qwertiio
Posts: 3
Joined: Fri Jul 21, 2023 1:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by qwertiio »

RESET_9999 wrote:
Mon Jul 24, 2023 1:59 am
qwertiio wrote:
Sun Jul 23, 2023 6:56 am
In mode 3-1, I got this "invalid Mastering Display index specified (ID:1000)" error in some video files, is it possible to manually choosing preset mastering displays or is there any workaround for this error????
I'm using this file as an example.
https://mega.nz/file/aOIj3RgY#9YSI8ik27 ... DVd7ga_vjc
That file got invalid mastering display metadata.
In the next version, I'll make the script fallback to 1000/50/P3 by default when the source is missing metadata.
you can add this after line 4596:

Code: Select all

if not "%MDL1%"=="1000" if not "%MDL1%"=="4000" set MDL=20& set MDL1=1000& set min=50
It's working now, thanks.
davenukem
Posts: 1
Joined: Tue Jul 25, 2023 10:05 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by davenukem »

I'm losing my mind a little... I can't seem to find the tools folder download? Scripts folder is all there but can't for the life of me find the tools folder download? Is this available or is the expectation we manually download all of them? Any help appreciated :oops:
Post Reply