video:cutpoints

Use Shift-[\] to open the MMP config dialog
Use Ctrl-[H] to open a [H]elp panel

where are the cuts made?

A powerful new feature in v5.0.0 (keyframes) helps you decide where to make cuts

The actual editing of your video or audio (cutting into segments and stitching them together) is performed by FFmpeg.

Background

FFmpeg is capable of some very complex audio and video manipulation, which is why it has become almost the de facto standard for the majority of audio/video editing and conversion tools available today1).

However, this complexity comes at a cost:
The more complex the operation, the more complex the parameters are that you have to supply to FFmpeg and the more chances that FFmpeg will complain about conflicting parameters, or parameters that conflict with the contents of your input file.

For this reason, MMP keeps it [relatively 2)] straight forward to [all but] guarantee successful editing.

Conversely though, this also comes at a price, which is that cutting is generally performed at the “key frame” level, not at user-specified frames.

For most general editing this is entirely acceptable. 3)

The great advantage that this approach does have, though, is that producing the edited output file from your required edits is blisteringly fast - a couple of seconds and it's all over. 4)
Most editors re-encode the segments to a brand new video, which can take a considerable amount of time and may result in reduced picture quality;
MMP simply does a copy/paste: it extracts parts of the original file and stitches them together. This also means the video quality is exactly that of the original file. 5)

Key Frames?


(a layman's description)

Video [file] compression works by only storing what has changed from frame to frame.
Every second or so, depending on how much the video image is actually changing, a Key Frame will be written.
A common rule of thumb is a key frame every 2 x Frame Rate. So if the frame rate is 30fps, write a key frame every 60 frames, a complete-image frame to re-establish a “difference” starting point.
Other videos, such as blockbuster movies, might have a keyframe every 10-20 seconds depending on the scene content.
4K, 2160p, 60fps animations could have 50 or more keyframes per second!
The majority of a video file these days is just the changes between Key Frames.
This greatly reduces the size of video files.

It is those full-image Key Frames that MMP and FFmpeg use to make the cuts at the start of your segments.

What difference does that make?

In a nutshell, if you make a cut (start a segment) between key frames 6), FFmpeg will make the actual cut on the most recent key frame preceding your cut, or somewhere between that keyframe and your desired cut point. As for the cut points at the end of segments, MMP and FFmpeg will ensure that the exported segment is at least as long as you want it to be.

In practice, then, we can be reasonably confident that:

  • the start of a segment is likely to include the frames you require, possibly more (see the new keyframes topic regarding the keyframes feature introduced in v5.0.0)
  • MMP and FFmpeg will ensure that the segment is at least your desired length.

This is also why

  1. it is very important to check your edited file before deleting the original 7)
  2. having two adjacent segments included in your edited video will likely result in overlap* 8)

* it's best to merge adjacent output segments.
[M] merge selected segment with the segment to its right
[N] merge selected segment with the segment to its left

1)
from all good stockists
2)
it wasn't!
3)
if you require a free, frame-accurate video editor, the excellent ShotCut is an easy recommendation to make
4)
…she cried!
5)
with some editors, depending on your output parameters, you can lose picture quality during the re-encoding
6)
which is more likely than not
7)
and MMP will never provide the option to do that automatically!
8)
because the start of one segment is cut on a key frame that's part of the preceding segment and vice versa
video/cutpoints.txt · Last modified: