0

I’m trying to create a png black background with text in center enter image description hereusing ffmpeg I left an image example from Canva. Please someone help by giving command line/parameters example for 1080p and 4K?

7
  • 1
    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 Commented May 17 at 1:52
  • 1
    Yup, and 4k is 3840×2160.
    – JayCravens
    Commented May 17 at 1:58
  • 1
    @БаярГончикжапов please add your answer as an Answer (and not simply as a comment) so it can be accepted and voted on Commented May 17 at 4:36
  • @EddieValentin this should be cross-platform Commented May 17 at 4:37
  • My question has been answered. Thank You Commented May 17 at 5:13

0

You must log in to answer this question.

Browse other questions tagged .