title: How to scale and position watermark to scale?
body: <p>I'm scaling a video and applying a watermark like so:</p>
  
  <pre><code>ffmpeg -ss 0:0:0.000 -i video.mp4 -y -an -t 0:0:10.000
   -vf \"[in]scale=400:316[middle]\" -b:v 2000k -r 20
   -vf 'movie=watermark.png,pad=400:316:0:0:0x00000000 [watermark];[middle] [watermark]overlay=0:0[out]'
   out.flv
  </code></pre>
  
  <p>However, the applied watermark seems to be scaled to the original video size rather than the smaller scaled video size.</p>
  
  <p>This command line worked on ffmpeg version <code>0.8.6.git</code> and now behaves differently after an upgrade to version <code>N-52381-g2288c77</code>.</p>
  
  <p>How do I get it to work again?</p>
  
  <p><hr>
  <strong>Update 2013-04-26:</strong><br>
  I now have tried to use the overlay filter's X and Y parameters instead of padding without success.</p>