Wednesday, November 30, 2011

Trim a video file with ffmpeg

You can trim a video using ffmpeg very quickly. (NO transcoding done)


ffmpeg -i Inputfile.mp4 -vcodec copy -acodec copy -ss 00:00:00 -t 00:14:55 TrimmedVideo.mp4

This will Cut your Video to exact 14 minutes and 55 seconds from the start of the video. A very handy tool if your video needs to be below a particular lenght because of upload restrictions.

No comments:

Post a Comment

Please be courteous, even if you do not share the same view.