From d615f01905cd637688b11d90f6d6122d0da466a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 10 Jun 2021 11:46:39 +0200 Subject: [PATCH] use interlaced jpeg as thumbnail --- thumbnail.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 } -- 2.39.2