title: FFmpeg fade effects between frames
body: <p>I want to create a slideshow of my images with fade in &amp; fade out transitions between them and i am using FFmpeg fade filter. </p>
  
  <p>If I use command:</p>
  
  <pre><code>ffmpeg -i input.mp4 "fade=in:5:8" output.mp4
  </code></pre>
  
  <p>To create the output video with fade effect, then it gives output video with first 5 frames black and than images are shown with fade in effect but i want fade:in:out effect between frame change.</p>
  
  <p>How can i do that?</p>
  
  <p>Please tell a solution for Centos server because i am using FFmpeg on this server only</p>