Skip to content

Instantly share code, notes, and snippets.

@Brianvdb
Created March 13, 2018 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Brianvdb/7e634b4b1141079f28b5455a8295310d to your computer and use it in GitHub Desktop.
Save Brianvdb/7e634b4b1141079f28b5455a8295310d to your computer and use it in GitHub Desktop.
ffmpeg -ss 0 -t 5 -i sunny_days.mp4 -c:v libx264 -crf 22 -b:a 128k sunny_days_1.mp4
ffmpeg -ss 5 -t 5 -i sunny_days.mp4 -b:a 128k sunny_days_2.mp3
ffmpeg -ss 10 -t 10 -i sunny_days.mp4 -c:v libx264 -crf 22 -b:a 128k sunny_days_3.mp4
ffmpeg -ss 20 -t 5 -i sunny_days.mp4 -b:a 128k sunny_days_4.mp3
ffmpeg -ss 25 -t 10 -i sunny_days.mp4 -c:v libx264 -crf 22 -b:a 128k sunny_days_5.mp4
ffmpeg -ss 35 -t 5 -i sunny_days.mp4 -b:a 128k sunny_days_6.mp3
ffmpeg -ss 40 -t 10 -i sunny_days.mp4 -c:v libx264 -crf 22 -b:a 128k sunny_days_7.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment