Linux.com

I need a media player!

Link to this post 13 Oct 11

Here, I found it. This is something that easily fixes those issues. Download and use it to get your dvds working, then use VLC player or whatever other DVD player program you prefer and it will work. Here is the link:


The website:

http://www.dnmouse.org/autoten/


instructions: it says to copy and paste this into the terminal: su -c 'yum -y --nogpgcheck install http://dnmouse.org/autoplus-1.2-5.noarch.rpm'

then it says this may be required:

su -c 'rpm --import http://dnmouse.org/RPM-GPG-KEY-dnmouse'

That fixed it for me on Fedora15, it should for you too. Let me know how it goes.

**Edited, my instructions were wrong before, this could be purely for fedora however its worth a try.

Link to this post 13 Oct 11

In order to get DVD's to play, you will need libdvdcss.

Go to a terminal and log in as root by typing:
su <enter>
then type in your password and hit enter
Then install the file using the following command.
yum install http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/libdvdcss2-1.2.9-1.i386.rpm (This works whether you have 32 bit or 64 bit installed)

Installing this file is illegal in some countries, but, perfectly legal in others. You can read about the legalities at http://www.videolan.org/developers/libdvdcss.html if you so wish.

If you want to install media codecs or non-free media players you will have to have the non-free Centos repos activated in your Centos install. You can find instructions for setting up these repos here: http://rpmfusion.org/Configuration . When installing the rpmfusion repos, make sure you install both the free and non-free versions.

As far as a media player, you can search your package management app in Centos, which is PackageKit, the same as it is in RedHat and Fedora. You can find it in the Administration part of your main menu.

Just as you installed the above file, you can install any app in Centos by becoming root in a terminal and typing:
yum install <packagename> OR you can choose the app in package management and install it that way.

I prefer VLC as my media player, some prefer mplayer or xine. I'm sure all are available, searching PackageKit should confirm their presence. If you use the search term "multimedia" and search by definition instead of package name, a host of different media players should come up. Read the details of each and decide which ones suit your needs. For me, VLC does it all.

yum install vlc

If you have any more questions, just ask. Hopefully the instructions above will work for you on first try, but, if you encounter any problems, we can help you sort them out.

Link to this post 13 Oct 11

Thanks for the effort Sims, but an error came up when I tried it. However I do believe I'm a little closer to getting a DVD to play now that I tried Goineasy9's advice. I got "videolan" downloaded and then I tried to play the DVD, but it still says that I need a source plug-in.

On the 3rd link you provided me I tried to download the free & non-free, but I got errors from both as I tried.

I'm almost there so any more help would be much appreciated.

Thanks Sims and Goineasy9

Link to this post 13 Oct 11

I edited my instructions they were wrong before which could be why you got that error. Try my new instructions on my previous post (I edited it). Let me know if it works or not.

Link to this post 14 Oct 11

I run both kaffeine and vlc and can play just about every video format known. However, you will need to install some codecs, most of which are automatically installed if you use YUM to install the packaged versions of these players instead of downloading and building from source code. In any case, you can find vlc in the atrpms repository and kaffeine in the rpmforge repository. Either login as root or as sudo user, go to /etc/yum.repos.d and add these two repo files, atrpms.repo and rpmforge.repo. Then run the command "yum install vlc kaffeine"

atrpms.repo:



[atrpms]
name=Red Hat Enterprise Linux 6 - $basearch - ATrpms
failovermethod=priority
baseurl=http://dl.atrpms.net/el6-$basearch/atrpms/stable
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms

[atrpms-debuginfo]
name=Red Hat Enterprise Linux 6 - $basearch - ATrpms - Debug
failovermethod=priority
baseurl=http://dl.atrpms.net/debug/el6-$basearch/atrpms/stable
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms

[atrpms-source]
name=Red Hat Enterprise Linux 6 - $basearch - ATrpms - Source
failovermethod=priority
baseurl=http://dl.atrpms.net/src/el6-$basearch/atrpms/stable
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms

rpmforge.repo:



### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Link to this post 19 Oct 11

I am on SL6.1
very much like cent 6.0
past history with centos 5.3,5.4,5.5,5.6
have tought me NOT to install programs and the codecs for music and videos on CentOS

the repos that they are in, ARE INCOMPATIBLE with almost EVERY other and with the base install

I lost count of the times i had to rebuild a cent install do to incompatible rpms getting installed, and that is with "yum-priorities " installed and configured.
So starting with CentOS 5.5 i did not even bother with mplayer,totem,vlc,-- none of them.


warning !!!
It is VERY easy to 100% FUBAR a rhel/cent/sl install with the multimedia

use caution !

word of incompatible warning with centos 6
rpmfusion is fine
BUT rpmfusion-extra IS incompatible with centos 6 base

-- READ ---
and heed ALL AND EVERY warnings on the wiki !!!
http://wiki.centos.org/AdditionalResources/Repositories

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board