Skip to content

Instantly share code, notes, and snippets.

@allanlei
Last active September 7, 2022 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allanlei/bfab6b93ceb54d4e21025e0f5e6ad7c8 to your computer and use it in GitHub Desktop.
Save allanlei/bfab6b93ceb54d4e21025e0f5e6ad7c8 to your computer and use it in GitHub Desktop.
Pulsating Blur
ffmpeg -stream_loop -1 -i bbb.mp4 -filter_complex "\
[0:v]split=2[base][overlay];
[overlay]gblur=5,format=yuva444p,geq=r='r(X,Y)':a='abs(255*sin(T))'[overlay];
[base][overlay]overlay[out]" \
-map "[out]" output.mp4
@allanlei
Copy link
Author

allanlei commented Sep 7, 2022

output.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment