Cut Video with FFmpeg
Generate FFmpeg commands to trim video clips by start time, duration, end time, or from the end.
FFmpeg.Run generates commands only. Your media files stay on your computer and are never uploaded.
Command options
Generated command
Common uses
- Trim a short clip from a long video
- Cut without re-encoding for speed
- Re-encode when you need a more accurate cut
Related articles
- How to Cut or Trim a Video with FFmpeg
Cut or trim video with FFmpeg using fast stream copy or accurate re-encoding. Includes start time, duration, end time, keyframe notes, and copyable commands.
Related command recipes
Command notes
Stream copy is fastest, but cuts may start on nearby keyframes.
Re-encoding is slower, but it can produce a more accurate cut.
Use `-sseof` when you want to cut from the end of a video.
FAQ
Why does my cut start a little early?
Fast stream-copy cuts can only start cleanly on keyframes. Use accurate re-encode mode when exact timing matters.
Should I use duration or end time?
Use duration when you know how long the clip should be. Use end time when you know the exact section start and finish.
Can cutting avoid quality loss?
Yes, use stream copy mode with `-c copy`. If you re-encode for accuracy, choose a lower CRF for higher quality.