$ ffmpeg -y -i /tmp/video.avi -s 640x480 -pix_fmt gray -vcodec rawvideo /var/tmp/video.avi
I haven't however found a means to re-encode the grayscale into an alternative codec (sigh).
Random thoughts from the 'Fat, Slow Kid'. I am a software engineer by profession, the majority of my thoughts will concern technology and my profession.
$ ffmpeg -y -i /tmp/video.avi -s 640x480 -pix_fmt gray -vcodec rawvideo /var/tmp/video.avi
site:fatslowkid.blogspot.com imagemagick
$ convert frame00000002.bmp frame00000001.bmp -compose difference -composite -threshold 0 -negate diff.bmp
$ convert frame00000002.bmp frame00000001.bmp -compose difference -composite -threshold 0 -negate - | display