PDA

View Full Version : how to install Xine to play video



crmpicco
7th September 2006, 03:08 PM
I am attempting to install Xine from a number of sources, but don't seem to be having ANY luck.....

I found this site (http://www.linux.com/howtos/DVD-Playback-HOWTO/install.shtml) and ran through the instructions; downloaded the .rpm, put it on my pen drive, copied it to the FC5 box home directory, then ran this command:

# rpm -Uvh apt-0.5.15cnc3-0.1.fr.i386.rpm

However, I got an error and it wouldn't let me proceed from there.

i also tried this command:

yum install xine xine-lib xine-skins

but....as I am not connected to the WWW on the FC5 machine, it gave me this error:

Error: Cannot find a valid baseurl for repo: core.

All I am looking for is to play .avi and .mpg files on my OS, but it seems very complicated to get it working??? Can anyone point me in the direction of some instructions that work (and are fool-proof)????

I've been trying to play video on the machine for about a fortnight now.......:-((
Much appreciated.

Picco

crmpicco
7th September 2006, 03:17 PM
this might be interesting for some, i googled my problem (agaiin) and found this piece of text:

9. MPEG, QuickTime, AVI, and DVDs

MPEG (the format used on DVDs) represents itself as an open standard, but most Linux distributions won't ship software that read it because of blocking patents held by MPEGLA. AVI and Apple QuickTime have proprietary codecs covered by patents, so most Linux distributions won't ship software that decodes them, either.

FC5 ships the GNOME project's official video player, totem. Unfortunately, it won't play DVDs. The symptom is an error popup that says "Totem was not able to play this disc. No reason", but the problem is actually a known bug in gstreamer-0.10.

Unfortunately, the alternate front end xine is even more broken. It can be installed this way:

yum install xine xine-lib libdvdcss

Doing this will also install a number of support libraries, including the libdvdcss plugin that the xine people won't talk about on their site because they are too frightened of the DVDCCA's attack lawyers.

The 0.99.4 xine release displays an all-white window and does nothing (at least on my plain-vanilla Opteron machine using a nVidia GeForce2).

Is it the case that a lot of things just dont work on Linux? If this is the case, would anyone recommend me moving back to Windows? I want to use Fedora as my OS, but playing video files is a basic thing and do it quite a lot?

Salamandra
7th September 2006, 03:23 PM
Follow this:
http://stanton-finley.net/fedora_core_5_installation_notes.html

And you will get everything working, at least it worked for me (and many others).

crmpicco
7th September 2006, 03:26 PM
hi salamandra, hope you are still there.

i have studied that site today, but the problem is I dont have an WWW connection on my FC5 box. I download the needed files on WinXP Home then copy onto my Pen drive and take it to the FC5 box.

these instructions for Xine require a WWW connection (seemingly):

[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-5
enabled=0
gpgcheck=1

Any ideas?

crmpicco
7th September 2006, 03:31 PM
did you get it working when your Linux machine was connected to the WWW?

Salamandra
13th September 2006, 01:05 PM
Sorry for answering so late, using yum assumes that you have internet connection.

Try using fedoratracker to locate the packages and resolve the dependencies "by hand".

crmpicco
14th September 2006, 09:54 AM
hi Salamandra, thats no problem, thanks for your response.....

ok, so I can't use yum as the box has no WWW connection. So by 'hand' are you referring to using the 'rpm -ivh' command to install it?

What do you mean by fedoratracker? Is it some sort of download area?

Picco

martin.sourada
14th September 2006, 09:59 AM
hi Salamandra, thats no problem, thanks for your response.....

ok, so I can't use yum as the box has no WWW connection. So by 'hand' are you referring to using the 'rpm -ivh' command to install it?

What do you mean by fedoratracker? Is it some sort of download area?

Picco

I would rather use rpm -Uhv. It is safer than rpm -ihv if you already have installed other version of the same package. rpm -Uhv installs new package or upgrades the older one to newer.

Dumbledore
15th September 2006, 04:39 AM
If you're specifically looking for the Xine engine, you could try Kaffein, it's the KDE version of Xine. Personally, I think it would be better to use MPlayer than use the KDE copies, though. MPlayer plays all the same media types as Xine, and it has browser plugins. Also, you can play Windows media with a package called "win32codec" (Google it, not exactly sure where to get it).

Salamandra
15th September 2006, 08:27 AM
Yes, you have to locate the rpm's and resolve the "dependencies hell" by yourself. Yum would do it for you automatically.
As martin said it is better to use -Uhv.
When you install its easy that you get some errors regarding missing dependencies, then you'll have to locate the packages (use www.fedoratracker.org or google the package name) and install then prior to the ones you want to install.
Of course you have to log as root in order to do everything.

ogetbilo
15th September 2006, 09:12 AM
Here is my output of yum deplist xine |grep provider:



...
provider: zlib.i386 1.2.3-1.2.1

provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: libXft.i386 2.1.8.2-3.2
provider: libpng.i386 2:1.2.8-2.2.1
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: ncurses.i386 5.5-19
provider: libXv.i386 1.0.1-1.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: e2fsprogs-libs.i386 1.38-12
provider: libXinerama.i386 1.0.1-1.2
provider: bash.i386 3.1-6.2
provider: libICE.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: libXxf86vm.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: readline.i386 5.0-3.2.1
provider: libidn.i386 0.6.2-1.1
provider: libXrender.i386 0.9.0.2-3.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: curl.i386 7.15.1-1.2.1
provider: curl.i386 7.15.1-3
provider: curl.i386 7.15.5-1.fc5
provider: libXtst.i386 1.0.1-1.2
provider: freetype.i386 2.1.10-5.2.1
provider: fontconfig.i386 2.3.94-1
provider: libXext.i386 1.0.0-3.2
provider: libX11.i386 1.0.0-3
provider: libX11.i386 1.0.0-3.FC5.0
provider: lirc.i386 0.6.6-4.fc5.rf
provider: lirc.i386 0.8.0-3.fc5
provider: lirc.i386 0.8.0-3.fc5
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: libSM.i386 1.0.0-2.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: zlib.i386 1.2.3-1.2.1
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: libXft.i386 2.1.8.2-3.2
provider: libpng.i386 2:1.2.8-2.2.1
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: ncurses.i386 5.5-19
provider: libXv.i386 1.0.1-1.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: e2fsprogs-libs.i386 1.38-12
provider: libXinerama.i386 1.0.1-1.2
provider: bash.i386 3.1-6.2
provider: libICE.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: aalib.i386 1.4.0-5.fc5.rf
provider: aalib.i386 1.4.0-0.8.rc5.fc5
provider: aalib.i386 1.4.0-0.rc5.7
provider: aalib.i386 1.4.0-0.rc5.7
provider: aalib.i386 1.4.0-0.8.rc5.fc5
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: libXxf86vm.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: readline.i386 5.0-3.2.1
provider: libidn.i386 0.6.2-1.1
provider: libXrender.i386 0.9.0.2-3.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: curl.i386 7.15.1-1.2.1
provider: curl.i386 7.15.1-3
provider: curl.i386 7.15.5-1.fc5
provider: libXtst.i386 1.0.1-1.2
provider: freetype.i386 2.1.10-5.2.1
provider: fontconfig.i386 2.3.94-1
provider: libXext.i386 1.0.0-3.2
provider: libX11.i386 1.0.0-3
provider: libX11.i386 1.0.0-3.FC5.0
provider: lirc.i386 0.6.6-4.fc5.rf
provider: lirc.i386 0.8.0-3.fc5
provider: lirc.i386 0.8.0-3.fc5
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: libSM.i386 1.0.0-2.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: zlib.i386 1.2.3-1.2.1
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: libXft.i386 2.1.8.2-3.2
provider: libpng.i386 2:1.2.8-2.2.1
provider: ncurses.i386 5.5-19
provider: libXv.i386 1.0.1-1.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: e2fsprogs-libs.i386 1.38-12
provider: libXinerama.i386 1.0.1-1.2
provider: bash.i386 3.1-6.2
provider: libICE.i386 1.0.0-2.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: libXxf86vm.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: readline.i386 5.0-3.2.1
provider: libidn.i386 0.6.2-1.1
provider: libXrender.i386 0.9.0.2-3.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: curl.i386 7.15.1-1.2.1
provider: curl.i386 7.15.1-3
provider: curl.i386 7.15.5-1.fc5
provider: libXtst.i386 1.0.1-1.2
provider: freetype.i386 2.1.10-5.2.1
provider: fontconfig.i386 2.3.94-1
provider: libXext.i386 1.0.0-3.2
provider: libX11.i386 1.0.0-3
provider: libX11.i386 1.0.0-3.FC5.0
provider: lirc.i386 0.6.6-4.fc5.rf
provider: lirc.i386 0.8.0-3.fc5
provider: lirc.i386 0.8.0-3.fc5
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: libSM.i386 1.0.0-2.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: zlib.i386 1.2.3-1.2.1
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: libXft.i386 2.1.8.2-3.2
provider: libpng.i386 2:1.2.8-2.2.1
provider: ncurses.i386 5.5-19
provider: libXv.i386 1.0.1-1.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: e2fsprogs-libs.i386 1.38-12
provider: libXinerama.i386 1.0.1-1.2
provider: bash.i386 3.1-6.2
provider: libICE.i386 1.0.0-2.2
provider: slang.i386 2.0.5-5.2.1
provider: slang.i386 2.0.6-1.fc5
provider: libXxf86vm.i386 1.0.0-2.2
provider: krb5-libs.i386 1.4.3-4.1
provider: krb5-libs.i386 1.4.3-5.1
provider: readline.i386 5.0-3.2.1
provider: libidn.i386 0.6.2-1.1
provider: libXrender.i386 0.9.0.2-3.2
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3
provider: curl.i386 7.15.1-1.2.1
provider: curl.i386 7.15.1-3
provider: curl.i386 7.15.5-1.fc5
provider: libXtst.i386 1.0.1-1.2
provider: freetype.i386 2.1.10-5.2.1
provider: fontconfig.i386 2.3.94-1
provider: libXext.i386 1.0.0-3.2
provider: glibc.i386 2.4-4
provider: glibc.i686 2.4-4
provider: glibc.i386 2.4-8
provider: glibc.i686 2.4-8
provider: libX11.i386 1.0.0-3
provider: libX11.i386 1.0.0-3.FC5.0
provider: lirc.i386 0.6.6-4.fc5.rf
provider: lirc.i386 0.8.0-3.fc5
provider: lirc.i386 0.8.0-3.fc5
provider: xine-lib.i386 1.1.2-1.fc5.rf
provider: xine-lib.i386 1.1.2-1.fc5
provider: xine-lib.i386 1.1.2-3.lvn5
provider: xine-lib.i386 1.1.2-4.lvn5
provider: libSM.i386 1.0.0-2.2
provider: openssl.i386 0.9.8a-5.2
provider: openssl.i686 0.9.8a-5.2
provider: openssl.i386 0.9.8a-5.3
provider: openssl.i686 0.9.8a-5.3


Obviously, some packages are listed multiple times with different version and/or arch numbers.
It's best to have the latest versions installed for all of them.
For example, I'd recommend you to install glibc-2.4-8 among all the glibc's.
To check what version you have for one particular package, or to check if it's installed, type:
rpm -q <package name>
If you have a 'good' version for a particular package, skip to the next one.
If you need a later version of a particular package or if you have it not installed at all, go to:
rpm.pbone.net
and make a search for the specific package. Download the necessary rpm for FC5.
Put all the new rpm's you got in a new folder in your FC5 box (together with the xine rpm package). Then do a

rpm -Uvh *rpm

inside that folder. To be able to watch a dvd you also need the w32codec rpm, which you can find in that address. I'd recommend kaffeine for a xine frontend.
But get the xine working first.

Good luck.