Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> >> Nice idea, what upscaling methods you use? Do you use swscale by any > >> chance? > > Not sure I understand. I don't upscale the movie/image, rather my code > > that creates the remap filters just creates the maps 2,3,4 times > > bigger than I eventually plan to use. > Hi, Paul. Can you tell

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Mark Filipak (ffmpeg)
On 09/24/2020 09:21 AM, Paul Bourke wrote: Nice idea, what upscaling methods you use? Do you use swscale by any chance? Not sure I understand. I don't upscale the movie/image, rather my code that creates the remap filters just creates the maps 2,3,4 times bigger than I eventually plan to use.

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
The unfolded icosahedron is obviously not one of the options yet. Maybe some demand for it in the future, becoming increasingly popular in the machine learning game. On Thu, Sep 24, 2020 at 9:05 PM Michael Koch wrote: > > Am 24.09.2020 um 14:52 schrieb Paul Bourke: > >> Also, I really dunno why

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> Nice idea, what upscaling methods you use? Do you use swscale by any chance? Not sure I understand. I don't upscale the movie/image, rather my code that creates the remap filters just creates the maps 2,3,4 times bigger than I eventually plan to use. > And what filters for upscaling and later

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul B Mahol
On Thu, Sep 24, 2020 at 08:52:44PM +0800, Paul Bourke wrote: > > Also, I really dunno why people keep using remap filter with its only > > available neighbour pixel interpolator. > > Yeah, not ideal. > > I don't use it for images, I have my own solution for that with > supersampling antialising.

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:52 schrieb Paul Bourke: Also, I really dunno why people keep using remap filter with its only available neighbour pixel interpolator. Yeah, not ideal. I don't use it for images, I have my own solution for that with supersampling antialising. But for movie conversion, what

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> Also, I really dunno why people keep using remap filter with its only > available neighbour pixel interpolator. Yeah, not ideal. I don't use it for images, I have my own solution for that with supersampling antialising. But for movie conversion, what is the alternative? I on occasion - Extract

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
Figured as much, installed 4.3.1 ... works a treat, thanks! I sent you an image but was too large and got blocked. On Thu, Sep 24, 2020 at 8:33 PM Michael Koch wrote: > > Am 24.09.2020 um 14:30 schrieb Paul Bourke: > > Hmmm > > > > ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:30 schrieb Paul Bourke: 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

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
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

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul B Mahol
On Thu, Sep 24, 2020 at 07:50:32PM +0800, Paul Bourke wrote: > 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. If you switch to last ffmpeg version, there

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
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

[FFmpeg-user] chroma colour

2020-09-24 Thread 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.