ffmpeg -i sample.mp4 -vf "edgedetect=enable='gt(mod(t,60),57)',negate" -c:a copy out1.mp4