Skip to content

Instantly share code, notes, and snippets.

@Teaonly
Created May 19, 2014 03:36
Show Gist options
  • Save Teaonly/6960ba275a2a9ffd9e72 to your computer and use it in GitHub Desktop.
Save Teaonly/6960ba275a2a9ffd9e72 to your computer and use it in GitHub Desktop.
ffmepg 分割视频
ffmepg 分割视频 注意-ss -t参数顺序
-ss 必须放在 -i 之前, -t 必须放在 -i 之後!
一个转码实例:
~/opt/ffmpeg/bin/ffmpeg -ss 00:00:10 -i planet.mp4 -t 00:00:05 -vcodec libx264 -crf 20 -acodec libfaac ~/Downloads/a.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment