Results 1 to 25 of 36
-
06-07-2007, 05:43 PM #1Disabled
- Join Date
- May 2006
- Posts
- 1,426
How to install ffmpeg on centos/rhel, the simple way
I seen where a lot of server management companies are charging big bucks for this, so this might save you some time and money.
First
Code:nano -w /etc/yum.repos.d/dag.repo
Code:[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
Seems there is some lib problems along the way so in /etc/ld.so.conf
add
/usr/local/lib
then
ldconfig -v
To install the php extension follow the simple directions on http://ffmpeg-php.sourceforge.net/
Then you should be all set!
Tried and tested on 2 different centos server, works fine.
-
06-29-2007, 01:45 PM #2Newbie
- Join Date
- Jun 2007
- Posts
- 6
Thanks for the tutorial. I tried the steps, but when I try to install via yum, it saids this error:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for imlib2-1.2.2-1.el5.rf.i386.rpm is not installed
Here is the output...
Code:============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ffmpeg i386 0.4.9-0.9.20070530.el5.rf dag 5.3 M Installing for dependencies: SDL i386 1.2.10-8.el5 base 233 k a52dec i386 0.7.4-8.el5.rf dag 78 k faac i386 1.25-2.el5.rf dag 134 k faad2 i386 2.5-2.el5.rf dag 327 k giflib i386 4.1.3-7.1.el5.1 base 39 k gsm i386 1.0.10-6.el5.rf dag 68 k imlib2 i386 1.2.2-1.el5.rf dag 919 k lame i386 3.97-1.el5.rf dag 619 k libmp4v2 i386 1.5.0.1-3.el5.rf dag 895 k libogg i386 2:1.1.3-3.el5 base 19 k libtheora i386 1.0alpha7-1 base 708 k libvorbis i386 1:1.1.2-2 base 192 k x264 i386 0.0.0-0.4.20070529.el5.rf dag 789 k xvidcore i386 1.1.2-1.el5.rf dag 532 k Transaction Summary ============================================================================= Install 15 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 11 M Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 Public key for imlib2-1.2.2-1.el5.rf.i386.rpm is not installed [root@localhost home]#
-
06-29-2007, 03:14 PM #3Web Hosting Master
- Join Date
- May 2002
- Location
- Raleigh, NC
- Posts
- 714
try installing the rpmforge rpm on your system first:
http://dag.wieers.com/rpm/packages/rpmforge-release/
-
06-29-2007, 03:35 PM #4Newbie
- Join Date
- Jun 2007
- Posts
- 6
Thanks, that worked....
-
07-08-2007, 12:29 AM #5New Member
- Join Date
- Jul 2007
- Location
- western Canada
- Posts
- 4
TQ Mark
I had the same msg about the key, followed your link to the rpm's. Can you tell me which one I choose?
thanks
-
07-08-2007, 01:38 AM #6Junior Guru
- Join Date
- Jun 2007
- Posts
- 196
Is there any documentation for installing ffmpeg on winows
-
07-08-2007, 02:38 AM #7New Member
- Join Date
- Jul 2007
- Location
- western Canada
- Posts
- 4
there is a link but I do not have enough posts to put it in here
-
07-08-2007, 03:54 AM #8Web Hosting Guru
- Join Date
- Jan 2007
- Posts
- 254
what if the OS is debian like, slackware or gentoo?
for better instructions go here:
http://forums.theplanet.com/index.php?showtopic=64541Server Surgeon George
http://www.serversurgeon.com
Linux, BSD and Windows Administration Services
Toll Free US 877-378-7436 International +1-213-291-9191
-
07-08-2007, 12:26 PM #9Web Hosting Master
- Join Date
- May 2002
- Location
- Raleigh, NC
- Posts
- 714
-
07-08-2007, 04:54 PM #10Disabled
- Join Date
- May 2006
- Posts
- 1,426
lol ya better instructions. compiling from source and even then it not work for most. I dont think so. That takes forever and its much easier to install the rpms. Im not saying this post is super awesome cause I made it and all but it is the easiest and fastest way to do it
On the dag repo, you can download and install their key or install the rpmforge, getting the one for your distro. If you use centos 5 get the rhel 5 one and so on
-
07-08-2007, 11:07 PM #11New Member
- Join Date
- Jul 2007
- Location
- western Canada
- Posts
- 4
yum search ffmpeg
has given me a large list to choosse from
do I need to install
xmms-wma.i38
xine-lib.i386
vlc.i386
motion.i386
gstreamer-ffmpeg.i386
videolan-client.i386
-
07-09-2007, 05:41 AM #12Web Hosting Guru
- Join Date
- Jan 2007
- Posts
- 254
Why it should not work for all? In contrary compiling from sources works for all types of OS(BSD, MAC, Linux) and for all distributions
I dont think so. That takes forever and its much easier to install the rpms. Im not saying this post is super awesome cause I made it and all but it is the easiest and fastest way to do itServer Surgeon George
http://www.serversurgeon.com
Linux, BSD and Windows Administration Services
Toll Free US 877-378-7436 International +1-213-291-9191
-
07-09-2007, 06:36 AM #13Web Hosting Master
- Join Date
- May 2001
- Posts
- 2,167
another short cut to compile ffmpeg. nice one.
Affordable Managed Hosting Solutions for Professional & Business since 2001
Mxhub.com - Global : USA - UK - Canada - Europe - Asia Pacific
-
07-09-2007, 10:54 PM #14Disabled
- Join Date
- May 2006
- Posts
- 1,426
Man cmon, how could you possibly have looked at this thread for argument. Look at the title of the thread , notice : centos/rhel not mac, freebsd, or slackware.
I mean serious, if you have a redhat based system , just have to install an rpm and a repo, and then install it fairly simple. Whats the harm in that?
Just relax man, this is just a thread for an easy way to do something on a redhat based server, no need for a debate
-
07-10-2007, 03:52 AM #15New Member
- Join Date
- Jul 2007
- Location
- western Canada
- Posts
- 4
Well it did not work .. but then I am not an expert. I am trying to install on a Virtuozzo VPS with CentOS and Plesk 8.1. I had been told that it may not install properly on Plesk.
-
07-10-2007, 04:58 AM #16Disabled
- Join Date
- May 2006
- Posts
- 1,426
what happens when you add the repo, rpmforge, and then yum install ffmpeg ?
-
09-09-2007, 02:45 PM #17Junior Guru
- Join Date
- Nov 2005
- Location
- Romania
- Posts
- 194
This is ... what`s that word, oh yes, awsome !
-
09-14-2007, 01:15 AM #18WHT Addict
- Join Date
- Jul 2007
- Location
- Zamunda
- Posts
- 161
hi SecureServerTech
can you explane again how to do this please :
______________________________________________________________
Then yum update and search for ffmpeg and install all ffmpeg packages including devel.
Seems there is some lib problems along the way so in /etc/ld.so.conf
add
/usr/local/lib
then
ldconfig -v
-----------------------------------------------------------------------------------------------------
thanks
-
09-14-2007, 09:56 AM #19Disabled
- Join Date
- May 2006
- Posts
- 1,426
Well I dont know your particular situation. but you can check /etc/ld.so.conf
and make sure all your lib diretories are in there, if not then add them and do ldconfig -v
-
09-14-2007, 10:42 PM #20WHT Addict
- Join Date
- Jul 2007
- Location
- Zamunda
- Posts
- 161
thanks for the reply
I try to insnall it on LiteSpeed STD , will try now again
-
09-14-2007, 11:45 PM #21WHT Addict
- Join Date
- Jul 2007
- Location
- Zamunda
- Posts
- 161
I can,t install it , I try all ... nothing
can you please explane step by step , if you have the time
thanks
-
09-15-2007, 12:12 AM #22Disabled
- Join Date
- May 2006
- Posts
- 1,426
Well you just get the romforge from dag as listed above, install ffmpeg and ffmpeg-devel.
Then you should be good to go
What problems are you getting?
-
09-15-2007, 12:33 AM #23WHT Addict
- Join Date
- Jul 2007
- Location
- Zamunda
- Posts
- 161
I don't know
I,m not realy familliar with bash and Linux commands
I did all you says , nothing happend
I don't know how to run yum install
cam you please tell me one more time , step by step hoe to do it
thanks
PP I try on CentOS 4.5
-
09-15-2007, 12:47 AM #24Disabled
- Join Date
- May 2006
- Posts
- 1,426
Well, you really need a crash course in servers
And you can find everything, all knowledge possible about running a server from google. Googling what you wanna do like "How to install ffmpeg" or how to install ffmpeg-php" And "unix commands"
Anyway, here ya go. Now you copy and paste
what you see in the code field, These are commands.
Code:rpm -Uhv http://apt.sw.be/packages/rpmforge-r...l4.rf.i386.rpm
Code:yum update
Code:yum install ffmpeg ffmpeg-devel
Now, youre on your own on the php module, you can find the walkthrough on it by googling ffmpeg-php
-
10-08-2007, 12:15 AM #25Disabled
- Join Date
- Jul 2006
- Location
- Clovis, CA
- Posts
- 278
FOR the ultra easy way to install all the video codecs try http://ffmpeginstall.sourceforge.net/