Entry

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, [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

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

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

3 Comments

  1. Adri
    April 21, 2008 at 11:13 pm | Permalink

    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

  2. July 5, 2008 at 11:31 am | Permalink

    Works like charm. Much thanks mate!

  3. S-Shane
    November 22, 2008 at 8:50 pm | Permalink

    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.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*