title: FFMPEG, the penultimate image from the .txt file doesn't show in the video
body: <p>I'm trying to create a video from the images using <code>ffmeg</code>. Actually, the creating of the video works but there is a small problem. I have a text file with the names of the images (paths) which I'm using in the video. The file looks like this</p>
  
  <pre><code>file 'image1.jpg'
  file 'image2.jpg'
  file 'image3.jpg'
  file 'image4.jpg'
  file 'image5.jpg'
  </code></pre>
  
  <p>And the ffmeg command is following </p>
  
  <pre><code>ffmpeg -y -r 1/5 -f concat -safe 0 -i imagenames.txt -i some_audio.mp3 -c:v libx264 -vf fps=30 -pix_fmt yuv420p -t 30 output.mp4
  </code></pre>
  
  <p>This video should keep the frame on every image for 5 seconds. But the problem is the penultimate image <code>( image4 in this case )</code> is not being shown in the video. So, it keeps on <code>image3</code> 10 seconds and moves to <code>image5</code></p>
  
  <p>So, the video in seconds looks like this </p>
  
  <p><code>[image1] -&gt; [image2] -&gt; [image3] -&gt; [image4] -&gt; [image5]
     5sec        5sec       10sec        0sec        5sec
  </code></p>
  
  <p>And the problem is not with the <code>image4</code> exactly. In case of swapping <code>image3</code> and <code>image4</code>, the video will skip <code>image3</code></p>
  
  <p><code>[image1] -&gt; [image2] -&gt; [image4] -&gt; [image3] -&gt; [image5]
     5sec        5sec       10sec        0sec        5sec
  </code></p>
  
  <p>Hope you'll have any suggestions to fix this issue</p>