Conversion profiles missing in upgrade to 1.12.3

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Mysus456
Posts: 17
Joined: Fri Aug 10, 2018 4:02 am

Conversion profiles missing in upgrade to 1.12.3

Post by Mysus456 »

I'm currently using MakeMKV Windows v 1.12.3

I've been converting my DVD/BD library and got tired of subs running in VLC when ENG is being flagged default, so I started looking at profiles. [Basically, this: How to set subtitles off]

I spent the last 2 hours trying to figure out how and where the XML files were located. There were none in my install directory [Like this post: Location for profiles in v.1.12.0].

No XML files were listed in my data directory: C:/Users/userM12/.MakeMKV

There was a post where davidmcgill pulled an old one from backup, but it seems he experienced the same: https://www.makemkv.com/forum2/viewtopi ... 123#p60758

I'll backup my work, but thought I'd point this out if it wasnt already known. I didnt see anything in my searches.
Woodstock
Posts: 10312
Joined: Sun Jul 24, 2011 11:21 pm

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Woodstock »

MakeMKV now keeps the "standard" profiles in a .tar file found in the MakeMKV program directory, named "appdata.tar".

To create your own, you can extract the contents to your MakeMKV data directory, then edit one of them to create your new profile.

As for VLC, though, it's going to play the first subtitle in your chosen language that it finds. You would have to remove subtitles from your rips, or re-arrange them with mkvmerge in the mkvtoolnix tool set. You can disable subtitle ripping in the advance tab of Tools->Preferences, by changing the default selection rule, without resorting to a new profile.
Mysus456
Posts: 17
Joined: Fri Aug 10, 2018 4:02 am

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Mysus456 »

Thanks for the confirmation. I tried extracting a tar in the default install directory, but there were nested tarballs and I didn’t see any XML files so I gave up. I’ll double check tonight.

It would probably be helpful to others to update the custom profile sticky to reflect this change.

VLC is my first test, but I primarily use Plex. I’m going to dig deeper then rip my entire. Collection so the profiles might help with that.
d00zah
Posts: 1579
Joined: Mon Jun 06, 2016 8:23 pm

Re: Conversion profiles missing in upgrade to 1.12.3

Post by d00zah »

NVM, the link Woodstock provided was inclusive... redundant.
Woodstock
Posts: 10312
Joined: Sun Jul 24, 2011 11:21 pm

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Woodstock »

OK, I'll post the profiles included in the v1.12.2 appdata.tar, since I had extracted them some time ago. Here they are, starting with default.mmcp.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Default -->
    <name lang="mogz">:5086</name>

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang|single),-sel:(havemulti|havecore),-sel:mvcvideo,=100:all,-10:favlang"
    />

    <!-- 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 LPCM mono or stereo as raw LPCM -->
    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Put multi-channel LPCM into WAVEX container-->
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="wavex"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

</profile>
wdtv.mmcp.xml compresses the PGS subtitles:

Code: Select all

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

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang|single),-sel:(havemulti|havecore),-sel:mvcvideo,=100:all,-10:favlang"
    />

    <!-- 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="copyzlib" outputFormat="directCopy">
        <description lang="eng">Copy track as is (zlib compressed)</description>
        <mkvTrackSettings compression="zlib" compressionLevel="9" />
    </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 LPCM mono or stereo as raw LPCM -->
    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="lpcm"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Put multi-channel LPCM into WAVEX container-->
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="wavex"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Compress PGS subtitles with ZLIB compression -->
    <trackSettings input="PGS">
        <output outputSettingsName="copyzlib"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="PGS-forced">
        <output outputSettingsName="copyzlib"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

</profile>
flac.mmcp.xml does audio conversions to FLAC:

Code: Select all

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

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang|single),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
    />

    <!-- 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 LPCM mono or stereo as FLAC -->
    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save multi-channel LPCM as FLAC -->
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Save TRUEHD as FLAC -->
    <trackSettings input="TRUEHD-stereo">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>
    <trackSettings input="TRUEHD-multi">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>
    <trackSettings input="MLP-stereo">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>
    <trackSettings input="MLP-multi">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Save DTS-HD as FLAC -->
    <trackSettings input="DTSHDMA-stereo">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDMA-multi">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Save DTS-HD LBR (low quality) as FLAC (just to decode) -->
    <trackSettings input="DTSHDLBR-stereo">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDLBR-multi">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

