Warning: immensely long and follows what I did. Swear words included. I am not sure this will be of any help to anyone, but maybe it will.. many things said due to intense frustration and may not reflect my thoughts when I have a cooler head. Some of this may already be answered by threads here.. I will do more checking here later..
Diary of a man trying to watch a DVD on linux:
Downloaded Mandrake 9.1-- Playing a DVD is important.. surely they have made strides towards normal people being able to do it, right? Conquer the desktop and all that? I'll have no problems..
Click on Multimedia package selection.. that will work be all I need, right?
Installed..
Fire up Mandrake.. checked Multimedia tab.. just Xine.. hmm.. ok.. they must have perfected Xine, right.. so they didn't bother with the rest of them..
Fire up Xine. Crap it's one of those crap-tastic user interfaces that decides it has to look "new-age" and hide functions behind tiny little arbitrarily shaped buttons. Can't I just get a normal menu bar across the top??? Uh-oh.. I see little areas for DVB, CD, and VCD.. but no DVD.. crap.. put the DVD in the drive anyway, what the hell, right? Nope.. nothing. Wander through what menus I can find.. nothing useful. Are there any more menus? Who knows!? How can I tell which little craptastic gui thing is a button, and what isn't?! I'm probably missing something important..
I'm stuck.. time to get help from the web.
Google-- xine how to play dvd
Find-- Get your Linux box to Play DVD's
Looks promising.. oops 2002.. maybe it's still good.. he recommends Mplayer, but most of his instructions are about Xine. Xine is already installed.. I'll stick with it.. Mandrake chose it for a reason, right?
Following his directions.. cvs isn't installed on my computer? Hmm... lots of instructions involve CVSing stuff.. seems like core function. Install it through rpmdrake... uh-oh.. they've changed rpmdrake. It's easy enough to search for stuff to install, but tougher to search for stuff that's already on your computer.. :/
CVS installed.. still can't login to the cvs server for libcss.. something wrong with the server? Maybe there's an rpm for it.. mixing tar.gz and RPM seems to be something to avoid if possible.. Off to rpmfind.net!
Hmm.. they have something, but it's for PLD Linux.. I thought there were lots of mdk packages for everything last time I checked.. hmm.. times have changed?
Linux.com links are dead from the article.. go through their website to find linuxguru.net and the "Linux and DVD how-to!" Hmm... 2002 also.. anyway.. he's got a link for libdvdcss tarball there.. download install.. what? no gcc on my computer? Another core piece of software my package selection missed.. :/ rpmdraked gcc on.. installed libdvdcss..
rpmdraked libdvdread, dvdnav in as well (prefer to use rpm when I can)
ok.. he says I should be good to go..
Xine just stares at me when I put in the DVD and click on the DVD tab. What the hell am I doing wrong? Where's the menu to figure out what to do next? Is there some hidden button somewhere I'm supposed to press?!? WTF?!?!
Go back to more looking on the net..
Google-- xine how to play dvd mandrake
find "DVD playback problem on Xine (using Mandrake)"
hey! someone in my same boat.. uhoh.. advice is--
"Helpful hint -- to actaully play the DVD, you have to choose the right
crypto codec from a series of buttons on xine's GUI. Open the selector
menu and you'll see a list of garbled entries. Click the buttons on the
right (D5D, D4D, etc) until the entries change, then add all and play."
Crap!!!!!!!! What the hell is the "selector menu".. I can't find anything labeled selector menu..
hmm.. but there is a link that can help me!
www.videolan.org/libdvdcss/
Their stuff is much newer.. I'll make uninstall the old stuff and make install the newer stuff. Newer is better, right?
Ok.. done.. launch Xine again.. hmm.. well.. Ok.. I hit DVD, and hit play.. instead of staring at me, I start getting green and multicolored gobbledy gook. ??? After a while of cursing, part of the screen resolves into something I recognize as parts of the menu. Hey!!! It's playing!!!!!!! Sorta.. It's playing like crap.
WTF! WTF! WTF! WTF! WTF! I bought this damn DVD player years ago and still can't do a damn thing with it!!!!! Why is Microsoft scared again? Why is this so hard?
Hmm.. should I try to tune and tweak Xine on the theory that that will let me actually _view_ the movie?? or install Mplayer, which was recommended by the first guy talking about watching DVD's on Linux.. If I remember correctly, lots of guys on Slashdot gush about Mplayer.. what the hell, I'll give it a try.. see if I have more success out of the box, as it were.
Now.. do I build from source, or try the mandrake packages to start from?
Hmm... I feel like a sucker for doing this, since Xine seems screwed up as it came from the Mandrake packages.. but what the hell.. I can always uninstall them, right? Why doesn't RPMdrake ever request disk 3 straight away? It always asks for one or two first, but doesn't actually seem to want anything from them.. :/
Ok RPMDrake failed.. WTF?!?!?! There was an error??
There was an ERROR?!?!? Goddamit? What error? It's your packages.. this is a pristine fucking system, except for the dvdcss stuff I just put in.. ok.. what the fuck.. let's make uninstall everything I've done so far.
Ok.. that was quick.. this is a new system.
Now RPMdrake says it's already installed.. Fucking great.. There was an error! Oh nevermind it's there. Nothing like starting out with a mysterious quirky setup.
Run MPlayer.. it starts up ok.. OH CRAP ON A STICK! Another craptastic "I'm a media player! I can't have a usable user interface-- Fuck NO!" user interface. This one doesn't even have mouseover help, it seems.. 8|
Hey!!!! Right clicking on the window gives me something resembling a sensible menu!!!!! YAHOOO!!!
Click play DVD Open.. getting a weird error.. "demux: file doesn't contain selected audio or video stream" Hmm.. I bet that means I need some CSS stuff. :/ I tried to go directly to a chapter.. and the thing seemed to lock up. :/ Been spinning my DVD rom for a while now. Xkilled it, but DVD still spinning.
Read the FAQ on Mplayerhq.hu and see something mentioned libmpdvdkit2, so I looked on my system for it.. can't find it.. :/ Did Mandrake give me a crippled version of Mplayer? That sucks.. go to software removal which is still open (it seems to be the only way to see if it's already installed, I guess..) search for mplayer.. not there.. hmm.. have to stop it and reinstall it. Crap.. it returns 3 packages. I think Rpmdrake installed 13 when I put it in.. are those cluttering packages going to screw with me installing Mplayer from source?
Hmm.. installing MPlayer from source.. instructions kinda cryptic.. when do I install the codecs? Before or after configure.. hmm.. it only mentions checking about a gui before compiling, so maybe codecs are after? Try a ./configure --enable-gui
No libpng?! How come Mandrake didn't give me libpng? Hmm.. maybe it's just the development version that is missing. I'll RPMdrake it.. Just ASK for Disk 3 if you want Disk 3!! I'm fucked.. It's saying all sorts of packages (about 15) that were already installed, and that caused an error. RPMDrake didn't say anything about what extra dependencies it would need.. why'd it try to install 15 extra packages.. usually it says, "I need to install these others too, ok?" or something like that. Fuck me. My Mandrake 9.1 installation is about 3 hours old and is already headed to the shitter.
Anyway, the ./configure command seems to be checking for codecs, so I'll look to installing them. Untarred some qt codecs I downloaded by following one of Mplayer's links.. how do I install these? There's nothing about it on the page with all the codecs... Ah! A README! Great, a zero byte file... cheeky bastards.
Untar another codec tarball.. no readme there either.. :/
I'll try FFmpeg.. it seems to have a ./configure script.. Check the README.. it says check the doc folder. Check the doc folder.. the faq and the doc files both seem to be about running it not installing it. go back and run ./configure.. great.. it is spewing all sorts of crap at me.. no altivec.h, parse error before "p", Imlib2.h is missing.. SDL.h is missing.. what the hell? Is this a screwed up tarball? Did Mandrake leave out something I wanted? Lots of "undeclared identifier" and similar crap coming out of that ./configure script.. that's too bad.. I hear great things about ffmpeg from the Slashdot postings. :/ Why do you have to get a fucking PhD in 15 different programs to get to watch a goddamn DVD on linux?! I used to think.. when I last tried DVD playback in Linux, it was a real pain in the ass, and I couldn't get it to work.. but these other Slashdot yahoos say it's easy.. maybe things have gotten better?? Apparently not.. What a fucking mess. Call me an idiot.. tell me I haven't read the docs well enough! But goddamit meet me half way! Playing a damn DVD in Linux is an obvious objective here.. why can't I find directions that tell me the cookbook steps of how to do this? Or at least, why can't I find any of those directions that WORK!?!?!?!?
Ugh.
fuck ffmpeg..
no wait... let's go to ffmpeg's site again.. see if I missed anything.
Nope.. it says version 0.4.6 is obsolete.. use the CVS snapshot.. I've got that. It's crap. Check the faq.. nothing in there that I see is pertinent. Yep.. I'm up a creek with ffmpeg.. no! Wait.. maybe there's a mdk rpm.. rpmfind! Hmm.. well, there's something from FreshRPMs that looks promising.. but it's not Mandrake.. Well.. I'm not particularly picky right now and I just want _something_ to go right.. I'll try it. Go with the .src.rpm. Ok.. now I need to RPMdrake rpm-build, spec-helper, and libtool, according to a website I checked. Great.. got another error on rpm-build.. stuff was already installed... WTF?! Hmm maybe rpmdrake doesn't recognize packages it just put in.. that's crazy.. I'll close it and reopen it from now on. Annoying. Hmm.. libtool not found.. wonder if it already was installed as a dependency earlier.. I'll try software removal to check. It's there.. good..
Now to: rpm --rebuild ffmpeg*.src.rpm
/usr/lib/rpm/rpmb: No such file or directory
WTF?!?!??!?!?!? .............. .................. ................... .................. ......................
I can't fucking believe this.. Why can't I do an rpm --rebuild?!?!?! Why can't I do a single GODDAM THING?!?!?!?! I try following the fucking directions on the fucking websites I find that seem pertinent! BUT NO!!! Everything is fucking missing, screwed up, unexplained, unfinished, not found, dead link---- GYAAAAAAAAHHHHHHHHHHHH!!!! Fucking A.. I love the idea of an operating system that's open source.. fighting the good fight against Microsoft.. giving me an alternative.. but .... seriously.. is it soooo sooo sooooo strange to want to watch a goddamn DVD in Linux?! Nobody else tries this? What am I doing wrong??? Why do I have all these problems? Holy crap this is an agonizing experience.. How can this be the state of our works?! I have contributed in small ways to a few small open source projects. In the past I have influenced my employer to buy open source software packages.. but can I continue to do so? How can I advocate their continued use when I have repeated experiences like this?
ugh.. ok.. let's google that error message and see if I get a lucky hit.. It seems that every piece of software I have touched has either been not installed, or fucked up, or what.. I don't know.. google.. help me out..
Ok.. found a link to linuxquestions.org--
"GT I.N.C
When trying to use RPM re-build i get this error..
Code:
[root@localhost tmp]# rpm --rebuild
/usr/lib/rpm/rpmb: No such file or directory
Do you think i need a new version of rpm rebuild, or maybe i'm missing some libs?
Garry
markus1982
If you want to rebuild RPM's you need to have the rpm-build RPM-Package installed ... I assumed that and double checked it using
Code:
[root@markus root]rpm -ql rpm-build | grep /usr/lib/rpm/rpmb
/usr/lib/rpm/rpmb
So install the rpm-build rpm-package and you are ready to go
GT I.N.C
Cool, thanks, it works fine, the thing is i thought i had it installed and it didn't appear in Mandrakes sotware manager as NOT installed, well i downloaded it and installed it from there...thanks again
markus1982
Never trust a software manager

"
WHAT?!?!??!!?!??!?!??!??!??!?!?!??!???!!??!?!??!?!??!???!?!?
WHAT? WHAT? WHAT? WHAT? WHAT? You have got to be kidding me.. Oh crap.. Gentoo help me.. please tell me this shit doesn't happen with Gentoo or Sourceror or whatever.. Hmm.. maybe last time I got errors, RPMdrake didn't finish installing. The other time it had errors, but it had installed it anyway.. How the fuck am I supposed to know the difference?
ok.. rpm-rebuild worked.. well it failed on dependencies, but it worked.. I need imlib2, SDL-devel, freetype-devel.. crap.. crap.. crap... crap... That's about 10 more programs I now need to get a PhD in before I can get back to square -58 in my progress towards playing a fucking DVD on my linux box.
I'm an idiot, but let's check RPMdrake for imlib2, etc. Ok.. it's got it.. Damn.. I really need to copy these cd's onto the hard drive so I don't have to keep swapping fucking cd's every two seconds. Imlib2 done.. now for SDL-devel.. crap.. no SDL-devel.. I hope libSDL-devel is ok. Seems to be.. got Freetype installed.. now it comes to Lame-devel... it's not in RPMdrakes database.. :/ skip it for now.. libogg-devel? Ok.. libvorbis-devel? Ok. faad2-devel? Nope.. nothing faad.. :/ skipping.. a52dev-devel? seems good..
Now I just need lame-devel and faad2-devel.. shall I hit rpm-find again and see what new cascade of dependencies I don't have?
Found faad2.. another Freshrpms source rpm.. lather rinse repeat! Excellent.. more failed dependencies.. libsndfile-devel, xmms-devel, and id3lib-devel. I wonder how many of them rpmdrake won't have. Another chain of diving deeper and deeper into dependencies.. I've backed about 130 steps back from my goal of watching a DVD. I'm now working to install some anonymous dependency of a dependency, id3lib... obvious that I would need such a thing for watching a DVD in Mplayer. :/
Ok.. got libsndfile-devel.. got xmms-devel.. got id3lib-devel.. good to go right? WRONG!! I installed id3lib-devel, (well libid3lib3.8_2-devel-3.8.2-2mdk anyway).. but
rpm -rebuild ./faad2-1.1-fr2.20030409.src.rpm
still tells me:
id3lib-devel is needed by faad2-1.1-fr2.20030409
!!!!!!!!!!!!!!!!!!!!!!!
Hmm.. time to punt on Mplayer..
Linuxquestions.org seems to say ogle is the easiest to setup for mandrake.. here goes nothing.. rpmdrake ogle.. Nothing... muthafugga! holy crap.. here we go again.. gotta love going through this and seeing quotes like "Easiest to setup and just 'work' probably Ogle." and "I perfer MPlayer myself, it was a breeze to setup and I had no problems getting it to work"
Browsing around Linuxquestions.org I find mention of the Penguin Liberation Front... I remember these guys.. their stuff was pretty cool.. Hey.. I'll see if I can get things done with them! Maybe it can be easy after all! :|
I'll try mplayer again.. everyone loves that.. followed their urpmi instructions to get access to the PLF stuff. Will it "just work" now? I doubt it.. Still I hold great hope for the PLF.. the eternal hope that someone, somewhere has things straightened out.
Ahh.. crap.. rpmdrake reported tons of problems.. this isn't looking good.. let's see if it's there. Nope.. no mplayer in the multimedia tab.. check command line? Nope.. not there either.. X<
Well.. there seemed to be conflicts between plf files and mdk files.. try rpmdrake again making sure not to select excess mdk files.. this may yet work..
That must be the delirium talking.
Heheh... still doesn't work.. says there is conflict with another mplayer installation. Software removal says there's nothing.
Damn it all to hell.