Is there a threshold setting for minimum file size of a subtitle to keep?

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Radiocomms237
Posts: 405
Joined: Mon Oct 18, 2021 12:23 am

Is there a threshold setting for minimum file size of a subtitle to keep?

Post by Radiocomms237 » Mon Mar 21, 2022 11:54 am

I know MakeMKV removes "empty" subtitle tracks and it's obvious that to be deleted, a track must be completely empty (ie. 0 KB).

But I've been running across a heap of .sup subtitle tracks lately that have just one single blank/transparent image and no text. These tracks, once extracted from the .mkv file, usually show as being 1 KB, so they aren't being removed by MakeMKV.

Is there a threshold setting somewhere that determines the minimum size of a subtitle file to keep?

I would dearly love to set it at "2 KB" so MakeMKV removes all these junk .sup tracks!

Thanks in advance.

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

Re: Is there a threshold setting for minimum file size of a subtitle to keep?

Post by Woodstock » Mon Mar 21, 2022 1:36 pm

MakeMKV will only remove subtitle tracks it created, so it's not just a count of how many are in it. The "Forced only" tracks are not actually on the source; they're built by reading the parent track, and only writing the subtitles flagged as forced. If none our found, that's when the track is removed.

But if the disk was authored with an empty subtitle track, that will be written.

Radiocomms237
Posts: 405
Joined: Mon Oct 18, 2021 12:23 am

Re: Is there a threshold setting for minimum file size of a subtitle to keep?

Post by Radiocomms237 » Mon Mar 21, 2022 1:57 pm

Thanks.

So then going the other way, is it somehow possible to display on the setup screen (prior to ripping) how much content a subtitle track has, which would allow me to un-check them manually?

This would have an added time-saving advantage because we wouldn't need to setup all the names & tags for those tracks, only to have them deleted again later.

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

Re: Is there a threshold setting for minimum file size of a subtitle to keep?

Post by Woodstock » Mon Mar 21, 2022 7:51 pm

Until it's ripped, MakeMKV has no idea what's in each track, so no, there isn't a way to tell in advance. Sorry.

Post Reply