(FFmpeg) How to Convert a Video to Black and White?

Turning a video to black and white is also accomplished by using the hue filter. 

Figure 58.0: black and white video

Setting the saturation value to 0 results in a black and white video, as seen in figure 58.0:

$ ffmpeg -i input.mp4 -vf "hue=s=0" output.mp4 

Challenge: In addition to changing the video to black and white, add a grain filter to make the video look vintage.

Love FFmpeg? Grab a copy of FFmpeg For Beginners on Kindle or Paperback to learn over 120 ways to master FFmpeg!

buy now on amazon

Related Posts