set subtitle flag to default = no

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

set subtitle flag to default = no

#1 Post by woody777 » Sun Jan 06, 2013 9:18 pm

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

#2 Post by Romansh » Sun Jan 06, 2013 10:44 pm

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

#3 Post by discoteca » Mon Jan 28, 2013 5:26 pm

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

#4 Post by Romansh » Mon Jan 28, 2013 9:31 pm

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