Sort by name then merge only MP4 files in a directory together.
This script uses ffmpeg
to merge video files. To install it, run:
sudo apt install ffmpeg
For example:
$ ./vidmerge.sh ~/Downloads/myvideos/
Then, the output file will be created in the directory of the video files.