Jump to content

Simplify ass/ssa subtitles.


Recommended Posts

cnieuweboer
Posted

I've had some issues with ass/ssa subtitles overloading my tv cpu. In particular some karaoke timing in anime subtitles have thousands of subtitle changes for just an opening song. And recently I've watched an anime show that had all sorts of complicated vector drawings in its subtitles (stat boxes in a litrpg), causing massive stutters. Batch converting ass to srt is pretty easy, but that also loses the nice static formatting that isn't causing issues.

So I (Sol/Astra LLM) made some scripts to try improve that. Text is made static, while still keeping as much of its formatting as possible. On the high end, some if the subtitles (files when extracted) went from 14MB to 40kB. This complete fixed any karaoke stutter.

There is also a "partial" mode that attempts to keep some of the vector drawings, but still simplifies those as much as possible. Vector drawings still cause some small stutters on my tv, but nothing major. But I don't have enough shows with vector drawings in its subtitles to fully test that.

https://github.com/cnieuweboer/Simplify-ass-subtitles

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...