[FFmpeg-user] problem with trying maths in a filter

James Darnley james.darnley at gmail.com
Thu Aug 22 01:24:45 EEST 2019


On 2019-08-21 23:44, Julian Gardner wrote:
> tried a few versions on varying machines but cant get this work, so can
> someone help me as to why these filters dont work
> 
> this
> overlay=x=32+(mod(t/30,1)*448):y=32+(mod(t/60,1)*206)
> 
> or this
> overlay=x=32+mul(mod(t/30,1),448):y=32+mul(mod(t/60,1),206)
> 
> I get this error
> 
> [AVFilterGraph @ 0x2c3a880] No such filter: '1)*448):y'
> 

Unfortunately you need to escape the commas , with a backslash \ to make
\, because commas are used to separate filters.



More information about the ffmpeg-user mailing list