ffmpeg -i input.mp4 -ss 00:01:00 -t 30 -c copy output.mp4

Category: Media & Conversion

ffmpeg -i input.mp4 -ss 00:01:00 -t 30 -c copy output.mp4

Trim a clip without re-encoding for speed

Cuts from 1 minute in for 30 seconds, copying streams with -c copy so nothing is re-encoded. -ss placed before -i seeks fast, and -t sets the duration. Because it copies, the cut snaps to the nearest keyframe (a frame that can be decoded alone), so the start may be a bit early. Re-encode for frame-exact cuts.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.