Creates a montage grid of frames from a video file with frame and time offset labels to help give a basic summary of the video file contents.
WARNING: This is an extremely kludgy tool that makes a real mess but tries to clean up afterward. If you stop it mid-process you might have a bunch of .png files to clean up. This is seriously janky and will probably be unhappy with small files with large grid sizes.
There are ABSOLUTELY better ways to do this, but it works "good enough" for my purposes. (You know how that goes.) I will likely circle back at some point and make further improvements. 🤞
Usage: extract-grid-overview.py [options] input-video.mkv output-montage.png
--cols
and--rows
let you specify the dimensions of the output grid--no-labels
removes the frame information labels
ffmpeg
(includingffprobe
)- imagemagick (with included
convert
andmontage
)