This FFmpeg cheat sheet consists of a command-line example reference that we find useful at Kinvolk. Consult the complete FFmpeg documentation for more information.
Cut a section from a video using a start (-ss
) and end (-to
) timestamp and saving the extracted video to output.mp4 and retaining all audio and video settings (-c:v copy -c:a copy
), meaning there is not transcoding.
ffmpeg -i input.mp4 -ss 01:19:27 -to 02:18:51 -c:v copy -c:a copy output.mp4