2 examples for MP4Box
# Install (Debian and derivatives) sudo apt-get install gpac # Losslessly concatenate MP4 videos from '0.mp4' to '3.mp4'. All of them must have the same resolution. MP4Box -cat "0.mp4" -cat "1.mp4" -cat "2.mp4" -cat "3.mp4" losslessly-concatenated.mp4
# Losslessly split a playable MP4 video file specifying times in seconds. This creates a copy of the minute 1'50" until 3'. MP4Box example.mp4 -splitx 90:180