Jul 13 2024
Version 1.3 was released. Three bugs were fixed: 1} decoding 'vp9' with
multi-threading wasn't working, setting the frame-type to 'slice' works
and 2) encoding 'mpeg2' fails due invalid timebase and 3) memory leak when
changing a program (see picture below).
New: hardware acceleration is supported.
Also some improvements were done. And at least: FFmpeg-7 is now supported.
CutterFF is a small program for UNIX (Linux, or Windows if compiled with
MingW) for cutting videos using
FFmpeg and GTK+.
You can set cutpoints everywhere in the video and save it to disk, optional
using a different format and a bitstream filter. You can select which streams
should be written to the output file, so it is also possible to extract the
audio only. If your video file contains several programs, you can choose the
desired one.
Depending on your libraries you may also save the currently displayed picture
as image (e.g. 'jpeg', 'gif', 'png') to disk, the width and the height may be
choosen, grayscale is also possible if supported by the encoder.
Since FFmpeg is supporting a lot of formats and codecs, i am not shure
if CutterFF will work with all of them. I have tested it with only some
formats like 'avi', 'flv' 'mpeg2video', 'mpegts', 'mp4', 'matroska' and 'webm', and
some codecs like 'mpeg2video', 'avc (h264)', 'hevc (h265)', 'mpeg4' and 'vp8'.
At least no decoding and encoding is done, the streams will be simply copied,
which is done fast.
If soft cutting is enabled, then the frames at the cutpoints will be de- and
encoded. The number of frames depends on the GOP-size and may vary. The additional
time required for this depends on the number of cutpoints, the number of frames
in a GOP and the video encoding ('mpeg2video' is faster than 'hevc'). All the
other frames will be copied as mentioned above.
CutterFF is distributed under the terms of GPL2 or later.
To compile CutterFF, the following isDownloads
Two Linux programs (which are using the shared libraries from GTK+-3
and FFmpeg) can be downloaded for either
32-bit (136KB)
or 64-bit (122KB).
Which hardware accelerators are supported depends on the configuration of the installed FFmpeg.
Two Linux programs (GTK+-3 like above, but with FFmpeg-7.0 statically linked, if
your distro lacks some formats and codecs like the ones which I have used for
testing, also the encoders 'libx264' and 'libx265') can be downloaded for either
32-bit (4.5MB)
or 64-bit (4.7MB).
The supported hardware accelerators are 'vaapi' and 'vdpau', and the shared libraries 'libva', 'libva-drm' and 'libvdpau' must be installed.
Two Linux programs (both 64-bit) running GTK+-4, one using the shared (126KB), and the other the static (4.7MB) FFmpeg libraries.
Visit also the CutterFF SourceForge summary page for more information.
Harald Förster