Page 1 of 1

makemkvcon.exe : profiles

Posted: Thu Jul 02, 2015 10:54 pm
by arrgh
makemkvcon.exe:

the following line in my Profile :

<profileSettings
app_DefaultSelectionString="-sel:all,+sel:audio&(deu|jpn),-sel:(havemulti|havecore),+sel:subtitle&(deu|jpn),+sel:mvcvideo,-sel:special"
/>

gives me the following error :
MakeMKV v1.9.4 win(x64-release) started
Profile parsing error: jpn.mmcp.xml:19:56 - not well-formed (invalid token)
Profile parsing error: malformed XML
Failed to load conversion profile from file 'D:\DVD\apps\MakeMKV/jpn.mmcp.xml'
Profile parsing error: norm.mmcp.xml:19:56 - not well-formed (invalid token)
Profile parsing error: malformed XML
Failed to load conversion profile from file 'D:\DVD\apps\MakeMKV/norm.mmcp.xml'
Profile parsing error: default profile missing, using builtin Default

...line 19, character 56 is the "&" after "audio"....why? why not also after "subtitles"? It seems to work since I get ger and jpn tracks, but it is a disturbing issue...
on top comes that it seems also to load a second Profile (norm.mmcp.xml), which I did not specify in the command line... again : why?

any ideas?
thanks!

Re: makemkvcon.exe : profiles

Posted: Fri Jul 03, 2015 1:55 am
by Woodstock
<profileSettings
app_DefaultSelectionString="-sel:all,+sel:audio&(deu|jpn),-sel:(havemulti|havecore),+sel:subtitle&(deu|jpn),+sel:mvcvideo,-sel:special"
/>
The problem is the & marked in red above - ampersands in XML have to be escaped, as "&".

But, I think the & isn't supposed to be there...

Re: makemkvcon.exe : profiles

Posted: Fri Jul 03, 2015 4:51 am
by Chetwood
Curiously enough it does not work in the GUI either, so I exchanged & for * and it works:

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

Re: makemkvcon.exe : profiles

Posted: Fri Jul 03, 2015 10:54 pm
by arrgh
Woodstock wrote:
<profileSettings
app_DefaultSelectionString="-sel:all,+sel:audio&(deu|jpn),-sel:(havemulti|havecore),+sel:subtitle&(deu|jpn),+sel:mvcvideo,-sel:special"
/>
The problem is the & marked in red above - ampersands in XML have to be escaped, as "&".

But, I think the & isn't supposed to be there...
if I change to

<profileSettings
app_DefaultSelectionString="-sel:all,+sel:audio&(deu|jpn),-sel:(havemulti|havecore),+sel:subtitle&(deu|jpn),+sel:mvcvideo,-sel:special"
/>

I get:

MakeMKV v1.9.4 win(x64-release) started
Profile parsing error: default profile missing, using builtin default
Using direct disc access mode
Title #1 was added (5 cell(s), 0:23:20)
Operation successfully completed
Saving 1 titles into directory D:\DVD using profile 'Japan' from file 'apps\MakeMKV\jpn.mmcp.xml'

but the jpn streams are missing...in the first example I get them...