If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
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






April 21st, 2008 at 11:13 pm
You wrote : Please remember to recompile ffmpeg with shared libraries.
How do you recompile ffmpeg when u’ve installed through yum?
Sorry if sound so dumb, I’m newbie in redhat families
View this Comment in: English Chinese(S) Chinese(T) French Arabic Dutch German Greek Italian Japanese Korean Portuguese Russian Spanish
July 5th, 2008 at 11:31 am
Works like charm. Much thanks mate!
View this Comment in: English Chinese(S) Chinese(T) French Arabic Dutch German Greek Italian Japanese Korean Portuguese Russian Spanish
November 22nd, 2008 at 8:50 pm
Nice tutorial. I was trying to compile the source for another site. waste of 2 hours. you really made it simple.
The only problem is I have no idea how do you “recompile with shared libraries” if you’ve installed through yum. I understand that yum is a rpm manager and rpm –recomplie only supports Global options none of which include –enable-shared.
View this Comment in: English Chinese(S) Chinese(T) French Arabic Dutch German Greek Italian Japanese Korean Portuguese Russian Spanish