[FFmpeg-devel] New filter: remap?

Thilo Borgmann thilo.borgmann at mail.de
Fri Feb 26 12:42:32 CET 2016


Am 25.02.16 um 22:24 schrieb F.Sluiter:
> If it doesn exist I would like to develop a new filter and would like to
> check if nobody is already working on it or that it exists under a
> different name.
> 
> I have been researching the following usecase:
> 
> Similar tot the displace filter, I would need a filter to remap pixels (the
> difference being that displace displaces the pixels relative to where it
> was, remap would specify where the target pixel originates from):
> 
> Description: Remap pixels as indicated by second and third input stream.
> 
> It takes three input streams and outputs one stream, the first input is the
> source, and second and third input are targetmaps. The second and third
> input specifies the x.y coordinate where the pixel in the target stream
> originates from. Note that once generated, remap files can be reused over
> and over again. Source and target do not have to have the same size.
> The effect I am trying to achieve is hard to compute with the relative
> "displace", and a lot more straightforward with "remap".

Why not extend the displace filter to act relative/absolute based on a parameter?

2 cents.

-Thilo



More information about the ffmpeg-devel mailing list