Forget iMovie, FFmpeg is the easiest way to take long videos and split them into smaller clips.

Unlike most developers, I actually prefer using GUI’s over the command line, but after messing around with iMovie for half an hour, it dawned on me that FFmpeg is much better suited for this task.

If you don’t already have FFmpeg installed, the easiest way to get it on your mac is with homebrew. just

brew install ffmpeg

Then, the magical command is:

ffmpeg -ss 00:00:05 -t 6 -i -vcodec copy -acodec copy

Let’s break this down: