title: Rotate text in ffmpeg
body: <pre><code>ffmpeg -y -i test.png -i test.mp4 -filter_complex &quot;[1:v]scale=1152:648,rotate=0:c=black@0:ow=rotw(0):oh=roth(0)[rotate0];[0:v][rotate0]overlay=304.2:172.29,drawtext=fontfile=test.ttf:text='hi text':fontsize=40:fontcolor=white:x=426.05:y=852.04,format=yuv420p&quot; est.mp4
  </code></pre>
  <p>Above is the command for drawing text in mp4 video, but if in the case if need to apply to rotate for text, I should I do. Can anyone help me with command?</p>