Cut media files using ffmpeg

From Notes to self
Jump to navigation Jump to search
$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -vcodec copy -acodec copy outfile
-ss position
Seek to given time position
-t duration
Restrict the video to the duration