I have found that the directors cut on my Aliens bluray (part of the 4 volume anthology) causes makemkv to produce flac output that is inconsistent with eac3to and mmdtsdec. In addition, the makemkv waveform "looks wrong" at the point of discrepancy. For the makemkv flac, the procedure is
- Rip title with the flac profile
- Extract the flac to the separate file makemkvflac.flac with mkvextract
I compared this to the result of
- Rip title as is with default profile
- Use eac3to to extract and decode the dtshd track to dtshd.eac3to.flac
The files start out identical, but staring at 509.845s (24472576 samples) they differ. This is clearly visible in
this plot. It is also pretty clear from the abrupt jump that it is the makemkv version that is not correct. The flac files also differ in their number of samples (dtshd.ea3to.flac=444814848 vs. makemkvflac.flac=444820992).
For further reference, I also tried to
- Rip title with default profile
- extract dtshd track to dtshd.dtshd with mkvextract
- convert the dtshd to wav with mmdtsdec
This produced the error output below
Code: Select all
$ mmdtsdec.exe -d 'C:\Program Files (x86)\eac3to\dtsdecoderdll.dll' dtshd.dtshd dtshd.mmdtsdec.wav
DEBUG: code=0001dd3c src=^1Qd^s!Q9l)/c7+Fhb:121261681
DEBUG: code=00000000 src=8]R6+RR hnJnFM7k:121263912
Error: Failed to decode
The refernece flac encoder (and my comparison script) was not able to read the resulting .wav file. However, I was able to use eac3to to convert it to a functioning flac. The result was identical to the output of the direct eac3to decode of the dtshd track.
It therefore appears that the problem is specific to the way the makemkv creates the flac track on the fly.