Skip to main content

Detect identical & black frame in video with ffmpeg?

Thumbnail creation is a very needed feature for any social networking site. Obviously, ffmpeg is the ideal solution for generating thumbnail.

Problem-1: Detecting identical thumbnails


Fortunately, we have a good solution--libpuzzle. It would be ideal to have a filter in ffmpeg for that.

Problem-2: Detecting black/dark frames


I'm still keenly looking for a solution tied up with ffmpeg. When Google turned no help, Heleena (my wife) solved it by calculating average luminance value of the frame and ignoring the frames based on certain preset threshold value--which worked better at that time.

Comments

Popular posts from this blog

Zac Brown Band rocks...

When I was doing UG, my super-senior friend Ronald introduced me to MLTR and I was totally taken away by the music then. About 15-years later, I'm feeling same ecstasy when listening to Zac Brown Band 's Whatever It Is and Highway 20 Ride . The voice and music are amazingly cool.

HRM systems diagnostic checklists

For last couple of days, I have tried to get overall idea about appraisal system in other companies and materials about appraisals. While checking, I came across an interesting checklist and warning indicators : Your organization is more than likely in trouble if any of the following holds true: chronic industrial relations problems no means of resolving employee grievances increasing / erratic employee turnover increasing number of customer complaints no pride in the organization inter-group conflicts no career paths for ambitious talented employees dissatisfaction with pay and conditions unclear job roles no clear performance measures quality is unimportant bad product service / delivery records poor recruitment standards / practices no management development programs no induction training for new employees critical skill shortages inter-departmental conflict you do not know if any of the above are applicable you ignore any of the above