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