Personal Profile

Everything related to MakeMKV
Post Reply
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Personal Profile

Post by tannebil »

I'm having a problem where the first subtitle file is automatically being displayed and has to be manually disabled. I found a post describing the exact problem and walked through the described process of creating a personal profile to change the behavior but I'm having trouble getting it working. with Makeinfo 1.17.7 on Win 10

The steps I followed were:

1. Extract "default.mmcp.xml" from appdata.tar in the c:\Program Files (x86)\MakeMKV directory to the c:\users\btanner\.MakeMKV directory.

2. Rename it to myprofile.mmcp.xml

3. Edit it in Notepad, change line 4 and line 11, and save it

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Default -->
    <name lang="mogz">MyProfile</name>

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="false"
4. Launch MakeMKV. Set Preferences to Advanced. Switch to the Advanced Tab. Try to select the new profile but the list of options has not changed.

I enabled logging and there is nothing in the log about a personal profile.

Any suggestions?

Thanks
Grauhaar
Posts: 566
Joined: Thu Sep 15, 2016 3:46 pm

Re: Personal Profile

Post by Grauhaar »

I would say, wrong line changed:

This is the problem: setFirstSubtitleTrackAsDefault="true"

You have changed: setFirstForcedSubtitleTrackAsDefault="false"
Good Luck :)
_____________________________________________________________
Useful MakeMKV links: FAQs - Debug Log - Buy - Expiration of beta key
Two Blu-ray (UHD) Drives LG LG BH16NS55 with Libredrive Firmware 1.04
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

That was an error but fixing it didn't change anything. I still don't see MyProfile listed in the Default Profile choices.

Is the expected behavior that nothing is shown in the info window or logged with a personal profile is being used to override the default profile?
Grauhaar
Posts: 566
Joined: Thu Sep 15, 2016 3:46 pm

Re: Personal Profile

Post by Grauhaar »

Just tested, extract to ".makmkv", rename the file, changed the options and name in the file and the "My Default" xml set is shown in the advanced tab.
Good Luck :)
_____________________________________________________________
Useful MakeMKV links: FAQs - Debug Log - Buy - Expiration of beta key
Two Blu-ray (UHD) Drives LG LG BH16NS55 with Libredrive Firmware 1.04
jinx100
Posts: 157
Joined: Wed Mar 13, 2013 5:58 pm

Re: Personal Profile

Post by jinx100 »

tannebil wrote:
1. Extract "default.mmcp.xml" from appdata.tar in the c:\Program Files (x86)\MakeMKV directory to the c:\users\btanner\.MakeMKV directory.
Just checking that you copied the default file and did not remove it from the tar archive.
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

The file default.mmcp.xml file is still in appdata.tar in the program directory.

The files _private_data.tar and myprofile.mmcp.xml are in c:\users\btanner\.MakeMKV

The file myprogfile.mmcp.xml starts with

Code: Select all

<profile>
    <!-- profile name - Default -->
    <name lang="mogz">MyProfile</name>

    <!-- Common MKV flags -->
    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="false"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />
 
The "Default profile:" pick list only shows Default, ACC-stereo, FLAC, WDTV

Do these settings only effect "Make MKV" or does it make a change to the output of the backup process as well?

Should I check the results by opening the file in VLC or by looking at the file header in the .mkv file using MKVToolNix?

Thanks, Bill
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

As a side experiment, I installed MakeMKV on my Mac and made the same changes. The GUI shows MyProfile as the active profile but the .mkv file had the same problem with the first subtitle track being displayed by default when played in VLC. All the subtitle tracks were available and I was able to pick Disable to turn them off.

When I try to use Handbrake to rip an .mp4 version, things get weird. In the Subtitles tab, there is only an entry for Foreign Audio Search with "Forced Only" and "Burned In" selected and Default unselected. When I play the resulting file in VLC, the English subtitles are burned in and VLC doesn't show any available subtitles. If I change the container to MKV and do an "Add all tracks" in Handbrake, I get the English subtitles burned in and the remaining subtitles available but they are displayed over the burned in English subtitles.

Here's MediaInfo for the mkv file that came out of MakeMKV

Code: Select all

