主要修改water滤镜,可以在win系统上正常运行;
ffplay -i sample.mp4 -vf "frei0r=water:2|1|1|1|0|0|30/30"
参数说明
register_param(physics, "physics", "water density: from 1 to 4"); register_param(swirl, "swirl", "swirling whirpool in the center"); register_param(rain, "rain", "rain drops all over"); register_param(surfer, "surfer", "surf the surface with a wandering finger"); register_param(smooth, "smooth", "smooth up all perturbations on the surface"); register_param(distort, "distort", "distort all surface like dropping a bucket to the floor"); register_param(position, "position", "swirl position coordinate, Relative center coordinate");
position是设置漩涡的中心坐标,相对于视频画面中心坐标,比如设置0/0就是画面中心,不是画面的左上角;
下载地址:
https://gitee.com/nlsoft/frei0r_win32/releases
https://github.com/qq2225936589/frei0r_win32/releases