Location for profiles in v.1.12.0
-
- Posts: 79
- Joined: Mon Mar 07, 2016 8:27 pm
Location for profiles in v.1.12.0
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?
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?
Re: Location for profiles in v.1.12.0
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.
You should NOT name a modified profile "default", because it will cause this error.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
-
- Posts: 79
- Joined: Mon Mar 07, 2016 8:27 pm
Re: Location for profiles in v.1.12.0
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:
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^^
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: Select all
<?xml version="1.0" encoding="utf-8"?>
<profile>
<!-- profile name - Myprofile -->
<name lang="mogz">:5086</name>
"-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^^
Re: Location for profiles in v.1.12.0
Your profile isn't named "MyProfile" in your example, it's named ":5086", which may be invalid. What you want is:
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.
Code: Select all
<name lang="eng">MyProfile</name>
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.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
-
- Posts: 79
- Joined: Mon Mar 07, 2016 8:27 pm
Re: Location for profiles in v.1.12.0
Thansk, that make sense then although I find it wird that the name is 5086 when its displayed within Makemkv as "default".
Re: Location for profiles in v.1.12.0
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.
But that's just a guess on my part, based on a lot of XML work. Mike would have the definitive answer.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Location for profiles in v.1.12.0
probably way off topic here, but I don't see it anywhere else. Is this also the folder where the hashed keys go?
Re: Location for profiles in v.1.12.0
Yes. All data files, such as profiles and keys, should be in the MakeMKV data directory.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Location for profiles in v.1.12.0
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...
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...
Re: Location for profiles in v.1.12.0
Can you share your custom xml file? Does it extract the lossless audio too?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...
Re: Location for profiles in v.1.12.0
It's just changing the default flac.mmcp.xml file and setting compression_level for flac-fast to 10 at this section;
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).
Code: Select all
<outputSettings name="flac-fast" outputFormat="FLAC">
<description lang="eng">Save as FLAC (fast compression)</description>
<extraArgs>-compression_level 10</extraArgs>
</outputSettings>
$ 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).
Re: Location for profiles in v.1.12.0
How do you even use it with the cli only anyway?Reiver wrote:It's just changing the default flac.mmcp.xml file and setting compression_level for flac-fast to 10 at this section;
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;Code: Select all
<outputSettings name="flac-fast" outputFormat="FLAC"> <description lang="eng">Save as FLAC (fast compression)</description> <extraArgs>-compression_level 10</extraArgs> </outputSettings>
$ 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).
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Location for profiles in v.1.12.0
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.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;
anoy420 wrote:How do you even use it with the cli only anyway?
Code: Select all
--profile=/path/to/profile.mmcp.xm