Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created July 21, 2016 14:55
Show Gist options
  • Save rms1000watt/7cb1d6e6874d8e0c8926e72166154f9e to your computer and use it in GitHub Desktop.
Save rms1000watt/7cb1d6e6874d8e0c8926e72166154f9e to your computer and use it in GitHub Desktop.
FFMPEG from command line to speed up mp4 with installation steps
## If error installing ffmpeg = "yasm/nasm not found or too old"
## http://www.sthshare.com/wordpress/yasmnasm-not-found-or-too-old-on-linux-servercenots.html
# wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
# tar -xvf yasm-1.3.0.tar.gz
# cd yasm-1.3.0
# ./configure
# make
# make install
## http://superuser.com/questions/160443/software-to-speed-up-playback-of-mp4-files
# Speeds up video by 1.25
ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.8*PTS[v];[0:a]atempo=1.25[a]" -map "[v]" -map "[a]" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment