Skip to content

Instantly share code, notes, and snippets.

@yairsz
Created December 4, 2017 00:42
Show Gist options
  • Save yairsz/e4172185ce80a8a416dc6a100b6464ab to your computer and use it in GitHub Desktop.
Save yairsz/e4172185ce80a8a416dc6a100b6464ab to your computer and use it in GitHub Desktop.
FFMPEG Snippets

trim a file

ffmpeg -i 2016-10-31-VIDEO-00000282.mp4 -vcodec copy -acodec copy -ss 00:01:19 -t 00:00:45 DeMusicaLigera.mp4

Add a logo overlay

ffmpeg -i DeMusicaLigera.mp4 -i rumberologo.png -filter_complex "[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)” -codec:a copy DeMusicaLigera-96.3000.mp4

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