Skip to content

Instantly share code, notes, and snippets.

@MikeiLL
Last active May 17, 2021 14:19
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 MikeiLL/93587b9269a3f87c5bab6d9f12923545 to your computer and use it in GitHub Desktop.
Save MikeiLL/93587b9269a3f87c5bab6d9f12923545 to your computer and use it in GitHub Desktop.
image overlay ffmpeg
ffmpeg -i input.aif -i image.png -filter_complex \
"[0:a] showwaves=mode=cline:s=1600x900:colors=Magenta|Azure|White[sw]; \
color=s=1600x900:c=#f40b0f[bg]; \
[bg] [1:v] overlay=(1600-820)/2:(900-770)/2:enable='between(t,0,20)'[mid]; \
[mid] [sw] overlay=format=auto:shortest=1,format=yuv420p[v]" \
-map "[v]" -map 0:a -c:a copy output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment