ffmpeg

How to cut and join a MP4 video in four steps using ffmpeg

Submitted by Nicola Rainiero on 2015-04-19 (last updated on 2016-08-11)
How to cut and join a MP4 video in four steps using ffmpeg

How many time we have to fix a video removing the parts that we don’t need? There are a lot of video editing programs that solve this elementary issue, including great open source ones,  but generally they require to process the video and audio streams and so a lot of resources. FFmpeg and the command-line can cut and join the video in four steps copying the same video and audio codec even on a MP4 video encoded in h.264 and AAC.