I am working at a time lapse program that invokes ffmpeg via system() to encode a video from a sequence of JPGs. The user can chose a few options, including the compression codec. I am getting very good results when using libx264 and the mjpeg encoder. I am getting so and so results with VP9, and I am getting some horrible results with VP8.
I am invoking ffmpeg like so: ffmpeg.exe -framerate 12 -i "./output/img_%05d.jpg" -dst_range 1 -color_range 2 -c:v libvpx -b:v 0 -threads 8 -speed 2 -crf 8 "./output/video.webm"
I uploaded a sample to youtube: https://www.youtube.com/watch?v=eG2jxzR3Uxs (you can see the really bad frames after the 9 seconds mark.
Any idea what I am doing wrong?