There you can find a very good article which explains how to concatenate videos. There is some code presented, but it only works for Linux.
I did some research and came up with a .bat executable which allows for batch concatenation in Windows. Just copy the following code into a .bat file and put it in the folder with the videos (mp4 files, in this case).
Code: Select all
:: Edit the line below to match your path to the ffmpeg executable.
(for %%i in (*.mp4) do @echo file '%%i') > list.txt
%path2exe% -f concat -i list.txt -c copy output.mp4
After editing the path2exe variable once, it should work in any folder. I suggest to add this code to the wiki in the 'Instructions' section.