Trim a video from a given start time mm:ss to an end time mm2:ss2 (omit the -to flag to trim till the end)

ffmpeg

ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}

click the source code to copy install ffmpeg on any operating system with command-not-found.com