Problem with multiple subtitle tracks for one language (mkv)
Posted: Sun Nov 17, 2013 9:40 am
Hi,
I think I found a really weird thing with subtitle tracks/priority using mencoder as engine. I got some Japanese movies in .mkv which include two audio tracks (-aid=1 2.0 ENG/ -aid=0 2.0 JPN) and two subtitle tracks - both English, one for conversation subtitles (sid=0), other for song lyrics (sid=1). I'm not able to make UMS 3.0 play file properly, I have following settings:
With this settings UMS selects correct audio track (-aid=1) but never selects correct -sid (it always defaults to =1 which is less important). Is there any way to tell UMS 3.0 which of same language subtitle tracks it should take? I was trying to play with forced tags, but that doesn't work for me. Also I know mplayer/mencoder is not able to show two subtitle tracks at once (afaik) so what I want is make it default to -sid=0 instead of -sid=1. Only way I was able to do this is to breaking audio_subtitles_languages like this (i think it's weird bug that causes it behave correctly for me, can anyone confirm/explain?):
I have some constraints - I don't want TRANSCODE folder, because my GF who often watches these movies alone is BFU and she's very confused by TRANSCODE folder, so I just want to set good priorities for a few usecases we have (always prefer jpn audio and add eng subtitles, for anything with eng but not jpn,cze audio use eng audio and cze subtitles if avail, cze audio no subtitles.) Second is that I can't touch files to remove/retag tracks, because they're served from r/o location.
My idea is to add some inverse mechanism for forced subtitle tags like:
and skip them during subtitle track selection (in my case there's always tag and I believe it's impossible to do good heuristics which track to select from two of same language without tag). If this makes sense and there's no better way to do this already, I can create and submit patch.
I think I found a really weird thing with subtitle tracks/priority using mencoder as engine. I got some Japanese movies in .mkv which include two audio tracks (-aid=1 2.0 ENG/ -aid=0 2.0 JPN) and two subtitle tracks - both English, one for conversation subtitles (sid=0), other for song lyrics (sid=1). I'm not able to make UMS 3.0 play file properly, I have following settings:
Code: Select all
audio_languages = jpn,eng,cze,und
subtitles_languages = eng,cze,und
audio_subtitles_languages = jpn,eng;eng,cze;cze,off;*,eng
Code: Select all
audio_subtitles_languages = jpn,eng,cze
My idea is to add some inverse mechanism for forced subtitle tags like:
Code: Select all
ignore_subtitle_tags = sing,lyric,song