ffmpeg:video:trim
Table of Contents
ffmpeg - Video - Trim
Trim using a duration
ffmpeg -i input.mp4 -ss 00:05:20 -t 00:10:00 -c:v copy -c:a copy output.mp4
NOTE:
- -ss - specifies the start time.
- -t - specifies the duration length of video.
Trim using a specific time
ffmpeg -i input.mp4 -ss 00:05:10 -to 00:15:30 -c:v copy -c:a copy output.mp4
NOTE:
- -ss - specifies the start time.
- -to - specifies the end time.
ffmpeg/video/trim.txt · Last modified: 2025/05/27 09:30 by peter