https://itsfoss.com/losslesscut-video-cutter/

Using the “LosslessCut” Video cutter software, which I found a linux appimage for (so it’s a self contained binary), I was able to break up a 45 minute file into a 5 minute file. It’s neat because you can have it grab different sections of the video and then it pieces them all together into a single video in the output. ie from a 45 minute video file, you can grab a minute from somewhere in the beginning, grab 5 minutes from the middle, and grab 3 minutes from the end and export it to a 9 minute video file. Helpful to showcase specific bits of a long video.

https://github.com/mifi/lossless-cut/releases

LosslessCut-linux-x86_64.AppImage