ffmpeg -i input.mkv -ss 00:00:00 -t 00:01:05 p0.mkv
ffmpeg -i input.mkv -ss 00:01:42 p1.mkv
ffmpeg -i p0.mkv -i p1.mkv \
-filter_complex "[0:v] [0:a] [1:v] [1:a] concat=n=2:v=1:a=1 [v] [a]" \
-map "[v]" -map "[a]" out.mkv
file p0.mkv
file p1.mkv
ffmpeg -f concat -safe 0 -i list.txt -c copy out.mkv