set subtitle flag to default = no

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
woody777
Posts: 17
Joined: Mon Jun 11, 2012 11:08 pm

set subtitle flag to default = no

Post by woody777 »

Is there a way to always make subtitles have the default flag set to no? Currently, all of my rips set the default flag to yes, which means subtitles are always on in my player and I have to turn them off. These are just normal non-forced subtitles. I can easily change the flag in the header editor using MKVMerge, but is there an easier way using an advanced profile?
Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: set subtitle flag to default = no

Post by Romansh »

Conversion profiles wrote:

Code: Select all

ignoreForcedSubtitlesFlag      - never set "forced" flag for subtitle tracks. Default - true.
useISO639Type2T                - use ISO 639/2T instead of ISO 639/2B for language codes. Default - false.
setFirstAudioTrackAsDefault    - set "default" flag for a first audio track. Default - true.
setFirstSubtitleTrackAsDefault - set "default" flag for a first subtitle track. Default - true.
discoteca
Posts: 10
Joined: Wed Jul 27, 2011 6:19 pm

Re: set subtitle flag to default = no

Post by discoteca »

I would like to do this too but I don't understand how to add the option into a conversion profile I'm using below. Any help would be nice :)

lpcm2flac.mmcp.xml

Code: Select all

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

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

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang),+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>

</profile>
Edit: Thanks! :wink:
Last edited by discoteca on Tue Jan 29, 2013 12:43 pm, edited 1 time in total.
Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: set subtitle flag to default = no

Post by Romansh »

discoteca wrote:

Code: Select all

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

Code: Select all

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