June 24, 2017

Installing FFmpeg on CentOS 5.x

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library.

Install the RPMForge i386 YUM Repository

# rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Installing FFmpeg on CentOS

Optional: Installing FFmpeg-php

If you get the following error when running the command make to compile FFmpeg:

make: *** [ffmpeg_frame.lo] Error 1

In the version 0.6.0 of ffmpeg-php you will need to modify the file: ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32

Using Linux text editor, vi run the following commands:

Restart the compile and install FFmpeg-Php:

Adding CentOS 5.3 to Local YUM Repository

centosCentOS 5.3 has just been released and that means it’s time to update our Local CentOS 5.x YUM repo.

[Read more…]