MakeMKV

  • MakeMKV v1.15.4(8.12.20 )
    • 마스터 오류가 있는 디스크 처리 개선
    • 많은 내부 개선 사항과 작은 버그 수정 사항
    • True의 원활한 결합 구현도미니크 미들릴의 아이디어를 바탕으로 프레임이 겹치는 HD 스트림
    • MakeMKV가 이제 이중 트랙 돌비 비전 MKV 파일을 인식하고 변환합니다.
    • 버그 수정:
      • True를 처리할 때 프로그램이 실패할 수 있음MKV 파일의 HD 스트림
      • DTS-HD 스트림에서 DTS 코어를 추출하지 못했습니다(1.15.0 회귀 분석).
  • MakeMKV v1.15.4 (8.12.2020 )

    • Improved handling for discs with mastering errors

    • Many internal improvements and small bugfixes

    • Implemented seamless joining of TrueHD streams with overlapping frames based on Dominik Mydlil's idea

    • MakeMKV now recognizes and converts double-track Dolby Vision MKV files

    • Bug fixes:

      • Program could fail when processing TrueHD streams from MKV file

      • DTS core was not extracted from DTS-HD streams (1.15.0 regression)

https://www.makemkv.com/download/history.html

www.videohelp.com/software/MakeMKV/old-versions

 

A Dolby TrueHD demuxer and utility tool, with a focus on accurate and correct TrueHD demuxing.

mlp

A Dolby TrueHD demuxer and utility tool, with a focus on accurately and correctly demuxing a TrueHD stream from a decrypted blu-ray disc.

Dual-licensed under MIT and Apache 2.0.

Install

You can download the latest binaries for macOS and Windows from the Releases tab of this repository. Requires at least Windows 7 or Mac OS X 10.10.

Usage

Demux the TrueHD stream from a given blu-ray playlist file, optionally with the given angle (which starts at 1):

mlp demux playlist "F:\BDMV\PLAYLIST\00800.mpls" --output "out.thd" --angle 2

Print the segment map and any available angles for the given playlist file:

mlp demux playlist "F:\BDMV\PLAYLIST\00800.mpls"

Demux the TrueHD stream from a list of stream files in the F:\BDMV\STREAM directory, and save it to out.thd. The files are chosen based either a comma-separated list of numbers or +-separated list of file names:

mlp demux segments -s "F:\BDMV\STREAM" -o "out.thd" -l "55,56" mlp demux segments -s "F:\BDMV\STREAM" -o "out.thd" --segment-files "00055.m2ts+00056.m2ts"

Show frame count and duration information of a TrueHD stream:

mlp info "out.thd" mlp info "00055.m2ts"

All commands support -v or -vv for more verbose output.

FAQ

Aren't there already other demuxing tools out there?

Absolutely. However, all of them fail in different ways on TrueHD streams, especially on discs that contain a large number of segments, which has resulted in desync and noticeable audio artifacts. This tool aims to be a perfectly accurate TrueHD demuxer that doesn't produce invalid, broken, or out-of-sync streams.

What does this tool do differently?

I'm glad you asked! For that, we'll need to inspect the generated TrueHD streams on the level of individual audio samples. The following image is a screenshot from Audacity:

This is the TrueHD audio of Monsters University, downmixed to one channel for better illustration. We're looking at the boundary between segments 55 and 56.

  • Track 1 is the audio demuxed with this tool.
  • Track 2 is the (end of the) unmodified TrueHD stream of 00055.m2ts.
  • Track 3 is the (start of the) unmodified TrueHD stream of 00056.m2ts.
  • Track 4 is the audio demuxed with MakeMKV 1.15.1.

You might already be able to see the problem - the audio frames at either ends of the original TrueHD streams are identical! (A TrueHD frame is always 1/1200 seconds, or just under 1ms, long. That's 40 samples in this case. It's the smallest unit of audio we can add or delete.)

It turns out that blu-ray TrueHD tracks can have an overlapping frame at the segment boundary. If we just naïvely append two tracks together, like MakeMKV[1] does here, we'll accumulate desync at each boundary and we run the risk of introducing a "pop" caused by the discontinuity of the audio signal[2]. Now, nobody can hear 1ms of desync. But Monsters University is special in that it consists of 135 segments, or 134 segment boundaries. 129 of those contain duplicate audio frames, which means that by the end of the movie your audio would be 107 ms late! That's noticeable.

We also know that we can cut the very last TrueHD frame off a stream without consequences. The reason for that is that the start of every stream always has what's called a major sync. Major syncs are basically restart points for the decoder, where any issues introduced by previous audio data are no longer relevant.

You might very well say: "Hold on, maybe that's intended by the film studio? That audio is there on the original blu-ray files, after all." And that's a very good point. So let's see how long the video is, then. The video stream of 00055.m2ts contains 3,587 frames. At 23.976 fps (really 24,000/1,001), that's precisely 149.607792 seconds. The TrueHD track for that segment contains 179,530 frames, which results in a duration of 149.608333 seconds. That's an audio overrun of 26 samples. The audio stream is longer than the video stream.

This is the reality with every single UHD blu-ray I've analyzed so far. That includes Disney/Pixar blu-rays, where this issue is particularly pronounced due to their extensive use of seamless branching, as well as Alita: Battle Angel.

The good news is, there's a simple solution: Deleting those duplicated audio frames[3]. It turns out that if you do that, the resulting demuxed TrueHD stream is exactly the same length as the demuxed video stream (down to within a few audio samples). The audio ends up free of any discontinuities and the A/V sync tracks perfectly.

That's what this tool does in a nutshell. The TL;DR is that it gets rid of duplicated audio frames and as such automatically maintains perfect sync and gets rid of any audio artifacts like popping or cracking.

[1]: MakeMKV 1.15.1 does eventually maintain A/V sync, but it does so by deleting larger groups of frames on fewer occasions. This isn't perfect, but it's good enough. DGDemux deletes a minor frame at every segment boundary, which is better still, but not perfect yet 🙂
[2]: In this particular section of the screenshot you can actually clearly hear a small pop in MakeMKV's track.
[3]: It's important to not delete the frame that contains the major sync, but to delete the minor frame duplicate at the end of a stream. Also, the frames don't actually match exactly, so you'll need to use some tolerance when comparing them.

Build

Tested and supported on macOS and Windows.

You'll need to have the Rust programming language installed, as well as the Git LFS extension.

Windows

Requires Windows 10 version 1803.

$env:CFLAGS="-I$(Get-Location)\external\ffmpeg\include" cargo build

macOS

export CFLAGS="-I$PWD/external/ffmpeg/include" cargo build

NOTE: Downloads the ffmpeg 4.2.2 LGPL binaries and library files from the internet during the build phase.

TODO list

  •  analyze --fix command for existing streams
  •  Allow removing dialog normalization
  •  See if we can get rid of the End of stream indicated. ffmpeg message when decoding
  •  Better console/log output
  •  Support Linux and macOS
  •  Performance optimization
  •  More tests
  •  Support Linux

Special Thanks

  • Rocky over at the DGDemux forum for figuring out where and how to cut TrueHD bitstreams without causing audio issues or decoder errors.

https://github.com/domyd/mlp

 

==================================

 

www.reddit.com/r/kodi/comments/k9xgwy/how_do_i_play_dv_content_in_kodi_19_beta_2_can/

 

How do I play DV content in Kodi 19 beta 2. Can someone please finally explain it?

I have been searching for weeks and it seems like the answer is hiddend somewhere. I simply want to know how to configure Kodi 19 beta 2 so play...

www.reddit.com

 

www.makemkv.com/forum/viewtopic.php?f=12&t=21937&start=1125#p94191

 

Dolby Vision and 1.15.1 - Page 76 - www.makemkv.com

Please post here for issues related to UHD discs Epedemic Posts: 26 Joined: Mon Jan 21, 2019 11:07 pm Post by Epedemic » Sun Aug 02, 2020 3:08 pm TickTock wrote: ↑Sun Aug 02, 2020 5:45 am I'm tempted to order a Nvidia Shield which would arrive on Tuesda

www.makemkv.com

 

mega.nz/file/AcpEAKbK#u6KQd-veKDKJyXc0hW6_7G3zg4yGFZ33tX4TA9HnRiw

 

6.68 MB file on MEGA

 

mega.nz

 

makemkv.com/forum/viewtopic.php?f=12&t=21937&start=1560

 

Dolby Vision and 1.15.1 - Page 105 - www.makemkv.com

Please post here for issues related to UHD discs bobbymkV Posts: 18 Joined: Fri Jun 19, 2020 4:26 pm Post by bobbymkV » Sat Nov 28, 2020 10:36 pm When this thread gets bumped Edit: oh shi Pmaw10 Posts: 9 Joined: Sat Jul 25, 2020 10:39 pm Post by Pmaw10 »

makemkv.com

 

+ Recent posts