Wednesday, May 9, 2012

Convert a video to black and white on Ubuntu

Convert a video to black and white on Ubuntu 


First: Install MPlayer 
sudo apt-get install mplayer libxine-extracodecs

If you can not install libxine-extracodecs, skip it. 

Then: Convert your video 
mencoder color-video.avi -o black-white-video.avi -vf hue=0:0 -oac copy -ovc lavc
or 
mencoder color-video.avi -o black-white-video.avi -vf hue=0:0 -oac pcm -ovc lavc

Good luck:)