How to Trim Videos
ffmpeg -ss 01:17:04 -i input.mkv -to 01:34:16 -c:v copy -c:a copy trimmed_copy.mkv
ffmpeg -ss 00:00:03 -i inputVideo.mp4 -to 00:00:08 -c:v copy trim_ipseek_copy.mp4
Replace 00:00:00 with start and end time respectively.
See details of this at [1]
Extract First 2 Minutes
ffmpeg -ss 00:00:00 -i input.MOV -to 00:02:00 -c:v copy -c:a copy trimmed_copy.MOV
mkv for OBS
ffmpeg -ss 00:00:00 -i 1.mkv -to 01:22:00 -c:v copy -c:a copy trimmed_copy.mkv