Skip to content

Instantly share code, notes, and snippets.

@baringji
Last active August 29, 2015 14:01
Show Gist options
  • Save baringji/9dc7a2a7ed2c94de682a to your computer and use it in GitHub Desktop.
Save baringji/9dc7a2a7ed2c94de682a to your computer and use it in GitHub Desktop.
Split video using ffmpeg or avconv via terminal.

ffmpeg -acodec copy -vcodec copy -ss START -t LENGTH -i ORIGINALFILE OUTPUTFILE

avconv -c:v copy -c:a copy -ss START -t LENGTH -i ORIGINALFILE OUTPUTFILE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment