]> git.plutz.net Git - serve0/blobdiff - thumbnail.sh
yet improved display of different aspect ratios, prefer to cut away sides rather...
[serve0] / thumbnail.sh
index d1b5ff5482edfefae707cf1d19eeb50359c4f769..835175e84cbcb550cc04c94df3ddbdf8a1b3d28a 100644 (file)
@@ -29,8 +29,8 @@ gen_thumb(){
     printf '' \
     | mplayer -input nodefault-bindings -nosound -benchmark \
               -noconfig all -really-quiet \
-              -vf scale=320:-2,tile=10:1:10:0:0 \
-              -vo jpeg:quality=96:outdir="${tmp}"\
+              -vf scale=320:-2,expand=:::::16/9,tile=10:1:10:0:0 \
+              -vo jpeg:quality=85:outdir="${tmp}"\
               "mf://$tmp/_*.jpg" 2>&-
   
     mv "${tmp}/00000001.jpg" "$thumb"