#!/bin/ksh

rm thumb_*.mp4

FILES="$@"
for i in $FILES
do
        echo "Processing image $i ..."
	ffmpeg -ss 00:00:03 -i $i -s 200x150 thumb_$i.jpg
done

