Re: [Mplayer-dev-eng] DVD: anything else besides libcss?
lgb@lgb.hu said:
libcss also does not require to be root!
true
The main problem with CSS at all that you need the starting sector of the object because it's a must for doing title authentication. This information can be determined with doing FIBMAP ioctl but that needs to be root under Linux
true
(FIBMAP as non-root user is not planned for Linux kernel 2.5.x either).
the last post from alan cox on this subject indicated that FIBMAP would be safe for non-root as soon as every filesystem that implemented it was audited to make sure it was safe. that's a good bit of work, but it is planned, AFAIK.
This is true for every possible CSS implementation AFAIK. The solution is using informations from IFO files. This does not require root privs of course. As you can see this root or non-root problem is not CSS implementation related thing. AFAIK. (Or it's possible that libdvdcss has got some IFO parsing utils, I don't know.) ALL: Please correct me if I've missed something.
the difference is that libdvdcss uses sector-based addressing; it doesn't open the VOB files directly. that's why it doesn't need to use FIBMAP, it already knows the physical sector address. that would also explain why the dvd doesn't have to be mounted. it seems that it must be able to read the UDF filesystem off of the raw device itself, without using the kernel to help. IMO, dvd playing should: - use libdvdcss for the advantages mentioned above, and - use the code i hear is in ogle to parse IFO format to get goodies like subtitle palettes and the DVD menus. now someone just needs to implement it. :) jason _______________________________________________ Mplayer-dev-eng mailing list Mplayer-dev-eng@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
On Mon, Jul 09, 2001 at 02:34:48PM -0400, Jason Lunz wrote:
FIBMAP, it already knows the physical sector address. that would also explain why the dvd doesn't have to be mounted. it seems that it must be able to read the UDF filesystem off of the raw device itself, without using the kernel to help.
IMO, dvd playing should: - use libdvdcss for the advantages mentioned above, and - use the code i hear is in ogle to parse IFO format to get goodies like subtitle palettes and the DVD menus.
Hmmmm. I've just checked out API documentation of libdvdcss. Sample code: dvdcss = dvdcss_open( ppsz_argv[1], DVDCSS_INIT_QUIET ); dvdcss_seek( dvdcss, i_sector ); As you can see with libdvdcss you MUST know the starting sector of the object as well ... The API is block oriented and there is NO option for opening a FILE. So without an IFO parser we must use FIBMAP with libdvdcss too ... ANd I've got the bad feeling that I cannot controll authentication and descrambling freely enough with libdvdcss compared to use libcss. -- --[ Gábor Lénárt ]---[ Vivendi Telecom Hungary ]---------[ lgb@lgb.hu ]-- U have 8 bit comp or chip of them and it's unused or to be sold? Call me! -------[ +36 30 2270823 ]------> LGB <-----[ Linux/UNIX/8bit 4ever ]----- _______________________________________________ Mplayer-dev-eng mailing list Mplayer-dev-eng@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
participants (2)
-
Gábor Lénárt -
j@falooley.org