General
Unique ID                                : 225724971334986281816150711154981382815 (0xA9D10C537E2C90CF3B14D163AEBAAA9F)
Complete name                            : /Volumes/Drobo/TiVoShows/THE LORD OF THE RINGS- THE TWO TOWERS (EXT.) PT. 1_t00.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 27.8 GiB
Duration                                 : 1h 46mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 37.3 Mbps
Movie name                               : THE LORD OF THE RINGS: THE TWO TOWERS (EXT.) PT. 1
Encoded date                             : UTC 2019-12-13 08:24:49
Writing application                      : MakeMKV v1.14.7 darwin(x64-release)
Writing library                          : libmakemkv v1.14.7 (1.3.5/1.4.7) darwin(x64-release)

Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=10
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 46mn
Bit rate mode                            : Variable
Bit rate                                 : 29.9 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.601
Stream size                              : 22.3 GiB (80%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #1
ID                                       : 2
ID in the original source medium         : 4352 (0x1100)
Format                                   : DTS ES XXCH XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 1h 46mn
Bit rate mode                            : Variable
Bit rate                                 : 4 430 Kbps
Channel(s)                               : 7 channels
Channel layout                           : C L R Ls Rs LFE Cb
Sampling rate                            : 48.0 KHz
Frame rate                               : 93.750 fps (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 3.30 GiB (12%)
Title                                    : Surround 6.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
Original source medium                   : Blu-ray

Audio #2
ID                                       : 3
ID in the original source medium         : 4352 (0x1100)
Format                                   : DTS ES XXCH
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-ES Discrete
Codec ID                                 : A_DTS
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 1 509 Kbps
Channel(s)                               : 6 channels
Channel(s)_Original                      : 7 channels
ChannelLayout_Original                   : C L R Ls Rs Cs LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 93.750 fps (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.12 GiB (4%)
Title                                    : Surround 5.1
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #3
ID                                       : 4
ID in the original source medium         : 4353 (0x1101)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 488 MiB (2%)
Title                                    : Surround 5.1
Language                                 : Portuguese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #4
ID                                       : 5
ID in the original source medium         : 4354 (0x1102)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 146 MiB (1%)
Title                                    : Stereo
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #5
ID                                       : 6
ID in the original source medium         : 4355 (0x1103)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 146 MiB (1%)
Title                                    : Stereo
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #6
ID                                       : 7
ID in the original source medium         : 4356 (0x1104)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 146 MiB (1%)
Title                                    : Stereo
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Audio #7
ID                                       : 8
ID in the original source medium         : 4357 (0x1105)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 146 MiB (1%)
Title                                    : Stereo
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #1
ID                                       : 9
ID in the original source medium         : 4608 (0x1200)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 45mn
Bit rate                                 : 22.7 Kbps
Count of elements                        : 2266
Stream size                              : 17.1 MiB (0%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Original source medium                   : Blu-ray

Text #2
ID                                       : 11
ID in the original source medium         : 4609 (0x1201)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 45mn
Bit rate                                 : 21.5 Kbps
Count of elements                        : 2098
Stream size                              : 16.3 MiB (0%)
Language                                 : Spanish
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #3
ID                                       : 13
ID in the original source medium         : 4610 (0x1202)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 45mn
Bit rate                                 : 22.2 Kbps
Count of elements                        : 2100
Stream size                              : 16.8 MiB (0%)
Language                                 : Portuguese
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #4
ID                                       : 15
ID in the original source medium         : 4611 (0x1203)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 43mn
Bit rate                                 : 6 672 bps
Count of elements                        : 6106
Stream size                              : 4.94 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #5
ID                                       : 17
ID in the original source medium         : 4612 (0x1204)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 46mn
Bit rate                                 : 7 500 bps
Count of elements                        : 6006
Stream size                              : 5.69 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #6
ID                                       : 19
ID in the original source medium         : 4613 (0x1205)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 46mn
Bit rate                                 : 4 636 bps
Count of elements                        : 4268
Stream size                              : 3.53 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #7
ID                                       : 21
ID in the original source medium         : 4614 (0x1206)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1h 46mn
Bit rate                                 : 6 733 bps
Count of elements                        : 7626
Stream size                              : 5.13 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #8
ID                                       : 23
ID in the original source medium         : 4615 (0x1207)
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 39mn 45s
Bit rate                                 : 134 bps
Count of elements                        : 6
Stream size                              : 39.3 KiB (0%)
Language                                 : Portuguese
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Menu
00:00:00.000                             : en:Chapter 01
00:04:08.706                             : en:Chapter 02
00:06:10.787                             : en:Chapter 03
00:14:44.717                             : en:Chapter 04
00:17:06.567                             : en:Chapter 05
00:19:17.739                             : en:Chapter 06
00:23:07.094                             : en:Chapter 07
00:23:58.019                             : en:Chapter 08
00:27:09.002                             : en:Chapter 09
00:28:03.139                             : en:Chapter 10
00:31:38.062                             : en:Chapter 11
00:35:45.476                             : en:Chapter 12
00:38:17.878                             : en:Chapter 13
00:41:47.713                             : en:Chapter 14
00:50:49.671                             : en:Chapter 15
00:58:19.370                             : en:Chapter 16
01:00:39.886                             : en:Chapter 17
01:02:48.264                             : en:Chapter 18
01:08:05.915                             : en:Chapter 19
01:12:41.690                             : en:Chapter 20
01:24:17.302                             : en:Chapter 21
01:25:41.636                             : en:Chapter 22
01:27:34.123                             : en:Chapter 23
01:30:45.440                             : en:Chapter 24
01:32:30.419                             : en:Chapter 25
01:34:30.998                             : en:Chapter 26
01:35:57.001                             : en:Chapter 27
01:37:02.149                             : en:Chapter 28
01:38:43.918                             : en:Chapter 29
01:41:15.194                             : en:Chapter 30

Grauhaar
Posts: 566
Joined: Thu Sep 15, 2016 3:46 pm

Re: Personal Profile

Post by Grauhaar »

tannebil wrote:
Fri Dec 13, 2019 9:26 am
As a side experiment, I installed MakeMKV on my Mac and made the same changes. The GUI shows MyProfile as the active profile but the .mkv file had the same problem with the first subtitle track being displayed by default when played in VLC. All the subtitle tracks were available and I was able to pick Disable to turn them off.
Have you selected the "MyProfile" entry and pressed apply?
Did you see in MakeMKV the following message if the rip starts "Saving 1 titles into directory ........ using profile 'MyProfile" from file 'C:\........myprofile.mmcp.xml' ?

I just tested it and it works for me, but I have switched off both subtitle options (normal and forced) to false. Maybe your first subtitle track is identified as an pure forced track so the "forced" option is used.

*Edit:*
Which Editor was used? Notepad, Wordpad, Word, Notepad++ ...?
Good Luck :)
_____________________________________________________________
Useful MakeMKV links: FAQs - Debug Log - Buy - Expiration of beta key
Two Blu-ray (UHD) Drives LG LG BH16NS55 with Libredrive Firmware 1.04
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

I use BBEdit on the Mac. Notepad on Windows.

The process I followed was to use MakeMKV to do a backup on my Win 10 box and then copy the backup to my Mac. I use MakeMKV on macOS to create an mkv file. The MakeMKV GUI shows MyProfile as the active profile and the info window confirms it's being used.

Code: Select all

Saving 2 titles into directory /Volumes/Drobo/TiVoShows using profile 'MyProfile' from file '/Users/btanner/Library/MakeMKV/myprofile.mmcp.xml'
I just reran the Mac side of my process and the mkv file is behaving as expected so I must have made a mistake last night. It opens in English and without subtitles except when non-English is being spoken on screen. It has all the subtitle tracks and I can change among them as expected.

So my remaining problem was that I couldn't get personal profiles to work with MakeMKV (WIN10). No choice on the dropdown list and no "using profile xxxx" message displayed. Your question about my text editor got me thinking about previous issues I've had with text editors inserting formatting that screwed up JSON files so I copied the profile file from macOS to my Windows box and it worked perfectly!

I did a quick compare in BBEdit of the two files and they have the same number of characters but BBEdit says the bad one uses "Unicode UTF-8, with BOM" while the good one is "Unicode UTF-8". A little searching of the Internet warned me that the "byte order mark" blows up all kinds of things so my guess is that Notepad adds a BOM if one is not present. People need to make sure they are using a "pure" text editor or the parser in MakeMKV needs to detect if a BOM is present and skip it.

https://stackoverflow.com/questions/222 ... ithout-bom

It's actually better for me to use my WIn10 box (old quad core) to just do the backup/unencrypt and do the rest of the process on macOS (6-core Mac Mini) so that's what I am going to do.

Am I correct in assuming that those profile changes don't have anything to do with the backup process?
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

"People need to make sure they are using a "pure" text editor or the parser in MakeMKV needs to detect if a BOM is present and skip it."

Of course, that assumes I really did find an underlying issue. Wouldn't be the first time I've jumped to a conclusion with flimsy evidence.

Not throwing shade at anyone.
Grauhaar
Posts: 566
Joined: Thu Sep 15, 2016 3:46 pm

Re: Personal Profile

Post by Grauhaar »

tannebil wrote:
Fri Dec 13, 2019 10:11 pm
Am I correct in assuming that those profile changes don't have anything to do with the backup process?
Yes, the backup process copies and optional decrypt the files without processing them in detail. So the profile settings have no effect during the backup.

Edit:
In Notepad you can change the coding the in "save" Window. Look at the Buttom, there is a "Coding" option. You can switch from "UTF-8 with BOM" to "UTF-8".
Last edited by Grauhaar on Sat Dec 14, 2019 8:52 am, edited 1 time in total.
Good Luck :)
_____________________________________________________________
Useful MakeMKV links: FAQs - Debug Log - Buy - Expiration of beta key
Two Blu-ray (UHD) Drives LG LG BH16NS55 with Libredrive Firmware 1.04
tannebil
Posts: 7
Joined: Wed Dec 11, 2019 8:59 pm

Re: Personal Profile

Post by tannebil »

Good tip about Notepad.

Thanks for all your help.
Post Reply