FAQ  •  Register  •  Login

Transcoding MKV subtitle track with 'default' flag

<<

gerjomarty

Serviio newbie

Posts: 3

Joined: Tue Aug 11, 2015 8:48 pm

Post Tue Aug 11, 2015 9:20 pm

Transcoding MKV subtitle track with 'default' flag

Hello,

Thanks for your continued work on Serviio, it's much appreciated.

My current problem is that I have a large number of MKVs with Japanese audio and English subtitles. The majority of these files have the "default" flag set on the Subtitle track in the MKV container, but do not have the specific Language flag set on the subtitle track.

These files work exactly as I'd expect they would with other players (mpv, VLC, etc.) in that because the "default" flag is set on the Subtitle track, the subtitles are displayed. In files that have Subtitle tracks with no "default" flag, the subtitles are not shown.

The behaviour of other players (and hence all of the JP audio/EN subs media I have) also seems to fit with the Matroska technical specs (http://www.matroska.org/technical/specs/index.html) which states under FlagDefault: "Set if that track (audio, video or subs) SHOULD be active if no language found matches the user preference."

Please correct me if I'm wrong, but I believe at the moment Serviio does not try to transcode subtitle tracks that do not have a language set, meaning I would have to edit my entire library to get them to work. (Though if you know of a less painful workaround I would be all ears!)

The reason given in the past (see http://forum.serviio.org/viewtopic.php?f=5&t=14696) for not changing this seemed to be that people might be forced to watch burned-in foreign subtitles they didn't want, but given the behaviour of most media players that handle this, I would think that most media files would only set the default flag when it makes sense in context to have subtitles on screen anyway (a foreign-language release aimed at an English-speaking audience, for example).

If this is too large a step, perhaps having a user-definable setting to allow the transcoding of subtitle tracks that have the "default" flag regardless of their Language field would be preferable?

I do hope you'll consider this, it will make me very happy if you do.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Aug 11, 2015 10:13 pm

Re: Transcoding MKV subtitle track with 'default' flag

Support for this has been added to bit bucket - see https://bitbucket.org/xnejp03/serviio/i ... les-marked. It's slightly different so you may want to add a comment referencing this post. Also add your vote, which aids zip prioritise requests.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

gerjomarty

Serviio newbie

Posts: 3

Joined: Tue Aug 11, 2015 8:48 pm

Post Wed Aug 12, 2015 11:56 am

Re: Transcoding MKV subtitle track with 'default' flag

Thanks for that; I hadn't realised there was a BitBucket for issues too. I've posted there.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.