ChatGPT makes a wonderful natural language interface for ffmpeg. I like to ask for a bash script that uses ffmpeg to achieve my goal. Recent example output:
#!/bin/bash
# Set the input file name
input_file="input.mp4"
# Trim the videos
ffmpeg -i $input_file -ss 00:01:08.5 -to 00:01:11.05 -c copy shot1.mp4
ffmpeg -i $input_file -ss 00:01:13.3 -to 00:01:22 -c copy shot2.mp4
ffmpeg -i $input_file -ss 00:01:24 -c copy shot3.mp4
# Prepare the list of files to concatenate
echo "file 'shot1.mp4'" > files.txt
echo "file 'shot2.mp4'" >> files.txt
echo "file 'shot3.mp4'" >> files.txt
# Concatenate the video segments
ffmpeg -f concat -safe 0 -i files.txt -c copy output.mp4