title: How to scale overlay image in ffmpeg
body: <p>How can I scale down the overlay image to <code>scale=320:240</code> in ffmpeg?
  Wherever I try to place the scale command, i don't get the results.
  Here is the command I am using, but it is actually stretching the image:</p>
  
  <pre><code>ffmpeg -i video.mp4 -i image.jpg -b:v 1M -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: text='Test Text': x=1: y=1: fontsize=30" output.mp4
  </code></pre>