Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple subtitles to be processed #40

Open
qgustavor opened this issue Sep 28, 2020 · 1 comment
Open

Allow multiple subtitles to be processed #40

qgustavor opened this issue Sep 28, 2020 · 1 comment

Comments

@qgustavor
Copy link

Currently I'm running Sushi for every subtitle separately, by doing so it wastes time redoing most of processing. By allowing multiple subtitles to be processed it can improve performance when working with multiple subtitles timed to the same source.

Interacting thought every script inputted is a way of implementing it, but I think it's better splitting shift calculation from event remapping into two separate functions/commands: the first working only with the audio files and the second taking the result of the first function and a script, then doing the event remapping. I think it would make the code easier to understand and maintain as, currently, run handles a lot of things.

@qgustavor
Copy link
Author

Since I posted the comment above I have been working on an alternative way to synchronize videos using audio. In August I published Douki. The main difference with Sushi is that Douki, instead of comparing a lot of audio data, it compresses the audio data into fingerprints then compare the fingerprints, improving performance.

It's still a work in progress and is nowhere as close as Sushi. At the moment I've been using mostly to synchronize song translations to episodes: there's a function that generates fingerprints from a media file and a second function that takes those fingerprints and matches against a second media file and synchronizes one or more subtitles files based on those matches. I tried using it to synchronize full episodes (like TV vs. BD releases), but at the moment it don't works well, the matching algorithm needs improvements.

I hope it can serve as an inspiration for Sushi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant