audio – Ffmpeg image command equivalence
I need help on getting the right and equivalent command to:
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 currently using:
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
Is there image encoding command that will be equivalent to:
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
