redhat:other-redhat:transcoding-tools-redhat

This is an old revision of the document!


Compile FFmpeg on Redhat / CentOS 7

This guide is based on a minimal installation of the latest CentOS release, and will provide a local, non-system installation of FFmpeg with support for several external encoding libraries. These instructions should also work for recent Red Hat Enterprise Linux (RHEL) and Fedora. This is a non-invasive guide and undoing all steps is simple and is shown at the end of this page.

Get the dependencies. These are required for compiling, but you can remove them when you are done if you prefer (except make; it should be installed by default and many things depend on it).

# yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum-config-manager --add-repo http://www.nasm.us/nasm.repo
# yum update -y

# yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel

Make a new directory to put all of the source code into:

# mkdir /usr/src/ffmpeg_sources

http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

  • redhat/other-redhat/transcoding-tools-redhat.1504882375.txt.gz
  • Last modified: 2017/09/08 16:52
  • by michael