Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Sun Nov 08, 2020 9:38 pm

4knewbie wrote: Sun Nov 08, 2020 3:24 pm Hi everyone !
Could anybody update me on the methods to make dv files ? I made a first batch back in march and haven’t made any since then as there were barely any new releases. I used to do it the regular way as described in the original post with dv profile 7 which seems to be the best for Plex on lg c9. Do you guys still use the original method or is there something simpler now ?
Thank you all
if you're just playing them off your tv's internal player, then no, stick to what you've been doing

whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by whiplash1 » Mon Nov 09, 2020 11:38 am

TheChief wrote: Sat Oct 17, 2020 7:20 am Smthng gone wrong:

Code: Select all

Traceback (most recent call last):
  File "S:\_Out\MKV_DV\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 833, in _initialise
    init_without_length_or_offset[k](self, v)
KeyError: 'uint'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "src\MKV_patcher.py", line 233, in <module>
    patched_data = mkv_patcher.inject_dolby_vision(dolby_vision_data)
  File "src\MKV_patcher.py", line 207, in inject_dolby_vision
    self.init_elements()
  File "src\MKV_patcher.py", line 149, in init_elements
    el_property["size"] = self.read_variable_size_int()
  File "src\MKV_patcher.py", line 128, in read_variable_size_int
    parsedValue = BitArray(uint=(self.mkv_data[pos:pos + 8] & (~self.get_len_mark(length))).uint,length=length)
  File "src\MKV_patcher.py", line 117, in get_len_mark
    return BitArray(uint=1 << (8 - int(length / 8)),length=8)
  File "S:\_Out\MKV_DV\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 3059, in __new__
    y = Bits.__new__(BitArray, auto, length, offset, **kwargs)
  File "S:\_Out\MKV_DV\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 812, in __new__
    x._initialise(auto, length, offset, **kwargs)
  File "S:\_Out\MKV_DV\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 838, in _initialise
    init_with_length_only[k](self, v, length)
  File "S:\_Out\MKV_DV\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 1388, in _setuint
    raise CreationError(msg, uint, length, (1 << length) - 1)
bitstring.CreationError: 256 is too large an unsigned integer for a bitstring of length 8. The allowed range is [0, 255].
Facing the exact same issue with Back to the Future Part 1. Haven't tried the other two. This message shows up in mkvpatcher. Accompanied by some errors in the 2nd command window. MKV generates properly but can't be patched successfully. I'm using the -fel_to_mel switch. Tried once with skiphdr10plus switch along with it as well. Same error.

Update - I tried creating the mkv without mapping any audio streams. The resulting mkv appears to have patched successfully. Currently muxing in the audio and commentary tracks and pgs subs using MKVtoolNix. Let's hope it works without any further errors.

Update 2 - Everything works like a charm! Even with the HDR10+ metadata. Next up are Parts 2 & 3 and then 1917.

ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow » Mon Nov 09, 2020 5:11 pm

Hello would it be possible to make a list on this Topic of players reading mkv DV:

player X ---> mkv dv profil X --> TV pana X

thank

kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kws53 » Mon Nov 09, 2020 8:43 pm

yusesope wrote: Sat Nov 07, 2020 2:20 pm
kws53 wrote: Fri Nov 06, 2020 3:10 pm How does that process work with GAMMA?
Now the -exp switch also accepts the path of a BluRay folder as input (the address of the folder that contains the BDMV folder).
I also added the -playlist switch to be able to select the playlist of interest.
Playlist works perfectly - just waiting for the Chapter support!
Amazing work @Yusesope!

kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kws53 » Mon Nov 09, 2020 8:46 pm

ghostshadow wrote: Mon Nov 09, 2020 5:11 pm Hello would it be possible to make a list on this Topic of players reading mkv DV:

player X ---> mkv dv profil X --> TV pana X

thank
Shield 2019 Pro (PLEX client) ----> GAMMA Profile 7 ----> LG CX

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Mon Nov 09, 2020 8:56 pm

kws53 wrote: Mon Nov 09, 2020 8:46 pm
ghostshadow wrote: Mon Nov 09, 2020 5:11 pm Hello would it be possible to make a list on this Topic of players reading mkv DV:

player X ---> mkv dv profil X --> TV pana X

thank
Shield 2019 Pro (PLEX client) ----> GAMMA Profile 7 ----> LG CX
If you have the Shield, why are you going through all this trouble to generate a DV mkv? Just use makemkv 1.15.3 and call it a day.

ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow » Mon Nov 09, 2020 9:13 pm

kws53 wrote: Mon Nov 09, 2020 8:46 pm
ghostshadow wrote: Mon Nov 09, 2020 5:11 pm Hello would it be possible to make a list on this Topic of players reading mkv DV:

player X ---> mkv dv profil X --> TV pana X

thank
Shield 2019 Pro (PLEX client) ----> GAMMA Profile 7 ----> LG CX
thank kws53

yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Tue Nov 10, 2020 9:08 am

shawnc22 wrote: Mon Nov 09, 2020 8:56 pm If you have the Shield, why are you going through all this trouble to generate a DV mkv? Just use makemkv 1.15.3 and call it a day.
Because it's fun :lol: !

Want your MKV, @shawnc22?
And a balloon? And there’s cotton candy...
Image

Epedemic
Posts: 53
Joined: Mon Jan 21, 2019 11:07 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Epedemic » Tue Nov 10, 2020 12:43 pm

Sorry to be "that guy", but is there a method to convert a DV .mp4 file to a DV .mkv file which plays on the shield 2019 hidden somewhere? Came across something interesting to try out :P

ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow » Tue Nov 10, 2020 12:47 pm

mkvtoolnix then makemkv can be

DaMacFunkin
Posts: 314
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Tue Nov 10, 2020 1:15 pm

Epedemic wrote: Tue Nov 10, 2020 12:43 pm Sorry to be "that guy", but is there a method to convert a DV .mp4 file to a DV .mkv file which plays on the shield 2019 hidden somewhere? Came across something interesting to try out :P
On the first post of the Makemkv 1.5.3 thread Mike gives a ffmpeg command line to convert back to MKV then run it through Makemkv.

Epedemic
Posts: 53
Joined: Mon Jan 21, 2019 11:07 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Epedemic » Tue Nov 10, 2020 6:13 pm

DaMacFunkin wrote: Tue Nov 10, 2020 1:15 pm
Epedemic wrote: Tue Nov 10, 2020 12:43 pm Sorry to be "that guy", but is there a method to convert a DV .mp4 file to a DV .mkv file which plays on the shield 2019 hidden somewhere? Came across something interesting to try out :P
On the first post of the Makemkv 1.5.3 thread Mike gives a ffmpeg command line to convert back to MKV then run it through Makemkv.
Arh, i was looking in this thread and the 1.5.1 thread..... The blindness is strong with this one :| Thanks though, it was exactly what i needed, and it worked with great success :D

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Tue Nov 10, 2020 6:31 pm

yusesope wrote: Tue Nov 10, 2020 9:08 am
shawnc22 wrote: Mon Nov 09, 2020 8:56 pm If you have the Shield, why are you going through all this trouble to generate a DV mkv? Just use makemkv 1.15.3 and call it a day.
Because it's fun :lol: !

Want your MKV, @shawnc22?
And a balloon? And there’s cotton candy...
Image
you lost me already when the greek letterings went past alpha and beta :lol:

userr
Posts: 63
Joined: Sat Apr 04, 2020 7:10 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by userr » Tue Nov 10, 2020 6:45 pm

Can anyone enlighten me why the following happens for me?

Sony AG9 Oled TV and Nvidia shield 2019

When playing profile7 mkv files from makemkv, that also contain TrueHD audio, i only get HDR
If i change audiotrack to normal ac3 track, i get dolby vision

Im using the TV builtin speakers to eliminate any compability issues with AVR etc.

Anyone can help?

edit: im using the plex app
Last edited by userr on Tue Nov 10, 2020 7:38 pm, edited 1 time in total.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid » Tue Nov 10, 2020 6:53 pm

userr wrote: Tue Nov 10, 2020 6:45 pm Can anyone enlighten me why the following happens for me?

Sony AG9 Oled TV and Nvidia shield 2019

When playing profile7 mkv files from makemkv, that also contain TrueHD audio, i only get HDR
If i change audiotrack to normal ac3 track, i get dolby vision

Im using the TV builtin speakers to eliminate any compability issues with AVR etc.

Anyone can help?
If you're playing on the Plex app, you need to be direct playing both video and audio. If TrueHD has to be transcoded, the video changes to direct streaming which does not trigger Dolby Vision.

Post Reply