makemkvcon.exe : profiles

Everything related to MakeMKV
Post Reply
Message
Author
arrgh
Posts: 9
Joined: Sun Dec 29, 2013 2:59 pm

makemkvcon.exe : profiles

#1 Post by arrgh » Thu Jul 02, 2015 10:54 pm

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!

Woodstock
Posts: 10139
Joined: Sun Jul 24, 2011 11:21 pm

Re: makemkvcon.exe : profiles

#2 Post by Woodstock » Fri Jul 03, 2015 1:55 am

<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...
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging

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

Re: makemkvcon.exe : profiles

#3 Post by Chetwood » Fri Jul 03, 2015 4:51 am

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))
MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink: DVD Shrink batch processing
Offizieller Uebersetzer von DVD Shrink deutsch

arrgh
Posts: 9
Joined: Sun Dec 29, 2013 2:59 pm

Re: makemkvcon.exe : profiles

#4 Post by arrgh » Fri Jul 03, 2015 10:54 pm

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...

Post Reply