Skip to content

Instantly share code, notes, and snippets.

@weavermedia
Last active December 5, 2020 21:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save weavermedia/8951731 to your computer and use it in GitHub Desktop.
Save weavermedia/8951731 to your computer and use it in GitHub Desktop.
# Create a CentOS 6.4 x64 droplet with minimal spec
# SSH in to new droplet
# Install ATRPMS Repository
rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
rpm -ivh http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm
# Install FFMPEG
yum -y --enablerepo=atrpms install ffmpeg
# Check FFMPEG version and formats
ffmpeg -version
ffmpeg -formats
# Get a file
wget "http://domain.com/your_file.mov"
# Convert
ffmpeg -i your_file.mov your_file.webm
# Convert with options (MP4 experimental and 700k video bitrate)
ffmpeg -i your_file.mov -strict -2 -b:v 700k your_file.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment