(2024-12-03, 19:48)Karellen Wrote: That Swedish subtitle track is a dvd sub file, and each subtitle line in the file has the forced flag enabled.
Now you've got me confused about the flags. All 4 subtitle tracks in the video are VOBSUB, i.e. images with timestamps.
To be sure, I ripped the same movie a third time with the following result: Each subtitle track is assigned flag (enable=true) and flags (default, forced = false), except the Swedish subtitle track, that gets (flag default = true).
Using the same MKV file VLC Player is able to turn off subtitles completely, while Kodi won't. For some unknown reason Kodi insists on displaying a subtitle, and I can't turn it off.
I have tried changing the flags of the subtitle tracks with MKVPropedit as follows:
1. Changing the default flag for the Swedish subtitle to (default=false). Made no difference for Kodi nor for VLC Player.
2. Changing the language name of the Swedish subtitle from from (swe) to (eng). In that case Kodi won't pick that subtitle track (id=2) anymore. Instead it goes to the next subtitle track (id=3). I previously wrote that was Danish, but it probably is Norwegian because that is the next in line. The result is about the same, I cannot turn that subtitle off in Kodi.
2. Changing the enable flag to (enable=false). Made no difference. Don't know where that flag is for anyway.
Probably the mkvmerge -J and MediaInfo that I posted earlier was not on the untouched file, I already altered that unintentionally, so that explains why the deafult flag was not on in the MKVmerge -J output, but was there in the Kodi log (which was on the second rip). Sorry about that.
Anyway, even if the subtitle tracks were forced (which they are not immediately after ripping), this forcing only applies to the secondary language in the movie. But there is no secondary language in the 30s fragment, and probably not in the whole movie.
A forcing flag on a subtitle does not mean it is an integral subtitle for the primary language that can't be turned off. It is only meant for parts of the movie where a secondary language is spoken and only at that moment subtitles can not be turned off.
So I am kind of stuck here. I have posted a 30s fragment that anybody can download and play with Kodi and VLC Player, anybody can modify with MKVPropedit, so the problem is replicatable, as confirmed. Now for the solution, because I cannot imagine this is expected behaviour.
The only workaround that I can think off is removing all subtitle tracks (demuxing) which I'd rather not do, because it takes time and because I don't have a 100% copy of the disc anymore.
There is other thing I'd like to add which might or might not help. I have tried playing the DVD directly with VLC Player. When I did that I noticed the DVD menu does not have a menu option (in the DVD menu) to turn off subtitles. I can only play the DVD after I selected one of the subtitle languages. I found that strange and I wonder if that could have impact on the MKV file that is prodcuced by MakeMKV and what MKV attributes are involved.