FFmpeg on Centos 6

Install repo and ffmpeg

Install libx264

# rpm -ihv http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

# yum install git autoconf automake gcc gcc-c++ libtool make yasm pkgconfig

# git clone git://git.videolan.org/x264.git

# cd x264

# ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-asm --enable-shared

# make && make install

# cd ~

Install libfdk-aac

# git clone https://github.com/mstorsjo/fdk-aac.git

# cd fdk-aac

# autoreconf -i

# ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-shared

# make && make install

# cd ~

Configuring ffmpeg

# git clone git://source.ffmpeg.org/ffmpeg.git

# cd ffmpeg

# ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --enable-nonfree --enable-gpl

# make && make install

# cd ~

Options --enable-libfdk-aac --enable-libx264 also can be added.

 

Was this answer helpful?

 Print this Article

Also Read

php increase max file size upload

For increase maximum size of uploads file you should set only one setting in php.ini. Set...

Fail2ban

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the...

Disabling selinux

Selinux annoying you? Get it out! How to disable selinux Open its config file nano...

Changing mac address in VMware

In Centos: 1. Edit old mac HWADDR=XX:XX:XX:XX:XX:XX in the file...

Sendmail [25: Connection refused] fix

If you can't receive email from the outside and got next error:  (Delivery Status Notification...