Skip to content

Instantly share code, notes, and snippets.

@rgladwell
Created November 11, 2014 14:09
Show Gist options
  • Select an option

  • Save rgladwell/a9466fe3e5cdaa0c8b47 to your computer and use it in GitHub Desktop.

Select an option

Save rgladwell/a9466fe3e5cdaa0c8b47 to your computer and use it in GitHub Desktop.
Script to automate the installation of the latest version of ffmpeg
wget http://ffmpeg.org/releases/ffmpeg-2.4.3.tar.bz2
tar -xvf ffmpeg-2.4.3.tar.bz2
cd ffmpeg-2.4.3/
sudo apt-get install yasm
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev
./configure --enable-static --enable-x11grab --enable-gpl
make install
/ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :99.0 output.flv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment