Losslessly trim in time videos with FFmpeg
Trim from time to end of video–discard beginning of video. In this examples, starting at 58 seconds.
ffmpeg -i in.mp4 -ss 00:00:58 -c copy out.avi
Trim from start to specified end time. In this example from 00:58 to 1:10.
ffmpeg -i in.mp4 -ss 00:00:58 -t 00:00:12 -c copy out.avi
ffmpeg -i in.mp4 -ss 00:00:58 -t 00:00:12 -c:v ffv1 out.avi