Thanks Moritz/Carl. I’ve got something working using the select method and 
vsync:






ffmpeg -i example.mov -f image2 -vsync vfr -vf "select='not(mod(n,17)')" 
-vframes 10 preview-%d.jpeg




round(number of frames in video/number of frames wanted) = 168/10 = 17




I also added the vframes setting to limit the number of frames, because due to 
rounding we might sometimes generate one more frame. I feel like I have a lot 
more to learn :)
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to