From c12f3efa0a6c3d2f72c51e7e80c88000fd26760c Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 2 Jan 2025 14:15:12 -0700 Subject: [PATCH] flip both ways so small letters don't look weird, take arg in --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index d290553..75a1493 100755 --- a/run.sh +++ b/run.sh @@ -7,7 +7,7 @@ Y=70 convert \ -background none -fill black \ -pointsize 60 -size ${X}x${Y} -gravity center \ - label:123456 mask.png + label:$1 mask.png # Create large static image convert -size 2000x${Y} canvas: +noise Random -monochrome -alpha off background.png @@ -16,7 +16,7 @@ convert -size 2000x${Y} canvas: +noise Random -monochrome -alpha off background. ffmpeg -loglevel error -hide_banner -y -framerate 60 -loop true -t 10 -i background.png -i mask.png \ -filter_complex " [0] crop=x=n:w=${X}:h=${Y},split[bg][a]; - [a] hflip [flip]; + [a] hflip,vflip [flip]; [1] alphaextract [mask]; [flip][mask] alphamerge [text]; [bg][text] overlay"\