LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   compile mplayer with libcss support (https://www.linuxquestions.org/questions/linux-software-2/compile-mplayer-with-libcss-support-35998/)

ddpicard 11-20-2002 02:49 PM

compile mplayer with libcss support
 
I downloaded the latest version of mplayer.

I compile it and make, make install.

I am able to play any .avi's and vob's that I have. My problem is when I go to play one of my encrypted DVD's I get the error:

mplayer not compiled with libcss support. please read dvd-help. (i think that is the name of the file.)

I read the file and it tells me that mplayer should have the DVD2KIT directory. I checked and yes it is there.

Searched here but did not find any mplayer threads with my problem. Searched the net with google. Found one site that told me to set DVD2KIT Share to YES before making, and making install. Did this but same thing, NOT COMPILED WITH libcss support.

If I am missing something easy I apologize. Just can't seem to find the answer. From all the people here that uses mplayer, someone i'm sure can help. Thanks in advance.

dave

acid_kewpie 11-20-2002 03:03 PM

yes, that is correct, if you look at the ./configure output you should see .....
Code:

Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... yes
Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2
Checking for DVD support (libdvdnav) ... yes

wether you get yes to libcss or not, it is disabled by dvdkit2, which contains a MUCH better version. I take it you are not aware that libcss is both a) crap and b) old

ddpicard 11-20-2002 03:44 PM

Thanks, for the response Acid.

Yes, I was aware that libcss was very old and crap. I had always heard that mplayer used it's own software to play dvd's. That is why I am confused.

When I play a DVD all I get is audio with scrambled video and the error that mplayer was not compiled with libcss.

Do you know what I missed when I compiled my mplayer? I did the standard:

./configure
make
su -
make install

Should I have gave some other option with the ./configure for it to play the encrypted dvd's?

Thanks,
dave

acid_kewpie 11-20-2002 03:53 PM

well what have you downloaded? if you got a standard pre10 rpm or tar.gz then it should either already be compiled in it or be enabled by default. you shouldn't need to do anything whatsoever, and i'd strongly suggest you didn't change anything, recommended online or not.

if however you've got a cvs snapshot, then mpdvdkit *might* not be included, i know ffmpeg isn't, but that's a bit different. what does the equivalent section of your ./configure output say?

acid_kewpie 11-20-2002 03:53 PM

also you might be running it wrong

mplayer -dvd 1

is all you should need

ddpicard 11-20-2002 04:07 PM

Ok, i downloaded MPlayer-0.90pre10.tar.bz2 from mplayer's website.

Well, I hate looking stupid but I was mounting the DVD and then using mplayer to run the first .vob file.

When I get home from work let me try using:

mplayer -dvd 1

What is the 1 for? The Region?

If that is all it is I will kick myself. :mad:

dave

acid_kewpie 11-20-2002 04:11 PM

if i were to suggest looking at the man page you wouldn't take it the wrong way and think i was rtfming you now would you? cool. you can actaully play dvd's the way you suggested but there's really no need. the 1 is the track number. dvd menu support is still "embyonic" but as dvd menu's are crap anyway, that's no loss. if you want to be able to see what's on the dvd you could try using my little lsdvd app see.. http://acidrip.thirtythreeandathird.net/lsdvd.html but the main title is normally track 1 anyway....

ddpicard 11-20-2002 04:15 PM

No I would not think that at all. I have but guess I still did not quite get the way I should have ran it. I will play around with it tonight and get it figured out. Thanks for all the help.

dave

ddpicard 11-20-2002 06:34 PM

acid_kewpie, i tried the mplayer -dvd 1 and it worked with no problems.

man, I hate it when I post a stupid question. especially when I thought it wasn't. sorry about that. I SHOULD have read the manual better. :mad:

dave

acid_kewpie 11-20-2002 06:38 PM

that's fine, the recognition that the person was wrong is much more valuable than any apology. not that you need to apologise anyway.

MasterC 11-21-2002 01:31 AM

I read this in sequence, as it unfolded, and I knew as soon as you gave your -dvd 1 response Chris, that'd be the end all.

Do you help in writing Mplayer? Or is it just that this is sort of your "forte"? I mean, I have liked programs very well, and knew most things on using it, and pretty much could run the thing blind folded, but you really seem to know more than the avg geek on this program. I hope that sentence is read as it should be, I mean, damn you are good.

I knew this answer, but I read every Mplayer question, and each of your responses to them because I learn more and more each time it seems, with the few exceptions when it's a RTFM (not that it shouldn't be for those occasions). Thanks for the tips.

Cool


All times are GMT -5. The time now is 05:31 PM.