Skip to content

Instantly share code, notes, and snippets.

@robflaherty
Created October 21, 2020 15:16
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 robflaherty/bf25af067a46833c30c095d11830d857 to your computer and use it in GitHub Desktop.
Save robflaherty/bf25af067a46833c30c095d11830d857 to your computer and use it in GitHub Desktop.
Concat all videos in folder
for f in *.mp4 ; do echo file \'$f\' >> list.txt; done && ffmpeg -f concat -safe 0 -i list.txt -c copy stitched-video.mp4 && rm list.txt
# https://stackoverflow.com/questions/28922352/how-can-i-merge-all-the-videos-in-a-folder-to-make-a-single-video-file-using-ffm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment