Makemkvcon Understanding profiles

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
brden
Posts: 1
Joined: Fri Dec 20, 2019 1:06 pm

Makemkvcon Understanding profiles

Post by brden »

Hello I am new to Makemkv and have a question about profiles. I am trying to understand how the audio selection works. I copied the "Perfect" profile from a forum post here and used it on my Blu Ray rip. It was pulling a French track and looking at it it should not have. I then changed the profile and still had the same problem. I then thought to try and learn how this works I would have it rip my Blu Ray without any audio so that I could piece it together and learn. I have been trying to get that to work and every time I rip it I still get all the audio tracks. I am going to add the profile code so you can see it and maybe give me some guidance on how this works.

The command for Makemkvcon I am using is the following "makemkvcon mkv --profile=/opt/arm/mysetting.mmcp.xml -r dev:/dev/sr0 all /home/arm/media/raw --minlength=600"

Perfect Profile

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile> 
    <!-- profile name - Perfect -->
    <name lang="eng">PERFECT</name>
    
    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="false"
        useISO639Type2T="false"
    />
    
    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,-sel:(core|special|lossy),-sel:(rus|spa),+sel:(eng|und|nolang),+sel:mvcvideo,+sel:attachment,=100:all,-10:favlang"
    />
    
    <!-- Output formats currently supported by MakeMKV -->
    <outputSettings name="copy" outputFormat="directCopy">
        <description lang="eng">Copy track 1:1</description>
    </outputSettings>
    <outputSettings name="FLAC" outputFormat="FLAC">
        <description lang="eng">Compress Audio with FLAC</description>
        <extraArgs>-threads 2 -compression_level 12 -lpc_coeff_precision 15 -lpc_passes 8 -lpc_type 3</extraArgs>
    </outputSettings>
    <outputSettings name="zlib" outputFormat="directCopy">
        <description lang="eng">Compress subtitles with ZLIB</description>
        <extraArgs>compression="zlib" compressionLevel="9"</extraArgs>
    </outputSettings>
    
    <!-- Default rule - copy as is -->
    <trackSettings input="default">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString,+sel:true"></output>
    </trackSettings>
    <trackSettings input="Mpeg1">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString,+sel:true"></output>
    </trackSettings>
    <trackSettings input="Mpeg2">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString,+sel:true"></output>
    </trackSettings>
    <trackSettings input="Mpeg4">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString,+sel:true"></output>
    </trackSettings>
    <trackSettings input="VC1">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString,+sel:true"></output>
    </trackSettings>
    
    <!-- Lossless Audio -->
    <trackSettings input="TRUEHD-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="TRUEHD-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="MLP-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="MLP-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHDMA-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHDMA-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="FLAC-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="FLAC-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    
    <!-- Lossy Audio --> 
    <trackSettings input="MP2">
    <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="MP3">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTS-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTS-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHD-core-multi">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHD-core-stereo">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHD-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHD-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHDLBR-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="DTSHDLBR-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="AC3-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="AC3-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="EAC3-stereo">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="EAC3-multi">
        <output outputSettingsName="copy"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    
    <!-- Compress subtitles with ZLIB -->
    <trackSettings input="PGS">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="PGS-forced">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="VOBSUB">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="VOBSUB-forced">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="VOBSUBHD">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
    <trackSettings input="VOBSUBHD-forced">
        <output outputSettingsName="zlib"
            defaultSelection="$app_DefaultSelectionString"></output>
    </trackSettings>
</profile>
My Profile trying to remove all audio

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile> 
    <!-- profile name - Perfect -->
    <name lang="eng">PERFECT</name>
    
    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="false"
        useISO639Type2T="false"
    />
    
    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,-sel:attachment,=100:all,-10:favlang"
    />
    
</profile>
Thank you for any help.
Post Reply