fastcut lets you cut a fragment of a video with minimal re-encoding. Inspired by VidCutter and avcut.
Usage: fastcut [options] <input_file> <start_time> <end_time> <output_file>
Options:
-i <n> ignore track number n
Ubuntu: sudo apt install libavcodec-dev libavformat-dev
Arch: sudo pacman -S ffmpeg
mkdir build && cd build
cmake ..
cmake --build .