Cut media files using ffmpeg
$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -codec copy outfile
-ss position- Seek to given time
position
-t duration- Restrict the video to the
duration
$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -codec copy outfile
-ss positionposition-t durationduration