Skip to content

Feature request: Make subtitle conversion configurable #160

Closed

Description

@PhilJFry

It seems like all SRT plain text subtitles in a source file are transformed to SSA, which is not widely supported by home electronics players. While I acknowledge the advantages of SSA over SRT, I would prefer having the choice.

I suggest adding a configuration option in the preferences, whether or not to transform subtitles to SSA.

Activity

  1. bradleysepos commented on Apr 22, 2016

    @bradleysepos
    Contributor

    At the moment, all soft subs are transformed to SSA internally. This will likely not change; however, converting back to SRT or other formats is possible in the future. Patches welcome.

  2. added this to the Unscheduled milestone on Dec 29, 2016
  3. petr-ujezdsky commented on Dec 1, 2017

    @petr-ujezdsky

    I have been reencoding majority of my video collection to High@L4 because my TV does not support any better (eg. High@L5). Then I have been fiddling with missing subtitles for hours just to find out that they have been converted from SRT to SSA that the TV also does not support :(

    I would not call this "SRT Passthru" as you state in
    https://handbrake.fr/docs/en/latest/advanced/subtitles.html
    because you are actually transforming them into another (less supported) format. Even though you say that in the description.

    Is there any chance this would move up in your ladder of TODOs? :) I would assume the passthru would be easier to implement since you do nothing with the file...

    Thanks in advance.

  4. bradleysepos commented on Dec 2, 2017

    @bradleysepos
    Contributor

    Sorry for any confusion. The (draft, from the old wiki) documentation article does state that SRT is converted to SSA, but we don’t make that very clear elsewhere.

    Anyway, SRT is fun to deal with because pretty much no SRT adheres to the basic standard that exists. So even your TV saying it supports SRT isn’t enough for us to know what specific formatting and character encoding it would require. It’s a bit of a mess, like playing Whack-A-Mole.

    Anyway, still leaving this open as a possible future enhancement. Patches welcome.

  5. sneaker2 commented on Jan 26, 2018

    @sneaker2

    So even your TV saying it supports SRT isn’t enough for us to know what specific formatting and character encoding it would require.

    Text character encoding in Matroska is always UTF-8. All other encodings are forbidden by the spec.

  6. petr-ujezdsky commented on Jan 26, 2018

    @petr-ujezdsky

    SRT is fun to deal with because pretty much no SRT adheres to the basic standard that exists

    Another reason to make the SRT-passthrough. You won't deal with it at all then :)

  7. sakis14 commented on Jan 26, 2018

    @sakis14

    This is a joke!
    The developers are either lying or they are not telling us something.
    OP, I am using VidCoder, what you ask for was already a feature on older versions of the program but they removed it afterwards.

  8. sr55 commented on Jan 26, 2018

    @sr55
    Contributor

    Yes, this was a deliberate change as we have already stated ...

    If you want to see the old behaviour, either use an old version of the software or contribute or wait until someone contributes a patch to make it configurable.

    If you want to continue with this bad attitude, feel free to leave.

  9. sakis14 commented on Jan 26, 2018

    @sakis14

    I am sorry if you feel offended by this but I downloaded the newest version of VidCoder and I lost 2 hours of my life trying to figure out what was going on. It was frustration, nothing more. I rolled back to the previous version I was using and everything went back to normal. SRT support was there.

    And correct me if I am wrong, I looked up at least 15 change logs and I never saw anything about this deliberate change. No mention of this on this thread too. You just told so.

  10. jstebbins commented on Jan 26, 2018

    @jstebbins
    Contributor

    I lost 2 hours of my life

    🎻 Collectively, the HandBrake developers have "lost" tens of thousands of hours of their life in order to make this software available to you. So sorry if I have no sympathy. It's a good thing we do this more for ourselves than for others. Sometimes I think we should just keep our software private and spare ourselves the abuse users like you throw our way.

    If you don't like something, be civil and say so. If a developer has time and interest, they may do something about it. Often, none of us has the time. HandBrake is a hobby and we all have regular jobs and lives outside of HandBrake that take higher priority.

    Being rude is a sure way to be sure that nobody will be interested in your problem.

  11. gpuberos commented on Sep 19, 2019

    @gpuberos

    I hope that one day developers will integrate this option into the software. Because Smart TV currently has a real problem with ASS support.

  12. 35 remaining items

  13. feahnor commented on Jan 10, 2024

    @feahnor

    HandBrake is not an ffmpeg front-end. We have our own engine which works along-side many 3rd party libraries, including libavformat/codec among others. Bit more complicated than just a "flag" and not a 5 minute task but nothing massively difficult.

    So has no one had the time to implement this in 8 years? You already do pgs passthrough, the lines of code are already there, just need to adapt them to srt.

    I want to use handbrake, I love it, but changing the srt subs to ssa makes all my files transcode on Plex. I’ve started using staxrip because of that, but I hate the interface, handbrake is so good that I don’t understand why go all the way out to convert something when users don’t want this behavior as it causes problems.

  14. UnidentifiedTag commented on Jan 10, 2024

    @UnidentifiedTag

    Just to be clear to the developer team watching, no one is angry with you, the users here are frustrated. if it wasn't for the few of us, like me and @feahnor you wouldn't hear about it or see it. people just wouldn't use the program at all.

    I love HandBrake, it makes unusable files useable on devices that wouldn't have supported the original format, and to me that's what HandBrake is all about. it's got most video encoding formats done (you just need to allow passthrough there too) it's got most if not all audio formats done (full passthrough seems to be there) it just needs more work on subtitles and then the program will be feature complete, it's as I said frustrating...

    Edit :

    Unfortunately for me I've got to encode with what's currently been developed, which means if .srt is added for subtitles, I will also need h.264 passthrough, so that I can add the subtitles to my already made files... Can you see the knock on effect that is being caused 👍🏻

  15. bradleysepos commented on Jan 10, 2024

    @bradleysepos
    Contributor

    if it wasn't for the few of us, like me and @feahnor you wouldn't hear about it or see it

    It is misguided to think this is helping. We are fully aware, and further development depends on both priorities and available resources. Piling on badgering people won't get this done in another 8 years.

    Linking this again: #160 (comment)

    The sense of entitlement being expressed here is quite rich. 20 years of free software, folks. It could be better. The fact that it isn't doesn't give one license to behave this way.

  16. feahnor commented on Jan 10, 2024

    @feahnor

    if it wasn't for the few of us, like me and @feahnor you wouldn't hear about it or see it

    It is misguided to think this is helping. We are fully aware, and further development depends on both priorities and available resources. Piling on badgering people won't get this done in another 8 years.

    Linking this again: #160 (comment)

    The sense of entitlement being expressed here is quite rich. 20 years of free software, folks. It could be better. The fact that it isn't doesn't give one license to behave this way.

    It’s not entitlement, it’s willing to make it better because right now it does not work for many people. Making files not compatible with 99% tvs is not “working fine”.

    I’m not mad, but I guess lots of you have the privilege of being native English users with no need for subs as most of content is done in your language. Thinking this is not important shows that people have never give a thought about non English users. We need subs, and if they don’t work on tv apps there is a problem. Either subs work or I can’t watch the content as everything I get is not on my native language.

    Asking for a solution (even if I have to pay, that’s not the problem) is normal. Being told for 8 years that’s “it’s easy but we don’t care about disabling the function that converts the subs instead of just using the ffmpeg built in passthrough feature” is a bit of mocking the users.

    Please don’t tell me that passing through subtitles is harder that developing a subtitle conversion function that was not needed, not when ffmpeg has the function already in place.

  17. UnidentifiedTag commented on Jan 10, 2024

    @UnidentifiedTag

    @bradleysepos I feel required to respond to that last comment you made :

    The sense of entitlement being expressed here is quite rich. 20 years of free software, folks. It could be better. The fact that it isn't doesn't give one license to behave this way.

    Us folks don't feel entitlement to anything, I and others appreciate the work the team have put in to this project, you've missed the point completely.
    Which is the whole point of handbrake, the spirit of handbrake, I quote :

    HandBrake is a open-source tool, built by volunteers, for converting video from nearly any format to a selection of modern, widely supported codecs.

    Reasons you’ll love HandBrake:

    Convert video from nearly any format
    Free and Open Source
    Multi-Platform (Windows, Mac and Linux)

    Let's focus "video from nearly any format to a selection of modern, widely supported codecs."

    .ass or SSA. Is not modern or widely supported

  18. bradleysepos commented on Jan 10, 2024

    @bradleysepos
    Contributor

    Sigh.

    Again, much misunderstanding about HandBrake's internals and the FFmpeg library in HandBrake, grossly general assumptions about devs' native languages and subtitles needs/preferences and about the user base, and literally quoting text from an article I wrote to justify an ask that is not rejected (!) but simply not yet implemented for reasons that have been communicated.

    Sorry the functionality you want isn't in HandBrake and this affects your workflow. If multimedia software development is not your area of expertise and you are unable to materially assist with development, you'll have to wait until someone else does. If anyone has a problem with this, please look up the definition of entitlement and search for information about entitlement in open source software.

    And no, this issue is not the place to discuss/debate those topics. This issue, which is still marked Patch / Help Welcome, remains open (for now) so people can help in material ways, such as development discussion, testing feedback, etc. So thanks for the input, please be reasonable, and definitely quit while you're ahead.

  19. Rumourd commented on Jan 10, 2024

    @Rumourd
  20. Informationator commented on Jan 10, 2024

    @Informationator

    I know this isn't intended to be a discussion thread, so I'll try not to be too longwinded, but you guys would be my hero if you put this one at the top of your priority list. I can understand how the frustrations expressed here would make you want to put it at the bottom, but if the effort isn't too large, and one of the devs would be willing to pause something they're working on for a bit to knock this out, I know we'd all be extremely grateful.

    I've spent hours and hours in MKVtoolnix just adding SRTs back in to replace converted SSA subs over the last few years. almost 200 movies and many full TV series. It's such a slog to have to do all of that manual work on the tail end just to put things back the way they were before Handbrake processed them. It's not that hard to alter things onesy-twosy, but when you're dealing with the volume of media I am, it really adds up.

    All that said, I never think we "deserve" anything, least of all from volunteer devs. I'm just saying that if one of you has the technical capability to make this change, and you make fixing this a priority in response to the community... You'd be a legend. I would personally be extremely grateful because you would be saving me hours and hours and hours of work that's still ahead, and multiplied across your entire userbase, well, I can't even imagine the time saved. Thanks for reading.

  21. kwambono commented on Jan 10, 2024

    @kwambono

    I've spent hours and hours in MKVtoolnix just adding SRTs back in to replace converted SSA subs over the last few years. almost 200 movies and many full TV series. It's such a slog to have to do all of that manual work on the tail end just to put things back the way they were before Handbrake processed them.

    lol, I can SO relate to this as someone who loves foreign language movies a lot more than hollywood fare :) and who made his own subtitle font just because...(wish I could use it on apple tv tho)

  22. locked as off topic and limited conversation to collaborators on Jan 10, 2024
  23. sr55 commented on Jan 10, 2024

    @sr55
    Contributor

    Locking this thread to contributors only. Votes and voicing the same concerns repeatability do not build patches unfortunately.

    To be clear to anyone reading this:

    • Yes we know the current implementation is annoying to many of you.
    • This is an Accepted Feature Request to make this behaviour configurable.
    • No one has volunteered to implement it yet. If you are a developer and interested in implementing it, please contact us and we can point you in the right direction to submit a Pull Request.
  24. modified the milestones: Unscheduled , 1.10.0 on May 13, 2025
  25. galad87 commented on May 13, 2025

    @galad87
    Contributor

    1.10 will convert from the internal SSA representation back to SubRip/UTF-8.

    Try a snapshot: https://github.com/HandBrake/HandBrake-snapshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions