-noconfig all -really-quiet \
-frames 1 -ss "$((cnt * chunk))" \
-vf "framestep=I,scale=${w}:-2" \
- -vo "jpeg:outdir=${tmp}" \
+ -vo "jpeg:quality=100:outdir=${tmp}" \
"$file" 2>&-
mv "${tmp}/00000001.jpg" "${tmp}/_${cnt}.jpg"
done
printf '' \
| mplayer -input nodefault-bindings -nosound -benchmark \
-noconfig all -really-quiet \
- -vf scale=127:-2,tile=2:2:4:0:2 \
- -vo "jpeg:quality=60:outdir=${tmp}"\
+ -vf scale=159:-2,tile=2:2:4:0:2 \
+ -vo "jpeg:quality=90:outdir=${tmp}"\
"mf://$tmp/_*.jpg" 2>&-
mv "${tmp}/00000001.jpg" "$thumb"