varg-gif-repsonse #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: adam/discord-bot-shtik#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
joe loves his varg gif, right?
imgur has repost-detection bot, which used a pretty simple idea: grab image, crush to grayscale, crush to very low res, checksum.
for video, that could be done for every frame. joe's favorite gif is 56 frames, right?
grab gif. Split frames. If frames < some threshold, like 500, continue.
checksum each frame.
if majority of checksums match a known varg-gif's checksums, mostly in the same order (*), probably same image. Respond with snark.
should I collect known varg gifs?
should I recalculate gifs? I could use ffmpeg to change its framerate:
ffmpeg -i ./vargvikerness-smile.gif -filter:v fps=fps=5 varg.gif
. don't ask me how this actually doubled the file size.