pictures, represented by thumbnails on the index page, to save
bandwidth of viewers who may or may not be interested in large, slow
to download images.
Some of us also like to make short videos of things.
Thumbnails of images can be made easily with ImageMagick.
I wrote a simple shell script to make "thumbnails" of video movies, by
means of creating animated gifs.
Example of such page with "movie thumbnail" is here:
formatting link
The shell script to make a "video thumbnail" is appended at the bottom.
Essentially it extracts a 10 images from a video, separated by 1
second interval, resizes them to 20% of original, and collates them
into an animated gif.
This script requires mplayer, transcode and ImageMagick, all standard
components of Linux distributions.
======================================================================
#!/bin/sh
VIDEO=$1
GIF=$2
transcode -o ./-xxxx -x mplayer -y jpg -i $VIDEO --frame_interval 24 -c 1-241
convert -geometry 20\%x20\% ./-xxxx*.jpg $GIF
rm ./-xxxx*