X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=helpers%2Fgenthumb.sh;h=78f53c140c472567e998140e7cc6c1f3f93e802a;hb=4d701abb3c07683924a129fd3ec8ddb895a1b537;hp=d74d250e56c4ab159907df01633ec167e3ddbc08;hpb=81a8c73b13df086c10128621766dda6ae2380528;p=serve0 diff --git a/helpers/genthumb.sh b/helpers/genthumb.sh index d74d250..78f53c1 100755 --- a/helpers/genthumb.sh +++ b/helpers/genthumb.sh @@ -23,6 +23,6 @@ if [ -e "$video" -a \! -e "$thumb" ]; then -benchmark -vf framestep=I,scale="$width":-2 -ss "$(($cnt*$chunk))" "$video" >/dev/null 2>/dev/null mv "$tmp/00000001.jpg" "${tmp}/_${cnt}.jpg" done - montage "${tmp}"/_[1234].jpg -tile 2x2+0+0 -geometry 100x75+3+3 -background '#000000' "${thumb}" + montage "${tmp}"/_[1234].jpg -tile 2x2+0+0 -geometry 100x75+3+3 -background '#000000' "${thumb}" 2>/dev/null rm -r "${tmp}" fi