Last active
June 14, 2016 08:14
-
-
Save tjunxiang92/534e496ffa4d95dcbeb05656c60436ac to your computer and use it in GitHub Desktop.
FFmpeg Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.romainpellerin.eu/tips-for-ffmpeg.html | |
# Fast Forward Video Only | |
ffmpeg -i test.mp4 -filter:v "setpts=0.1*PTS" -an vid10xnosound.mp4 | |
# Fast Forward Video and Sound by 2 | |
ffmpeg -i test.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" outputff.mp4 | |
# Remove Sound from Video | |
ffmpeg -i test.mp4 -c copy -an nosound.mp4 | |
# Cropping Video | |
ffmpeg -i output.mp4 -t 00:03:00 -c copy smallfile1.mp4 -ss 00:03:00 -c copy smallfile2.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment