I'm trying to draw text on a rectangle with rounded corners using ffmpeg, but my current command is not working.
Here's what I've tried:
ffmpeg -y -i ./video-ready-all.mp4 -filter_complex "drawbox=y=0:color=white@0.5:width=iw:height=40:t=max, drawbox=y=0.5*(ih-40):color=black@0.5:width=iw:height=40:t=max:round=20, drawtext=text=\'My Text Here\':fontcolor=white:fontsize=24:x=(w-tw)/2:y=(h-40-th)/2" -c:a copy ./output.mp4
Unfortunately, this gives me an error "Option 'round' not found". Does anyone have any ideas on how to draw a rectangle with rounded corners using ffmpeg and overlay text on it? Thanks in advance!
Any ideas are welcomed!