Skip to content

Instantly share code, notes, and snippets.

@gregkepler
Created March 19, 2019 21:08
Show Gist options
  • Save gregkepler/d75ca71fcc9e7ab013af6fdf3d50b430 to your computer and use it in GitHub Desktop.
Save gregkepler/d75ca71fcc9e7ab013af6fdf3d50b430 to your computer and use it in GitHub Desktop.

Revisions

  1. gregkepler created this gist Mar 19, 2019.
    1 change: 1 addition & 0 deletions ffmpeg-background-color.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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"