Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vjk2005/a95ea41cfc414fdeea592d0902e801a8 to your computer and use it in GitHub Desktop.
Save vjk2005/a95ea41cfc414fdeea592d0902e801a8 to your computer and use it in GitHub Desktop.
Merge a folder of videos into a single video
ffmpeg -f concat -safe 0 -i files.txt -c copy output.mp4
# Note that files.txt must have the filenames of videos to be merged in the following format
# file 'path/filename.mp4'
# file 'path/filename.mp4'
# file 'path/filename.mp4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment