• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Enable "Always Burn in Subtitle When Transcoding" by Default

     
    • 0 Vote(s) - 0 Average

    Enable "Always Burn in Subtitle When Transcoding" by Default

    Auto Enable "Always Burn in Subtitle When Transcoding" and other client settings like "Prefer fMP4-HLS Media Container" for All Users in All Clients
    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #1
    2024-12-08, 07:39 AM (This post was last modified: 2024-12-08, 07:39 AM by Diaxpel.)
    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.
    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #2
    2024-12-21, 10:09 AM
    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)}}
    jellona
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #3
    2025-02-13, 04:37 PM (This post was last modified: 2025-02-14, 04:55 PM by jellona. Edited 1 time in total.)
    I managed to do this. Tested with Jellyfin 10.10.5

    Find this code:
    Code:
    f.AlwaysBurnInSubtitleWhenTranscoding=c.A.alwaysBurnInSubtitleWhenTranscoding()

    Replace with:
    Code:
    f.AlwaysBurnInSubtitleWhenTranscoding=true

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

    Replace with:
    Code:
    {key:"alwaysBurnInSubtitleWhenTranscoding",value:function(e){return true}}
    Diaxpel
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Vietnam
    #4
    2025-04-07, 03:24 PM
    Thanks. While I haven't thoroughly tested it, it works just as intended.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode