Centos 5 Multimedia Howto
In This Article, I will be discussing how to setup Multimedia on Centos 5 Enterprise. When your looking for a longer update cycle than traditional Fedora / Ubuntu provide, I am also aware of Ubuntu LTS but i will not be covering that matter as it has been covered quite frequently, your best bet is probably to install a Version of Centos 4 or 5. I will be sticking with the latest and greatest as of today, which is Centos 5 Enterprise.
Step 1: Add the Rpmforge Repo
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Step 2: Add the Macromedia Repo
rpm -Uhv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
Step 3: Install Multimedia Applications
yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly
Step 4: Installing w32Codecs in order to play everything under the Sun.
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm ; rpm -ivh mplayer-codecs-20061022-1.i386.rpm
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm; rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm
you should now have full multimedia and video support for all popular formats. If you experience any issue or have a better approach feel free to post a reply.
*** UPDATE ***
Updated section 2 for the adobe flash player repo..
- 26317 reads
Comments
34 comments postedI had install mplayer by following your instruction
but mplayer playing mp3, wav, midi, but not playing movies.
Also if you are referring to web content, make sure that mplayer plugin is working.
Example open up firefox and instead of a web address type in
about:config
That should list what formats are supported and what player is called to play said format.
[root@localhost ~]# yum install libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg libquicktime
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: www.mirrorservice.org
* rpmforge: fr2.rpmfind.net
* base: mirror.karneval.cz
* updates: mirror.karneval.cz
* contrib: mirror.karneval.cz
* epel-source: www.mirrorservice.org
* centosplus: mirror.karneval.cz
* addons: mirror.karneval.cz
* extras: mirror.karneval.cz
Error: Missing Dependency: libdvdread.so.3 is needed by package libdvdplay-1.0.1-5.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly-0.10.9-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libdvdread.so.3 is needed by package lsdvd-0.16-2.el5.rf.i386 (rpmforge)
my current libdvdread.so. is 4
[root@localhost ~]# find / |grep libdvdread.so.
/usr/lib/libdvdread.so.4
/usr/lib/libdvdread.so.4.1.
how force yum to install lsdvd and libdvdplay and gstreamer that it will use newer libdvdread?
First off epel and rpmforge are repo's that tend to conflict. So the only idea i have is that you remove epel for now and remove the "libdvdread.so. is 4" package.
After that try installing again using the above command and remove mplayer-gui if it is still complaining since i believe it might now be part of the mplayer package. I have not reinstalled Centos5 in a while and thus cannot confirm the above statement.
Keep me posted...
Many Thanks! Following your instructions was easy for a Linux idiot like myself to get the multi-media capability up and running.
Mike
good
Parabéns, muito bom tutorial.
Me ajudou muito.
Thanks so much guy.
I had to translate that from Portuguese to English using Google, not often i get non English posts. Helped me brush up on my Google translating skills ;)
Thank you for this materials. They are very useful to me.
Great article! I installed codecs packages but did it slightly different, so I wanted to share:
rpm -ivh http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022
rpm -ivh http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20...
No post-installation cleanup necessary this way :-)
Sklav thank you very much, your HOWTO is very helpful.
This is awesome.
After following your instructions, Totem plays mp3 (and everything else) on my CentOS 5.3 box.
Both local mp3's as well as streamed stuff.
Totem even plays mp3's with VBR, - something that other workarounds so far have had a hard time to do.
I really had a hard time finding the appropriate workaround.
Thanks again. Your easy-to-follow, no b*llsh*t instructions was the cure.
//Michael.
Thanks brother for this wonderful help. Peace
It's work for me...
Great post....
HI,
I am a complete newbie to Linux world. I followed your instructions but I received following error message
gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libneon.so.25 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
libdvdplay-1.0.1-5.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libdvdread.so.3 is needed by package libdvdplay-1.0.1-5.el5.rf.i386 (rpmforge)
gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libcrypto.so.6 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libssl.so.6 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
gstreamer-plugins-ugly-0.10.5-3.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly-0.10.5-3.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libdvdread.so.3 is needed by package libdvdplay-1.0.1-5.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly-0.10.5-3.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libssl.so.6 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libcrypto.so.6 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libneon.so.25 is needed by package gstreamer-plugins-bad-0.10.3-8.el5.rf.i386 (rpmforge)
Please help me.
Regards,
Ok i just followed the howto on a new install and it worked as expected. So my question to you is are you trying to install VLC as your title suggests? if that is the case this is not covered by this howto. I have no issues assisting you in trying to get it to work but i would need more detail before i take anymore time to attempt to resolve the following issue.
Step1: Make sure you have an updated centos 5 install..
yum -y updateStep2: make sure the rpmforge repo is not disabled. Centos wiki can assist with that matter.
wiki.centos.org
Step3: after the above steps have been completed follow the howto.
Thank you
Sklav
Thank's Sklav
Great work!
Peter from Vienna/Austria
I have replaced Fedora on my laptop and desktop now with Centos5.2, these multi-media tips are awesome and Centos is very stable without the constant changes as in Fedora.
Keep up the excellent work!
Centos_user
2 error messages:
Setting up Install Process
Parsing package install arguments
No package livdvdnav available.
No package mplayer-gui available.
livdvdnav is a spelling mistake. Which i have corrected. As for mplayer-gui, I believe that is now bundled with the mplayer package. I will confirm and update shortly. On either case that will not affect the system by not installing it, since it just adds a graphical interface to mplayer.
I was having a hard time getting totem to play something,
followed your magic, and bingo!
Cheers.
What you have wrote here will inspire not just me but everybody else how will read it.
Very nice post.
Angelo Travelcia
It is always a pleasure when i read positive comments from people that have used this how-to and it has helped them.
I have converted to using CentOS instead of Fedora, thanks for the helpful multi-media tips they work great!
I am glad you found the content Helpful.
Thanks a lot. Much appreciated!
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm; rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm
100%[=======================================>] 3,709,112 376K/s in 10s
12:29:40 (349 KB/s) - `mplayer-codecs-extra-20061022-1.i386.rpm.2' saved [3709112/3709112]
warning: mplayer-codecs-extra-20061022-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID b6d6aef5
Preparing... ########################################### [100%]
package mplayer-codecs-extra-20061022-1 is already installed
show error
warning: mplayer-codecs-extra-20061022-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID b6d6aef5
According to the output you have specified the rpm has already been installed.
12:29:40 (349 KB/s) - `mplayer-codecs-extra-20061022-1.i386.rpm.2' <---- the .2 is appended when an rpm with same name is found.
package mplayer-codecs-extra-20061022-1 is already installed
warning: mplayer-codecs-extra-20061022-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID b6d6aef5
The above warning is displayed due to the fact that you do not have proper key signature for the rpm but since these packages rarely get updated and i have not found a repo containing them this is would be normal in this case. If you feel strongly about it you can always import the proper key from the website listed assuming they have published it, I trust the site because i have been using it for years. Hope that answers your question.
Thank you
Worked a charm :) Thanks!
Very good directions and precise instructions
Thank you
-A
I always appreciate when someone leaves a positive comment.
Great direction, I'm doing following the process
Thank you for very nice posts