Ex Machina: Averaged Key-Frames



Presented above is an averaged amalgamation of all key-frames from a h264 video [Blu-ray source] of the feature film, Ex Machina (2015). It was a achieved using the "-evaluate-sequence mean" filter for "convert" in the ImageMagick software suite. To reduce memory load, the final image was created from 13 previously averaged images, each of which, averaged 50 frames. These images are included below, in the full post #.

Fundamental code snippets:
# To extract keyframes from a video using FFmpeg
ffmpeg -i video.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr frame-%08d.png

# To merge images together with ImageMagick
convert *.png -evaluate-sequence mean output.png



























Inspired by the work of Pat David: http://blog.patdavid.net/2014/06/netflix-top-50-covers-by-genre-averaged.html
related: http://oioiiooixiii.blogspot.com/search/label/Ex%20Machina
ImageMagick: http://www.imagemagick.org