[FFmpeg-user] Pixel average color filter

Mikhail V mikhailwas at gmail.com
Sun Jul 23 20:54:16 EEST 2017


Dear ffmpeg team,

I need a filter which fills output frame with average color of input.
Currently I need it to do row-wise average.
Pseudo-code:

- take first pixel row
- calculate average color in this row and fill output row with this color
- take next row
- repeat same operation
...
and so for all input frame rows


So the output frame will be filled with the average color of input
frame row-wise.

Is there such filter or something similar so I can get similar results?


Regards,
Mikhail V


More information about the ffmpeg-user mailing list