2 ms·
I recently ran across a similar tool for aligning subtitles based on a reference subtitle file called aligner: https://github.com/kaegi/aligner https://github.
by boolemancer 8y ago
I recently ran across a similar tool for aligning subtitles based on a reference subtitle file called aligner:
https://github.com/kaegi/aligner https://github.com/kaegi/aligner
It seemed to work pretty well in my testing. Maybe it could be useful to look at?
- smacke 8y agoThis 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.