Skip to content

Instantly share code, notes, and snippets.

@cmtsij
Created July 9, 2014 01:14
Show Gist options
  • Save cmtsij/f89818d7d6524320786a to your computer and use it in GitHub Desktop.
Save cmtsij/f89818d7d6524320786a to your computer and use it in GitHub Desktop.
目擊者行車記錄器 轉檔
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg
# start/end and crop
ffmpeg -ss [start_second] -t [period] -i [input.file] -c:a copy -filter:v "crop=640:240:0:0" [output.file]
# use -an to remove audio stream
ffmpeg -ss [start_second] -t [period] -i [input.file] -an -c:a copy -filter:v "crop=640:240:0:0" [output.file]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment