DTS-HD -> LPCM raw, debug codes

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

DTS-HD -> LPCM raw, debug codes

Post by Romansh » Tue Nov 13, 2012 12:07 am

I got a lot of debug codes in my log today. Conversion didn't fail and the output audio sounds fine, but given the size of the debug log I figured I'd submit it anyway.

Source is a decrypted backup of Watchmen Director's Cut made with MakeMKV (1.7.8 or .9, not sure), remuxing to MKV with1 video track, 3 subtitle tracks and 1 audio track (DTS-HD 5.1 24-bit 48 kHz to LPCM-raw 6-channel 48 kHz conversion).

Conversion profile

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Default -->
    <name lang="eng">TIM-LPCM-raw</name>

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(eng|nolang),+sel:(fra*subtitle),-sel:forced,-sel:core,-sel:mvcvideo"
    />

    <!-- Output formats currently supported by MakeMKV -->
    <outputSettings name="copy" outputFormat="directCopy">
        <description lang="eng">Copy track as is</description>
        <description lang="ger">Track 1:1 kopieren</description>
    </outputSettings>

    <outputSettings name="lpcm" outputFormat="LPCM-raw">
        <description lang="eng">Save as raw LPCM</description>
        <description lang="ger">Als RAW LPCM speichern</description>
    </outputSettings>

    <outputSettings name="wavex" outputFormat="LPCM-wavex">
        <description lang="eng">Save as LPCM in WAV container</description>
        <description lang="ger">Als LPCM im WAV-Container speichern</description>
    </outputSettings>

    <outputSettings name="flac-best" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (best compression)</description>
        <description lang="ger">Als FLAC speichern (h?chste Komprimierungsstufe)</description>
        <extraArgs>-compression_level 12</extraArgs>
    </outputSettings>

    <outputSettings name="flac-fast" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (fast compression)</description>
        <extraArgs>-compression_level 5</extraArgs>
    </outputSettings>

    <!-- Default rule - copy as is -->
    <trackSettings input="default">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save mono or stereo LPCM as LPCM-raw -->
    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save multi-channel LPCM as LPCM-raw -->
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save DTS-HD Master Audio as LPCM-raw -->
    <trackSettings input="DTSHDMA-stereo">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDMA-multi">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    
    <!-- Save DTS-HD as LPCM-raw -->
    <trackSettings input="DTSHD-stereo">
        <output outputSettingsName="lpcm"
            defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHD-multi">
        <output outputSettingsName="lpcm"
            defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save DTS Express (DTS-HD LBR) as LPCM-raw -->
    <trackSettings input="DTSHDLBR-stereo">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDLBR-multi">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

</profile>
sox stats for the output track (just for fun)

Code: Select all

sox:      SoX v14.4.0

Input File     : 'Watchmen - 2009 - Director's Cut.s24'
Channels       : 6
Sample Rate    : 48000
Precision      : 24-bit
Duration       : 03:06:27.19 = 536985088 samples ~ 839039 CDDA sectors
File Size      : 9.67G
Bit Rate       : 6.91M
Sample Encoding: 24-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no


Output File    : '' (null)
Channels       : 6
Sample Rate    : 48000
Precision      : 24-bit
Duration       : 03:06:27.19 = 536985088 samples ~ 839039 CDDA sectors

sox INFO sox: effects chain: input        48000Hz  6 channels
sox INFO sox: effects chain: stats        48000Hz  6 channels
sox INFO sox: effects chain: output       48000Hz  6 channels

             Overall     Ch1       Ch2       Ch3       Ch4       Ch5       Ch6  
DC offset  -0.000071 -0.000071 -0.000060 -0.000042 -0.000035 -0.000005 -0.000008
Min level  -0.623735 -0.623735 -0.623735 -0.623735 -0.623735 -0.440613 -0.440613
Max level   0.623735  0.623735  0.623735  0.623735  0.623735  0.440613  0.440613
Pk lev dB      -4.10     -4.10     -4.10     -4.10     -4.10     -7.12     -7.12
RMS lev dB    -32.17    -30.93    -30.89    -28.51    -35.17    -38.32    -38.02
RMS Pk dB      -6.80     -7.19     -7.22     -7.17     -6.80    -10.13    -10.56
RMS Tr dB    -137.77   -137.72   -137.77   -137.71   -137.64   -136.74   -136.76
Crest factor       -     21.96     21.86     16.61     35.77     36.33     35.06
Flat factor     0.00      0.00      0.00      0.00      0.00      0.00      0.00
Pk count        85.5        46        67       371         3        12        14
Bit-depth      24/24     24/24     24/24     24/24     24/24     23/24     23/24
Num samples     537M
Length s   11187.189
Scale max   1.000000
Window s       0.050
Attachments
MakeMKV_log.txt
(65.38 KiB) Downloaded 681 times

Post Reply