Hi, On 8/25/14, Lou <[email protected]> wrote: > On Mon, 25 Aug 2014 15:31:06 +0800 > Qianliang Zhang <[email protected]> wrote: > >> May just use boxblur. Because I don not want to make a gradient for every >> different size. > > Should be a trivial task if you script it with ffprobe to get the input > frame size: https://trac.ffmpeg.org/wiki/FFprobeTips >
You don't need to use the convert command: you may use the qeq filter, and that selfs adapts to whatever is your input size. ffmpeg -i my_input_video -vframes 1 \ -vf 'geq=lum=255*sin(PI*X/W)*sin(PI*Y/H):cb=128:cr=128,format=gray' -y gradient.png Regards, Víctor _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
