Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

jlpsvk wrote:
Sun Oct 18, 2020 4:19 pm
Encodes work great using profile 8.1. :) The only thing, you cannot CROP. :)
My advice doesn't change ... :wink:
jlpsvk wrote:
Sun Oct 18, 2020 4:19 pm
in help is written, that -skip-hdr10plus cannot be used with -mode 2... or this belongs to -fel_to_mel option before? if yes.. that my fault and wrong text formatting in CMD line.
Image
jlpsvk wrote:
Sun Oct 18, 2020 4:19 pm
I get a strange think after using MKV_patcher...

Code: Select all

HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / Dolby Vision, Version 1.0, dvhe.07.00, EL+RPU, Blu-ray compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Have you used the Patcher more than once on the same file (or in any case on a file that was already marked as dvhe 07)?
If the answer is yes, then I suggest you delete the file and start over!
The patcher should only be used once and on a blank file (not marked as dvhe).
Follow the instructions!
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by blenky »

yusesope wrote:
Sun Oct 18, 2020 3:52 pm
blenky wrote:
Sun Oct 18, 2020 1:37 pm
The resultant MKV plays in DV with Dolby Atmos track! Result. However as I have a Z9X and a LG CX TV there is a known issue. The TV keeps resyncing and after about 5 minutes playback gets choppy. Hopefully at some point this will get fixed
Great result! Thanks for not giving up! It's a shame about the Z9X + LG CX problem.
So, are you telling me the only difference was the way you imported the audio into MkvToolNix?
Strange!
Yes the only change was to demux the audio track using tsmuxer. In fact I also demuxed the audio using MKVToolnix to produce a .mka file. This I then used in place of the .ac3 file and got exactly the same result.

1917 media info - audio demuxed by tsmuxer

Code: Select all

General
Unique ID                                : 158994169392423172572464221880045162200 (0x779D29C644B071A160A3EBF33EFE4ED8)
Complete name                            : Y:\1917.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 61.5 GiB
Duration                                 : 1 h 58 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 74.0 Mb/s
Movie name                               : 1917
Encoded date                             : UTC 2020-10-18 00:38:38
Writing application                      : mkvmerge v51.0.0 ('I Wish') 64-bit
Writing library                          : libebml v1.4.0 + libmatroska v1.6.2

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.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 58 min
Bit rate                                 : 70.2 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
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.353
Stream size                              : 58.3 GiB (95%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 168 cd/m2

Audio
ID                                       : 2
Format                                   : MLP FBA 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Codec ID                                 : A_TRUEHD
Duration                                 : 1 h 58 min
Bit rate mode                            : Variable
Bit rate                                 : 3 810 kb/s
Maximum bit rate                         : 7 158 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Stream size                              : 3.17 GiB (5%)
Default                                  : Yes
Forced                                   : No
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE


1917 media info - audio demuxed with MKVToolnix

Code: Select all

General
Unique ID                                : 101503202418631736350801217865464859135 (0x4C5CCE4248E1C288FE5BBFDD6072C9FF)
Complete name                            : Y:\1917mka.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 61.5 GiB
Duration                                 : 1 h 58 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 74.0 Mb/s
Movie name                               : 1917
Encoded date                             : UTC 2020-10-18 01:00:51
Writing application                      : mkvmerge v51.0.0 ('I Wish') 64-bit
Writing library                          : libebml v1.4.0 + libmatroska v1.6.2

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.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 58 min
Bit rate                                 : 70.2 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
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.353
Stream size                              : 58.3 GiB (95%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 168 cd/m2

Audio
ID                                       : 2
Format                                   : MLP FBA 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Codec ID                                 : A_TRUEHD
Duration                                 : 1 h 58 min
Bit rate mode                            : Variable
Bit rate                                 : 3 810 kb/s
Maximum bit rate                         : 7 158 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Delay relative to video                  : 17 ms
Stream size                              : 3.17 GiB (5%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

yusesope wrote:
Sun Oct 18, 2020 4:49 pm
Image
i have empty line break between "Enhancement Layer)" and "Cannot be used.." so it looks like it belongs to -skip-hdr10plus
yusesope wrote:
Sun Oct 18, 2020 4:49 pm
Have you used the Patcher more than once on the same file (or in any case on a file that was already marked as dvhe 07)?
Yes... without the patch, file was generated as dvhe.07.00, and when run through MakeMKV, i go dvhe.07.00, EL+RPU... not BL...
After using the patch on that king of MKV, MakeMKV recons the MKV correctly and after re-re-mux, it's already OK....

My work flow:
1) mux BL+EL with -fel_to_mel
2) mux BL_EL_RPU.hevc with mkvtoolnix to MKV
3) re-mux with MakeMKV... got "Dolby Vision, Version 1.0, dvhe.07.00, EL+RPU" (MakeMKV recognized MKV from step 2 as dvhe.07.00, BL+RPU)
4) patch with mkv_patcher... got "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / Dolby Vision, Version 1.0, dvhe.07.00, EL+RPU"
5) re-mux with MakeMKV... got "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible)
6) done... even MakeMKV recognizes the file from step 5 as dvhe.07.06, BL+MEL+RPU...
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

jlpsvk wrote:
Sun Oct 18, 2020 5:55 pm
My work flow:
1) mux BL+EL with -fel_to_mel
2) mux BL_EL_RPU.hevc with mkvtoolnix to MKV
3) re-mux with MakeMKV... got "Dolby Vision, Version 1.0, dvhe.07.00, EL+RPU" (MakeMKV recognized MKV from step 2 as dvhe.07.00, BL+RPU)
4) patch with mkv_patcher... got "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / Dolby Vision, Version 1.0, dvhe.07.00, EL+RPU"
5) re-mux with MakeMKV... got "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible)
6) done... even MakeMKV recognizes the file from step 5 as dvhe.07.06, BL+MEL+RPU...
Stop at step 2 and use my patcher on the mkv generated by MkvToolNix and you are done ... :wink:


blenky wrote:
Sun Oct 18, 2020 5:09 pm
yusesope wrote:
Sun Oct 18, 2020 3:52 pm
blenky wrote:
Sun Oct 18, 2020 1:37 pm
The resultant MKV plays in DV with Dolby Atmos track! Result. However as I have a Z9X and a LG CX TV there is a known issue. The TV keeps resyncing and after about 5 minutes playback gets choppy. Hopefully at some point this will get fixed
Great result! Thanks for not giving up! It's a shame about the Z9X + LG CX problem.
So, are you telling me the only difference was the way you imported the audio into MkvToolNix?
Strange!
Yes the only change was to demux the audio track using tsmuxer. In fact I also demuxed the audio using MKVToolnix to produce a .mka file. This I then used in place of the .ac3 file and got exactly the same result.
We will discuss it again when someone else (with a device other than yours) does some testing.
For now, thanks for your time!
jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

yusesope wrote:
Sun Oct 18, 2020 6:22 pm
Stop at step 2 and use my patcher on the mkv generated by MkvToolNix and you are done ... :wink:
ok... but why MakeMKV recognizes the file as "dvhe.07.00, BL+RPU" and creates "dvhe.07.00, EL+RPU"? :(

after my workflow, everything is correctly recognized in MakeMKV, ever MEL or FEL...

Don't get me wrong.. I really appreciate your great work. :) I'm just trying maybe help to make things easier and clearer... :)

And one question... are thore underscores still needed in "Movie Title" for MKV patcher?
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

jlpsvk wrote:
Sun Oct 18, 2020 6:28 pm
yusesope wrote:
Sun Oct 18, 2020 6:22 pm
Stop at step 2 and use my patcher on the mkv generated by MkvToolNix and you are done ... :wink:
ok... but why MakeMKV recognizes the file as "dvhe.07.00, BL+RPU" and creates "dvhe.07.00, EL+RPU"? :(

after my workflow, everything is correctly recognized in MakeMKV, ever MEL or FEL...

Don't get me wrong.. I really appreciate your great work. :) I'm just trying maybe help to make things easier and clearer... :)

And one question... are thore underscores still needed in "Movie Title" for MKV patcher?

No problem! :D
Do what you see fit!

I was saying it to save you time! :wink:

Why MakeMKV does not detect the correct profile level (07.00 vs 07.06) depends on the fact that my FEL -> MEL are not standard! The technical explanation can be found on the previous pages!


Yep, underscores are the heart of my hack ... without them the patcher can't work!
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

yusesope wrote:
Sun Oct 18, 2020 6:35 pm


Yep, underscores are the heart of my hack ... without them the patcher can't work!
Sorry for the stupid question: where you put the underscores?
Example the film title is Back. Should I write Back73_ (if I choose prof.7)?
I have tried different ways with these underscores and, after the Mkv_Patcher always get this:

Where I am wrong?
By the way if I load the file from toolnix in makemkv I got DV and also hd audio and plays in Firestick and Ugoos and Shield.
But the file generated from Mkv_Patcher only plays in hdr.
Attachments
test.jpg
test.jpg (43.56 KiB) Viewed 20250 times
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

ragico wrote:
Sun Oct 18, 2020 6:53 pm
yusesope wrote:
Sun Oct 18, 2020 6:35 pm


Yep, underscores are the heart of my hack ... without them the patcher can't work!
Sorry for the stupid question: where you put the underscores?
Example the film title is Back. Should I write Back73_ (if I choose prof.7)?
I have tried different ways with these underscores and, after the Mkv_Patcher always get this:

Where I am wrong?
By the way if I load the file from toolnix in makemkv I got DV and also hd audio and plays in Firestick and Ugoos and Shield.
But the file generated from Mkv_Patcher only plays in hdr.
:lol: :lol: :lol:
In MkvToolNix, before start muxing, go to the "output" tab and in the "file title" field enter the title you want followed by 73 underscores in the case of profile 7 or 37 in the case of profile 8 (literally 73 or 37 underscores)
yusesope wrote:
Sat Oct 17, 2020 11:19 am

Code: Select all

#profile 7
Movie Title_________________________________________________________________________

#profile 8
Movie Title_____________________________________
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

yusesope wrote:
Sat Oct 17, 2020 11:19 am

Code: Select all

#profile 7
Movie Title_________________________________________________________________________

#profile 8
Movie Title_____________________________________
I have done it Film title followed by 73 underscores.
Still, after MKV_Patcher only get Hdr as mediainfo confirms. This is mkv_patcher. Is there any error?
Attachments
test2.jpg
test2.jpg (41.36 KiB) Viewed 20206 times
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

ragico wrote:
Sun Oct 18, 2020 7:38 pm
yusesope wrote:
Sat Oct 17, 2020 11:19 am

Code: Select all

#profile 7
Movie Title_________________________________________________________________________

#profile 8
Movie Title_____________________________________
I have done it Film title followed by 73 underscores.
Still, after MKV_Patcher only get Hdr as mediainfo confirms. This is mkv_patcher. Is there any error?
Yep, there is a problem with the patcher!
In the next few days I will ask you to send me a sample using a hex editor so I can correct the problem!
I'll explain what to do but not now because I'm going to sleep ...
I see "Premere un tasto per continuare" in the attached image.
Are you Italian too?
Last edited by yusesope on Sun Oct 18, 2020 7:53 pm, edited 1 time in total.
jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

ragico wrote:
Sun Oct 18, 2020 7:38 pm

I have done it Film title followed by 73 underscores.
Still, after MKV_Patcher only get Hdr as mediainfo confirms. This is mkv_patcher. Is there any error?
File Title metadata tag is not the same as filename.. :D
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

yusesope wrote:
Sun Oct 18, 2020 7:53 pm
ragico wrote:
Sun Oct 18, 2020 7:38 pm
yusesope wrote:
Sat Oct 17, 2020 11:19 am

Code: Select all

#profile 7
Movie Title_________________________________________________________________________

#profile 8
Movie Title_____________________________________
I have done it Film title followed by 73 underscores.
Still, after MKV_Patcher only get Hdr as mediainfo confirms. This is mkv_patcher. Is there any error?
Yep, there is a problem with the patcher!
In the next few days I will ask you to send me a sample using a hex editor so I can correct the problem!
I'll explain what to do but not now because I'm going to sleep ...
I see "Premere un tasto per continuare" in the attached image.
Are you Italian too?
Yes I am Italian
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

jlpsvk wrote:
Sun Oct 18, 2020 7:53 pm
ragico wrote:
Sun Oct 18, 2020 7:38 pm

I have done it Film title followed by 73 underscores.
Still, after MKV_Patcher only get Hdr as mediainfo confirms. This is mkv_patcher. Is there any error?
File Title metadata tag is not the same as filename.. :D
Pls explain
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

ragico wrote:
Sun Oct 18, 2020 7:58 pm
Yes I am Italian
Weeeeeeeeeeeee Paesà. :lol: :lol: :lol: :lol:
Nei prossimi giorni vediamo di risolvere!
E' strano che non funzioni ma il mio patcher non trova il titolo assegnato da MkvToolNix!
Sicuro di aver scritto il titolo nel campo "titolo file" (tab "destinazione")?
Buonanotte!
jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

ragico wrote:
Sun Oct 18, 2020 8:00 pm

Pls explain
Image
Post Reply