www.makemkv.com

MakeMKV support forum
It is currently Mon Jul 23, 2018 6:13 am

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Mon Feb 12, 2018 12:45 pm 
Offline

Joined: Mon Mar 07, 2016 8:27 pm
Posts: 53
I'm using MakeMKV on a Ubuntu 16.04 VM on my Qnap NAS.

In the past I always copied my edited default.mmcp.xml file to "/usr/share/MakeMKV/" and it worked just fine.

However, after installing version v1.12.0 I'm getting an error that there are multiple default profiles upon start of MakeMKV. When I delete my default profile in "/usr/share/MakeMKV/" I dont get the message again. So it seems that makemkv changed the location for the profile with the latest version.
I already searched for the default profile on my VM but I couldn't find where it is stored.

Can anybody tell me the new location of the profiles?


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 12, 2018 3:22 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5208
Your MakeMKV data directory is where you should put any files you have CHANGED. The original files can remain in the program directory.

You should NOT name a modified profile "default", because it will cause this error.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 12, 2018 3:39 pm 
Offline

Joined: Mon Mar 07, 2016 8:27 pm
Posts: 53
Thanks :)
Not the answer I was hoping for as it worked flawlessly before ;)

I tried to rename the file itself and also the third line:
Code:
<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Myprofile -->
    <name lang="mogz">:5086</name>


But I'm getting the same error. So I ended up just adding my profile manually via:

"-sel:all,+sel:(eng|nolang),-sel:core,-sel:havelossless,+sel:mvcvideo,-sel:subtitle*(all),+sel:(forced*(eng)),-sel:special"

Which might be the easiest way of them all, but somehow I wanted to complicate things^^


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 12, 2018 3:58 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5208
Your profile isn't named "MyProfile" in your example, it's named ":5086", which may be invalid. What you want is:

Code:
    <name lang="eng">MyProfile</name>


The important part is that the name in the <name> tag is unique among the profile files in the MakeMKV program and data directories. MakeMKV will search both during start-up.

Profiles that are invalid will generate error messages, and not be allowed in the pull-down. Duplicates lose out to originals, because the program directory is searched first.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 13, 2018 11:20 am 
Offline

Joined: Mon Mar 07, 2016 8:27 pm
Posts: 53
Thansk, that make sense then although I find it wird that the name is 5086 when its displayed within Makemkv as "default".


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 13, 2018 3:09 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5208
The leading colon, I believe, makes the name invalid, so it is likely that "default" is substituted.

But that's just a guess on my part, based on a lot of XML work. Mike would have the definitive answer.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 08, 2018 4:08 am 
Offline

Joined: Mon Jan 08, 2018 6:39 pm
Posts: 4
probably way off topic here, but I don't see it anywhere else. Is this also the folder where the hashed keys go?


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 08, 2018 2:29 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5208
Yes. All data files, such as profiles and keys, should be in the MakeMKV data directory.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 15, 2018 5:05 pm 
Offline

Joined: Wed Jul 26, 2017 8:45 am
Posts: 3
The profile files included with MakeMKV 1.12.0 seem to have been put into a /usr/share/MakeMKV/appdata.tar archive for some reason. I've been patching flac.mmcp.xml to increase flac-fast compression level from 5 to 10 (while flac-best with compression level 12, with FFMpeg as used by MakeMKV, is not within the FLAC Subset format).

Should be possible to uncompress, edit and recompress except for an annoying filename beginning with a double hyphen that even when escaped tar tries to treat as a command line option...


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 27, 2018 2:45 am 
Offline

Joined: Tue Mar 20, 2018 11:47 am
Posts: 6
Reiver wrote:
The profile files included with MakeMKV 1.12.0 seem to have been put into a /usr/share/MakeMKV/appdata.tar archive for some reason. I've been patching flac.mmcp.xml to increase flac-fast compression level from 5 to 10 (while flac-best with compression level 12, with FFMpeg as used by MakeMKV, is not within the FLAC Subset format).

Should be possible to uncompress, edit and recompress except for an annoying filename beginning with a double hyphen that even when escaped tar tries to treat as a command line option...


Can you share your custom xml file? Does it extract the lossless audio too?


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 27, 2018 1:55 pm 
Offline

Joined: Wed Jul 26, 2017 8:45 am
Posts: 3
It's just changing the default flac.mmcp.xml file and setting compression_level for flac-fast to 10 at this section;

Code:
<outputSettings name="flac-fast" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (fast compression)</description>
        <extraArgs>-compression_level 10</extraArgs>
</outputSettings>


You can extract the flac.mmcp.xml from the appdata.tar, edit it and then (as tar files were originally for tapes and replacing data in the middle of a tape is difficult) update the tar file by appending the new flac.mmcp.xml which overrides the first flac.mmcp.xml file in the tar;

$ tar xf appdata.tar
$ vim flac.mmcp.xml
$ tar uf appdata.tar flac.mmcp.xml

The compression savings between levels 5 and 10 are small but encoding time is near the same while level 12 is not a FLAC subset meaning potential streaming and hardware decoding issues (if there are any actual FLAC hardware decoders).


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 27, 2018 10:23 pm 
Offline

Joined: Tue Mar 20, 2018 11:47 am
Posts: 6
Reiver wrote:
It's just changing the default flac.mmcp.xml file and setting compression_level for flac-fast to 10 at this section;

Code:
<outputSettings name="flac-fast" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (fast compression)</description>
        <extraArgs>-compression_level 10</extraArgs>
</outputSettings>


You can extract the flac.mmcp.xml from the appdata.tar, edit it and then (as tar files were originally for tapes and replacing data in the middle of a tape is difficult) update the tar file by appending the new flac.mmcp.xml which overrides the first flac.mmcp.xml file in the tar;

$ tar xf appdata.tar
$ vim flac.mmcp.xml
$ tar uf appdata.tar flac.mmcp.xml

The compression savings between levels 5 and 10 are small but encoding time is near the same while level 12 is not a FLAC subset meaning potential streaming and hardware decoding issues (if there are any actual FLAC hardware decoders).


How do you even use it with the cli only anyway?


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 27, 2018 6:06 pm 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3387
Reiver wrote:
You can extract the flac.mmcp.xml from the appdata.tar, edit it and then (as tar files were originally for tapes and replacing data in the middle of a tape is difficult) update the tar file by appending the new flac.mmcp.xml which overrides the first flac.mmcp.xml file in the tar;

No, don't put into tar file - make a custom name for profile and put it into MakeMKV data directory. This way it will survive re-installations.

anoy420 wrote:
How do you even use it with the cli only anyway?

Code:
--profile=/path/to/profile.mmcp.xm


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group