title: How to add a fade in within overlay with FFMPEG ?
body: <p>I'm wondering how to add the option "fade in" in the -filter_complex 'overlay'.</p>
  
  <p>The basic overlay </p>
  
  <p><code>ffmpeg -i movie.mp4 -i image.jpg -c:v libx264 -filter_complex 'overlay=x=main_w-overlay_w-100:y=main_h-overlay_h-100' output.mp4</code></p>
  
  <p>Does the image.jpg fade=in should be in filter_complex like this ?</p>
  
  <p><code>ffmpeg -i movie.mp4 -i image.jpg -c:v libx264 -filter_complex 'fade=in:st=0:d=5:alpha=1, overlay=x=main_w-overlay_w-100:y=main_h-overlay_h-100' output.mp4</code></p>
  
  <p>Thanks a lot for your help on the construction of the -filter_complex parameter ! </p>