[MPlayer-users] Playing from a DVD image

Thilo Schulz arny at ats.s.bawue.de
Sat Jul 27 20:05:02 CEST 2002


Am Samstag, 27. Juli 2002 19:44 schrieb Haas Wernfried:
> does that actually work?
> iirc i once tried cat /dev/dvd > image and got quite some errors with
> dvds that had CSS on them. so i am wondering if this actually works with
> dd. i just can't try it myself because i don't have any DVDs lying around
> right now.

The reason for this is, as i guess, that the libmpdvdkit in mplayer needs 
actually a dvd decive to check with the descrambling keys, (i tried to let 
mplayer use a loop back device by having the dd image bound to /dev/loop0) 
but strace only returns following:

ioctl(6, 0x5392, 0xbfffe5f4) = -1 EINVAL (Invalid argument) 
ioctl(6, 0x5392, 0xbfffe5f4) = -1 EINVAL (Invalid argument) 
ioctl(6, 0x5392, 0xbfffe5f4) = -1 EINVAL (Invalid argument) 

while being apparently trapped in an infinite loop .. well, so i remembered 
ogle uses libdvdread, and mplayer can be compiled to use these libraries as 
well ... and voilà, it works directly with the raw file by starting mplayer 
like this:

mplayer -dvd 1 -dvd-device ./rawimage

- Thilo Schulz




More information about the MPlayer-users mailing list