for i in *.flv; do ffmpeg -an -y -t 00:00:04 -i "$i" -f image2 "`echo $i |sed 's/.flv$/.jpg/'`" ;done