title: Overlay image on video using ffmpeg with adjustable png image
body: <p>My png image is a birthday frame and I want to place it exactly on top of video with all corners of video and image overlap. 
  I have attached image of my output.</p>
  
  <p><a href="https://i.stack.imgur.com/tnpG3m.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tnpG3m.jpg" alt="The output i am getting is this"></a></p>
  
  <p>This is the command i am using-</p>
  
  <pre><code>String[] cmd = new String[]{ "-i", slideVid, "-i", sdPath, "-filter_complex", "overlay=0:main_w-overlay_w", outputFile.getPath()};
  </code></pre>
  
  <p>Please help !!</p>