LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xine, why isn't it working right? (https://www.linuxquestions.org/questions/linux-software-2/xine-why-isnt-it-working-right-60646/)

oudent 05-19-2003 11:44 AM

Xine, why isn't it working right?
 
Ok, so I compiled Xine, and I think everything went right, but when I go to install frontends for it, it tells me Ishould install Xine-lib first...but that just what I finished setting compiling (takes so long to compile too). The only thing the install file for Xine-lib said to do was:
./configure
make
make install
And all three steps woked.
Is there anything I'm missing...I can't find anything by the name xine-lib anywhere though...so could it be compiling everything except what I am trying to install?

RH9 installed on i686.

I tried installing the newest BETA version of xine-lib and an older non BETA version, and same problem.

Is Xine really better than mPlayer....can it play DVD's smoothly? up to now I haven't had much luck playing DVD's in linux on my P4, it would appear that a P4 is not fast enough to process DVD data in realtime.

Ice9 05-19-2003 04:49 PM

Quote:

Is there anything I'm missing...I can't find anything by the name xine-lib anywhere though...so could it be compiling everything except what I am trying to install?
Here you will find everything you need to set up the latest Xine version
Xine binaries

Quote:

Is Xine really better than mPlayer....can it play DVD's smoothly? up to now I haven't had much luck playing DVD's in linux on my P4, it would appear that a P4 is not fast enough to process DVD data in realtime.
A P4 is definitely fast enough to process DVD data in real-time, for Xine to play encrypted DVD's you will need libdvdcss though.
f your playback is choppy I would recommend installing 3D drivers for your graphics card, don't know what you use but they're available for both nVidia and Ati.
An Ati-based card could be more problematic under RH9 but MembraX has installed 3rd-party drivers for his Radeon under RH9 and it worked like a charm so it is do-able.

tobyl 05-19-2003 05:35 PM

in addition to the previous post, there is good info here:
http://xinehq.de/index.php/faq

note the section
Build problems: frontend (gxine/xine-ui/...)
I have installed xine-lib but the frontend complains about not finding it!



I found that even with dma set to on, I was getting a jumpy playback, but then I dicovered this setting:

hdparm -d1 -X34 /dev/hd* ( where hd* is your dvd player)

to be honest I cant remember what the -X34 means.

read all the documentation before using hdparm, as some options are dangerous (apparently)

whansard 05-19-2003 07:09 PM

the X34 is multiword dma something.
the -d1 by itself would set the cdrom to dma mode, and
the drive was probably already initialized to its highest
possible speed by the computer's bios when you turned
it on.
run mplayer -vo help and try the other video drivers too,
but any machine will play dvd choppy if the dvd drive
isn't running dma.

oudent 05-20-2003 05:07 PM

I tried to install a RPM version of xine-lib...

: rpm -i xine-lib-1.0.0-fr0.beta12.1.i386.rpm

And this is what it gave me:

warning: xine-lib-1.0.0-fr0.beta12.1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
aalib is needed by xine-lib-1.0.0-fr0.beta12.1
alsa-lib is needed by xine-lib-1.0.0-fr0.beta12.1
flac is needed by xine-lib-1.0.0-fr0.beta12.1
glut is needed by xine-lib-1.0.0-fr0.beta12.1
libFLAC.so.4 is needed by xine-lib-1.0.0-fr0.beta12.1
libaa.so.1 is needed by xine-lib-1.0.0-fr0.beta12.1
libasound.so.2 is needed by xine-lib-1.0.0-fr0.beta12.1
libasound.so.2(ALSA_0.9) is needed by xine-lib-1.0.0-fr0.beta12.1
libfame is needed by xine-lib-1.0.0-fr0.beta12.1
libfame-0.9.so.0 is needed by xine-lib-1.0.0-fr0.beta12.1
xvidcore is needed by xine-lib-1.0.0-fr0.beta12.1

So I am missing a lot of different things...but I was sure I had half of them.

Also I can't seem to get ldconfig or hdparm to run in RH9...so I can't follow the instructions for building the file...or is that one of the things I need to get?

Thanks, for all the help up to now,
Nick

Silent Bob 05-20-2003 05:11 PM

if you have a relatively new computer you could use UltraDMA (I'm not sure if this is actually any better... but come on! with a name like "Ultra" it's got to be good! :)) by using the -X switch and adding 64 to the DMA mode number

So for mode 2, instead of -X34 you would use -X66

oudent 05-20-2003 05:20 PM

ok, so su does not work for those two commands, you have to be root. That would have been nice to know...makes a big difference
I'll try again as root

Aussie 05-20-2003 08:38 PM

Try 'su -'.

oudent 05-20-2003 09:54 PM

Finally it works!!! It is smoother than in Windows! I just had to do the whole thing as root, because I guess SU is not enough. Thanks for the help.

Thanks
Nick

Silent Bob 05-21-2003 04:54 PM

su gives you root permissions, but it does not treat it as a login so you are left with the same environment variables as you had before (same $PATH etc.)

hdparm is usually in /sbin/hdparm which isn't in a normal users $PATH but is in root's

su - treats it as a proper login, you get all root's environment stuff.

End result: Use su - when you want superuser permissions, unless you know that you don't need to use superuser 'only' programs.

oudent 05-22-2003 03:50 PM

Thanks, that makes a lot of sense.

sorrodos 07-31-2003 02:33 PM

Here's how to make your DVD playback not choppy, you must enable DMA mode for the DVD drive.

hdparm -d1 /dev/hdc

replace hdc with whatever device your dvd drive is.

LavaDevil94 07-31-2003 11:30 PM

to everyone on this forum who might need it, i found a great place to get the xinelib, xineui, and libdvdcss in rpm packages. all at this url:
http://cambuca.ldhs.cetuc.puc-rio.br/xine/
remember this though: to get dvd working, you must install the libdvdcss devel package as well as the main library. dont ask me why.

DingoDave 11-28-2003 03:23 PM

Hey, the 'hdparm -d1 /dev/[dvd_device]' works like a champ! Fixed my jumpiness problem.

DingoDave


All times are GMT -5. The time now is 11:29 PM.