This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

MKV Cutter forcing subtitles?
#2
As quick solution, you can simply open the file with mkvtoonix-gui, open the header editor and your file and change the 'force display' flag.
Haven't looked at the source code of MKV Cutter for quite some time, but I checked and MKV Cutter, does not set a flag that a subtitle file should be a default or forced track:
// SUBTITLE FILES
  foreach(QString file, subtitleFiles)
  {
    options << "--no-video";
    options << "--no-audio";
    options << "--no-global-tags";
    options << "--no-chapters";
    options << "--no-track-tags";
    options << "--subtitle-tracks";
    options << "0";
    lang = file;
    index = lang.lastIndexOf("_track_");
    if (index != -1) {
      lang = lang.remove(0, index + 7);
      lang = lang.remove(lang.lastIndexOf("."), lang.size()).trimmed();
      index = lang.toInt();
      lang = subtitles.at(index).language;
      if (lang != QString()) {
        options << "--language";
        options << "0:" + lang;
      }
    }
    options << "--compression";
    options << "-1:none";
    options << doubleBackSlash(file);
  }
MKV Cutter doesn't even check whether a stream is flagged as forced or not. Smile
Since I wrote MKV Cutter just as a proof of concept years ago, I don't really have any plan to change it in the near future.
So, the quickest option is to use the mkvtoolnix header editor.

Cu Selur

Ps.: Happy that MKV Cutter is still useful to some users out there. Smile
Reply


Messages In This Thread
MKV Cutter forcing subtitles? - by admirack - 30.09.2022, 19:43
RE: MKV Cutter forcing subtitles? - by Selur - 30.09.2022, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)