Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Join mp4 files

Generate a file with all file names

for f in *.mp4; do echo file \'$f\' >> fileList.txt; done;

Merge all files together

ffmpeg -f concat -safe 0 -i fileList.txt -c copy output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment