[FFmpeg-user] chroma colour

Paul Bourke paul.bourke at gmail.com
Thu Sep 24 15:30:13 EEST 2020


Hmmm

ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi remap=fill=green a.png

I get

[Parsed_remap_0 @ 0x7fd6cac05200] Option 'fill' not found
[AVFilterGraph @ 0x7fd6cae1c5c0] Error initializing filter 'remap'
with args 'fill=green'
Error initializing complex filters.
Option not found

ffmpeg 4.2.2

On Thu, Sep 24, 2020 at 8:13 PM Michael Koch
<astroelectronic at t-online.de> wrote:
>
> Am 24.09.2020 um 13:50 schrieb Paul Bourke:
> > How do I change the colour actually used as the chromakey colour?
> > I am creating remap filters to do various image mappings and would
> > like undefined pixels to be black rather than green.
> > Apologies in advance if I simply didn't search the documentation
> > sufficiently well.
>
> Use the "fill" option of the remap filter.
> There is an example in chapter 2.66 of my book:
> http://www.astro-electronic.de/FFmpeg_Book.pdf
>
> Michael
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list