Show HN: A retrainable subtitle synchronizer you can now build your own
subaligner.readthedocs.io
subaligner.readthedocs.io
Unsynched subtitles are hell. I don't know how Kodi knows that a subtitle in open subtitle is "synched". Looks like magic to me.
Subaligner does respect the original frame rate. How the player is going to interpret the subtitle timecode is hard to know though.
I have some Korean TV DVDs with Japanese subtitles I was trying to use as a guide for adding in US subtitles that came from a different source. I assumed that aside from commercial break timings (one break in the middle) and start/end gaps they should be the same, but my results automating based on timing clusters didn't work too well. Some subtitles were split into multiple segments, sometimes grunts or ambient noise had subtitles, etc.
I might try this out.
That makes me wonder how much of the work is being done by aeneas vs. your own model. If parts of the audio are in a low voice or noisy (which tends to cause aeneas to slip) will subaligner be able to fix that?
What I know is Aeneas is using DWT which does not guarantee triangle inequality and for low voice or noise, DNN can handle those better with good enough model capacity.
1. https://www.imdb.com/title/tt0118767/ (pretty cool movie)
EDIT: Here's how it's done: https://github.com/kaegi/alass/blob/master/documentation/sli...
Feeding it an mp3 might "just work".
Here is how to retrain the model from your own data:
https://subaligner.readthedocs.io/en/latest/advanced_usage.h...