annotate DOCS/xml/en/cd-dvd.xml @ 26904:b4a743e6d17d

Add install-dhahelperwin target to simplify dhahelper installation on Windows.
author diego
date Fri, 30 May 2008 20:10:36 +0000
parents ff2f302a176b
children b89c59df8ba6
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>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
17 There have been reports of read errors at high speeds, especially
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
18 with badly pressed CD-ROMs. Reducing the speed can prevent data loss under
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
19 these circumstances.
9675
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>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
23 Many CD-ROM drives are annoyingly loud, a lower speed may reduce the noise.
9675
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
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
27 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
28
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
29 <sect2 id="drives_linux">
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
30 <title>Linux</title>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
31
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <para>
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
33 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
34 <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
35 <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
36 <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
37 <screen>cdctl -bS <replaceable>[speed]</replaceable></screen>
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
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
40 <para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
41 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
42 real IDE device, not the emulated SCSI device.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 <para>
10910
eb339c10228e Lol! This command will try to change xfer_mode, and not a cdrom spin speed. Removed.
lumag
parents: 10656
diff changeset
46 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
47 <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
48 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 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
53 will dramatically decrease the performance.
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
54 It is recommended that you also tune your CD-ROM drive
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
55 with <command>hdparm</command>:
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
56 <screen>hdparm -d1 -a8 -u1 <replaceable>[cdrom device]</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
60 This enables DMA access, read-ahead, and IRQ unmasking (read the
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
61 <command>hdparm</command> man page for a detailed explanation).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
65 Please refer to
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
66 "<filename>/proc/ide/<replaceable>[cdrom device]</replaceable>/settings</filename>"
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 for fine-tuning your CD-ROM.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
71 SCSI drives do not have a uniform way of setting these parameters (Do you know
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
72 one? Tell us!) There is a tool that works for
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <ulink url="http://das.ist.org/~georg/">Plextor SCSI drives</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 </para>
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
75 </sect2>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
76
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
77 <!-- ********** -->
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
78
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
79 <sect2 id="drives_freebsd">
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
80 <title>FreeBSD</title>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
81
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
82 <para>speed:
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
83 <screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
84 cdcontrol [-f <replaceable>device</replaceable>] speed <replaceable>[speed]</replaceable>
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 </para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
87
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
88 <para>DMA:
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
89 <screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
90 sysctl hw.ata.atapi_dma=1
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
91 </screen>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
92 </para>
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
93
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
94 </sect2>
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>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
98
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
99 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
100
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
101
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 <sect1 id="dvd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <title>DVD playback</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
104
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 For the complete list of available options, please read the man page.
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
107 The syntax to play a standard DVD is as follows:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
108 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
109 mplayer dvd://<replaceable>&lt;track&gt;</replaceable> [-dvd-device <replaceable>&lt;device&gt;</replaceable>]
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
110 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 Example:
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
115 <screen>mplayer dvd://1 -dvd-device /dev/hdc</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 <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
119 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
120 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
121 </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
122
4c6f19ae1287 Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents: 19733
diff changeset
123 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 The default DVD device is <filename>/dev/dvd</filename>. If your setup
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 differs, make a symlink or specify the correct device on the command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 line with the <option>-dvd-device</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 <application>MPlayer</application> uses <systemitem>libdvdread</systemitem> and
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
131 <systemitem>libdvdcss</systemitem> for DVD playback and decryption. These two
20621
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
132 libraries are contained in the
8e41021cb357 libmpdvdkit no longer exists.
diego
parents: 20535
diff changeset
133 <application>MPlayer</application> source tree, you do not have
20167
31c1a556c294 Merge the two libdvdcss/libdvdread paragraphs.
diego
parents: 20166
diff changeset
134 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
135 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
136 library incompatibilities and slower speed.
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
10986
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
139 <note><para>
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
140 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
141 facilities. Some RPC-2 drives may also require setting the region code.
10986
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
142 </para></note>
2a6d6381f335 supermount hint
gabucino
parents: 10913
diff changeset
143
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 <formalpara>
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
145 <title>DVD decryption</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 <para>
20380
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
147 DVD decryption is done by <systemitem>libdvdcss</systemitem>. The method
260bfd4ed5b9 misc fixes
diego
parents: 20370
diff changeset
148 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
149 variable, see the manual page for details.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152
24326
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
153 <sect2 id="region_code">
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
154 <title>region code</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <para>
24326
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
156 DVD drives nowadays come with a nonsensical restriction labeled
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
157 <ulink url="http://en.wikipedia.org/wiki/DVD_region_code">region code</ulink>.
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
158 This is a scheme to force DVD drives to only accept DVDs produced for one of
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
159 the six different regions into which the world was partitioned. How a group
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
160 of people can sit around a table, come up with such an idea and expect the
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
161 world of the 21st century to bow to their will is beyond anyone's guess.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 </para>
24326
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
163
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
164 <para>
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
165 Drives that enforce region settings through software only are also known as
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
166 RPC-1 drives, those that do it in hardware as RPC-2. RPC-2 drives allow
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
167 changing the region code five times before it remains fixed.
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
168 Under Linux you can use the
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
169 <ulink url="http://linvdr.org/projects/regionset/">regionset</ulink> tool
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
170 to set the region code of your DVD drive.
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
171 </para>
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
172
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
173 <para>
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
174 Thankfully, it is possible to convert RPC-2 drives into RPC-1 drives through
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
175 a firmware upgrade. Feed the model number of your DVD drive into your favorite
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
176 search engine or have a look at the forum and download sections of
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
177 <ulink url="http://www.rpc1.org/">"The firmware page"</ulink>.
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
178 While the usual caveats for firmware upgrades apply, experience with
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
179 getting rid of region code enforcement is generally positive.
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
180 </para>
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
181 </sect2>
ff2f302a176b Replace short region code explanation by more detailed section.
diego
parents: 24324
diff changeset
182
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
185
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
186 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
187
15879
aa466b84b1d3 Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents: 14153
diff changeset
188
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 <sect1 id="vcd">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 <title>VCD playback</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
191
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
193 For the complete list of available options, please read the man page. The
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
194 Syntax for a standard Video CD (VCD) is as follows:
10203
9ad3a27284d9 -cdrom-device is optional
nicolas
parents: 10184
diff changeset
195 <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
196 Example:
20385
985accf8cf95 <replaceable> tags aren't needed in literal example
torinthiel
parents: 20380
diff changeset
197 <screen>mplayer vcd://2 -cdrom-device /dev/hdc</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 The default VCD device is <filename>/dev/cdrom</filename>. If your setup
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 differs, make a symlink or specify the correct device on the command line
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 with the <option>-cdrom-device</option> option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 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
205 reading VCDs. This is because the CDROMREADRAW <systemitem>ioctl</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 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
207 programming, please <ulink url="../../tech/patches.txt">help us</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 implement generic SCSI support for VCDs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 In the meantime you can extract data from VCDs with
19733
fac3e8a243ce readvcd link fix
diego
parents: 18425
diff changeset
213 <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
214 and play the resulting file with <application>MPlayer</application>.
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 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 <title>VCD structure</title>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
219 <para>
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
220 A Video CD (VCD) is made up of CD-ROM XA sectors, i.e. CD-ROM mode 2
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
221 form 1 and 2 tracks:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
224 The first track is in mode 2 form 2 format which means it uses L2
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
225 error correction. The track contains an ISO-9660 filesystem with 2048
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
226 bytes/sector. This filesystem contains VCD metadata information, as
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
227 well as still frames often used in menus. MPEG segments for menus can
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
228 also be stored in this first track, but the MPEGs have to be broken up
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
229 into a series of 150-sector chunks. The ISO-9660 filesystem may
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
230 contain other files or programs that are not essential for VCD
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
231 operation.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
235 The second and remaining tracks are generally raw 2324 bytes/sector
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
236 MPEG (movie) tracks, containing one MPEG PS data packet per
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
237 sector. These are in mode 2 form 1 format, so they store more data per
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
238 sector at the loss of some error correction. It is also legal to have
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
239 CD-DA tracks in a VCD after the first track as well.
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
240 On some operating systems there is some trickery that goes on to make
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
241 these non-ISO-9660 tracks appear in a filesystem. On other operating
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
242 systems like GNU/Linux this is not the case (yet). Here the MPEG data
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
243 <emphasis role="bold">cannot be mounted</emphasis>. As most movies are
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
244 inside this kind of track, you should try <option>vcd://2</option>
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
245 first.
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
246 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
249 There exist VCD disks without the first track (single track and no filesystem
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
250 at all). They are still playable, but cannot be mounted.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 </para></listitem>
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
252
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
253 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
254 The definition of the Video CD standard is called the
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
255 Philips "White Book" and it is not generally available online as it
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
256 must be purchased from Philips. More detailed information about Video
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
257 CDs can be found in the
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
258 <ulink url="http://www.vcdimager.org/pub/vcdimager/manuals/0.7/vcdimager.html#SEC4">vcdimager documentation</ulink>.
14153
7c96fa55ac93 more details about the structure of VCDs
diego
parents: 13976
diff changeset
259 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 </itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
261 </para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
262 </formalpara>
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 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 <title>About .DAT files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 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
268 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
269 tracks (Windows does not allow raw device access to applications at all).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 Under Linux you cannot copy or play such files (they contain garbage). Under
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 Windows it is possible as its iso9660 driver emulates the raw reading of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 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
273 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
274 (<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
275 raw tracks through this shadow .DAT file. If you mount the disc using their
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
276 driver, you can copy and even play .DAT files with
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
277 <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
278 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
279 <option>vcd://</option> instead. Alternatives for VCD copying are the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 new <ulink url="http://www.elis.rug.ac.be/~ronsse/cdfs/">cdfs</ulink> kernel
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
281 driver (not part of the official kernel) that shows CD sessions as image files
b210a229fbcb General reformatting round:
torinthiel
parents: 20621
diff changeset
282 and <ulink url="http://cdrdao.sf.net/">cdrdao</ulink>, a bit-by-bit
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 CD grabbing/copying application.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 </chapter>