Update FFmpeg packages on CentOS/RHEL

Development of FFmpeg is active and an occasional update can give you new features and bug fixes. First, remove the old files and then update the dependencies:

ffmpegg_logo

# rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}
# yum install autoconf automake cmake gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel

Update yash

# cd ~/ffmpeg_sources/yash
# make distclean
# git pull
# ./configure
# make
# make install

Update x264

# cd ~/ffmpeg_sources/x264
# make distclean
# git pull
# ./configure --disable-asm
# make
# make install

Update x265

# cd ~/ffmpeg_sources/x265
# rm -rf ~/ffmpeg_sources/x265/build/linux/*
# hg update
# cd ~/ffmpeg_sources/x265/build/linux
# cmake
# make
# make install

Update libfdk_aac

# cd ~/ffmpeg_sources/fdk-aac
# make distclean
# git pull
# ./configure
# make
# make install

Update libvpx

# cd ~/ffmpeg_sources/libvpx
# make clean
# git pull
# ./configure
# make
# make install

Update FFmpeg:

# cd ~/ffmpeg_sources/ffmpeg
# make distclean
# git pull
# ./configure
# make
# make install

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.