mirror of
https://github.com/JanJastrow/ViThumbs.git
synced 2024-11-23 07:39:56 +01:00
Output now as JPG
This commit is contained in:
parent
fbc2d465b9
commit
9092d1a4d5
@ -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
|
Loading…
Reference in New Issue
Block a user