title: Generate a 2-fps mp4 from images using FFMPEG
body: <p>Need to create a video from a series of images. The video needs to have a low frame rate. This is the command I use to create the video.</p>
  
  <pre><code>ffmpeg.exe -r 2 -i images/%3d.jpg -vcodec libx264 -pix_fmt yuvj420p output.mp4
  </code></pre>
  
  <p>The problem is that, while the video works just fine when played through a HTML5 video, it doesn't really work when the file is downloaded locally and played through either the Windows 10 default video player or even VLC (weirdly, the default video player works better). </p>
  
  <p>Can anyone explain why this is happening and possibly how to fix the issue? </p>