From: Paul Hänsch Date: Thu, 10 Jun 2021 09:46:39 +0000 (+0200) Subject: use interlaced jpeg as thumbnail X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=d615f01905cd637688b11d90f6d6122d0da466a4;p=serve0 use interlaced jpeg as thumbnail --- 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 }