Solutions Log

Create thumbnails en-masse from a bash prompt

1 min read
howtoone-liner

A simple one-liner and ffmpeg, basename, and cut gets this done.

for i in *.f4v; do ffmpeg -i basename $i -s 320x240 basename $i | cut -d'.' -f1.jpg; done

Thumbnail output size is configurable with the -s switch.