]> git.plutz.net Git - serve0/commitdiff
expand before scaling for more uniform thumbnails
authorPaul Hänsch <paul@plutz.net>
Thu, 25 Mar 2021 03:08:09 +0000 (04:08 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 25 Mar 2021 03:08:09 +0000 (04:08 +0100)
thumbnail.sh

index 835175e84cbcb550cc04c94df3ddbdf8a1b3d28a..5575c3723f6e0080ff8c1ce029d9a490123683a4 100644 (file)
@@ -29,7 +29,7 @@ gen_thumb(){
     printf '' \
     | mplayer -input nodefault-bindings -nosound -benchmark \
               -noconfig all -really-quiet \
     printf '' \
     | mplayer -input nodefault-bindings -nosound -benchmark \
               -noconfig all -really-quiet \
-              -vf scale=320:-2,expand=:::::16/9,tile=10:1:10:0:0 \
+              -vf expand=:::::16/9,scale=320:-2,tile=10:1:10:0:0 \
               -vo jpeg:quality=85:outdir="${tmp}"\
               "mf://$tmp/_*.jpg" 2>&-
   
               -vo jpeg:quality=85:outdir="${tmp}"\
               "mf://$tmp/_*.jpg" 2>&-