Playing DVDs in a Linux/CentOS machine and FFMPEG Installation

This involves several steps.  These instructions also apply to installing FFMPEG on your machine.

1.  Adding a new repository to your list.

Download/install RPMForge package for your 32-bit machine : http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

2.  Downloading/Installing the necessary packages.

3.  Enabling/disabling repositories.

 

Some more instructions from repoforge.org.  Use as needed.

  • Use cat /etc/redhat-release to find which release of EL you are using
  • Use uname -a to find your processor architecture
  • Use rpm -ivh package-filename to install the rpmforge-release package (also works with URLs)
  • You can use wget or curl to download the package using one of the above links if needed (for example on a server with no X Window)
  • Then you can use yum to install the available packages from the RepoForge repo, e.g. yum install --enablerepo=rpmforge-extras
  • Afterward, you can disable accidental updates from the repo by setting enabled = 0 in the repo definition file in /etc/yum.repos.d/

4.  yum search ffmpeg

5.  yum install ffmpeg ffmpeg-* gstreamer-ffmpeg.  If you use Virtualmin to provide/maintain your hosting/machine, make sure you have updated your system with ‘yum -y update’ before enabling rpmforge on the machine!

6.  yum install mplayer smplayer mencoder

7.  That’s it.  Check it plays a DVD or video using SMPlayer from Applications -> Sound Video -> SMPLayer!

Please follow the link, Playing DVDs in a CentOS 64bit installation for steps for 64bit machines.

 

Published by

Blog Administrator

PC diagnosis/repair, web hosting, web design, and software development

Leave a Reply