From: Paul Hänsch Date: Thu, 10 Jun 2021 09:47:07 +0000 (+0200) Subject: Merge branch 'master' of plutz.net:serve0 X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=f0ba12b311bf4442362343ef3f9e597d046f1803;hp=806c903b00c6315cef240b6add167c477e7d0871;p=serve0 Merge branch 'master' of plutz.net:serve0 --- diff --git a/thumbnail.sh b/thumbnail.sh index 5575c37..8698627 100644 --- a/thumbnail.sh +++ b/thumbnail.sh @@ -30,10 +30,11 @@ gen_thumb(){ | mplayer -input nodefault-bindings -nosound -benchmark \ -noconfig all -really-quiet \ -vf expand=:::::16/9,scale=320:-2,tile=10:1:10:0:0 \ - -vo jpeg:quality=85:outdir="${tmp}"\ + -vo jpeg:quality=100:outdir="${tmp}"\ "mf://$tmp/_*.jpg" 2>&- - mv "${tmp}/00000001.jpg" "$thumb" + #mv "${tmp}/00000001.jpg" "$thumb" + convert "${tmp}/00000001.jpg" -interlace line -quality 85 "$thumb" rm -r "${tmp}" fi }