SyntaxHighlighter

2008/08/23

How to Play MPEG Movies on CentOS-5.2

Linux Multimedia HacksCentOS-5.2 has no codec so that we cannot play any movie. So we must install third party packages to play back movie.

CentOS-5.2 includes totem, the GNOME media player. But today I selected VLC that can handle many formats of movies.

All of following steps should be done as a root user.

1. Add rpmforge repository onto your CentOS-5.2.
# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm


Please refer to the DAG's FAQ website.

NOTE: Once you do above, you shouldn't do yum update! Some of rpmforge packages get mixed with your healthy CentOS-5.2 system.

2. Install VLC player.
Do only:
# yum install vlc


If you are asked to install additional packages, please select 'yes'.

3. Disable rpmforge repository.

Open and change enable section to '0':
# vim /etc/yum.repos.d/rpmforge.repo


Then, the installation is completed. Please run the VLC player as:
$ vlc

3 件のコメント:

  1. Hi,
    In the end I got

    "warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897


    GPG key retrieval failed: [Errno 4] IOError: urlopen error (110, 'Connection timed out')"

    Could you please help me?

    Thanks in advance :)

    返信削除
  2. I guess you are using a proxy server...

    I think you can find the appropriate answer googling the problem because there are many people having the same problem. And the wrong proxy setting seems to cause your problem.

    返信削除
  3. Thanks, Friend

    Karim in Boghni

    返信削除