-
Notifications
You must be signed in to change notification settings - Fork 19
How to Cut Video in FFMPEG
George Stoyanov edited this page Oct 20, 2017
·
3 revisions
ffmpeg -noaccurate_seek -ss 00:00:45.0 -i <input> -to 00:02:00.0 -c copy output.mp4
This will cut the video between 45 seconds and 2 minutes, so the output video will be 1:15 minutes long:
-noaccurate_seek - will cut the video from the first I-frame after the set starting time, so this is not frame/time accurate cut, but will make the video playable
-ss - defines the start of the recording
-t - defines the duration of the recording in seconds
-to - defines the end of the recording