title: How to force ffmpeg to use all the images in a directory?
body: <p>I have a directory of images, (*.png)s, and I am trying to make a movie out of them using ffmpeg. </p>
  
  <p>The images are named in multiple of 50, so I have: <code>images_0000.png</code>, then, <code>images_0050.png</code>, then <code>images_0100.png</code>, then <code>images_0150.png</code>, etc, all the way to <code>images_4950.png</code>, and so I have 100 images in total. </p>
  
  <p>I use the following command to make my movie:</p>
  
  <pre><code>ffmpeg -r 10 -pattern_type glob -i '*.png' -c:v libx264 movie.mp4
  </code></pre>
  
  <p>This works fine to make the movie, however when I play it, does not look like <em>every</em> image is being used. That is, if I step through frame by frame, I see that some images are not being displayed, and it looks like they were skipped. (I know because every image has it's name written on it). </p>
  
  <p>So, how do I force ffmpeg to use every image in the directory, such that every step forward in the movie, will show the corresponding image?</p>
  
  <p>Thanks. </p>
  
  <p>EDIT: Here is the complete screen dump of the command:</p>
  
  <p><a href="https://i.stack.imgur.com/5Oebf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5Oebf.png" alt="enter image description here"></a></p>