Skip to content

Instantly share code, notes, and snippets.

@gregkepler
Created March 19, 2019 21:08
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregkepler/d75ca71fcc9e7ab013af6fdf3d50b430 to your computer and use it in GitHub Desktop.
Save gregkepler/d75ca71fcc9e7ab013af6fdf3d50b430 to your computer and use it in GitHub Desktop.
ffmpeg transparent png background color
ffmpeg -f lavfi -i color=c=black:s=1280x720 -i "C:\path\to\image.png" -shortest -filter_complex "[0:v][1:v]overlay=shortest=1,format=yuv420p[out]" -map "[out]" "C:path\to\output\out.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment