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

Add support for linear correction #64

Closed
Jacalz opened this issue Apr 13, 2022 · 2 comments
Closed

Add support for linear correction #64

Jacalz opened this issue Apr 13, 2022 · 2 comments

Comments

@Jacalz
Copy link

Jacalz commented Apr 13, 2022

One common operation on subtitles is to apply a linear correction to fix various sync issues. This basically means that you change one time in the beginning and one in the end and it then recalculates all subtitles in between in a linear fashion.

An example of this could be the linear correction of https://subshifter.bitsnbites.eu/.

@Jacalz Jacalz changed the title Add support for linser correction Add support for linear correction Apr 13, 2022
@asticode
Copy link
Owner

@Jacalz I've added linear correction to the project. You can either use it in your code with s.ApplyLinearCorrection() or with the CLI with apply-linear-correction. Check out the README for more info and let me know whether this works properly 👍

@Jacalz
Copy link
Author

Jacalz commented Apr 17, 2022

It seems to work as expected. Thanks a lot :)

@Jacalz Jacalz closed this as completed Apr 17, 2022
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

2 participants