[FFmpeg-user] lagfun misunderstanding?

Paul B Mahol onemda at gmail.com
Sun Mar 29 18:59:55 EEST 2020


On 3/29/20, Michael Koch <astroelectronic at t-online.de> wrote:
> 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:

It works as expected.

>
> 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.

Because your adjusted your filtergraph that way.
Drawbox does not support rgb formats, and i do not care enough to fix that.

>
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list