Re: Dolby Vision and 1.15.3
Posted: Wed Oct 07, 2020 3:51 am
Yup I've noticed the same thing. I didn't trace it to spinning drives, but just noticed that it sometimes takes a couple of tries to get DV triggered.
Yup I've noticed the same thing. I didn't trace it to spinning drives, but just noticed that it sometimes takes a couple of tries to get DV triggered.
Code: Select all
MPEG-H/HEVC/H.265 VIDEO 3840 x 2160 pixels
MPEG-H/HEVC/H.265 VIDEO 1920 x 1080 pixels
Code: Select all
Track information
Type: Video
Codec: MpegH HEVC Main10@L5.1
Resolution: 3840x2160
Aspect ratio: 16:9
Frame rate: 23.976 (480000/20020)
Hello, I have a question:mike admin wrote: ↑Thu Oct 01, 2020 9:13 pmStarting from version 1.15.3 MakeMKV can rebuild missing DolbyVision metadata. As of today, this is the only public tool that could do that - even the mp4muxer requires DV profile and BL_compat_level on command line in order to properly build DV descriptors. MakeMKV can now extract this information from a raw bitstream.
What it means, that if you have an MKV file with completely bogus or missing metadata, you can open it with 1.15.3 and produce a correct DV MKV, as long as bitstream is not altered. Even if MKV file is produced by a tool that is unaware of Dolby Vision, as long as bitstream is not corrupted. Most tools keep unknown bitstream data as is.
Also, there is another feature - MakeMKV now recognizes Dolby video codec inside "unsupported" container. With this, one can convert any DV file, from any format to DV MKV. Word of warning - this is rather advanced feature, but you can convert pretty much anything to MKV.
Below are the steps to convert DV MP4 or TS file (or anything else) to DV MKV.
Step 1 - you have to convert a source file into MKV. two commands to do so are:andCode: Select all
ffmpeg -i "$1" -vcodec copy -acodec copy -f matroska "$1_ffmpeg.mkv"
Depending on the tool, file layout, and the current phase of the moon, you can get one of 3:Code: Select all
mkvmerge -o "$1_mmg.mkv" "$1"
1 - HEVC MKV (HEVC video with no DOVI descriptors). Could be played back (without DV) and edited.
2 - crappy MKV - the video codec would be either an MS_FOURCC/dvh? or V_QUICKTIME . No player would play this file and most tools would choke on it.
3 - broken MKV - a variant of (2) with vital metadata destroyed. can really rarely get this with ffmpeg method, the P81 MP4 sample produces this (only when using ffmpeg).
and
4 - DV MKV , that's what new MakeMKV produces.
MakeMKV now can open all 4, extract the raw bitstream and produce a proper DV MKV file. So most of the time workflow would be:
.mp4 -> mkvmerge -> crappy_mkv -> makemkv -> DV_MKV -> mkvmerge -> HEVC_MKV -> makemkv -> DV_MKV
.ts -> ffmpeg -> crappy_mkv -> ...
It is possible to use mkvmerge for .ts sources and ffmpeg for .mp4 sources, but YMMV.
It's much easier than that:
No... when you want to add additional audio tracks, which are not on the source.. ie., i own star wars on bluray and also on UHD... my language is not on UHD, so I want to add my audio language to remux, to store it on NAS.
Well, you didn't say that in your OP.jlpsvk wrote: ↑Thu Oct 08, 2020 12:06 pmNo... when you want to add additional audio tracks, which are not on the source.. ie., i own star wars on bluray and also on UHD... my language is not on UHD, so I want to add my audio language to remux, to store it on NAS.
you're right... but question remains... if I create video MKV with MakeMKV first, then add track in MKVtoolnix 51 (which should preserve metadata), do I need to re-remux that MKV from MKVtoolnix with MakeMKV or not? Hope that MediaInfo will be updated soon, so I can check..Mr_Orange wrote: ↑Thu Oct 08, 2020 12:13 pmWell, you didn't say that in your OP.
Not necessary, mkvmerge keeps the info.jlpsvk wrote: ↑Thu Oct 08, 2020 2:18 pmyou're right... but question remains... if I create video MKV with MakeMKV first, then add track in MKVtoolnix 51 (which should preserve metadata), do I need to re-remux that MKV from MKVtoolnix with MakeMKV or not? Hope that MediaInfo will be updated soon, so I can check..
viewtopic.php?f=12&t=23306&start=30#p97217phneutral wrote: ↑Thu Oct 08, 2020 6:33 amAm I missing some vital step here?
I have my mkv file open in mkvtoolnix which has two video layers:
When I open in MakeMKV there is only one layer:Code: Select all
MPEG-H/HEVC/H.265 VIDEO 3840 x 2160 pixels MPEG-H/HEVC/H.265 VIDEO 1920 x 1080 pixels
When I create a new MKV in 1.15.3 I see the same thing. I tried burning a new .iso in tsmuxer and converting m2ts > mkv which does retain the two layers in mkvtoolnix but I still don't see anything in MakeMKV for DV.Code: Select all
Track information Type: Video Codec: MpegH HEVC Main10@L5.1 Resolution: 3840x2160 Aspect ratio: 16:9 Frame rate: 23.976 (480000/20020)
The test files work on my Shield and trigger DV, but my new MKV file doesn't. Mkvtoolnix and MakeMKV are on latest versions.
I am sure it's a problem at my end but can't figure out what's wrong? I'm under the impression that the 1920x1080 layer in mkvtoolnix is the DV metadata and 1.15.3 is able to produce a working DV MKV from that.
I actually tried your method 1 - that's why I mentioned the iso - it doesn't work. I will try Yusecope's tool. Even if those workarounds do work, it seems rather at odds with the OP, no?shawnc22 wrote: ↑Thu Oct 08, 2020 3:52 pmviewtopic.php?f=12&t=23306&start=30#p97217phneutral wrote: ↑Thu Oct 08, 2020 6:33 amAm I missing some vital step here?
I have my mkv file open in mkvtoolnix which has two video layers:
When I open in MakeMKV there is only one layer:Code: Select all
MPEG-H/HEVC/H.265 VIDEO 3840 x 2160 pixels MPEG-H/HEVC/H.265 VIDEO 1920 x 1080 pixels
When I create a new MKV in 1.15.3 I see the same thing. I tried burning a new .iso in tsmuxer and converting m2ts > mkv which does retain the two layers in mkvtoolnix but I still don't see anything in MakeMKV for DV.Code: Select all
Track information Type: Video Codec: MpegH HEVC Main10@L5.1 Resolution: 3840x2160 Aspect ratio: 16:9 Frame rate: 23.976 (480000/20020)
The test files work on my Shield and trigger DV, but my new MKV file doesn't. Mkvtoolnix and MakeMKV are on latest versions.
I am sure it's a problem at my end but can't figure out what's wrong? I'm under the impression that the 1920x1080 layer in mkvtoolnix is the DV metadata and 1.15.3 is able to produce a working DV MKV from that.
when you open your mounted iso (not mkv) in makemkv, does it not detect DV at all?phneutral wrote: ↑Thu Oct 08, 2020 4:14 pmI actually tried your method 1 - that's why I mentioned the iso - it doesn't work. I will try Yusecope's tool. Even if those workarounds do work, it seems rather at odds with the OP, no?shawnc22 wrote: ↑Thu Oct 08, 2020 3:52 pmviewtopic.php?f=12&t=23306&start=30#p97217phneutral wrote: ↑Thu Oct 08, 2020 6:33 amAm I missing some vital step here?
I have my mkv file open in mkvtoolnix which has two video layers:
When I open in MakeMKV there is only one layer:Code: Select all
MPEG-H/HEVC/H.265 VIDEO 3840 x 2160 pixels MPEG-H/HEVC/H.265 VIDEO 1920 x 1080 pixels
When I create a new MKV in 1.15.3 I see the same thing. I tried burning a new .iso in tsmuxer and converting m2ts > mkv which does retain the two layers in mkvtoolnix but I still don't see anything in MakeMKV for DV.Code: Select all
Track information Type: Video Codec: MpegH HEVC Main10@L5.1 Resolution: 3840x2160 Aspect ratio: 16:9 Frame rate: 23.976 (480000/20020)
The test files work on my Shield and trigger DV, but my new MKV file doesn't. Mkvtoolnix and MakeMKV are on latest versions.
I am sure it's a problem at my end but can't figure out what's wrong? I'm under the impression that the 1920x1080 layer in mkvtoolnix is the DV metadata and 1.15.3 is able to produce a working DV MKV from that.