Skip to main content

FFMpeg - Cut video without reencoding

Example to cut video from 5min to 8min:

ffmpeg -ss 00:05:00.000 -i "filename.mp4" -vcodec copy -acodec copy -to 00:08:00.000 "filename-output.mp4"
  • -ss start time, always put in before -i so its a lot faster (seek to this time at begining).
  • -i "filename.mp4" source file path.
  • -vcodec copy copy video codec
  • -acodec copy copy audio codec
  • -to 00:08:00.000 End time. You can also use -t option, so you can pass duration instead of end time.
  • "filename-output.mp4" output file path.

Add new comment


This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

We use cookies on our website to enhance your user experience. We also use Google analytics and ads.

Click here to read more I've read it