Fix quinq-size for aspect ratio not divisable by 2. - various - Various utilities developed at bitreich. HTML git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit b83f066d501f08ecd889ac374543a7e45f2258f8 DIR parent f73345a2bafe79e034ffe3b27a1758e5482962cc HTML Author: Christoph Lohmann <20h@r-36.net> Date: Tue, 18 Oct 2022 20:07:42 +0200 Fix quinq-size for aspect ratio not divisable by 2. Diffstat: M quinq-size | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/quinq-size b/quinq-size @@ -15,7 +15,7 @@ function toquinqsize { convert "$filename" -resize 1024 "${output}"; ;; video/*) - ffmpeg -i "${filename}" -vf scale=800:-1 "${output}"; + ffmpeg -i "${filename}" -vf 'scale=w=min(iw\,800):h=-2' "${output}"; ;; esac printf "%s -> %s\n" "${filename}" "${output}";