commonsmachinery / blockhash

blockhash.io
MIT License
86 stars 28 forks source link

Video hash ffmpeg #15

Closed IvanPizhenko closed 8 years ago

IvanPizhenko commented 8 years ago

There is my ffmpeg version of the video block hash. I've started with my libopencv-based version and remade it into ffmpeg, preserving common parts, like options parsing. I've also added 3 short videos that I've made on my phone in order to test this. I've resized them from 1280720 to 640360 with AviDemux in order to reduce size. Also I've tried this one https://www.youtube.com/watch?v=EUHcNeg_e9g from YouTube doenloaded with 360p quality. It required a special trick to count frames, as long as frame count was not available in the video stream.