title: Ubuntu ffmpeg watermark position
body: <p>so I have command:</p>
  
  <pre><code>ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10 -codec:a copy moved/video_test.mp4
  </code></pre>
  
  <p>which should describe watermark position on bottom right but the watermark appears on the bottom center. what i'm doing wrong?</p>
  
  <p>also I tried this command:</p>
  
  <pre><code>ffmpeg -i prepared/video.mp4 -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" moved/output.mp4
  </code></pre>
  
  <p>but with it watermark was not added, video was corrupted becouse of response:</p>
  
  <blockquote>
    <p>[aac @ 0x3556540] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.</p>
  </blockquote>
  
  <p>where is the clue?</p>