ffmpeg -y -i 5th-A3-1.jpg \
  -vf "drawbox=3000:2240:1480:120:color=red:t=6" \
  -frames:v 1 preview.jpg


#ffmpeg -y -i 5th-A3-1.jpg -vf "delogo=x=3000:y=2200:w=1600:h=150:show=1" -frames:v 1 preview.jpg

ffmpeg -y -i 5th-A3-1.jpg -vf "delogo=x=3000:y=2240:w=1480:h=120:show=0" -frames:v 1 output.jpg


ffmpeg -y -i output.jpg -vf "drawtext=fontfile='../fonts/Bebas_Neue/BebasNeue-Regular.ttf':\
text='ROSE ASH VILLAGE HALL':fontcolor=white:fontsize=250:x=2850:y=2000:\
borderw=2:bordercolor=white@0.25" -frames:v 1 a3-out.jpg


ffmpeg -y -i a3-out.jpg -vf "drawtext=fontfile='../fonts/Nuninto/static/Nunito-Bold.ttf':\
text='Friday 28th November 2025':fontcolor=white:fontsize=120:x=2900:y=2250:\
borderw=2:bordercolor=white@0.25" -frames:v 1 a3-out-1.jpg

ffmpeg -y -i a3-out-1.jpg -vf "drawtext=fontfile='../fonts/Nuninto/static/Nunito-Bold.ttf':\
text='£10 on the door or in advance':fontcolor=white:fontsize=75:x=3200:y=2450:\
borderw=2:bordercolor=white@0.25" -frames:v 1 a3-out-2.jpg


ffmpeg -y -i a3-out-2.jpg -vf "drawtext=fontfile='../fonts/Nuninto/static/Nunito-Bold.ttf':\
text='Doors open 7pm; play starts 7.30':fontcolor=white:fontsize=50:x=3350:y=3100:\
borderw=2:bordercolor=white@0.25" -frames:v 1 a3-out-3.jpg


ffmpeg -y -i a3-out-3.jpg -vf "drawtext=fontfile='../fonts/Nuninto/static/Nunito-Bold.ttf':\
text='https\://rose-ash.com':fontcolor=white:fontsize=90:x=100:y=3300:\
borderw=2:bordercolor=white@0.25" -frames:v 1 5th-final.jpg


rm a3-out*.jpg
rm preview.jpg
rm output.jpg
