Skip to content

Instantly share code, notes, and snippets.

@cmtsij
Last active December 23, 2015 23:19
Show Gist options
  • Save cmtsij/6709130 to your computer and use it in GitHub Desktop.
Save cmtsij/6709130 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