Mercurial > mplayer.hg
comparison DOCS/xml/en/cd-dvd.xml @ 11598:d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
utter cruelty
author | gabucino |
---|---|
date | Mon, 08 Dec 2003 22:15:42 +0000 |
parents | d480f7e36b74 |
children | a1bc8133084a |
comparison
equal
deleted
inserted
replaced
11597:1dcf9b8909b5 | 11598:d18111ea13d0 |
---|---|
113 In case of DVD decoding problems, try disabling supermount, or any other such | 113 In case of DVD decoding problems, try disabling supermount, or any other such |
114 facilities. | 114 facilities. |
115 </para></note> | 115 </para></note> |
116 | 116 |
117 <formalpara> | 117 <formalpara> |
118 <title>Old-style DVD support - OPTIONAL</title> | |
119 <para> | |
120 Useful if you want to play encoded VOBs from <emphasis role="bold">hard disk</emphasis>. | |
121 Compile and install <emphasis role="bold">libcss</emphasis> 0.0.1 (not newer) for this | |
122 (If <application>MPlayer</application> fails to detect it, use the | |
123 <option>-csslib /path/to/libcss.so</option> option). To use it, you need to be root, | |
124 use a suid root <application>MPlayer</application> binary or let | |
125 <application>MPlayer</application> call the suid-root fibmap_mplayer wrapper program. | |
126 </para> | |
127 </formalpara> | |
128 | |
129 <formalpara> | |
130 <title>DVD structure</title> | 118 <title>DVD structure</title> |
131 <para> | 119 <para> |
132 DVD disks have 2048 bytes per sector with ECC/CRC. They usually have an UDF | 120 DVD disks have 2048 bytes per sector with ECC/CRC. They usually have an UDF |
133 filesystem on a single track, containing various files (small .IFO and .BUK | 121 filesystem on a single track, containing various files (small .IFO and .BUK |
134 files and big (1GB) .VOB files). They are real files and can be copied/played | 122 files and big (1GB) .VOB files). They are real files and can be copied/played |
144 addressing of sectors of the disc to implement DVD navigation or decrypt the | 132 addressing of sectors of the disc to implement DVD navigation or decrypt the |
145 content. | 133 content. |
146 </para> | 134 </para> |
147 | 135 |
148 <para> | 136 <para> |
149 The whole old-style DVD support with <systemitem>libcss</systemitem> therefore | 137 DVD support needs raw sector-based access to the device. Unfortunately you must |
150 needs a mounted DVD filesystem and raw sector-based access to the device. | 138 (under Linux) be root to get the sector address of a file. That's why we don't |
151 Unfortunately you must (under Linux) be root to get the sector address of a | 139 use the kernel's filesystem driver at all, instead we reimplement it in |
152 file. You have the following choices: | 140 userspace. <systemitem>libdvdread</systemitem> 0.9.x and |
153 | 141 <systemitem>libmpdvdkit</systemitem> do this. The kernel UDF filesystem driver |
154 <itemizedlist> | 142 is not needed as they already have their own builtin UDF filesystem driver. |
155 <listitem><para> | 143 Also the DVD does not have to be mounted as only the raw sector-based access is |
156 Be root or use a suid-root <application>MPlayer</application> binary. | 144 used. |
157 </para></listitem> | |
158 | |
159 <listitem><para> | |
160 Let <application>MPlayer</application> call the suid-root fibmap_mplayer | |
161 wrapper program to access the DVD (used in the old-style DVD playback over | |
162 <systemitem>libcss</systemitem>). | |
163 </para></listitem> | |
164 | |
165 <listitem><para> | |
166 Don't use the kernel's filesystem driver at all and reimplement it in | |
167 userspace. <systemitem>libdvdread</systemitem> 0.9.x and <systemitem>libmpdvdkit</systemitem> | |
168 do this (new-style DVD support). The kernel UDF filesystem driver is not | |
169 needed as they already have their own builtin UDF filesystem driver. | |
170 Also the DVD does not have to be mounted as only the raw sector-based | |
171 access is used. | |
172 </para></listitem> | |
173 </itemizedlist> | |
174 </para> | 145 </para> |
175 | 146 |
176 <para> | 147 <para> |
177 Sometimes <filename>/dev/dvd</filename> cannot be read by users, so the | 148 Sometimes <filename>/dev/dvd</filename> cannot be read by users, so the |
178 <systemitem>libdvdread</systemitem> authors implemented an emulation layer | 149 <systemitem>libdvdread</systemitem> authors implemented an emulation layer |