[FFmpeg-user] lagfun misunderstanding?
Michael Koch
astroelectronic at t-online.de
Sun Mar 29 18:35:18 EEST 2020
Am 29.03.2020 um 16:35 schrieb Paul B Mahol:
> On 3/29/20, Michael Koch <astroelectronic at t-online.de> wrote:
>> Am 29.03.2020 um 15:13 schrieb Zedsquared:
>>> I do apologise, the example I just posted omitted the planes argument to
>>> lagfun, here's the command I was using and resulting output
>>>
>>> ffmpeg -i IMG_1685.MOV -q:v 0 -vcodec h264 -acodec aac -strict -2
>>> -filter:v
>>> format=pix_fmts=rgb24,lagfun=decay=0.999:planes=1 greenlagtest2.mp4
>> I can confirm that it doesn't work as expected. Shouldn't green be
>> planes=2 ? But that doesn't work either.
> green is first plane.
But it doesn't work as expected with planes=1. I have added a green
rectangle that changes it's position after one second:
c:\ffmpeg\ffmpeg -i IMG_1685.MOV -vf "format=rgb24,sendcmd=c='1 drawbox
x
200',drawbox=x=0:w=100:h=100:t=fill:color=green,lagfun=decay=0.99:planes=1"
-t 5 -y greenlagtest.mp4
The decaying rectangle should be green, but it is white.
Michael
More information about the ffmpeg-user
mailing list