Extract part of video or audio file using ffmpeg in Terminal. Commands: ffmpeg -ss 00:01:00 -i file.mkv -t 00:02:00 -codec copy trimed.mkv
YouTube Link: