LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing xine howto (https://www.linuxquestions.org/questions/linux-software-2/installing-xine-howto-580068/)

manjuke 08-27-2007 01:09 AM

Installing xine howto
 
Hi,
I am very new to linux. [I've been working and using windows for at least 10 years]. Anyhow I downloaded the Fedora Core 7 and managed to install it.

But later I found out that FC7 does not support to play MP3 initially, and I downloaded the xmms and installed (with the mp3 pluggin). Now it's ok.

But I cannot play any movies though (Divx and Xvid). I have searched and found out xine is the best player for that. And I downloaded the rpm but, I couldn't install it properly as it required lot's of additional libraries. So I am kind of lost at the moment.

I am very grateful if some on could help me on installing the xine step by step. where to find the libraries etc..
or one single package where it installs everything...

Thanks in advance...

zulfilee 08-27-2007 03:18 AM

Get the rpms from site :
http://freshrpms.net/

All dependent rpm`s will be available there.

If u have the xinerpm just run
rpm --requires -q xine.*rpm

And see what packages it needs.
Download all those packages and install it and it should work fine.

You can put all the packages in one directory and install with a single rpm command.The option i forgot.U can google and check it out.

manjuke 08-27-2007 06:24 AM

Hi zulfilee,
Thanks a lot.. I'll try and let you know...

manjuke 08-29-2007 06:47 AM

Hi zulfilee,

I downloaded the xine-lib-1.1.7.tar.bz2 and extracted it to xine-lib-1.1.7 directory. Then I executed the following commands

./configure
make
make install

And it went smoothly without any errors. Afterwards I have downloaded the following gui for xine.

xine-ui-0.99.5.tar.gz

and extracted is to xine-ui-0.99.5

now what shall I do now. The directory has the following structure and files

[root@localhost xine-ui-0.99.5]# ls
doc m4 misc po src
[root@localhost xine-ui-0.99.5]# cd src
[root@localhost src]# ls
xitk
[root@localhost src]# cd xitk
[root@localhost xitk]# ls
actions.c download.h help.c main.c network.h post.h stdctl.c
actions.h event_sender.c i18n.h Makefile.am osd.c session.h videowin.h
common.h event_sender.h Imlib-light Makefile.in playlist.c setup.c xine-toolkit
config_wrapper.c file_browser.h kbindings.h menus.h playlist.h setup.h
control.h frequencies.h lirc.h network.c post.c skins.c
[root@localhost xitk]# cd xine-toolkit/
[root@localhost xine-toolkit]# ls
browser.c config.c font.c intbox.h menu.c slider.c widget.h
browser.h _config.h font.h labelbutton.c menu.h slider.h window.c
button.c cursors.c getdeskroot.c labelbutton.h mrlbrowser.c tabs.c window.h
button.h cursors.h image.c label.c mrlbrowser.h tabs.h xitk.c
checkbox.c dnd.c image.h label.h po test.c _xitk.h
checkbox.h dnd.h inputtext.c list.c README tips.c xitk.h
combo.c doublebox.c inputtext.h Makefile.am skin.c tips.h xitkintl.h
combo.h doublebox.h intbox.c Makefile.in skin.h widget.c


Anyhow I downloaded the xine-0.99.5-1.el5.rf.i386.rpm and tried to install but got this message

[root@localhost xine]# rpm -Uvh xine-0.99.5-1.el5.rf.i386.rpm
warning: xine-0.99.5-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libcaca.so.0 is needed by xine-0.99.5-1.el5.rf.i386
libcucul.so.0 is needed by xine-0.99.5-1.el5.rf.i386
liblirc_client.so.0 is needed by xine-0.99.5-1.el5.rf.i386
libxine.so.1 is needed by xine-0.99.5-1.el5.rf.i386
xine-lib >= 1.1.2 is needed by xine-0.99.5-1.el5.rf.i386


Please help me...

Thank you so far....

dahveed3 08-29-2007 05:10 PM

http://www.diffingo.com/blog/content/blogsection/0/32/

That fellow is the main packager for the Fedora NVidia videocard drivers as packaged for the Livna repository. He has several FAQ there on his blog on how to get all this multimedia stuff done without breaking things (like what happened to you).

No one here advised you to download the source files and manually install them. You can do that with proper preparation but it is not the way hardly anyone installs software in Linux these days. Heck, even Gentoo, where everything gets built from source, had the portage system to mostly do it for you.

I suggest you do:

su -
make uninstall

from each of the folders that you manually installed that way.

Then go to Firewing's blog or even another FAQ like:

http://www.mjmwired.net/resources/mjm-fedora-f7.html

Make sure to explore that site for lots of great Fedora 7 help.

http://www.freewebs.com/dnmouse/index.htm

That fellow has similar easy ways to get things done.

And the Fedora forums as well as the Fedora specific forum right here at LQ have a wealth of information that'll help you.

You did it the hard way, which is quite possible to do but it would take research into installing the proper dependencies first and removing anything on your system that might conflict, all on your own

See why everyone uses package managers that automatically keep track of all this stuff?

You did it the Windows way. Not gonna work on Linux. Linux is MUCH easier, but you need to spend a brief period reading in order to understand how to use these things. Very easy tools are there for you in all the major distro's. Use them.

manjuke 08-30-2007 06:11 AM

Quote:

Originally Posted by dahveed3 (Post 2875023)
http://www.diffingo.com/blog/content/blogsection/0/32/

That fellow is the main packager for the Fedora NVidia videocard drivers as packaged for the Livna repository. He has several FAQ there on his blog on how to get all this multimedia stuff done without breaking things (like what happened to you).

No one here advised you to download the source files and manually install them. You can do that with proper preparation but it is not the way hardly anyone installs software in Linux these days. Heck, even Gentoo, where everything gets built from source, had the portage system to mostly do it for you.

I suggest you do:

su -
make uninstall

from each of the folders that you manually installed that way.

Then go to Firewing's blog or even another FAQ like:

http://www.mjmwired.net/resources/mjm-fedora-f7.html

Make sure to explore that site for lots of great Fedora 7 help.

http://www.freewebs.com/dnmouse/index.htm

That fellow has similar easy ways to get things done.

And the Fedora forums as well as the Fedora specific forum right here at LQ have a wealth of information that'll help you.

You did it the hard way, which is quite possible to do but it would take research into installing the proper dependencies first and removing anything on your system that might conflict, all on your own

See why everyone uses package managers that automatically keep track of all this stuff?

You did it the Windows way. Not gonna work on Linux. Linux is MUCH easier, but you need to spend a brief period reading in order to understand how to use these things. Very easy tools are there for you in all the major distro's. Use them.

Hi,

Please assist me on installing xine properly. You are right I am very much new to Linux environment...

I would appreciate if you could provide a step by step installation process..

And one more thing that I forgot to mention. I do not have the internet facility. So I would be trying for a off line installation solution. I can download the required files from my office PC.

Thanks so far..

nan0meter 08-30-2007 09:06 AM

Assuming you have installed fedora 7: Download this file http://rpm.livna.org/livna-release-7.rpm , save it to your home directory and install it with:

Code:

su -
rpm -ivh ~/livna-release-7.rpm

Now you have installed the livna repository which has all the extra's you need. Now run this to install support for playing all kinds of video's. This also installs totem using xine, if you already have totem then it uses gstreamer which with this script also can play all your video's. But if you want totem to use xine then read on ...

Without totem-xine:
Code:

su -
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras

With totem-xine:
Code:

su -
yum remove totem
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras totem-xine

Edit: sorry i didn't read about your internet connection, but you can download these files from http://rpm.livna.org/rlowiki/. I think it requires some other packages to be installed as well but I don't know which ones but you will find out because yum will tell you which packages it needs. Some packages won't be available through livna i guess but they are in the updates repository which can be found here: http://download.fedora.redhat.com/pu.../7/Everything/

manjuke 08-30-2007 08:47 PM

Quote:

Originally Posted by nan0meter (Post 2875732)
Assuming you have installed fedora 7: Download this file http://rpm.livna.org/livna-release-7.rpm , save it to your home directory and install it with:

Code:

su -
rpm -ivh ~/livna-release-7.rpm

Now you have installed the livna repository which has all the extra's you need. Now run this to install support for playing all kinds of video's. This also installs totem using xine, if you already have totem then it uses gstreamer which with this script also can play all your video's. But if you want totem to use xine then read on ...

Without totem-xine:
Code:

su -
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras

With totem-xine:
Code:

su -
yum remove totem
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras totem-xine

Edit: sorry i didn't read about your internet connection, but you can download these files from http://rpm.livna.org/rlowiki/. I think it requires some other packages to be installed as well but I don't know which ones but you will find out because yum will tell you which packages it needs. Some packages won't be available through livna i guess but they are in the updates repository which can be found here: http://download.fedora.redhat.com/pu.../7/Everything/

Hi,

thanks... I will check this and let you know...

manjuke 09-07-2007 12:29 AM

Quote:

Originally Posted by nan0meter (Post 2875732)
Assuming you have installed fedora 7: Download this file http://rpm.livna.org/livna-release-7.rpm , save it to your home directory and install it with:

Code:

su -
rpm -ivh ~/livna-release-7.rpm

Now you have installed the livna repository which has all the extra's you need. Now run this to install support for playing all kinds of video's. This also installs totem using xine, if you already have totem then it uses gstreamer which with this script also can play all your video's. But if you want totem to use xine then read on ...

Without totem-xine:
Code:

su -
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras

With totem-xine:
Code:

su -
yum remove totem
yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg xine xine-lib xine-lib-extras-nonfree xine-lib-extras totem-xine

Edit: sorry i didn't read about your internet connection, but you can download these files from http://rpm.livna.org/rlowiki/. I think it requires some other packages to be installed as well but I don't know which ones but you will find out because yum will tell you which packages it needs. Some packages won't be available through livna i guess but they are in the updates repository which can be found here: http://download.fedora.redhat.com/pu.../7/Everything/



Hi,
Like you said I downloaded the required files and installed the Xine player. And now I have another problem. When I start the player it gives me an error.

Here are the screen shots of the error

http://rapidshare.com/files/53945251...shot-Error.png
http://rapidshare.com/files/53945261...g_Viewer-1.png
http://rapidshare.com/files/53945271...Log_Viewer.png


How can I rectify this..
Thanks so far...


All times are GMT -5. The time now is 02:16 AM.