This project came up when I was researching this idea. It looks especially useful because the alignment algorithm is less restrictive (can introduce splits/breaks), so I plan on taking a closer look for sure. Given that it does not do any speech detection and requires a reference subtitles file, I'm not sure how well it would work for aligning the encoding for the speech-induced part, which will have a lot more noise. Particularly, the linked project works by aligning time intervals [a,b], while subsync is "dumber" in that it discretizes things into binary strings, and an interval constructed by merging consecutive 1's and 0's in speech detection-induced binary strings will probably be a lot harder to match to the subtitle intervals.
Either way, I also thought this was a cool project and will be thinking more about whether any ideas can be borrowed.
Super cool. This and the Python-based subtitle downloader subliminal make working with subtitles really easy. I had previously relied on incremental fudging of times using trial and error with www.sync-subtitles.com.
Comments (124) 31 threads
Earlier commentsPerhaps you can import an srt file, and have it sync'ed? or perhaps you can export the srt text and let Descript sync it and re-create an .srt file.
https://github.com/kaegi/aligner
It seemed to work pretty well in my testing. Maybe it could be useful to look at?
Either way, I also thought this was a cool project and will be thinking more about whether any ideas can be borrowed.
All comments shown.
Couldn't load more comments. Check your connection and try again.