comparison DOCS/cd-dvd.html @ 7935:643d7fea35c5

some changes found by lgb...
author jonas
date Sun, 27 Oct 2002 17:33:44 +0000
parents b75cf70d2a7c
children 635baf6d2e1d
comparison
equal deleted inserted replaced
7934:b75cf70d2a7c 7935:643d7fea35c5
77 as it can result in bugs, library incompatibilities, and slower speed.</P> 77 as it can result in bugs, library incompatibilities, and slower speed.</P>
78 78
79 <H4>DVD Navigation support (dvdnav)</H4> 79 <H4>DVD Navigation support (dvdnav)</H4>
80 80
81 <P>Support for DVD navigation via <CODE>dvdnav</CODE> was being worked on, but 81 <P>Support for DVD navigation via <CODE>dvdnav</CODE> was being worked on, but
82 it was never finished properly and is therefore not recommended.</P> 82 it was never finished properly and is therefore <B>not recommended</B>!</P>
83 83
84 <H4>Old-style DVD support - OPTIONAL</H4> 84 <H4>Old-style DVD support - OPTIONAL</H4>
85 85
86 <P>Useful if you want to play encoded VOBs from <B>hard disk</B>. Compile and 86 <P>Useful if you want to play encoded VOBs from <B>hard disk</B>. Compile and
87 install <B>libcss</B> 0.0.1 (not newer) for this (If MPlayer fails to 87 install <B>libcss</B> 0.0.1 (not newer) for this (If MPlayer fails to
88 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option). You need 88 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option). To use it,
89 to be root or use a suid root binary to use it.</P> 89 you need to be root, use a suid root MPlayer binary or let MPlayer call the
90 suid root fibmap_mplayer wrapper program.</P>
90 91
91 <H4>DVD structure</H4> 92 <H4>DVD structure</H4>
92 93
93 <P>DVD disks use all 2048 b/s sectors with ecc/crc. They usually have an UDF 94 <P>DVD disks use all 2048 b/s sectors with ecc/crc. They usually have an UDF
94 filesystem on a single track, containing various files (small .IFO and .BUK 95 filesystem on a single track, containing various files (small .IFO and .BUK
104 <P>The whole old-style DVD support with libcss needs therefore a mounted DVD 105 <P>The whole old-style DVD support with libcss needs therefore a mounted DVD
105 filesystem and a raw sector-based access to the device. Unfortunately you must 106 filesystem and a raw sector-based access to the device. Unfortunately you must
106 be root (under Linux) to get the sector address of a file. You got two choices:</P> 107 be root (under Linux) to get the sector address of a file. You got two choices:</P>
107 108
108 <UL> 109 <UL>
109 <LI>Force the user to be root or use a suid root mplayer binary like 110 <LI>Force the user to be root or use a suid root mplayer binary.</LI>
110 fibmap_mplayer which does the dvd access for the old-style DVD playback 111 <LI>Let MPlayer call the suid root fibmap_mplayer wrapper program to access
111 over libcss.</LI> 112 the DVD (used in the old-style DVD playback over libcss).</LI>
112 <LI>Don't use the kernel's filesystem driver at all and re-implement it in 113 <LI>Don't use the kernel's filesystem driver at all and re-implement it in
113 userspace. libdvdread 0.9.x and libmpdvdkit does this (New-style DVD 114 userspace. libdvdread 0.9.x and libmpdvdkit does this (New-style DVD
114 support). The kernel udf filesystem drivers isn't needed as they already 115 support). The kernel udf filesystem drivers isn't needed as they already
115 have their own, built-in udf fs driver. Also the dvd, doesn't needs to be 116 have their own, built-in udf fs driver. Also the dvd, doesn't needs to be
116 mounted as only the raw sector-based access is used.</LI> 117 mounted as only the raw sector-based access is used.</LI>