[ANN] vlc 0.2.81
Jauder Ho
jauderho at carumba.com
Fri Aug 10 18:18:04 CEST 2001
Took a quick look at how xine does this (I am using a dvdcss enabled
input_dvd.c for xine)
This is how they seem to do it. In openDrive(), they open both the regular
device and raw device. If the raw_fd is not usable, raw_fd is set to
dvd_fd and returned.
It then proceeds to openDVDFile where it tried to open the file using
UDFFindFile( this->dvd_fd, str, &size )
returning an offset to use with dvdcss.
I am not to familiar with dvdcss internals so maybe someone else that is
more familiar with the code can use this to code up a solution.
I have tried xine with and without raw devices and it definitely seems a
little smoother.
--Jauder
On Mon, 30 Jul 2001, Samuel Hocevar wrote:
> On Mon, Jul 30, 2001, Christophe Massiot wrote:
>
> > > Raw device documentation claims that you have to speak with a raw
> > > device using full-sector addressing, so maybe this is the problem?
> >
> > I have no idea what it means. Can't we just lseek() ?
>
> You need to lseek() at sector-bound addresses, and libdvdcss does
> this.
>
> As you stated, the problem might come from the authentication ioctls,
> maybe they should be done on the real device instead of the raw device,
> which would require some changes in the dvdcss_open() call.
>
> --
> Sam.
>
>
>
More information about the vlc
mailing list