• read.
    Invisible Man by Ralph Ellison
  • read.
    The Count of Monte Cristo by Alexandre Dumas
  • read.
    The Prince by Niccolo Machiavelli

media temple: install ffmpeg on media temple dv or similar centos setups

the how to covers installing ffmpeg on media temple dv and similar centos setups. I’m going to use yum. Please note that you’ll still need to compile ffmpeg to reinstall it with shared libraries

*note : when i started this tut, yum seemed to be the easiest method. due to the fact i like a challenge, and had already spend an hour or two searching and testing – this tutorial contains alot of troubleshooting info, as i encountered a few issues while installing. You’ll still have to compile ffmpeg to reinstall it with shared libraries.

if you don’t have yum installed : http://blog.hellm.com/post/5

now create a file named dag.repo @ /etc/yum.repos.d

add the following:

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

now run : yum install ffmpeg

If your lucky you’ll see no errors. if so run ffmpeg to make sure everythings ok and stop reading

if your still here you saw a key error. don’t worry so did i. now comes the annoying part

run rpm -ivh /var/cache/yum/dag/packages/*.rpm

if you get more dependency errors. heres the basic process i used

first run : /usr/bin/yum -y -d 0 -e 0 clean all

now try yum again. still no dice? try : ps -ef | egrep ‘rpm|yum’ | grep -v ‘grep’

still having issues?
look at the name of the package listed as a dependency

the name we need will either be between “lib” and the version or the name until the version.

now run

yum install name_To_Use

repeat this process till ffmpeg installs.

I did this process three times, and then everything else installed correctly

WTF! theres gotta be an easier way

actually there is.

open dag.repo (the file we made earlier)

now change gpgcheck=1 to gpgcheck=0

run yum install ffmpeg and you should be good. just know that yum won’t perfomr key validation if you go this route

as always feedback, issues, etc welcome

Please remember to recompile ffmpeg with shared libraries