· 118 words · 1 minute read

Old style cat-movie

In the last post I wrote about creating a movie from a series of images. Here’s a taste of what that looks like 😸

The photos were taken in burst-mode. I used FFMPEG to convert to grayscale, scale down to 420p and dimmed the contrast a little (so the image lights up a bit).

ffmpeg -r 10 -pattern_type glob -i "*.JPG" -vcodec libx265 -vf "scale=-1:420, format=gray, eq=contrast=0.8" -tag:v hvc1 -preset veryslow -crf 28 -an -pix_fmt yuv420p poezenfilmpje_gray_scaled_vs_fps10_eq_nob.mp4

With this, 1,18GB of JPG-images get compressed into a 665KB movie. Impressive.

I also tried:

  • different presets (ultrafast: smaller filesize, but looks much worse)
  • different framerates (10fps worked best)
  • increase brightness (made it look ‘flattened’)
  • curves=strong_contrast, but made it too dark