Output now as JPG

This commit is contained in:
Jan Jastrow 2022-01-19 21:27:18 +01:00
parent fbc2d465b9
commit 9092d1a4d5
1 changed files with 1 additions and 1 deletions

View File

@ -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