Skip to content

Instantly share code, notes, and snippets.

View stephenl03's full-sized avatar

Stephen Lewis stephenl03

View GitHub Profile
@stephenl03
stephenl03 / ffmpeg_intall.sh
Last active December 7, 2016 03:51 — forked from masbog/ffmpeg_intall.sh
Automation FFmpeg installation script ( https://trac.ffmpeg.org/wiki/CompilationGuide/Centos ) with all plugin and tested in Centos 7
#!/bin/bash
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel freetype-devel speex-devel -y
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"