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

Use fps for scoring and add skip-wrong-fps CLI option #1206

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

getzze
Copy link
Collaborator

@getzze getzze commented Feb 14, 2025

closes #748

Use FPS to score the subtitles. A matching FPS counts less than a release group match, but more than source match (or resolution and codecs.)
This will increase the score of the subtitles with the same FPS (with a relative error of 1%) as the video.

On top of that, this PR adds a skip-wrong-fps CLI option to just ignore the subtitles with a known FPS that is different from the video FPS (if it could be detected).

Also hearing_impaired is not contributing anymore to the score.
This is a breaking change as the scores of all the subtitles will change.

The only provider that provides an FPS for (some of) the subtitles is opensubtitlescom

@getzze getzze mentioned this pull request Feb 14, 2025
18 tasks
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

Successfully merging this pull request may close these issues.

Add FPS check in providers
1 participant