Re: Profiles settings discussion
Posted: Sun Feb 05, 2012 2:03 pm
+1 on the subtitle token.
The N syntax is unfortunately broken Should be fixed soon, also with "audio" and "subtilte" tokens.NodNarb012 wrote:I think that -sel:2 should match second (and third, forth, and so on) instance of my favlang subtitle tracks and de-select it, but instead I get the error: Profile parsing error: Invalid token '-sel:2'Code: Select all
-sel:all, +sel:(favlang|nolang), -sel:(havemulti|havelossless), +sel:(core*(favlang|nolang)), -sel:2, =100:all, -10:favlang
Do I have the syntax wrong or is this broken?
Input/output settings are not relevant for selection/ordering, just ignore them for now.Romansh wrote:How do we select a different type of input? For example, I'd like to apply different selection logics for audio (favlang only) and subtitles (favlang + French is available).
Your examples only show 3 types of input: default, LPCM-stereo, LPCM-multi - but nothing for e.g. all subtitles (or at least each subtitle type)…
No, it's absolutely possible. However unless "subtitle" token is introduced in 1.7.3 , you'll have to make a lot of duplications. Attached is an XSD file for profile, it shows all possible input types. Output settings are presently ignored, but you can assign any selection settings per input type. All input types are:Romansh wrote:So what I'm trying to do is not possible for now?
Code: Select all
<xs:enumeration value="default"/>
<xs:enumeration value="Mpeg1"/>
<xs:enumeration value="Mpeg2"/>
<xs:enumeration value="Mpeg4"/>
<xs:enumeration value="VC1"/>
<xs:enumeration value="MP2"/>
<xs:enumeration value="MP3"/>
<xs:enumeration value="AC3-stereo"/>
<xs:enumeration value="AC3-multi"/>
<xs:enumeration value="DTS-stereo"/>
<xs:enumeration value="DTS-multi"/>
<xs:enumeration value="EAC3-stereo"/>
<xs:enumeration value="EAC3-multi"/>
<xs:enumeration value="MLP-stereo"/>
<xs:enumeration value="MLP-multi"/>
<xs:enumeration value="MLP-core-stereo"/>
<xs:enumeration value="MLP-core-multi"/>
<xs:enumeration value="DTSHD-stereo"/>
<xs:enumeration value="DTSHD-multi"/>
<xs:enumeration value="DTSHD-core-stereo"/>
<xs:enumeration value="DTSHD-core-multi"/>
<xs:enumeration value="DTSHDLBR-stereo"/>
<xs:enumeration value="DTSHDLBR-multi"/>
<xs:enumeration value="LPCM-stereo"/>
<xs:enumeration value="LPCM-multi"/>
<xs:enumeration value="VOBSUB"/>
<xs:enumeration value="VOBSUB-forced"/>
<xs:enumeration value="VOBSUBHD"/>
<xs:enumeration value="VOBSUBHD-forced"/>
<xs:enumeration value="PGS"/>
<xs:enumeration value="PGS-forced"/>
Code: Select all
<!-- Include English and French PGS subtitles -->
<trackSettings input="PGS">
<output outputSettingsName="copy"
defaultSelection="-all,+favlang,+nolang,+fre">
</output>
</trackSettings>
<!-- Include English PGS-forced subtitles -->
<trackSettings input="PGS-forced">
<output outputSettingsName="copy"
defaultSelection="-all,+favlang,+nolang">
</output>
</trackSettings>
That's how it works - if no favorite language is set in preferences then favlang matches ANY language.Romansh wrote:Since I hadn't set favlang, MakeMKV seemed to ignore both rules and picked PGS and PGS-forced subtitles in all languages. Once I set favlang, MakeMKV honored both rules.
It's done in 1.7.3flogger123 wrote:Got my vote on the subtitle token.