How Can FFmpeg Trim Video in Original Quality:
Command: ffmpeg -i input.mkv -ss 00:00:00 -to 00:01:30 -c copy output.mkv
- -SS: where to start video (in hour:min:second), optional if you are starting from the beginning of the video.
- -to where to end video (in hour:min:second), optional if you are leaving the rest of the video (to the end) in.
- -i Input file name
- -c copy: output in exact quality.
- output.mkv, name of the file you want the new version of the video to be.
Source | Date (original): May 19th, 2021 | Update for optional flags on -ss / -to: Jan 30th 2026
Back
© 2019 to 2026 Branden Gilfoil &
© up to 2026 for respective owners.