comparison DOCS/cd-dvd.html @ 4057:0d9bf4a76dab

old-style DVD options added
author gabucino
date Tue, 08 Jan 2002 17:35:44 +0000
parents f41bbaebcea3
children cab4ac1467e4
comparison
equal deleted inserted replaced
4056:c631bf06ecfa 4057:0d9bf4a76dab
67 <P>Yes, the real DVD support has been arrived. You don't need to play VOB files 67 <P>Yes, the real DVD support has been arrived. You don't need to play VOB files
68 manually from disk thinking of the purpose of a file in the video_ts 68 manually from disk thinking of the purpose of a file in the video_ts
69 directory, you don't need worry it it's an encrypted disk or not (in old 69 directory, you don't need worry it it's an encrypted disk or not (in old
70 <B>MPlayer</B> you had to put '-dvdauth /dev/dvd' into the command line in case 70 <B>MPlayer</B> you had to put '-dvdauth /dev/dvd' into the command line in case
71 of encrypted discs), and you don't need even mount your disk to be able to 71 of encrypted discs), and you don't need even mount your disk to be able to
72 play :)</P> 72 play (but mounting it makes Linux cache the cracked CSS keys, so the playing
73 73 will initialize much faster second time).</P>
74
74 <P>IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback. 75 <P>IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback.
75 This is the first version of some real DVD support inside <B>MPlayer</B> and 76 This is the first version of some real DVD support inside <B>MPlayer</B> and
76 we're busy with hunting bugs and implementing basic DVD player features.</P> 77 we're busy with hunting bugs and implementing basic DVD player features.</P>
77 78
78 <P><B>MPlayer</B> uses libdvdread which has got built in support for IFO 79 <P><B>MPlayer</B> uses libdvdread which has got built in support for IFO
101 </LI> 102 </LI>
102 103
103 <LI><P><B>Compile and install libdvdcss THEN libdvdread.</B></P> 104 <LI><P><B>Compile and install libdvdcss THEN libdvdread.</B></P>
104 105
105 <P><I>Read documentation of these packages to do this step easily.</I></P></LI> 106 <P><I>Read documentation of these packages to do this step easily.</I></P></LI>
106 107
108 <LI><P><B>Old-style DVD support - <I>OPTIONAL</I></B></P>
109
110 <P><I>Useful if you want to play encoded VOB's from hard disk. Compile
111 <B>libcss</B> 0.0.1 (not newer) and install it to <CODE>/usr/local/lib</CODE>
112 (rpm/deb packages will put it to <CODE>/usr/lib</CODE>, but you can use the
113 <CODE>-csslib
114 /usr/lib/libcss.so</CODE> option)</P></LI>
115
107 <LI><P><B>Recompile MPlayer.</B></P> 116 <LI><P><B>Recompile MPlayer.</B></P>
108 117
109 <P><I>Run <CODE>./configure</CODE>. If you install libdvdread correctly, ./configure 118 <P><I>Run <CODE>./configure</CODE>. If you install libdvdread correctly, ./configure
110 says something similar:<BR><CODE>Checking for DVDread support ... yes</CODE><BR> 119 says something similar:<BR><CODE>Checking for DVDread support ... yes</CODE><BR>
111 (Of course you can put your favourite configure options into the command 120 (Of course you can put your favourite configure options into the command
146 subtitles, and if not found, display english subtitles.</TD></TR> 155 subtitles, and if not found, display english subtitles.</TD></TR>
147 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-sid &lt;subtitle_id&gt;&nbsp;</TD> 156 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-sid &lt;subtitle_id&gt;&nbsp;</TD>
148 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 157 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
149 Displays a subtitle channel with the given <CODE>id</CODE> (values can be 158 Displays a subtitle channel with the given <CODE>id</CODE> (values can be
150 0-31). Useful for example with badly mastered DVDs where country code 159 0-31). Useful for example with badly mastered DVDs where country code
151 selects the wrong channel. 160 selects the wrong channel.</TD></TR>
161 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-csslib &lt;path/filename&gt;</TD>
162 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
163 (old-style DVD option) This option is used to override the default location
164 of <CODE>/usr/local/lib/libcss.so</CODE>
165 </TD></TR>
166 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvdauth &lt;DVD device&gt;&nbsp;</TD>
167 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
168 (old-style DVD option) Turns on DVD authentication using the given device.
169 </TD></TR>
170 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvdkey &lt;CSS key&gt;</TD>
171 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
172 (old-style DVD option) When decoding from non-DVD, this option gives the
173 CSS key needed to crack the DVD (the key is printed when authenticating
174 with DVD).
175 </TD></TR>
152 </TABLE> 176 </TABLE>
153 177
154 <P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h 178 <P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h
155 (compile time option), or you can specify it as a filename for <B>MPlayer</B>: 179 (compile time option), or you can specify it as a filename for <B>MPlayer</B>:
156 </P> 180 </P>
157 181
158 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 /dev/dvd</CODE></P> 182 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 /dev/dvd</CODE></P>
159 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -sid 5 /dev/dvd</CODE></P> 183 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -slang en /dev/dvd</CODE></P>
160 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 2 -chapter 5 -dvdangle 2</CODE></P> 184 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2</CODE></P>
185 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob</CODE></P>
186 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdkey C005D4A16D vts_03_1.vob</CODE></P>
161 187
162 <P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P> 188 <P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P>
163 189
164 <TABLE BORDER=0 ALIGN=left WIDTH=100%> 190 <TABLE BORDER=0 ALIGN=left WIDTH=100%>
165 191
184 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 210 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
185 Yes! See above in the DVD chapter. 211 Yes! See above in the DVD chapter.
186 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 212 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
187 213
188 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 214 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
189 I've got no sound / bad sound (Spanish audio and other ugly things).
190 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
191 <B>MPlayer</B> currently does not use all of information of IFO blocks from DVD.
192 You can adjust the right DVD audio stream with: '-aid 128' command line
193 option, where 128 is the stream id of requested audio stream. You can
194 experience with numbers of 128,129,... and so on. Of course this problem
195 will be solved in the future.
196 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
197
198 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
199 There is some strange effect (interlace like thing) especially when fast
200 moving objects are shown in the movie.
201 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
202 Known problem, we try to fix it later (when we switch to libvo2).
203 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
204
205 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
206 How can I set the region code of my DVD-Drive ? I don't have windows! 215 How can I set the region code of my DVD-Drive ? I don't have windows!
207 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 216 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
208 Use the 'regionset' tool: 217 Use the 'regionset' tool:
209 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz</A> 218 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz</A>
210 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 219 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
213 So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest 222 So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest
214 under the XYZ#$ paragraph of the-- 223 under the XYZ#$ paragraph of the--
215 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 224 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
216 Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread 225 Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread
217 by linking against it, and libdvdread uses libdvdcss by dynamic loading it.<BR> 226 by linking against it, and libdvdread uses libdvdcss by dynamic loading it.<BR>
218 <B>UPDATE</B> : DeCSS is free.
219 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 227 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
220 228
221 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 229 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
222 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD? 230 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD?
223 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 231 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
224 No, you don't. This is the past :) However of course you must have got 232 No, you don't. Only for old-style DVD support. However of course you must have
225 the proper rights to the DVD device driver entry (in /dev). 233 the proper rights to the DVD device driver entry (in /dev).
226 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 234 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
227 235
228 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> 236 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
229 How can I ... (insert some expectable DVD player feature here)? 237 How can I ... (insert some expectable DVD player feature here)?