Join several video files with VLC without transcoding

I was looking for most simple way to join several video clips into one larger clip without installing additional packages on my Debian laptop.

Most simple way I found was using command like this:

vlc 18M00S.mp4 19M00S.mp4 20M00S.mp4 21M00S.mp4 --sout "#gather:std{access=file,dst=all.mp4}" --sout-keep

Where “18M00S.mp4“, “19M00S.mp4“, “20M00S.mp4” and “21M00S.mp4” are my clips that will be joined in a file “all.mp4” in the same folder.

You can change output filetype with adding for example “mux=ts” in –sout “#gather:std{access=file,mux=ts,dst=all.mp4}“, but this was not needed in my case.