default selection rule - choose specific subtitle

Everything related to MakeMKV
Post Reply
mkvallday
Posts: 1
Joined: Thu Jun 18, 2026 4:19 am

default selection rule - choose specific subtitle

Post by mkvallday »

Using the default selection rule, is it possible to select the first instance of a favorite language track? In the screenshot, I'd like to select by default the first audio and subtitle English track (not the track highlighted in red).
makemkv selection rule.jpg
My current rule is:
-sel:all,+sel:(favlang|nolang),-sel:mvcvideo,=100:all,-10:favlang

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

Re: default selection rule - choose specific subtitle

Post by Woodstock »

Subtitles are a problem, in that there is no consistency in how they're presented.

There are several ways that they can be provided, using one or more tracks per language. The most usual is a track for "all subtitles", and a track for "forced only" subtitles (those used for signs and such).

Another common one is "all subtitles, with forced ones flagged as forced". MakeMKV will generate a separate track for the forced subtitles, deleting it if it's empty.

A less-common one is to include a track of commentary subtitles. sometimes multiple tracks.

handbrake uses a rule that compares how many subtitles are in each language, and selects based on that; it blows up when there are more than 10% subtitles in the small track compared to a larger track, and also when there are commentary subtitles.

In 20+ years of doing this, I've found that the best algorithm for ME is to extract every subtitle track, watch a section of the track to find out which track is which, then use handbrake to make that the primary track while compressing it. Since I always compress the tracks after extracting them, it's not that much overhead.
Post Reply