Cut media files using ffmpeg

From Notes to self
Revision as of 10:17, 1 October 2020 by Verbovet (talk | contribs)
Jump to navigation Jump to search
$ ffmpeg -i infile -codec copy -ss hh:mm:ss -t hh:mm:ss outfile
-ss position
Seek to given time position
-t duration
Restrict the video to the duration

It's important to place -ss and -t after the input.