Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD: Is it working for anybody?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 7:11 am    Post subject: DVD: Is it working for anybody? Reply with quote

Can anybody who has managed to watch DVDs under Linux please write a little howto?

I have tried everything, but Im not able to play any dvd. I had it running briefly, but it stopped working shortly after again :( . I have no idea why it worked or why it stopped again.

I'm constantly getting:
> libdvdread: Can't seek to block 256
> libdvdread: Can't open file VIDEO_TS.IFO.
> vm: faild to read VIDEO_TS.IFO

I have tried xine with xine-dvdnav, ogle, mplayer and vlc to no avail...

Has anybody any suggestions?
Back to top
View user's profile Send private message
slonocode
Apprentice
Apprentice


Joined: 03 Jun 2002
Posts: 273

PostPosted: Wed Jul 24, 2002 9:54 am    Post subject: Reply with quote

I suggest emerging all the xine related ebuilds. I emerged them all and am getting great results.
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 11:21 am    Post subject: Reply with quote

I have already emerged all of them (I think, will check when I'm back home): xine-lib, xine-ui, xine-dvdnav, xine-dmd, libdvdread, libdvdcss...

How did you set it up hardwarewise? I mean kernel options relating to dvds, configuration of /dev/dvd?

Marc
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 11:22 am    Post subject: Reply with quote

Did you compile UDF file system support in your kernel, or as a module? DVD's use the UDF file system, so you'll need that to watch DVDs. Otherwise, it looks like you've got everything else you need.
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 11:37 am    Post subject: Reply with quote

I have UDF support compiled as a module. So do I have to mount the dvd before I start up xine? If so, where and with the "mount -t udf..." option?

Where does the /dev/dvd symlink point to? Do I need to setup a raw device, as I read somewhere?

Yeah, I know, a lot of questions, best would be a working example of a setup...
I have searched everywhere on the web and in this forum, but couldn find a definitive answer how to reliably play dvds.

Marc
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Wed Jul 24, 2002 11:50 am    Post subject: Reply with quote

I just added "dvd" to my USE flags in /etc/make.conf and then I built the latest mplayer from CVS:

http://www2.mplayerhq.hu/MPlayer/cvs/MPlayer-current.tar.bz2

It works well here, once I turned on DMA on my DVD drive:

Code:

hdparm -d1 /dev/dvd


I made /dev/dvd myself, it's a symlink to /dev/cdrom which refers to /dev/hdc according to my /etc/fstab

Did you add "dvd" to your use flags, so every package gets build with support for dvd playback?
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 11:55 am    Post subject: Reply with quote

No, you don't need to mount it anywhere. Just put udf into your /etc/modules.autoload. Run Xine, click on the 'NAV' button, NOT the 'DVD' button, and click play. You should be GTG (good to go).
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 12:22 pm    Post subject: Reply with quote

I havent added dvd to my use flags. This might be the problem, although it seems a little odd that might affect xine...

I'll give all your suggestions a try as soon as I get back home and report back if it worked out somehow...

If it works, I'll write a short summary how I did it, as I'm probably not the only one with this specific problem.

Marc
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 3:56 pm    Post subject: Reply with quote

I have tried your suggestions - to no avail. I'm still not able to play any dvds.

I symlinked /dev/dvd to /dev/hdc where my dvd drive resides

Right now, Im reemerging all xine related stuff with the dvd use flag added to make.conf...

Marc
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 4:43 pm    Post subject: Reply with quote

This is really getting frustrating! :evil: :evil: :evil:

I just cant get this stuff to work! It still gives the same error. On my other machine (dual boot winXP / rh7.3) it's exactly the same.

Is the problem related to the region code of the drive itself? Remember I'm in Switzerland, Europe...

Maybe anybody has some more suggestions or examples on how to set it up. I mean this really shouldnt be such a big problem, right?

Marc
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 4:47 pm    Post subject: Reply with quote

In the control center that comes up with Xine (it looks like a stereo), there's a row of buttons under the center "LCD display". They say should say things like "CDA, DVD, VCD, NAV" etc. Are you sure you're clicking the "NAV" option before you press play? This switches to the DVD navigator plugin, which is what you want to watch encrypted DVDs.
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Wed Jul 24, 2002 5:02 pm    Post subject: Reply with quote

Yes Im sure! :D

Everytime it comes up with the same error:

libdvdread: Using libdvdcss version 1.2.1 for DVD access
libdvdread: Cant seek to block 256
libdvdread: Cant open file VIDEO_TS.IFO
vm: failed to read VIDEO_TS.IFO

Argh, I just dont wanna go back to Windows!!! :?
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Jul 24, 2002 7:27 pm    Post subject: Reply with quote

windchill wrote:
Yes Im sure! :D

Everytime it comes up with the same error:

libdvdread: Using libdvdcss version 1.2.1 for DVD access
libdvdread: Cant seek to block 256
libdvdread: Cant open file VIDEO_TS.IFO
vm: failed to read VIDEO_TS.IFO


I was getting the same error. I _don't_ have UDF compiled, but I still got DVD to work. Try the following:

Code:
% xine -s d5d /dev/dvd


Try hitting play on the xine GUI when it comes up. You might have to hit the "d5d" button first; I can't remember.

What this does is have the d5d input plugin "scan" the disk before firing up Xine; for some reason, it finds what it needs to this way. I might try the UDF module myself to see if I can avoid that ... I can't believe I missed it.

I should add that for playback to be smooth you must have DMA access working.

Let me know how it goes; I'm at work, so I don't have my Gentoo laptop in front of my to walk it through.

Quote:
Argh, I just dont wanna go back to Windows!!! :?


Let's not be rash ... :P
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Thu Jul 25, 2002 12:25 am    Post subject: Reply with quote

I have had trouble too. enabling dma helped. I have had better luck with mplayer than xine. you might also try ogle, but it did not work for me.
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Thu Jul 25, 2002 12:28 am    Post subject: Reply with quote

What I had to do to play dvd's in xine was to edit xines config file manually. As roo "nano -w /home/user/.xine/config". Each instance of a device location (all are wrong by default) I replaced with /dev/sr1 (my dvd player). I open xine with the nice little stereo reciever looking thing and click on mrl on it and then dmd in the mrl browser. Choose with chapter and that it works great.
Back to top
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Thu Jul 25, 2002 5:13 am    Post subject: Reply with quote

Have you recompiled libdvdcss, libdvdread, and libdvdnav since adding dvd to your USE flags? Just a guess.
Back to top
View user's profile Send private message
jonner
n00b
n00b


Joined: 25 Jul 2002
Posts: 42

PostPosted: Thu Jul 25, 2002 5:42 am    Post subject: Linux UDF support Reply with quote

I am quite confident that libdvdread and libdvdcss do not depend on Linux kernel UDF support of any kind. They read the block device (/dev/dvd, /dev/cdrom, /dev/hdc, ...) directly and do all filesystem decoding internally.

I do not have UDF in my kernel (look in /proc/filesystems) but I can play DVD's with xine and MPlayer. As someone else has already pointed out, a DVD filesystem does not need to be mounted to play the DVD; Linux filesystem drivers are only used to mount filesystems.

I have also been able to mount various DVD's as ISO9660 filesystems like normal CDROM's, so it seems that at least some DVD's have ISO filesystems or hybrid UDF/ISO.
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Jul 25, 2002 6:07 am    Post subject: Reply with quote

Location is a possibility, I suppose.
Have you tried this on >1 dvd, or >1 region (don't go out and buy dvds just to try this, though - we should be able to get it working)

I believe that there are region-free-ifiers available for just about everything these days.

A possibility: mount the dvd, and copy the entire contets to a temp dir - then, try launching the files directly, by (for example) adding them all to xine's playlist.

See if that works - then we can narrow it down to decoder software vs. hardware problem.

~Mac~
Back to top
View user's profile Send private message
windchill
n00b
n00b


Joined: 08 May 2002
Posts: 13

PostPosted: Thu Jul 25, 2002 12:46 pm    Post subject: Reply with quote

Problem solved, guys! :D :D :D

Thanks for providing ongoing ideas for a solution.
In the end it turned out to be a "simple " firmware upgrade that took care of it!

I had to create a bootable cd with the upgrade app, as this is a notebook without floppy drive!

Man, I'm really happy, I got this to work! Thanks again for your help, else I might just have reinstalled Windows (pheew)...

Marc

edit: How I did it (actually easy):

1. emerge xine
2. emerge xine-dvdnav
3. uncomment and adopt the dvd section in /etc/devfsd.conf
4. reboot
5. start xine
6. select NAV
7. enjoy

If it's not working, it's probably not xine's or the libraries' fault! Update your dvd-rom firmware...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum