command line – Ffmpeg image parameter for YouTube

I forgot to mention is there any image png command equivalent to parameter below?

ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv

I’m using this command to create png image

ffmpeg -lavfi “color=black:1920×1080, drawtext=text=”Example” :fontsize=h/8 :fontcolor=white :x=(w-tw)/2 :y=(h-th)/2″ -frames 1 -crf 18 out.png

Is there a way to create png image with command above to make equivalent to match this command below? It’s for YouTube.

ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv

Read more here: Source link