</profile>
And, finally, aac-st.mmcp.xml, which converts audio to AAC stereo:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name -->
    <name lang="eng">AAC-stereo</name>

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang|single),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
    />

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

    <outputSettings name="aac" outputFormat="AAC">
        <description lang="eng">Save as Mpeg-4 AAC-LC</description>
        <extraArgs>codec=libfdk_aac profile=LC</extraArgs>
        <extraArgs>afterburner=1</extraArgs>
    </outputSettings>

    <outputSettings name="he-aac" outputFormat="AAC">
        <description lang="eng">Save as Mpeg-4 HE-AAC</description>
        <extraArgs>codec=libfdk_aac profile=HE-AAC signaling=explicit_sbr</extraArgs>
        <extraArgs>afterburner=1</extraArgs>
    </outputSettings>

    <!-- HE-AACv2 - stereo inputs only -->
    <outputSettings name="he-aacv2" outputFormat="AAC">
        <description lang="eng">Save as Mpeg-4 HE-AACv2</description>
        <extraArgs>codec=libfdk_aac profile=HE-AACv2 signaling=explicit_hierarchical</extraArgs>
        <extraArgs>afterburner=1</extraArgs>
    </outputSettings>

    <outputSettings name="aac-gpl" outputFormat="AAC">
        <description lang="eng">Save as Mpeg-4 AAC-LC (ffmpeg encoder)</description>
        <extraArgs>codec=aac -strict -2</extraArgs>
        <extraArgs>aac_coder=twoloop</extraArgs>
    </outputSettings>

    <!-- Audio downmix settings -->
    <audioMixSettings name="stereo16"
        outputBPS="16"
        outputChannelLayout="stereo"
        mix="DolbyPrologic2">
        <description lang="eng">Stereo 16-bit Dolby PrologicII downmix</description>
    </audioMixSettings>

    <audioMixSettings name="stereo16raw"
        outputBPS="16"
        outputChannelLayout="stereo"
        centerMixLevel="-3dB"
        surroundMixLevel="-6dB"
        lfeMixLevel="0">
        <description lang="eng">Stereo 16-bit downmix</description>
    </audioMixSettings>

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

    <!-- For all audio tracks keep the original track
         and produce additional AAC stereo downmix -->

    <trackSettings input="LPCM-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="LPCM-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <trackSettings input="TRUEHD-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="TRUEHD-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>
    <trackSettings input="MLP-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="MLP-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <trackSettings input="DTSHDMA-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDMA-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <!-- Save DTS-HD LBR (low quality) as AAC (just to decode),
         do not keep original track -->
    <trackSettings input="DTSHDLBR-stereo">
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTSHDLBR-multi">
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <trackSettings input="DTS-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTS-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <trackSettings input="AC3-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="AC3-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>
    <trackSettings input="EAC3-core-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="EAC3-core-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>
    <trackSettings input="EAC3-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="EAC3-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>

    <!-- Keep stereo AAC unchanged, add downmix for multichannel -->
    <trackSettings input="AAC-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="AAC-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,-sel:all">
        </output>
        <output outputSettingsName="aac"
                defaultSelection="$app_DefaultSelectionString"
                audioMix="stereo16">
        </output>
    </trackSettings>
</profile>

Chetwood
Posts: 982
Joined: Mon Aug 30, 2010 9:16 am

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Chetwood »

I've extracted the WDTV profile to my MakeMKV data directory as well but when I encode a disc I'm getting the message it can't be read and that the default is being used. I've been using this syntax

-sel:all,+sel:(deu|eng|nolang),-sel:(core),-10:(forced*(eng)),-15:(deu),-20:(forced*(deu))

in there like forever and only changed the flags like this

ignoreForcedSubtitlesFlag="false"
useISO639Type2T="false"
setFirstAudioTrackAsDefault="true"
setFirstSubtitleTrackAsDefault="false"
setFirstForcedSubtitleTrackAsDefault="true"
insertFirstChapter00IfMissing="true"

so I don't know what MakeMKV is complaining about.
MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink: DVD Shrink batch processing
Offizieller Uebersetzer von DVD Shrink deutsch
Woodstock
Posts: 10312
Joined: Sun Jul 24, 2011 11:21 pm

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Woodstock »

What follows is general information, you may know most or all of it, but others looking at this topic might not....

If you're using a stock profile, the system will pick it up from the TAR file. If you want change a profile, you need to extract it to your MakeMKV data directory (not the program directory), and edit it to have what you want, AND change its name in the <name> tag, like this:

Code: Select all

<profile>
    <!-- profile name - Default -->
    <name lang="eng">MyProfileName</name>
Assuming there are no syntax errors in your changed file (the log window will indicate if there are), you will be able to select the new profile the next time you start MakeMKV and open a disk.

This assumes you have Expert Mode enabled.

If you do, the Preferences->Advanced tab lets you select which profile to use as default.
Chetwood
Posts: 982
Joined: Mon Aug 30, 2010 9:16 am

Re: Conversion profiles missing in upgrade to 1.12.3

Post by Chetwood »

I can't remember renaming my profile in prior versions (no tar file for the settings). I've copied over my version of the WDTV profile to chet.mmcp.xml and renamed it accordingly. That actually did the trick, thanks.
MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink: DVD Shrink batch processing
Offizieller Uebersetzer von DVD Shrink deutsch
Post Reply