Thursday, March 19, 2009

Playing movies on CentOS 5

One of the attractions in a presentation is having interesting movies being played. On CentOS 5.2, you can install VLC from the Dag repository.

Step 1: Add the Dag repository.
$ vi /etc/yum.repos.d/dag.repo

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
enabled=1

Step 2: Install VideoLan
$ yum install vlc

Installing for dependencies:
SDL_image i386 1.2.5-1.el5.rf dag 84 k
a52dec i386 0.7.4-8.el5.rf dag 78 k
aalib i386 1.4.0-5.el5.rf dag 167 k
arts i386 8:1.5.4-1 base 1.1 M
cppunit i386 1.12.0-3.el5.rf dag 811 k
dirac i386 1.0.2-1.el5.rf dag 2.9 M
faac i386 1.26-1.el5.rf dag 151 k
faad2 i386 2.6.1-1.el5.rf dag 329 k
ffmpeg i386 0.4.9-0.9.20070530.el5.rf dag 5.3 M
ffmpeg-libpostproc i386 0.4.9-0.9.20070530.el5.rf dag 42 k
freeglut i386 2.4.0-7.1.el5 base 142 k
fribidi i386 0.10.7-5.1 base 52 k
giflib i386 4.1.3-7.1.el5.1 base 39 k
gsm i386 1.0.12-1.el5.rf dag 63 k
imlib2 i386 1.4.0-1.el5.rf dag 947 k
lame i386 3.98.2-1.el5.rf dag 569 k
libXvMC i386 1.0.2-2.1 base 18 k
libcaca i386 0.99-0.1.beta11.el5.rf dag 236 k
libcddb i386 1.3.0-1.el5.rf dag 112 k
libcdio i386 0.77-1.el5.rf dag 514 k
libdca i386 0.0.5-1.el5.rf dag 136 k
libdvbpsi i386 0.1.5-2.el5.rf dag 66 k
libdvdcss i386 1.2.10-1.el5.rf dag 64 k
libdvdnav i386 0.1.10-3.el5.rf dag 212 k
libdvdread i386 0.9.7-1.el5.rf dag 126 k
libebml i386 0.7.8-1.el5.rf dag 297 k
libid3tag i386 0.15.1b-3.el5.rf dag 75 k
libmad i386 0.15.1b-4.el5.rf dag 82 k
libmatroska i386 0.8.1-1.el5.rf dag 701 k
libmodplug i386 0.7-1.2.el5.rf dag 299 k
libmpcdec i386 1.2.6-1.el5.rf dag 52 k
libshout i386 2.2.2-1.el5.rf dag 115 k
libsndfile i386 1.0.17-1.el5.rf dag 476 k
libupnp i386 1.6.6-1.el5.rf dag 297 k
lirc i386 0.6.6-4.el5.rf dag 241 k
mpeg2dec i386 0.4.1-2.el5.rf dag 190 k
opencv i386 1.0.0-1.el5.rf dag 4.3 M
qt4 i386 4.2.1-1 base 7.2 M
svgalib i386 1.9.25-1.el5.rf dag 809 k
taglib i386 1.5-1.el5.rf dag 978 k
twolame i386 0.3.12-1.el5.rf dag 131 k
x264 i386 0.0.0-0.4.20070529.el5.rf dag 789 k
xosd i386 2.2.14-1.el5.rf dag 60 k
xvidcore i386 1.1.3-1.el5.rf dag 531 k
zvbi i386 0.2.33-1.el5.rf dag 925 k

Step 3: Start VLC
In the Desktop Panel, choose the menu Applications ->Sound and Video ->VLC Media Player



Wow ! a total of 46 packages needed to be installed on my fresh CentOS 5.2 installation. Only problem was the package zvbi that failed to be downloaded. So, I manually installed that and restarted the vlc installation.

If this don't work, then the VLC can be manually downloaded and installed from http://download.videolan.org/pub/videolan/vlc

Caveat, you need to install all dependencies manually.

No comments: