LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-20-2002, 03:49 PM   #1
ddpicard
Member
 
Registered: Oct 2001
Location: Texas
Distribution: Slackware 13
Posts: 214

Rep: Reputation: 31
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
 
Old 11-20-2002, 04:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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
 
Old 11-20-2002, 04:44 PM   #3
ddpicard
Member
 
Registered: Oct 2001
Location: Texas
Distribution: Slackware 13
Posts: 214

Original Poster
Rep: Reputation: 31
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
 
Old 11-20-2002, 04:53 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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?
 
Old 11-20-2002, 04:53 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
also you might be running it wrong

mplayer -dvd 1

is all you should need
 
Old 11-20-2002, 05:07 PM   #6
ddpicard
Member
 
Registered: Oct 2001
Location: Texas
Distribution: Slackware 13
Posts: 214

Original Poster
Rep: Reputation: 31
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.

dave
 
Old 11-20-2002, 05:11 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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....
 
Old 11-20-2002, 05:15 PM   #8
ddpicard
Member
 
Registered: Oct 2001
Location: Texas
Distribution: Slackware 13
Posts: 214

Original Poster
Rep: Reputation: 31
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
 
Old 11-20-2002, 07:34 PM   #9
ddpicard
Member
 
Registered: Oct 2001
Location: Texas
Distribution: Slackware 13
Posts: 214

Original Poster
Rep: Reputation: 31
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.

dave
 
Old 11-20-2002, 07:38 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
that's fine, the recognition that the person was wrong is much more valuable than any apology. not that you need to apologise anyway.
 
Old 11-21-2002, 02:31 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer won't compile with alsa support bruno buys Debian 6 08-23-2009 01:35 PM
Cannot compile MPlayer 1.0pre7 with x264 support ginobili_mvp Linux - Software 3 12-04-2005 12:25 PM
how to compile bttv support? ratbert90 Slackware 1 11-11-2003 06:44 PM
Can't compile MPlayer statically. Nezzo Linux - Software 3 11-04-2003 07:29 PM
livid libcss compile error... makai_wi Linux - Newbie 1 11-07-2002 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration