App to join all the recorded videos automatically from 1 folder

I figured it out for Linux Ubuntu and added an answer here.

Create an inputs.txt file containing a list of all file paths to combine (see example at link above). Then, combine all above videos into one like this:

# Option 1 (preferred): into a single mp4 video with AAC audio encoding
# and original video encoding
time ffmpeg -f concat -safe 0 -i inputs.txt -c:v copy -c:a aac output.mp4

# Option 2: into a single .mkv video with original audio and video encoding
time ffmpeg -f concat -safe 0 -i inputs.txt -c copy output.mkv
1 Like