[FFmpeg-user] Make white of photo transparant

Bouke / Videotoolshed bouke at videotoolshed.com
Wed Jun 29 11:05:31 EEST 2022

On 29 Jun 2022, at 01:48, Cecil Westerhof via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> The background of the photo is white. Would it be possible to make
> that transparent? (So where there is white, I do not see white, but
> the video.)

This is called Luma (or Luminance) key.

Yes, it is possible, yes, it will be ugly unless you know what you are doing, and IMHO, FFmpeg is not the tool for this.
(But someone recently mentioned a GUI for filters, that might help you big time on this one.)


More information about the ffmpeg-user mailing list