[FFmpeg-user] Make white of photo transparant

Cecil Westerhof Cecil at decebal.nl
Wed Jun 29 12:39:34 EEST 2022


Paul B Mahol <onemda at gmail.com> writes:

> On Wed, Jun 29, 2022 at 10:05 AM Bouke / Videotoolshed <
> bouke at videotoolshed.com> wrote:
>
>> 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.)
>>
>>
> Use colorkey filter, and set color as white.

I will look it up.
I realise that I have a problem, because in some photos not only the
background is white. :'-(

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list