Mercurial > mplayer.hg
comparison DOCS/Polish/cd-dvd.html @ 3523:dadab20dc2b4
began updated translation by <nell@skrzynka.pl> (work-in-progress)
author | gabucino |
---|---|
date | Sun, 16 Dec 2001 11:51:02 +0000 |
parents | |
children | ed33540a982b |
comparison
equal
deleted
inserted
replaced
3522:34df0f546afc | 3523:dadab20dc2b4 |
---|---|
1 <HTML> | |
2 <BODY BGCOLOR=white> | |
3 | |
4 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
5 | |
6 <P><B><A NAME=4.1>4.1. CD-ROM drives</A></B></P> | |
7 | |
8 <P>Playing standard Video CDs:</P> | |
9 | |
10 <P> | |
11 mplayer -vcd <I>trackno</I> [device]<BR><BR> | |
12 Examples:<BR> | |
13 mplayer -vcd 1<BR> | |
14 mplayer -fs -vcd 2 /dev/hdc<BR> | |
15 </P> | |
16 | |
17 <P> | |
18 Notes:<BR> | |
19 - Do NOT mount VCD disks and play DAT files directly! It may work under windows | |
20 but won't work under linux. You have to play them directly, with the -vcd | |
21 option!<BR> | |
22 - VCD disks usually have 2 tracks: a data track (containing autostart windows | |
23 playback program, karaoke data etc) and a mode-2 track (the movie), so try | |
24 -vcd 2 first!<BR> | |
25 - the default VCD device is /dev/cdrom. if your device differs, then you have | |
26 to make a symlink, or specify it in command line! | |
27 </P> | |
28 | |
29 <P>From Linux documentation:</P> | |
30 | |
31 <P>Some CDROM drives are capable of changing their head-speed. There are several | |
32 reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may | |
33 benefit from less-than-maximum head rate. Modern CDROM drives can obtain very | |
34 high head rates (up to 24-times is common). It has been reported that these | |
35 drives can make reading errors at these high speeds, reducing the speed can | |
36 prevent data loss in these circumstances. Finally, some of these drives can | |
37 make an annoyingly loud noise, which a lower speed may reduce.</P> | |
38 | |
39 <P>The recommended way to do it is with a program called 'setcd' . It's kinda | |
40 old, but won't be too hard to find on the Net. (UPDATE : new hdparm | |
41 has an option for this !) | |
42 Use it with :</P> | |
43 | |
44 <P> <CODE>setcd -x [speed] [cdrom device]</CODE></P> | |
45 | |
46 <P>Also you can try:</P> | |
47 | |
48 <P> <CODE>echo current_speed:4 >/proc/ide/[cdrom device]/settings</CODE></P> | |
49 | |
50 <P>but you'll need root privileges. I use following command too:</P> | |
51 | |
52 <P> <CODE>echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings</CODE></P> | |
53 | |
54 <P>for 2MB prefetched reading from the file (it's useful for scratched CDROMs). | |
55 It's recommended that you tuneup your CDROM drive also with hdparm:</P> | |
56 | |
57 <P> <CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P> | |
58 | |
59 <P>to enable using DMA access, readahead, and IRQ unmasking. | |
60 (if you don't understand these, *read the hdparm manpage*)</P> | |
61 | |
62 <P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for fine-tuning your | |
63 CDROM.</P> | |
64 | |
65 <P><B><A NAME=4.2>4.2. DVD playback</A></B></P> | |
66 | |
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 | |
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 | |
71 of encrypted discs), and you don't need even mount your disk to be able to | |
72 play :)</P> | |
73 | |
74 <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 we're busy with hunting bugs and implementing basic DVD player features.</P> | |
77 | |
78 <P><B>MPlayer</B> uses libdvdread which has got built in support for IFO | |
79 parsing, reading navi blocks and doing authentication/descrambling. libdvdread | |
80 uses libdvdcss to the latter tasks. So you will need libdvdcss and libdvdread | |
81 downloaded, compiled and installed BEFORE you run ./configure script of | |
82 <B>MPlayer</B> which will autodetect libdvdread for you in this way.</P> | |
83 | |
84 <UL> | |
85 <LI><P><B>Download source of libdvdread and libdvdcss.</B></P> | |
86 | |
87 <P><I>You can download them from | |
88 <A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A> | |
89 (click 'download' in the menu at the left, and you can find libdvdcss and | |
90 libdvdread in a table).</I></P> | |
91 | |
92 <P><B><I>IMPORTANT !</I></B><BR> | |
93 For | |
94 <UL> | |
95 <LI>libdvdread 0.8 - you'll need <B>libcss</B> instead of libdvdcss</LI> | |
96 <LI>libdvdread 0.9 - you'll need <B>libdvdcss 0.0.3</B> ! Don't use newer | |
97 versions, they won't work!</LI> | |
98 <LI>For example <B><U>never</U></B> use libdvdcss <B>1.0</B>, it will be unusably slow!</LI> | |
99 </UL> | |
100 </P> | |
101 </LI> | |
102 | |
103 <LI><P><B>Compile and install libdvdcss THEN libdvdread.</B></P> | |
104 | |
105 <P><I>Read documentation of these packages to do this step easily.</I></P></LI> | |
106 | |
107 <LI><P><B>Recompile MPlayer.</B></P> | |
108 | |
109 <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> | |
111 (Of course you can put your favourite configure options into the command | |
112 line when you run ./configure). That's it! Say: <CODE>make</CODE>, then <CODE>make install</CODE>.</I></P></LI> | |
113 </UL> | |
114 | |
115 <P>Of course after installing libdvdcss and libdvdread you don't need recompile | |
116 them at each time when you want to recompile <B>MPlayer</B> (from a new CVS version | |
117 for example) since the needed packages have already been installed on your | |
118 machine.</P> | |
119 | |
120 <P><B>Using MPlayer to play DVDs:</B></P> | |
121 | |
122 | |
123 <TABLE BORDER=0 WIDTH=100%> | |
124 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvd <title_id> </TD> | |
125 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Enables DVD support and selects title.</TD><TR> | |
126 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-chapter <chapter_id> </TD> | |
127 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Selects DVD chapter (default: play from chapter 1)</TD><TR> | |
128 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-dvdangle <angle_id> </TD> | |
129 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Selects camera angle (default: 1)</TD><TR> | |
130 <TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-sid <subtitle_id> </TD> | |
131 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Turns DVD subtitle displaying (of the given subtitle_id or language) on (default: no)<BR> | |
132 For the list of available languages, use <CODE>-sid 1 -v</CODE> options and | |
133 browse the output.</TD><TR> | |
134 </TABLE> | |
135 | |
136 <P>Default device is <CODE>/dev/dvd</CODE>, you can change it in config.h | |
137 (compile time option), or you can specify it as a filename for <B>MPlayer</B>: | |
138 </P> | |
139 | |
140 <P> <CODE>mplayer -dvd 1 /dev/dvd</CODE></P> | |
141 <P> <CODE>mplayer -dvd 1 -sid 5 /dev/dvd</CODE></P> | |
142 <P> <CODE>mplayer -dvd 2 -chapter 5 -dvdangle 2</CODE></P> | |
143 | |
144 <P><B><A NAME=4.3>4.3. DVD playback FAQ</A></B></P> | |
145 | |
146 <TABLE BORDER=0 ALIGN=left WIDTH=100%> | |
147 | |
148 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
149 Playing a DVD, I encountered this error :<BR> | |
150 <CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / | |
151 sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</CODE> | |
152 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
153 This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2. | |
154 </TD><TR><TD COLSPAN=3> </TD><TR> | |
155 | |
156 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
157 Can I compile libdvdread and libdvdcss for example on my sweet Sparc/Solaris? | |
158 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
159 Who knows ... Please test it and send feedback. But it's said that it | |
160 should work. Please refer documentation of libdvdread and its homepage | |
161 as well. We're not authors of libdvdread. | |
162 </TD><TR><TD COLSPAN=3> </TD><TR> | |
163 | |
164 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
165 What about subtitles? Can MPlayer display them? | |
166 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
167 Yes! See above in the DVD chapter. | |
168 </TD><TR><TD COLSPAN=3> </TD><TR> | |
169 | |
170 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
171 I've got no sound / bad sound (Spanish audio and other ugly things). | |
172 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
173 <B>MPlayer</B> currently does not use all of information of IFO blocks from DVD. | |
174 You can adjust the right DVD audio stream with: '-aid 128' command line | |
175 option, where 128 is the stream id of requested audio stream. You can | |
176 experience with numbers of 128,129,... and so on. Of course this problem | |
177 will be solved in the future. | |
178 </TD><TR><TD COLSPAN=3> </TD><TR> | |
179 | |
180 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
181 There is some strange effect (interlace like thing) especially when fast | |
182 moving objects are shown in the movie. | |
183 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
184 Known problem, we try to fix it later (when we switch to libvo2). | |
185 </TD><TR><TD COLSPAN=3> </TD><TR> | |
186 | |
187 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
188 How can I set the region code of my DVD-Drive ? I don't have windows! | |
189 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
190 Use the 'regionset' tool: | |
191 <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> | |
192 </TD><TR><TD COLSPAN=3> </TD><TR> | |
193 | |
194 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
195 So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest | |
196 under the XYZ#$ paragraph of the-- | |
197 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
198 Get back asshole, there is no DeCSS code in <B>MPlayer</B>. <B>MPlayer</B> uses libdvdread | |
199 by linking against it, and libdvdread uses libdvdcss by dynamic loading it.<BR> | |
200 <B>UPDATE</B> : DeCSS is free. | |
201 </TD><TR><TD COLSPAN=3> </TD><TR> | |
202 | |
203 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
204 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD? | |
205 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
206 No, you don't. This is the past :) However of course you must have got | |
207 the proper rights to the DVD device driver entry (in /dev). | |
208 </TD><TR><TD COLSPAN=3> </TD><TR> | |
209 | |
210 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
211 How can I ... (insert some expectable DVD player feature here)? | |
212 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
213 The current implementation is the first implementation of some real DVD | |
214 player functionality. First, we would like to target existing bugs and | |
215 basic features before implementing new features. | |
216 </TD><TR><TD COLSPAN=3> </TD><TR> | |
217 | |
218 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
219 Where can I get libdvdread and libdvdcss packages from? | |
220 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
221 From the site of Ogle: | |
222 <A HREF="http://www.dtek.chalmers.se/groups/dvd">http://www.dtek.chalmers.se/groups/dvd</A>. | |
223 </TD><TR><TD COLSPAN=3> </TD><TR> | |
224 </TABLE> | |
225 | |
226 </BODY> | |
227 </HTML> |