- Write an ffmpeg input configuration file
list.txt
of the form:
file '<input-1>'
file '<input-2>'
file '<input-3>'
...
- Run
ffmpeg -f concat -safe 0 -i list.txt -c copy <output>
ffmpeg has a quirk in which it rejects perfectly ordinary input paths by default, requiring the boilerplate -safe 0
option to work with real world file paths.