To combine mp4/M4V files in linux, we will use MP4Box, so first let’s install it
sudo apt-get install gpac
once installl on terminal let’s type
MP4Box -cat video1.mp4 -cat video2.mp4 -new newVideo.mp4
To combine avi files in linux we will use cat
cat video1.avi video2.avi >newVideo.avi
Now if you play the video, it will show the first video only, now let’s fix it usong mencoder
mencoder -forceidx -oac copy -ovc copy newVideo.avi -o newVideoFixed.avi
Cool tool. Thanks for sharing.
For the readers:
I see GPAC is also available for Windows as well.
Regards,
Nicholas Lee Fagan