MakeMkv not setting "forced" subtitle flag correctly in output MKV

Everything related to MakeMKV
Post Reply
PimpDiggler
Posts: 8
Joined: Fri Jun 04, 2021 3:31 pm

MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by PimpDiggler »

Fighting with Plex this weekend because of subtitles I thought would show up and upon further investigation with MKVToolnix Ive discovered the "forced" flag for subtitles hasnt been set correctly even though the MakeMKV gui indicates the subtitle is forced. This is the latest Linux version of MakMKV on Fedora 35
Attachments
Screenshot from 2021-11-13 17-09-02.png
Screenshot from 2021-11-13 17-09-02.png (2.89 MiB) Viewed 5359 times
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by Woodstock »

Two terms with the same name.

"Forced" for subtitles tracks means the individual subtitle has a "forced" flag on it. MakeMKV can optionally separate these subtitles out to their own track (this is the "Forced only" checkbox in the track selection window). Such subtitles are RARE. Personally, I've only seen it on two movies, but others tell me it's more popular on some genres.

"Forced" as an MKV track flag tells the player to always use the track. MakeMKV can be set up to set this flag on the FIRST subtitle track it finds, but this has only about a 50-50 shot at being correct. This is a profile option, which requires editing the controlling XML file. The profiles provided with MakeMKV have it set to OFF.

If you want to set the track "Forced" flag correctly, you should do it with mkvtoolnix, using the header editor.
PimpDiggler
Posts: 8
Joined: Fri Jun 04, 2021 3:31 pm

Re: MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by PimpDiggler »

I wound up using MKVToolNix to set it correctly but that UI behavior is a little misleading and not very intuitive or needs better documentation. The not intuitive part of this is its a 2-step process using an external tool when MakeMKV has already identified that secondary track as a "forced" track. I have a few movies that I may need to go back and correct due to this issue. Plex also cant identify and utilize this track automatically because the flag is incorrect.
PimpDiggler
Posts: 8
Joined: Fri Jun 04, 2021 3:31 pm

Re: MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by PimpDiggler »

Also the information contained in the "Info
Track information
Type: Subtitles
Flags: Forced subtitles
Language: English
Codec: HDMV PGS Subtitles
MKV Flags: Default
Clearly says Flags: Forced subtitles

If that has been identified the program may as well go ahead and set it to the appropriate flag without having to use another tool
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by Woodstock »

Actually, from MakeMKV (and also handbrake), the track Forced flag is missing, rather than set incorrectly.

If you want to create a new profile, here are the current "WDTV" settings regarding tracks:

Code: Select all

    <mkvSettings 
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
        setFirstAudioTrackAsDefault="true"
        setFirstSubtitleTrackAsDefault="true"
        setFirstForcedSubtitleTrackAsDefault="true"
        insertFirstChapter00IfMissing="true"
    />
You could test setting ignoreForcedSubtitlesFlag="false" instead, and see if that makes it work "correctly".

I've not bothered with it, because it has been wrong too often for me, and it doesn't survive a handbrake encode anyway.
Chetwood
Posts: 982
Joined: Mon Aug 30, 2010 9:16 am

Re: MakeMkv not setting "forced" subtitle flag correctly in output MKV

Post by Chetwood »

PimpDiggler wrote:
Sat Nov 13, 2021 10:51 pm
that UI behavior is a little misleading and not very intuitive or needs better documentation.
It's been discussed to death on this forum and in the FAQ.
PimpDiggler wrote:
Sat Nov 13, 2021 10:51 pm
The not intuitive part of this is its a 2-step process using an external tool when MakeMKV has already identified that secondary track as a "forced" track.
Has it though? In your screenshot above, the title information refers to the mlps and not the sub.
PimpDiggler wrote:
Sat Nov 13, 2021 10:58 pm
Also the information contained in the "Info

Track information
Type: Subtitles
Flags: Forced subtitles
Language: English
Codec: HDMV PGS Subtitles
MKV Flags: Default

Clearly says Flags: Forced subtitles
And clearly says: MKV Flags: default.
PimpDiggler wrote:
Sat Nov 13, 2021 10:58 pm
If that has been identified the program may as well go ahead and set it to the appropriate flag without having to use another tool
IF that has been identified and you select (forced only), in which case MakeMKV creates a new track from all forced items. If you don't, you'll end up with a regular track that is NOT flagged as forced and there's only a few players like MPC-HC that still will show forced items when the track itself is not set to forced.
MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink: DVD Shrink batch processing
Offizieller Uebersetzer von DVD Shrink deutsch
Post Reply