I've competed in Google Code-In and I spotted a neat task from CCExtractor.
Task's title was "How can we identify movies based on scenes in them?" and I'm going to answer that question.
The first thing that came to my mind was to split a video into frames using FFmpeg. After splitting we perhaps could test our input against those frames.
But that's a disastrous idea!