Jellyfin Forum
Enable "Always Burn in Subtitle When Transcoding" by Default - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Enable "Always Burn in Subtitle When Transcoding" by Default (/t-enable-always-burn-in-subtitle-when-transcoding-by-default)



Enable "Always Burn in Subtitle When Transcoding" by Default - Diaxpel - 2024-12-08

I would love to learn how to enable "Always Burn in Subtitle When Transcoding" feature in client settings by default. Given that we can do this in main.jellyfin.bundle.js as shown in jellyfin-mods, I think it might be possible to enable this feature and others like it for all users on every clients. Here's hoping that someone might've figured that out.

Why would I want to do this?

ASS subtitles aren't exactly well supported but are used in pretty much any Anime-related content and some TV shows. I know that burning in subtitles with Tdarr or HandBrake is an option, but I would rather stay away from such solutions as it is rather time-consuming and inefficient. Forcing the subtitles to be burn in during transcode works far better, pretty much getting rid of all subtitle desync problems.


RE: Enable "Always Burn in Subtitle When Transcoding" by Default - Diaxpel - 2024-12-21

Does anyone know how to make this work? I've successfully turned on "Enable Backdrops" and "Prefer fMP4-HLS Media Container" by editting main.jellyfin.bundle.js.

For the former, it's rather easy. You just need to search:

Code:
enableBackdrops:function(){return _}
(yours might be different from mine)

and replace it with:

Code:
enableBackdrops:function(){return E}

It's pretty much the same with the latter, though you might need do a little bit of trials and errors with the letters in the 
Code:
{return _}
field.

However, "Always Burn in Subtitle When Transcoding" is different. It doesn't use the same format. Here's the lines that mention this feature:

Code:
f.AlwaysBurnInSubtitleWhenTranscoding=c.A.alwaysBurnInSubtitleWhenTranscoding(

Code:
{key:"alwaysBurnInSubtitleWhenTranscoding",value:function(e){return void 0!==e?this.set("alwaysBurnInSubtitleWhenTranscoding",e.toString()):(0,o.G4)(this.get("alwaysBurnInSubtitleWhenTranscoding"),!1)}}