X-Git-Url: http://git.plutz.net/?p=serve0;a=blobdiff_plain;f=thumbnail.sh;h=6117de22840d2021b4038ddc19d6f8a63550afc0;hp=bf5964a0186a8a94409bde87308cb170368691a1;hb=6db303a58d32c5b168c3ad4e1c3bc9bf79e50816;hpb=002edf53da30cfd378a6ffca3ae2794361670090 diff --git a/thumbnail.sh b/thumbnail.sh index bf5964a..6117de2 100644 --- a/thumbnail.sh +++ b/thumbnail.sh @@ -25,15 +25,15 @@ __EOF -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"