title: Optimized images with FFmpeg?
body: <p>Google PageSpeed recommends the images on my web page could be optimized. The lossless compression would save an average of 11%, however my images are created with the following FFmpeg command:</p>
  
  <pre><code>ffmpeg -i '$video_path' -vcodec mjpeg -vframes 1 -an -f rawvideo -ss 00:00:20 -s 145*108 $thumb_image
  </code></pre>
  
  <p>Is there a way I can optimize these images?</p>