From 9092d1a4d59f2a17290846f3203f3296f147060c Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 19 Jan 2022 21:27:18 +0100 Subject: [PATCH] Output now as JPG --- vithumbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vithumbs.sh b/vithumbs.sh index f5d6f3c..4261408 100755 --- a/vithumbs.sh +++ b/vithumbs.sh @@ -80,7 +80,7 @@ finalheight=$(echo "$scaledheight+$METADATA_PX" | bc) # Add Metadata ffmpeg -f lavfi -i color=0x282828:${SIZE}x${finalheight} -i ${TMPDIR}tiled_resized.png \ -filter_complex "[0:v][1:v] overlay=0:$METADATA_PX,drawtext=$FONT:fontsize=20:fontcolor=0xEEEEEE:line_spacing=5:x=12:y=12:textfile=${TMPDIR}metadata.txt" \ --vframes 1 "${INPUT}_vithumbs.png" +-vframes 1 -q:v 2 "${INPUT}_vithumbs.jpg" # Clean tempfiles rm -r $TMPDIR \ No newline at end of file