[FFmpeg-user] lagfun misunderstanding?

Gyan Doshi ffmpeg at gyani.pro
Sun Mar 29 17:55:13 EEST 2020



On 29-03-2020 07:56 pm, Michael Koch 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.

It's a decimal input which is then treated as a binary bitmask. So dec 
10 becomes bin 1010 i.e. filter the 1st and 3rd planes.

Gyan


More information about the ffmpeg-user mailing list