[FFmpeg-user] lagfun misunderstanding?

Michael Koch astroelectronic at t-online.de
Sun Mar 29 21:25:16 EEST 2020

Am 29.03.2020 um 20:06 schrieb Paul B Mahol:
> On 3/29/20, Carl Zwanzig <cpz at tuunq.com> wrote:
>> On 3/29/2020 10:38 AM, Paul B Mahol wrote:
>>> On 3/29/20, Michael Koch <astroelectronic at t-online.de> wrote:
>>>> ffmpeg -i IMG_1685.MOV -filter_complex
>>>> "format=rgb24,extractplanes=r+g+b[r][g][b];[g]lagfun=decay=0.999[gg];[gg][b][r]mergeplanes=0x001020:gbrp"
>>>> -t 5 -y greenlagtest.mp4
>>> You are over complicating things.
>> OK, how? What's a less complicated version? Explain, please.
> mpv "av://lavfi:color,format=gbrp,sendcmd=c='1 drawbox x
> 200',drawbox=x=0:w=100:h=100:t=fill:color=green,format=gbrp,lagfun=decay=0.99:planes=1,format=gbrp"

ok, that works. Please add to the lagfun documentation that it doesn't 
work with rgb24. Or even better, throw an error message.
Mergeplanes gave me an error message when I tried to use it with rgb24.


More information about the ffmpeg-user mailing list