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

Fake video detection #180

Merged
merged 19 commits into from
Jun 24, 2022
Merged

Fake video detection #180

merged 19 commits into from
Jun 24, 2022

Conversation

lardbit
Copy link
Owner

@lardbit lardbit commented Feb 15, 2022

Occasionally, when downloading a newly released movies/shows, fake content gets distributed in public trackers. So far, it's a still image for the entire duration of the video advertising the user to visit a URL and presumably download malware.

This PR attempts to scan the video (using opencv) and finds similarities across all frames and then calculates a standard deviation to determine how similar the content is. If too similar content is found then the torrent will be blacklisted and retried.

Sample fake/spam frame from a video:

image

@lardbit lardbit merged commit 892e87d into master Jun 24, 2022
@lardbit lardbit deleted the fake-video-detection branch June 24, 2022 19:20
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.

1 participant