Recently I have been working with a list of video files for JSecademy, and I don’t have the luxury of sitting down for hours at a time and editing every single little small part of a video. MP4Box allows you to stitch two or more videos together to have a final output of a file.
First, you have to Install MP4Box on your operating system.
This is important if you want to have a pre-roll and a post-roll for your videos.
You might be able to do a mid-role if you know where exactly you want to split the video.
Now onto the next part actually merging the files together.
In the example above the flag the flag -cat
is used along with -new
. The cat flag denotes that the files will be concatenated together and the new flag is the new file that will be created based on the two previous files.
You can find a complete list of all the flags that are possible with MP4Box.
That’s all there is to merge two files together. One note the transition between the videos are hard stops, meaning you will jump from one clip to another instantly.
Talk soon,
Rick H.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More