$ 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
2 comments:
i tried
ffmpeg -i VTS_05_1.VOB -pix_fmt gray -vcodec rawvideo -f yuv4mpegpipe - | ffmpeg -y -f yuv4mpegpipe -i - -vcodec libtheora out.avi
but it creates 12K sized file.
Thanks I was trying to extract a gray, grey or black and white png sequence from a video.
ffmpeg -i ay.mov -s 500x282 -pix_fmt gray -r 15 -f image2 image%03d.png
Post a Comment