How can i use multi colors in drawtext ffmpeg. for example text='NATIONAL PARK' , now i want 'NATIONAL' in blue and 'PARK' in red.
How can i do that in FFmpeg.
try this :
ffmpeg -hide_banner -i inp.jpg \
-vf "drawtext=text='BLUE':fontcolor=blue:fontsize=20:x=10:y=10:, drawtext=text='RED':fontcolor=red:fontsize=20:x=10+60+10:y=10:" \
-y out.jpg
;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With