Official Dolby Vision MKV spec support
Re: Official Dolby Vision MKV spec support
So, does 1.15.3 support DV MKVs out of the box now? Is there additional processing you have to do?
Re: Official Dolby Vision MKV spec support
Yep, 1.15.2+ works out of the box! It creates MKV files which include DV.
Playback is a different story. Currently Plex running on a 2019 Nvidia Shield will play them and trigger DV on a DV-compatible TV.
If you're not using Plex and/or Shield you'll need to research that on your own. I believe Kodi would play them back if you installed a forked version of Exoplayer (you can find that in this thread somewhere).
Re: Official Dolby Vision MKV spec support
Is it possible that you can show me how i can do this?tazlord wrote: ↑Wed Nov 04, 2020 4:44 pmShort Answer: Not with MakeMKV
Long Answer:
Other tools allow you to re-encode the base layer and then merge that resulting file with the extended layer (the Dolby Vision layer). There's some sort of strange misconception that the extended layer only works with the original bitstream of the base layer. This is not entirely true. I have created dual-layer Dolby Vision MP4 files with re-compressed base layers and they play back just fine with players that support dual-layer DV with all extended color data in tact. As for single-layer implementations of this, there's only 1 software title commercially available that I'm aware of that can do it. However, it's not "free".
On a side (personal) note, I think using single-layer DV files is extremely limiting. Once those files are created, the extended color information is "burned" into a single stream. Although there are plenty of players out there that can "cope" with that method, there is a higher possibility of a player not being able to play the file. This is in contrast to the dual-layer method, which was specifically designed with compatibility in mind.
20gb per westworld episode is quiet heavy in comparison with the 5gb before
Re: Official Dolby Vision MKV spec support
-
- Posts: 15
- Joined: Mon Mar 16, 2020 8:32 pm
Re: Official Dolby Vision MKV spec support
I have succesfully made a few mkv's from my uhd backups. Now i want to add Dutch subs. Can i use MKVToolnix for this to put subs with the exsisting mkv file and mux it? Will i still have Dolby Vision on the output file?
Best regards
Best regards
Re: Official Dolby Vision MKV spec support
Yes, just make sure to use the latest version. It preserves the DV metadata.eblackadder wrote: ↑Mon Nov 09, 2020 9:03 amI have succesfully made a few mkv's from my uhd backups. Now i want to add Dutch subs. Can i use MKVToolnix for this to put subs with the exsisting mkv file and mux it? Will i still have Dolby Vision on the output file?
Best regards
-
- Posts: 15
- Joined: Mon Mar 16, 2020 8:32 pm
Re: Official Dolby Vision MKV spec support
Thanks a lot for the confirmation!whiplash1 wrote: ↑Mon Nov 09, 2020 1:00 pmYes, just make sure to use the latest version. It preserves the DV metadata.eblackadder wrote: ↑Mon Nov 09, 2020 9:03 amI have succesfully made a few mkv's from my uhd backups. Now i want to add Dutch subs. Can i use MKVToolnix for this to put subs with the exsisting mkv file and mux it? Will i still have Dolby Vision on the output file?
Best regards
Re: Official Dolby Vision MKV spec support
I wasn't sure if I was allowed to mention it here but the software I was referring to is called DVDfab.agressiv wrote: ↑Sat Nov 07, 2020 10:27 pmDo you have a name? I don't mind paying for good software. I certainly paid for MakeMKV!
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Official Dolby Vision MKV spec support
Do you need this functionality in MakeMKV? I.e. Ability to open "two MKV" and merge into one? First MKV being an original MKV file, and second - a re-encode by handbrake or whatever, and MakeMKV would combine the video from re-encode and all original tracks (sound+atmos) and DV layers from original file...tazlord wrote: ↑Wed Nov 04, 2020 4:44 pmShort Answer: Not with MakeMKV
Long Answer:
Other tools allow you to re-encode the base layer and then merge that resulting file with the extended layer (the Dolby Vision layer). There's some sort of strange misconception that the extended layer only works with the original bitstream of the base layer. This is not entirely true. I have created dual-layer Dolby Vision MP4 files with re-compressed base layers and they play back just fine with players that support dual-layer DV with all extended color data in tact.
This is rather trivial to do, and you can chose any encoding tool...
Re: Official Dolby Vision MKV spec support
Actually, this would be awesome!mike admin wrote: ↑Thu Nov 12, 2020 11:18 pmDo you need this functionality in MakeMKV? I.e. Ability to open "two MKV" and merge into one? First MKV being an original MKV file, and second - a re-encode by handbrake or whatever, and MakeMKV would combine the video from re-encode and all original tracks (sound+atmos) and DV layers from original file...tazlord wrote: ↑Wed Nov 04, 2020 4:44 pmShort Answer: Not with MakeMKV
Long Answer:
Other tools allow you to re-encode the base layer and then merge that resulting file with the extended layer (the Dolby Vision layer). There's some sort of strange misconception that the extended layer only works with the original bitstream of the base layer. This is not entirely true. I have created dual-layer Dolby Vision MP4 files with re-compressed base layers and they play back just fine with players that support dual-layer DV with all extended color data in tact.
This is rather trivial to do, and you can chose any encoding tool...
The absence of this functionality has pretty much put a hard stop on my moving forward with adding Dolby Vision titles to my library with the DV info in tact.
If you're open to suggestions, there are 3 ways that I can see this happening:
- Open an MKV file that contains two(2) video tracks. The first track is the (re-encoded) DV base layer. The second track is the DV enhanced layer. Then merge the two tracks into a single track that is DV single layer compliant.
This would be my preferred method. - Open two separate MKV files. The first file contains the DV base layer. The second file contains the DV enhanced layer. Then merge both files into single MKV file with a single video track that is DV single layer compliant.
Speaking candidly, if option #1 can be achieved, I don't see much point in implementing this method (unless there are technical obstacles that I'm not aware of). - Open an MP4 file that contains two(2) separate video tracks.
This method would function exactly like option #1. The only difference is the ability to read an MP4 as the source.
This method is optional and "nice to have" since it's actually relatively easy to demux MP4 files and create an MKV from the resulting bitstreams.
Thanks!
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Official Dolby Vision MKV spec support
This is already done in upcoming 1.15.4 , but it was done mostly to please those who made double-layer DV MKVs before the spec was available. So, if MakeMKV sees two video tracks in MKV file, first being HEVC without DV EL and second being DV EL+RPU, it would merge them into one video track (the track order is important, DV layer must be second video track).
This however does not solve the re-encoding problem - if you have a proper DV MKV file with a single video track, you can open and re-encode it as base layer in handbrake, but you would end up with original MKV and new re-encoded base video track. If you combine them to a single MKV, you will get 2 valid video tracks:
1. original base + EL + RPU
2. re-encoded base
Then you have somehow tell MakeMKV to keep re-encoded base, but extract DV EL+RPU from another track. This is easy to do technically, the question is about UI. The easiest way probably would be the track ordering as well: if the second track contains Base+EL+RPU, then discard base, extract EL+RPU and inject into first track. Something like that...
Re: Official Dolby Vision MKV spec support
It seems like a very, very specific use case!mike admin wrote: ↑Fri Nov 13, 2020 8:33 amThis however does not solve the re-encoding problem - if you have a proper DV MKV file with a single video track, you can open and re-encode it as base layer in handbrake, but you would end up with original MKV and new re-encoded base video track. If you combine them to a single MKV, you will get 2 valid video tracks:
1. original base + EL + RPU
2. re-encoded base
Then you have somehow tell MakeMKV to keep re-encoded base, but extract DV EL+RPU from another track. This is easy to do technically, the question is about UI. The easiest way probably would be the track ordering as well: if the second track contains Base+EL+RPU, then discard base, extract EL+RPU and inject into first track. Something like that...
-
- Posts: 55
- Joined: Sun Sep 13, 2020 10:25 am
Re: Official Dolby Vision MKV spec support
Hello, the best of the best would be to be able to extract the RPU as we do with the HDR10 +
If Makemkv merges the 2 tracks (BL + EL RPU) directly, to make encodes I wonder if it will work, because in my opinion there is a risk of corrupting the dv metadata when encoding, No?
If Makemkv merges the 2 tracks (BL + EL RPU) directly, to make encodes I wonder if it will work, because in my opinion there is a risk of corrupting the dv metadata when encoding, No?
Re: Official Dolby Vision MKV spec support
I'm currently working towards this: https://github.com/quietvoid/dovi_tool/tree/rpu_parsingghostshadow wrote: ↑Fri Nov 13, 2020 10:23 amHello, the best of the best would be to be able to extract the RPU as we do with the HDR10 +
Ideally it would be like yusesope's tool (disabling EL for 8.1), and being able to feed it to x265 (can already).
In my opinion it is out of scope for MakeMKV.
-
- Posts: 55
- Joined: Sun Sep 13, 2020 10:25 am
Re: Official Dolby Vision MKV spec support
Super you are too strong quietvoid after the hdr10plusparser if you make a software to extract the rpu which works like the hdr10plusparser that would be TOPquietvoid wrote: ↑Fri Nov 13, 2020 1:02 pmI'm currently working towards this: https://github.com/quietvoid/dovi_tool/tree/rpu_parsingghostshadow wrote: ↑Fri Nov 13, 2020 10:23 amHello, the best of the best would be to be able to extract the RPU as we do with the HDR10 +
Ideally it would be like yusesope's tool (disabling EL for 8.1), and being able to feed it to x265 (can already).
In my opinion it is out of scope for MakeMKV.
that would inform the --dolby-vision-rpu