How to convert a video to black and white using ffmpeg
?
Use the hue filter if you want to desaturate:
ffmpeg -i input -vf hue=s=0 output
This is like using Colors → Saturation in the GIMP.
Use the format filter if you want to convert to grayscale format:
ffmpeg -i input -vf format=gray output
This is like using Image → Mode → Grayscale in the GIMP.
See FFmpeg convert video to Black & White with threshold?
This is like using Colors → Threshold in the GIMP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With