Skip to content

Instantly share code, notes, and snippets.

@infowanderer
infowanderer / thumbnails.sh
Created October 31, 2025 16:19 — forked from zmwangx/thumbnails.sh
Script to generate thumbnails of a video and combine into one tile image. Uses FFmpeg and ImageMagick.
#!/bin/zsh
# Script to generate thumbnails of a video and combine into one tile image.
#
# CAUTION:
# FFprobe might fail to extract duration info from a MKV container. Use
# ffmpeg -i video.mkv -c:v copy -c:a copy video.mp4
# to swap to an MP4 container.
#
# Dependencies:
# 1. ffmpeg