Skip to content

Instantly share code, notes, and snippets.

@ngocongcan
Created October 14, 2018 03:33
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 ngocongcan/4f9f831ad7cba827e9238bb4a164dcd5 to your computer and use it in GitHub Desktop.
Save ngocongcan/4f9f831ad7cba827e9238bb4a164dcd5 to your computer and use it in GitHub Desktop.
for %%i in ("output\*.mp4") DO ffmpeg -i "%%i" -i watermark.png -filter_complex "overlay=1110:85" -pix_fmt yuv420p -c:a copy "%%~ni.mp4"
pause
:: ffmpeg -i input.mp4 -i image.png \
::-filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" \
::-pix_fmt yuv420p -c:a copy \
::output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment