Monday, November 9, 2009

Installing Xine Player in fedora 11

 Xine is an Open source supporting multimedia player.Its really an excellent and efficient player.Xine has broad range of exciting new features while Windows based players dont have.Its quality of picture and sound is really impressive. It plays back CDs, DVDs, and VCDs. It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet. It interprets many of the most common multimedia formats available - and some of the most uncommon formats, too.U would be surprized seeing the number of media types it plays back smoothly.

For many days i have been trying how to install it very easily.But it appears not to be so easy coz, while i download its rpms and try to install from the rpms it simply makes me bored.Those rpms demand installing dependencies etc . etc. etc.......... that was so much disgusting.Sometimes it also happens in installing from tarball package.Recently i configured xine in my fedora 11 very easily.So , i want to share it with others ,so that people just dont get into troubles.

First install the xine-lib-1.1.3.tar.bz2.u can get it by googling.After u have had it on ur directory extract it , open a Konsole and go to the uncompressed folder.Now be the Super user and type the following


[root@localhost firaz]#./configure
-------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------
[root@localhost firaz]#make
[root@localhost firaz]#make install



It will install the Xine library i,e, its engine .But if u have to use Xine fully we have to install Xine-gui (user interface).Download xine-ui-0.99.4.tar.gz and then install it in the above procedure.

If everything goes well u should now be able to use Xine.But if it shows the messege something like this"xine engine error ......... xine has no demuxer to handle this media" , then we have to do some additional jobs.

Open a Konsole and type :

[root@localhost firaz]# gedit /etc/yum.repos.d/livna.repo

 It will open the Livna.repository configuration window.it looks like :





Do modifiy and make the highlighted lines as exactly shown in the picture.
Now save and exit.

Now type the following :

[root@localhost firaz]# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

error: http://rpm.livna.org/RPM-LIVNA-GPG-KEY: import failed.

[root@localhost firaz]# yum install k3b-mp3 xine-skins mplayer
Loaded plugins: protectbase, refresh-packagekit
livna-stable                           |              951B                                  00:00
livna-stable/primary             |              84 kB                                00:11
livna-stable 215/215
0 packages excluded due to repository protections
Setting up Install Process
Package xine-skins is obsoleted by xine-ui-skins, trying to install xine-ui-skins-0.99.5-16.fc11.noarch instead
Package mplayer-1.0-0.110.20090329svn.fc11.i586 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package k3b-extras-freeworld.i586 0:1.0.5-6.fc11 set to be updated
--> Processing Dependency: libavformat.so.52 for package: k3b-extras-freeworld
--> Processing Dependency: libavcodec.so.52 for package: k3b-extras-freeworld
--> Processing Dependency: libmad.so.0 for package: k3b-extras-freeworld
---> Package xine-ui-skins.noarch 0:0.99.5-16.fc11 set to be updated
--> Running transaction check
---> Package ffmpeg-libs.i586 0:0.5-3.fc11 set to be updated
--> Processing Dependency: libopenjpeg.so.2 for package: ffmpeg-libs
--> Processing Dependency: libdc1394.so.22 for package: ffmpeg-libs
--> Processing Dependency: libschroedinger-1.0.so.0 for package: ffmpeg-libs
--> Processing Dependency: libdirac_encoder.so.0 for package: ffmpeg-libs
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg-libs
---> Package libmad.i586 0:0.15.1b-13.fc11 set to be updated
--> Running transaction check
---> Package dirac-libs.i586 0:1.0.2-2.fc11 set to be updated
---> Package imlib2.i586 0:1.4.2-4.fc11 set to be updated
---> Package libdc1394.i586 0:2.1.2-1.fc11 set to be updated
---> Package openjpeg-libs.i586 0:1.3-5.fc11 set to be updated
---> Package schroedinger.i586 0:1.0.7-1.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package                       Arch            Version            Repository                   Size
================================================================================
Installing:
k3b-extras-freeworld i586         1.0.5-6.fc11             rpmfusion-free           64 k
xine-ui-skins noarch                   0.99.5-16.fc11           updates                   4.9 M
Installing for dependencies:
dirac-libs                    i586         1.0.2-2.fc11                fedora                    407 k
ffmpeg-libs                 i586        0.5-3.fc11        rpmfusion-free-updates   4.8 M
imlib2                          i586       1.4.2-4.fc11                 fedora                     219 k
libdc1394                    i586      2.1.2-1.fc11                  updates                  129 k
libmad                         i586    0.15.1b-13.fc11     rpmfusion-free-updates   84 k
openjpeg-libs             i586        1.3-5.fc11                    updates                    63 k
schroedinger              i586     1.0.7-1.fc11                    updates                  225 k

Transaction Summary
================================================================================
Install 9 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total size: 11 M
Total download size: 64 k
Is this ok [y/N]: y
Downloading Packages:
k3b-extras-freeworld-1.0.5-6.fc11.i586.rpm |          64 kB              00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xine-ui-skins                     1/9
Installing : dirac-libs                          2/9
Installing : imlib2                                3/9
Installing : libmad                               4/9
Installing : schroedinger                     5/9
Installing : libdc1394                          6/9
Installing : openjpeg-libs                    7/9
Installing : ffmpeg-libs                        8/9
Installing : k3b-extras-freeworld       9/9

Installed:
k3b-extras-freeworld.i586 0:1.0.5-6.fc11
xine-ui-skins.noarch 0:0.99.5-16.fc11

Dependency Installed:
dirac-libs.i586 0:1.0.2-2.fc11 ffmpeg-libs.i586 0:0.5-3.fc11
imlib2.i586 0:1.4.2-4.fc11 libdc1394.i586 0:2.1.2-1.fc11
libmad.i586 0:0.15.1b-13.fc11 openjpeg-libs.i586 0:1.3-5.fc11
schroedinger.i586 0:1.0.7-1.fc11

Complete!
[root@localhost firaz]# xine
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.