Last active
August 29, 2015 14:05
-
-
Save cmlewis/296e3b5b6c78672bf05b to your computer and use it in GitHub Desktop.
How to trim a video using ffmpeg (without reencoding)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem Tell ffmpeg to copy the video and audio codecs and specify the start time (ss) and duration (t). | |
ffmpeg -i video.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:04 trimmed_video.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment