sudo apt-get install libavfilter-dev libavfilter-extra libavfilter-extra6
ffmpeg -i 2019-03-06_0700.avi -ss 00:04:20 -t 00:04:40 -async 1 2019-03-06_0700-cut.avi
ffmpeg -i cut.avi -vf "select='gt(scene,0.02)',showinfo" -vsync 0 frames/%05d.jpg -f null /dev/null
v3.2.4
https://www.videohelp.com/software/ffmpeg/old-versions