Skip to content

Instantly share code, notes, and snippets.

@atree
Last active December 10, 2015 01:18
Show Gist options
  • Save atree/4356960 to your computer and use it in GitHub Desktop.
Save atree/4356960 to your computer and use it in GitHub Desktop.
Trim video via ffmpeg and command line
# This command takes LongVide.m4v and extracts 10 minutes of video starting from 21 minutes in.
ffmpeg -i LongVideo.m4v -vcodec copy -acodec copy -ss 00:21:00 -t 00:10:00 ShortVideo.m4v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment