Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I’m trying to create a png black background with text in center using ffmpeg I left an image example from Canva. Please someone help by giving command line/parameters example for 1080p and 4K?
ffmpeg -lavfi "color=black:1920x1080, drawtext=text='Example' :fontsize=h/8 :fontcolor=white :x=(w-tw)/2 :y=(h-th)/2" -frames 1 out.png
3840×2160
.