title: VLC freezes for low 1 FPS video created from images with ffmpeg
body: <p>I am creating a short video from a sequence of 100 images using ffmpeg. There are several articles that helped me put together a command, but the one I'm using is directly taken from <a href="https://stackoverflow.com/questions/7468274/ffmpeg-images-to-video-script-anyone">ffmpeg images-to-video script anyone?</a>.</p>
  
  <p>The following command produces a video file that plays well in all video players I have (OS X).</p>
  
  <pre><code>cat input/*.jpg | ffmpeg -f image2pipe -r 10 -vcodec mjpeg -i - out.mp4
  </code></pre>
  
  <p>But if I change it to,</p>
  
  <pre><code>cat input/*.jpg | ffmpeg -f image2pipe -r 1 -vcodec mjpeg -i - out.mp4
  </code></pre>
  
  <p>It plays well in all <em>but</em> VLC media player. VLC displays the initial 1 to 3 images, then just freezes on the frame. I've tested a few different frame rates, and it seems the cutoff that breaks the video playback in VLC lies somewhere between 1.125 and 1.175.</p>
  
  <p>Any advice on what I'm dealing with here would be much appreciated.</p>