Mercurial > mplayer.hg
annotate DOCS/xml/en/cd-dvd.xml @ 31750:d590a8d2386a
Remove subsection that describes how to tweak CD/DVD drives.
It is getting outdated and outside the scope of MPlayer documentation.
author | diego |
---|---|
date | Sun, 25 Jul 2010 13:16:05 +0000 |
parents | 4790f4ca73e5 |
children |
rev | line source |
---|---|
20535 | 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 | 3 <chapter id="cd-dvd"> |
4 <title>CD/DVD usage</title> | |
5 | |
15879
aa466b84b1d3
Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents:
14153
diff
changeset
|
6 |
9675 | 7 <sect1 id="dvd"> |
8 <title>DVD playback</title> | |
21521 | 9 |
9675 | 10 <para> |
11 For the complete list of available options, please read the man page. | |
20380 | 12 The syntax to play a standard DVD is as follows: |
21521 | 13 <screen> |
14 mplayer dvd://<replaceable><track></replaceable> [-dvd-device <replaceable><device></replaceable>] | |
15 </screen> | |
9675 | 16 </para> |
17 | |
18 <para> | |
19 Example: | |
20380 | 20 <screen>mplayer dvd://1 -dvd-device /dev/hdc</screen> |
9675 | 21 </para> |
22 | |
23 <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
|
24 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
|
25 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
|
26 </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
|
27 |
4c6f19ae1287
Add a bit of doc about dvdnav support in MPlayer, and why you may want to use it.
gpoirier
parents:
19733
diff
changeset
|
28 <para> |
9675 | 29 The default DVD device is <filename>/dev/dvd</filename>. If your setup |
30 differs, make a symlink or specify the correct device on the command | |
31 line with the <option>-dvd-device</option> option. | |
32 </para> | |
33 | |
34 <para> | |
35 <application>MPlayer</application> uses <systemitem>libdvdread</systemitem> and | |
20380 | 36 <systemitem>libdvdcss</systemitem> for DVD playback and decryption. These two |
20621 | 37 libraries are contained in the |
38 <application>MPlayer</application> source tree, you do not have | |
20167 | 39 to install them separately. You can also use system-wide versions of the two |
40 libraries, but this solution is not recommended, as it can result in bugs, | |
9675 | 41 library incompatibilities and slower speed. |
42 </para> | |
43 | |
10986 | 44 <note><para> |
45 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
|
46 facilities. Some RPC-2 drives may also require setting the region code. |
10986 | 47 </para></note> |
48 | |
9675 | 49 <formalpara> |
20380 | 50 <title>DVD decryption</title> |
9675 | 51 <para> |
20380 | 52 DVD decryption is done by <systemitem>libdvdcss</systemitem>. The method |
53 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
|
54 variable, see the manual page for details. |
9675 | 55 </para> |
56 </formalpara> | |
57 | |
24326
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
58 <sect2 id="region_code"> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
59 <title>region code</title> |
9675 | 60 <para> |
24326
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
61 DVD drives nowadays come with a nonsensical restriction labeled |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
62 <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
|
63 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
|
64 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
|
65 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
|
66 world of the 21st century to bow to their will is beyond anyone's guess. |
9675 | 67 </para> |
24326
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
68 |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
69 <para> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
70 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
|
71 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
|
72 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
|
73 Under Linux you can use the |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
74 <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
|
75 to set the region code of your DVD drive. |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
76 </para> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
77 |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
78 <para> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
79 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
|
80 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
|
81 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
|
82 <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
|
83 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
|
84 getting rid of region code enforcement is generally positive. |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
85 </para> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
86 </sect2> |
ff2f302a176b
Replace short region code explanation by more detailed section.
diego
parents:
24324
diff
changeset
|
87 |
9675 | 88 </sect1> |
89 | |
15879
aa466b84b1d3
Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents:
14153
diff
changeset
|
90 |
21521 | 91 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
92 | |
15879
aa466b84b1d3
Slightly restructured, mention more tools, small fixes, cosmetics.
diego
parents:
14153
diff
changeset
|
93 |
9675 | 94 <sect1 id="vcd"> |
95 <title>VCD playback</title> | |
21521 | 96 |
9675 | 97 <para> |
21521 | 98 For the complete list of available options, please read the man page. The |
99 Syntax for a standard Video CD (VCD) is as follows: | |
10203 | 100 <screen>mplayer vcd://<replaceable><track></replaceable> [-cdrom-device <replaceable><device></replaceable>]</screen> |
9675 | 101 Example: |
20385
985accf8cf95
<replaceable> tags aren't needed in literal example
torinthiel
parents:
20380
diff
changeset
|
102 <screen>mplayer vcd://2 -cdrom-device /dev/hdc</screen> |
9675 | 103 The default VCD device is <filename>/dev/cdrom</filename>. If your setup |
104 differs, make a symlink or specify the correct device on the command line | |
105 with the <option>-cdrom-device</option> option. | |
106 </para> | |
107 | |
108 <note><para> | |
109 At least Plextor and some Toshiba SCSI CD-ROM drives have horrible performance | |
13973 | 110 reading VCDs. This is because the CDROMREADRAW <systemitem>ioctl</systemitem> |
9675 | 111 is not fully implemented for these drives. If you have some knowledge of SCSI |
112 programming, please <ulink url="../../tech/patches.txt">help us</ulink> | |
113 implement generic SCSI support for VCDs. | |
114 </para></note> | |
115 | |
116 <para> | |
117 In the meantime you can extract data from VCDs with | |
19733 | 118 <ulink url="http://ftp.ntut.edu.tw/ftp/OS/Linux/packages/X/viewers/readvcd/">readvcd</ulink> |
9675 | 119 and play the resulting file with <application>MPlayer</application>. |
120 </para> | |
121 | |
122 <formalpara> | |
123 <title>VCD structure</title> | |
14153 | 124 <para> |
125 A Video CD (VCD) is made up of CD-ROM XA sectors, i.e. CD-ROM mode 2 | |
21521 | 126 form 1 and 2 tracks: |
9675 | 127 <itemizedlist> |
128 <listitem><para> | |
21521 | 129 The first track is in mode 2 form 2 format which means it uses L2 |
26958 | 130 error correction. The track contains an ISO-9660 file system with 2048 |
131 bytes/sector. This file system contains VCD metadata information, as | |
21521 | 132 well as still frames often used in menus. MPEG segments for menus can |
133 also be stored in this first track, but the MPEGs have to be broken up | |
26958 | 134 into a series of 150-sector chunks. The ISO-9660 file system may |
21521 | 135 contain other files or programs that are not essential for VCD |
136 operation. | |
9675 | 137 </para></listitem> |
138 | |
139 <listitem><para> | |
21521 | 140 The second and remaining tracks are generally raw 2324 bytes/sector |
141 MPEG (movie) tracks, containing one MPEG PS data packet per | |
142 sector. These are in mode 2 form 1 format, so they store more data per | |
143 sector at the loss of some error correction. It is also legal to have | |
144 CD-DA tracks in a VCD after the first track as well. | |
145 On some operating systems there is some trickery that goes on to make | |
26958 | 146 these non-ISO-9660 tracks appear in a file system. On other operating |
21521 | 147 systems like GNU/Linux this is not the case (yet). Here the MPEG data |
148 <emphasis role="bold">cannot be mounted</emphasis>. As most movies are | |
149 inside this kind of track, you should try <option>vcd://2</option> | |
150 first. | |
151 </para></listitem> | |
9675 | 152 |
153 <listitem><para> | |
26958 | 154 There exist VCD disks without the first track (single track and no file system |
21521 | 155 at all). They are still playable, but cannot be mounted. |
9675 | 156 </para></listitem> |
14153 | 157 |
21521 | 158 <listitem><para> |
159 The definition of the Video CD standard is called the | |
160 Philips "White Book" and it is not generally available online as it | |
161 must be purchased from Philips. More detailed information about Video | |
162 CDs can be found in the | |
163 <ulink url="http://www.vcdimager.org/pub/vcdimager/manuals/0.7/vcdimager.html#SEC4">vcdimager documentation</ulink>. | |
14153 | 164 </para></listitem> |
9675 | 165 </itemizedlist> |
21521 | 166 </para> |
167 </formalpara> | |
9675 | 168 |
169 <formalpara> | |
170 <title>About .DAT files</title> | |
171 <para> | |
172 The ~600 MB file visible on the first track of the mounted VCD is not a real | |
173 file! It is a so called ISO gateway, created to allow Windows to handle such | |
174 tracks (Windows does not allow raw device access to applications at all). | |
175 Under Linux you cannot copy or play such files (they contain garbage). Under | |
176 Windows it is possible as its iso9660 driver emulates the raw reading of | |
177 tracks in this file. To play a .DAT file you need the kernel driver which can | |
26958 | 178 be found in the Linux version of PowerDVD. It has a modified iso9660 file system |
9675 | 179 (<filename>vcdfs/isofs-2.4.X.o</filename>) driver, which is able to emulate the |
180 raw tracks through this shadow .DAT file. If you mount the disc using their | |
21521 | 181 driver, you can copy and even play .DAT files with |
182 <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
|
183 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
|
184 <option>vcd://</option> instead. Alternatives for VCD copying are the |
9675 | 185 new <ulink url="http://www.elis.rug.ac.be/~ronsse/cdfs/">cdfs</ulink> kernel |
21521 | 186 driver (not part of the official kernel) that shows CD sessions as image files |
187 and <ulink url="http://cdrdao.sf.net/">cdrdao</ulink>, a bit-by-bit | |
9675 | 188 CD grabbing/copying application. |
189 </para> | |
190 </formalpara> | |
191 </sect1> | |
192 </chapter> |