annotate DOCS/xml/en/cd-dvd.xml @ 21345:859d65ee3395

r21306: fix compilation for win32 dll codec support for intel osx r21328: localization of parser-m*cmd.c messages r21332: insert line break for overly long line (second line indented)
author voroshil
date Tue, 28 Nov 2006 18:41:47 +0000
parents 8e41021cb357
children b210a229fbcb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 20426
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10910
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <chapter id="cd-dvd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>CD/DVD usage</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <sect1 id="drives">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>CD/DVD drives</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 are capable of running at reduced speeds. There are several reasons that might
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 make you consider changing the speed of a CD-ROM drive:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 There have been reports of read errors at high speeds, especially
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 with badly pressed CD-ROMs. Reducing the speed can prevent data loss under
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 these circumstances.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 Many CD-ROM drives are annoyingly loud, a lower speed may reduce the noise.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
27 <sect2 id="drives_linux">
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
28 <title>Linux</title>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
29
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <para>
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
31 You can reduce the speed of IDE CD-ROM drives with <command>hdparm</command>,
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
32 <command>setcd</command> or <command>cdctl</command>. It works like this:
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9675
diff changeset
33 <screen>hdparm -E <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen>
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9675
diff changeset
34 <screen>setcd -x <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen>
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
35 <screen>cdctl -bS <replaceable>[speed]</replaceable></screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
36 </para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
37
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
38 <para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
39 If you are using SCSI emulation, you might have to apply the settings to the
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
40 real IDE device, not the emulated SCSI device.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <para>
10910
eb339c10228e Lol! This command will try to change xfer_mode, and not a cdrom spin speed. Removed.
lumag
parents: 10656
diff changeset
44 If you have root privileges the following command may also help:
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9675
diff changeset
45 <screen>echo file_readahead:2000000 &gt; /proc/ide/<replaceable>[cdrom device]</replaceable>/settings</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 If you set it to too high, the drive will continuously spin up and down, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 will dramatically decrease the performance.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 It is recommended that you also tune your CD-ROM drive with <command>hdparm</command>:
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
53 <screen>hdparm -d1 -a8 -u1 <replaceable>[cdrom device]</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 This enables DMA access, read-ahead, and IRQ unmasking (read the <command>hdparm</command>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 man page for a detailed explanation).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 <para>
20170
bf907cf2d7ab small consistency/format fix
kraymer
parents: 20167
diff changeset
62 Please refer to &quot;<filename>/proc/ide/<replaceable>[cdrom device]</replaceable>/settings</filename>&quot;
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 for fine-tuning your CD-ROM.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 SCSI drives do not have a uniform way of setting these parameters (Do you know one?
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 Tell us!) There is a tool that works for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 <ulink url="http://das.ist.org/~georg/">Plextor SCSI drives</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
72 </sect2>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
73
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
74
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
75 <sect2 id="drives_freebsd">
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
76 <title>FreeBSD</title>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
77
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
78 <para>speed:
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
79 <screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
80 cdcontrol [-f <replaceable>device</replaceable>] speed <replaceable>[speed]</replaceable>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
81 </screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
82 </para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
83
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
84 <para>DMA:
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
85 <screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
86 sysctl hw.ata.atapi_dma=1
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
87 </screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
88 </para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
89
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
90 </sect2>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
91
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
94
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
95
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 <sect1 id="dvd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 <title>DVD playback</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 For the complete list of available options, please read the man page.
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
100 The syntax to play a standard DVD is as follows:
10184
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9776
diff changeset
101 <screen>mplayer dvd://<replaceable>&lt;track&gt;</replaceable> [-dvd-device <replaceable>&lt;device&gt;</replaceable>]</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 Example:
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
106 <screen>mplayer dvd://1 -dvd-device /dev/hdc</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 <para>
19745
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
110 If you have compiled <application>MPlayer</application> with dvdnav support, the
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
111 syntax is the same, except that you need to use dvdnav:// instead of dvd://.
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
112 </para>
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
113
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
114 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 The default DVD device is <filename>/dev/dvd</filename>. If your setup
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 differs, make a symlink or specify the correct device on the command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 line with the <option>-dvd-device</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121 <application>MPlayer</application> uses <systemitem>libdvdread</systemitem> and
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
122 <systemitem>libdvdcss</systemitem> for DVD playback and decryption. These two
20621
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
123 libraries are contained in the
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
124 <application>MPlayer</application> source tree, you do not have
20167
31c1a556c294 Merge the two libdvdcss/libdvdread paragraphs.
diego
parents: 20166
diff changeset
125 to install them separately. You can also use system-wide versions of the two
31c1a556c294 Merge the two libdvdcss/libdvdread paragraphs.
diego
parents: 20166
diff changeset
126 libraries, but this solution is not recommended, as it can result in bugs,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 library incompatibilities and slower speed.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129
10986
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
130 <note><para>
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
131 In case of DVD decoding problems, try disabling supermount, or any other such
17425
dda0f4feca39 Mention possible region setting requirement for some RPC-2 drives.
rathann
parents: 15879
diff changeset
132 facilities. Some RPC-2 drives may also require setting the region code.
10986
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
133 </para></note>
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
134
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <title>DVD structure</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 DVD disks have 2048 bytes per sector with ECC/CRC. They usually have an UDF
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 filesystem on a single track, containing various files (small .IFO and .BUK
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 files and big (1GB) .VOB files). They are real files and can be copied/played
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 from the mounted filesystem of an unencrypted DVD.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 The .IFO files contain the movie navigation information (chapter/title/angle
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 map, language table, etc) and are needed to read and interpret the .VOB content
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 (movie). The .BUK files are backups of them. They use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 <emphasis role="bold">sectors</emphasis> everywhere, so you need to use raw
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 addressing of sectors of the disc to implement DVD navigation or decrypt the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 content.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 <para>
11598
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
155 DVD support needs raw sector-based access to the device. Unfortunately you must
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
156 (under Linux) be root to get the sector address of a file. That's why we don't
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
157 use the kernel's filesystem driver at all, instead we reimplement it in
20621
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
158 userspace. <systemitem>libdvdread</systemitem> 0.9.x does this.
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
159 The kernel UDF filesystem driver
11598
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
160 is not needed as they already have their own builtin UDF filesystem driver.
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
161 Also the DVD does not have to be mounted as only the raw sector-based access is
d18111ea13d0 removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents: 11540
diff changeset
162 used.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 Sometimes <filename>/dev/dvd</filename> cannot be read by users, so the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 <systemitem>libdvdread</systemitem> authors implemented an emulation layer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 which transfers sector addresses to filenames+offsets, to emulate raw
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 access on top of a mounted filesystem or even on a hard disk.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <systemitem>libdvdread</systemitem> even accepts the mountpoint instead of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 the device name for raw access and checks <filename>/proc/mounts</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 to get the device name. It was developed for Solaris, where device names
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 are dynamically allocated.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <formalpara>
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
180 <title>DVD decryption</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 <para>
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
182 DVD decryption is done by <systemitem>libdvdcss</systemitem>. The method
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
183 can be specified through the <envar>DVDCSS_METHOD</envar> environment
20426
192efe61abaa Remove confusing and probably wrong paragraph about libdvdcss.
diego
parents: 20385
diff changeset
184 variable, see the manual page for details.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 RPC-1 DVD drives only protect region settings through software. RPC-2 drives
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 have a hardware protection that allows 5 changes only. It might be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 needed/recommended to upgrade the firmware to RPC-1 if you have a RPC-2 DVD
13976
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
192 drive. You can try finding firmware upgrades for your drive on the internet,
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
193 <ulink url="http://forum.rpc-1.com/dl_all.php">this firmware forum</ulink>
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
194 may be a good starting point for your search.
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
195 If there is no firmware upgrade available for your device, use the
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
196 <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 to set the region code of your DVD drive (under Linux).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 <emphasis role="bold">Warning</emphasis>: You can only set the region 5 times.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
202
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
203
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 <sect1 id="vcd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <title>VCD playback</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 For the complete list of available options, please read the man page. The Syntax for a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 standard Video CD (VCD) is as follows:
10203
9ad3a27284d9 -cdrom-device is optional
nicolas
parents: 10184
diff changeset
209 <screen>mplayer vcd://<replaceable>&lt;track&gt;</replaceable> [-cdrom-device <replaceable>&lt;device&gt;</replaceable>]</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 Example:
20385
985accf8cf95 <replaceable> tags aren't needed in literal example
torinthiel
parents: 20380
diff changeset
211 <screen>mplayer vcd://2 -cdrom-device /dev/hdc</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 The default VCD device is <filename>/dev/cdrom</filename>. If your setup
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 differs, make a symlink or specify the correct device on the command line
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 with the <option>-cdrom-device</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 At least Plextor and some Toshiba SCSI CD-ROM drives have horrible performance
13973
4b104d997d3c typo patch by Gabor Mizda
diego
parents: 11713
diff changeset
219 reading VCDs. This is because the CDROMREADRAW <systemitem>ioctl</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 is not fully implemented for these drives. If you have some knowledge of SCSI
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 programming, please <ulink url="../../tech/patches.txt">help us</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 implement generic SCSI support for VCDs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 In the meantime you can extract data from VCDs with
19733
fac3e8a243ce readvcd link fix
diego
parents: 18425
diff changeset
227 <ulink url="http://ftp.ntut.edu.tw/ftp/OS/Linux/packages/X/viewers/readvcd/">readvcd</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 and play the resulting file with <application>MPlayer</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 <title>VCD structure</title>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
233
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
234 <para>
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
235 A Video CD (VCD) is made up of CD-ROM XA sectors, i.e. CD-ROM mode 2
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
236 form 1 and 2 tracks:</para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <listitem><para>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
241 The first track is in mode 2 form 2 format which means it uses L2
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
242 error correction. The track contains an ISO-9660 filesystem with 2048
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
243 bytes/sector. This filesystem contains VCD metadata information, as
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
244 well as still frames often used in menus. MPEG segments for menus can
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
245 also be stored in this first track, but the MPEGs have to be broken up
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
246 into a series of 150-sector chunks. The ISO-9660 filesystem may
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
247 contain other files or programs that are not essential for VCD
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
248 operation.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 <listitem><para>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
252 The second and remaining tracks are generally raw 2324 bytes/sector
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
253 MPEG (movie) tracks, containing one MPEG PS data packet per
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
254 sector. These are in mode 2 form 1 format, so they store more data per
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
255 sector at the loss of some error correction. It is also legal to have
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
256 CD-DA tracks in a VCD after the first track as well.
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
257 On some operating systems there is some trickery that goes on to make
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
258 these non-ISO-9660 tracks appear in a filesystem. On other operating
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
259 systems like GNU/Linux this is not the case (yet). Here the MPEG data
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
260 <emphasis role="bold">cannot be mounted</emphasis>. As most movies are
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
261 inside this kind of track, you should try <option>vcd://2</option>
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
262 first.</para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 There exist VCD disks without the first track (single track and no filesystem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 at all). They are still playable, but cannot be mounted.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 </para></listitem>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
268
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
269 <listitem><para> The definition of the Video CD standard is called the
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
270 Philips "White Book" and it is not generally available online as it
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
271 must be purchased from Philips. More detailed information about Video
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
272 CDs can be found in the
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
273 <ulink url="http://www.vcdimager.org/pub/vcdimager/manuals/0.7/vcdimager.html#SEC4">vcdimager documentation</ulink>.
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
274 </para></listitem>
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
275
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <title>About .DAT files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 The ~600 MB file visible on the first track of the mounted VCD is not a real
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 file! It is a so called ISO gateway, created to allow Windows to handle such
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 tracks (Windows does not allow raw device access to applications at all).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 Under Linux you cannot copy or play such files (they contain garbage). Under
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 Windows it is possible as its iso9660 driver emulates the raw reading of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 tracks in this file. To play a .DAT file you need the kernel driver which can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 be found in the Linux version of PowerDVD. It has a modified iso9660 filesystem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 (<filename>vcdfs/isofs-2.4.X.o</filename>) driver, which is able to emulate the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 raw tracks through this shadow .DAT file. If you mount the disc using their
9776
861a40949bf3 fixes, some by Dmitry Baryshkov <lumag@qnc.ru>, some by me
nicolas
parents: 9675
diff changeset
290 driver, you can copy and even play .DAT files with <application>MPlayer</application>. But it will not
10184
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9776
diff changeset
291 work with the standard iso9660 driver of the Linux kernel! Use
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9776
diff changeset
292 <option>vcd://</option> instead. Alternatives for VCD copying are the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 new <ulink url="http://www.elis.rug.ac.be/~ronsse/cdfs/">cdfs</ulink> kernel
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 driver (not part of the official kernel) that shows CD sessions as image files and
13976
86a47a27562f URL updates with some help by Gabor Mizda
diego
parents: 13973
diff changeset
295 <ulink url="http://cdrdao.sf.net/">cdrdao</ulink>, a bit-by-bit
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 CD grabbing/copying application.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 </chapter>