Movie Barcode generator

Generate a picture from a movie by taking one frame every second condensed into a line.

I got the idea from a picture in a Reddit post, and I thought to myself that I might be able to create on of those. It was only after I did, and began writing up this post, that I found, there exist dozens of implementations out there. It was still fun though, and I learned a bit along the way.

I identified three steps:

  1. Extract frames from movie file
  2. Make a stripe from frame
  3. Concatenate stripes into new image.

Image manipulation is not my daily business, so I had to google. Stackoverflow pointed to OpenCV.