Mercurial > mplayer.hg
annotate DOCS/cd-dvd.html @ 9211:383e3cc8ee88
xmms_demuxer missing symbol
patch by Balatoni Denes <pnis@coder.hu>
author | arpi |
---|---|
date | Sun, 02 Feb 2003 01:38:29 +0000 |
parents | a2eef35515c7 |
children |
rev | line source |
---|---|
6405
d0f408a8b150
Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents:
6393
diff
changeset
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1612 | 2 <HTML> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4908
diff
changeset
|
3 |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4908
diff
changeset
|
4 <HEAD> |
6882
f3f87f6bf5cf
Added a uniform title: something - MPlayer - The Movie Player for Linux.
diego
parents:
6879
diff
changeset
|
5 <TITLE>CD, DVD, VCD - MPlayer - The Movie Player for Linux</TITLE> |
6391 | 6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css"> |
6405
d0f408a8b150
Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents:
6393
diff
changeset
|
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4908
diff
changeset
|
8 </HEAD> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4908
diff
changeset
|
9 |
6405
d0f408a8b150
Background color now set by CSS, added doctype and charset, misc HTML fixes
diego
parents:
6393
diff
changeset
|
10 <BODY> |
1704 | 11 |
1612 | 12 |
7047 | 13 <H2><A NAME="drives">4.1 CD/DVD drives</A></H2> |
1682 | 14 |
6877 | 15 <P>Linux documentation excerpt:</P> |
1612 | 16 |
6878 | 17 <P>Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives |
18 are capable of running at reduced speeds. There are several reasons that might | |
19 make you consider changing the speed of a CD-ROM drive:</P> | |
20 | |
21 <UL> | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
22 <LI>There have been reports of read errors at high speeds, especially |
6878 | 23 with badly pressed CD-ROMs. Reducing the speed can prevent data loss under |
24 these circumstances.</LI> | |
25 <LI>Many CD-ROM drives are annoyingly loud, a lower speed may reduce the | |
26 noise.</LI> | |
27 </UL> | |
1612 | 28 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
29 <P>You can reduce the speed of IDE CD-ROM drives with <CODE>hdparm</CODE> or a |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
30 program called <CODE>setcd</CODE>. It works like this:</P> |
6877 | 31 |
32 <P> <CODE>hdparm -E [speed] [cdrom device]</CODE></P> | |
1682 | 33 |
34 <P> <CODE>setcd -x [speed] [cdrom device]</CODE></P> | |
1612 | 35 |
6877 | 36 <P>You can also try</P> |
1682 | 37 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7048
diff
changeset
|
38 <P> <CODE>echo current_speed:4 > /proc/ide/[cdrom device]/settings</CODE></P> |
1682 | 39 |
6877 | 40 <P>but you will need root privileges. The following command may also help:</P> |
1682 | 41 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7048
diff
changeset
|
42 <P> <CODE>echo file_readahead:2000000 > /proc/ide/[cdrom device]/settings</CODE></P> |
1612 | 43 |
6877 | 44 <P>This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs. |
8496 | 45 If you set it to too high, the drive will continuously spin up and down, and |
46 will dramatically decrease the performance. | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
47 It is recommended that you also tune your CD-ROM drive with |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
48 <CODE>hdparm</CODE>:</P> |
1682 | 49 |
50 <P> <CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P> | |
1612 | 51 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
52 <P>This enables DMA access, read-ahead, and IRQ unmasking (read the |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
53 <CODE>hdparm</CODE> man page for a detailed explanation).</P> |
1612 | 54 |
6877 | 55 <P>Please refer to "<CODE>/proc/ide/[cdrom device]/settings</CODE>" for |
56 fine-tuning your CD-ROM.</P> | |
1612 | 57 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
58 <P>SCSI drives do not have a uniform way of setting these parameters (Do you |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
59 know one? Tell us!) There is a tool that works for |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
60 <A HREF="http://das.ist.org/~georg/">Plextor SCSI drives</A>.</P> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
61 |
7795 | 62 <P>FreeBSD:</P> |
63 | |
64 <P> Speed: <CODE>cdcontrol [-f device] speed [speed]</CODE></P> | |
65 <P> DMA: <CODE>sysctl hw.ata.atapi_dma=1</CODE></P> | |
66 | |
6878 | 67 |
7047 | 68 <H2><A NAME="dvd">4.2 DVD playback</A></H2> |
1682 | 69 |
9181 | 70 <P>For the complete list of available options, please read the man page. |
71 The Syntax for a standard Digital Versatile Disc (DVD) is as follows:</P> | |
72 | |
73 <P><CODE>mplayer -dvd <track> [-dvd-device <device>]</CODE></P> | |
74 | |
75 <P>Example: <CODE>mplayer -dvd 1 -dvd-device /dev/hdc</CODE></P> | |
76 | |
77 <P>The default DVD device is <CODE>/dev/dvd</CODE>. If your setup differs, | |
78 make a symlink or specify the correct device on the command line with the | |
79 <CODE>-dvd-device</CODE> option.</P> | |
7934 | 80 |
81 <H4>New-style DVD support (mpdvdkit2)</H4> | |
82 | |
7814 | 83 <P>MPlayer uses <CODE>libdvdread</CODE> and <CODE>libdvdcss</CODE> for |
6877 | 84 DVD decryption and playback. These two libraries are contained in the |
7814 | 85 <CODE>libmpdvdkit2/</CODE> subdirectory of the MPlayer source tree, you |
6877 | 86 do not have to install them separately. We opted for this solution because |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
87 we had to fix a <CODE>libdvdread</CODE> bug and apply a patch which adds |
8605 | 88 <B>cracked CSS keys caching support</B> to <CODE>libdvdcss</CODE>. This results |
89 in a large speed increase because the keys do not have to be cracked every time | |
90 before playing.</P> | |
1612 | 91 |
7814 | 92 <P>MPlayer can also use system-wide <CODE>libdvdread</CODE> and |
6877 | 93 <CODE>libdvdcss</CODE> libraries, but this solution is <B>not</B> recommended, |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
94 as it can result in bugs, library incompatibilities and slower speed.</P> |
6877 | 95 |
7934 | 96 <H4>DVD Navigation support (dvdnav)</H4> |
97 | |
98 <P>Support for DVD navigation via <CODE>dvdnav</CODE> was being worked on, but | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
99 it was never finished properly and it is currently unmaintained. Who knows, it |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
100 might even compile.</P> |
4057 | 101 |
7047 | 102 <H4>Old-style DVD support - OPTIONAL</H4> |
4057 | 103 |
7934 | 104 <P>Useful if you want to play encoded VOBs from <B>hard disk</B>. Compile and |
7814 | 105 install <B>libcss</B> 0.0.1 (not newer) for this (If MPlayer fails to |
7935 | 106 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option). To use it, |
107 you need to be root, use a suid root MPlayer binary or let MPlayer call the | |
7943 | 108 suid-root fibmap_mplayer wrapper program.</P> |
7934 | 109 |
110 <H4>DVD structure</H4> | |
111 | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
112 <P>DVD disks have 2048 bytes per sector with ECC/CRC. They usually have an UDF |
7992 | 113 filesystem on a single track, containing various files (small .IFO and .BUK |
114 files and big (1GB) .VOB files). They are real files and can be copied/played | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
115 from the mounted filesystem of an unencrypted DVD.</P> |
7934 | 116 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
117 <P>The .IFO files contain the movie navigation information (chapter/title/angle |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
118 map, language table, etc) and are needed to read and interpret the .VOB |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
119 content (movie). The .BUK files are backups of them. They use <B>sectors</B> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
120 everywhere, so you need to use raw addressing of sectors of the disc to |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
121 implement DVD navigation or decrypt the content.</P> |
7934 | 122 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
123 <P>The whole old-style DVD support with <CODE>libcss</CODE> therefore needs a mounted DVD |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
124 filesystem and raw sector-based access to the device. Unfortunately you must |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
125 (under Linux) be root to get the sector address of a file. You have the |
7992 | 126 following choices:</P> |
7934 | 127 |
128 <UL> | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
129 <LI>Be root or use a suid-root mplayer binary.</LI> |
7943 | 130 <LI>Let MPlayer call the suid-root fibmap_mplayer wrapper program to access |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
131 the DVD (used in the old-style DVD playback over <CODE>libcss</CODE>).</LI> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
132 <LI>Don't use the kernel's filesystem driver at all and reimplement it in |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
133 userspace. <CODE>libdvdread</CODE> 0.9.x and <CODE>libmpdvdkit</CODE> do this (new-style DVD |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
134 support). The kernel UDF filesystem driver is not needed as they already |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
135 have their own builtin UDF filesystem driver. Also the DVD does not have to |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
136 be mounted as only the raw sector-based access is used.</LI> |
7934 | 137 </UL> |
138 | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
139 <P>Sometimes <CODE>/dev/dvd</CODE> cannot be read by users, so the <CODE>libdvdread</CODE> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
140 authors implemented an emulation layer which transfers sector addresses to |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
141 filenames+offsets, to emulate raw access on top of a mounted filesystem |
7992 | 142 or even on a hard disk.</P> |
7934 | 143 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
144 <P><CODE>libdvdread</CODE> even accepts the mountpoint instead of the device name for raw |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
145 access and checks <CODE>/proc/mounts</CODE> to get the device name. It was |
7992 | 146 developed for Solaris, where device names are dynamically allocated.</P> |
7934 | 147 |
148 <P>The default DVD device is <CODE>/dev/dvd</CODE>. If your setup differs, | |
7992 | 149 make a symlink, or specify the correct device on the command line with the |
150 <CODE>-dvd-device</CODE> option.</P> | |
7934 | 151 |
152 <H4>DVD authentication</H4> | |
1612 | 153 |
7934 | 154 <P>The authentication and decryption method of the new-style DVD support is done |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
155 using a patched <CODE>libdvdcss</CODE> (see above). The method can be specified through the |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
156 environment variable <CODE>DVDCSS_METHOD</CODE>, which can be set to |
7934 | 157 <CODE>key</CODE>, <CODE>disk</CODE> or <CODE>title</CODE>.</P> |
158 | |
159 <P>If nothing is specified it tries the following methods | |
160 (default: key, title request):</P> | |
161 | |
162 <OL> | |
163 <LI><B>bus key:</B> This key is negotiated during authentication (a long mix | |
164 of ioctls and various key exchanges, crypto stuff) and is used to encrypt | |
165 the title and disk keys before sending them over the unprotected bus | |
166 (to prevent eavesdropping). The bus key is needed to get and predecrypt the | |
7992 | 167 crypted disk key.</LI> |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
168 <LI><B>cached key:</B> MPlayer looks for already cracked |
7934 | 169 title keys which are stored in the <CODE>~/.mplayer/DVDKeys</CODE> directory |
170 (fast ;).</LI> | |
171 <LI><B>key:</B> If no cached key is available, MPlayer tries to | |
7992 | 172 decrypt the disk key with a set of included player keys.</LI> |
7934 | 173 <LI><B>disk:</B> If the key method fails (e.g. no included player keys), |
174 MPlayer will crack the disk key using a brute force algorithm. | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
175 This process is CPU intensive and requires 64 MB of memory (16M 32Bit |
7934 | 176 entries hash table) to store temporary data. This method should always |
177 work (slow).</LI> | |
7992 | 178 <LI><B>title request:</B> With the disk key MPlayer requests the crypted title |
7934 | 179 keys, which are inside <I>hidden sectors</I> using <CODE>ioctl()</CODE>. |
180 The region protection of RPC-2 drives is performed in this step and may | |
181 fail on such drives. If it succeeds, the title keys will be decrypted with | |
7992 | 182 the bus and disk key.</LI> |
7934 | 183 <LI><B>title:</B> This method is used if the title request failed and does |
184 not rely on any key exchange with the DVD drive. It uses a crypto attack to | |
185 guess the title key directly (by finding a repeating pattern in the | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
186 decrypted VOB content and guessing that the plain text corresponding to the |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
187 first encrypted bytes is a continuation of that pattern). |
7934 | 188 The method is also known as "known plaintext attack" or "DeCSSPlus". |
189 In rare cases this may fail because there is not enough encrypted data on | |
190 the disk to perform a statistical attack or because the key changes in the | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
191 middle of a title. This method is the only way to decrypt a DVD stored on a |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
192 hard disk or a DVD with the wrong region on an RPC2 drive (slow).</LI> |
7934 | 193 </OL> |
194 | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
195 <P>RPC-1 DVD drives only protect region settings through software. |
7934 | 196 RPC-2 drives have a hardware protection that allows 5 changes only. It might |
197 be needed/recommended to upgrade the firmware to RPC-1 if you have a RPC-2 DVD | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
198 drive. Firmware upgrades can be found on this |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
199 <A HREF="http://www.firmware-flash.com">firmware page</A>. If there is |
7934 | 200 no firmware upgrade available for your device, use the |
201 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
202 tool</A> to set the region code of your DVD drive (under Linux). |
7934 | 203 <B>Warning:</B> You can only set the region 5 times.</P> |
1612 | 204 |
6878 | 205 |
7047 | 206 <H2><A NAME="vcd">4.3 VCD playback</A></H2> |
6878 | 207 |
7934 | 208 <P>For the complete list of available options, please read the man page. |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
209 The Syntax for a standard Video CD (VCD) is as follows:</P> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
210 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
211 <P><CODE>mplayer -vcd <track> [-cdrom-device <device>]</CODE></P> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
212 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
213 <P>Example: <CODE>mplayer -vcd 2 -cdrom-device /dev/hdc</CODE></P> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
214 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
215 <P>The default VCD device is <CODE>/dev/cdrom</CODE>. If your setup differs, |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
216 make a symlink or specify the correct device on the command line with the |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
217 <CODE>-cdrom-device</CODE> option.</P> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
218 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
219 <P><B>Note:</B> At least Plextor and some Toshiba SCSI CD-ROM drives have |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
220 horrible performance reading VCDs. This is because the the CDROMREADRAW ioctl |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
221 is not fully implemented for these drives. If you have some knowledge of SCSI |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
222 programming, please <A HREF="tech/patches.txt">help us</A> implement generic |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
223 SCSI support for VCDs.</P> |
6878 | 224 |
9084
251e6cd8f81b
readvcd is useful for reading VCDs with SCSI CD-ROM drives.
diego
parents:
8605
diff
changeset
|
225 <P>In the meantime you can extract data from VCDs with |
251e6cd8f81b
readvcd is useful for reading VCDs with SCSI CD-ROM drives.
diego
parents:
8605
diff
changeset
|
226 <A HREF="http://140.132.1.204/OS/Linux/packages/X/viewers/readvcd/">readvcd</A> |
251e6cd8f81b
readvcd is useful for reading VCDs with SCSI CD-ROM drives.
diego
parents:
8605
diff
changeset
|
227 and play the resulting file with MPlayer.</P> |
251e6cd8f81b
readvcd is useful for reading VCDs with SCSI CD-ROM drives.
diego
parents:
8605
diff
changeset
|
228 |
7934 | 229 <H4>VCD structure</H4> |
6878 | 230 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
231 <P>VCD disks consist of one or more tracks:</P> |
7934 | 232 |
6878 | 233 <UL> |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
234 <LI>The first track is a small 2048 bytes/sector data track with an iso9660 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
235 filesystem, usually containing Windows VCD player programs and maybe other |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
236 information (images, text, etc).</LI> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
237 <LI>The second and other tracks are raw 2324 bytes/sector MPEG (movie) tracks, |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
238 containing one MPEG PS data packet per sector instead of a filesystem. |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
239 Similar to audio CD tracks, these tracks <B>cannot be mounted</B> (Did you |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
240 ever mount an audio CD to play it?). As most movies are inside this track, |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
241 you should try <CODE>-vcd 2</CODE> first.</LI> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
242 <LI>There exist VCD disks without the first track (single track and no |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
243 filesystem at all). They are still playable, but cannot be mounted.</LI> |
6878 | 244 </UL> |
245 | |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
246 <H4>About .DAT files:</H4> |
7934 | 247 |
8554
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
248 <P>The ~600 MB file visible on the first track of the mounted VCD is not a real |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
249 file! It is a so called ISO gateway, created to allow Windows to handle such |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
250 tracks (Windows does not allow raw device access to applications at all). |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
251 Under Linux you cannot copy or play such files (they contain garbage). Under |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
252 Windows it is possible as its iso9660 driver emulates the raw reading of |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
253 tracks in this file. To play a .DAT file you need the kernel driver which can |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
254 be found in the Linux version of PowerDVD. It has a modified iso9660 |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
255 filesystem (<CODE>vcdfs/isofs-2.4.X.o</CODE>) driver, which is able to emulate |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
256 the raw tracks through this shadow .DAT file. If you mount the disc using |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
257 their driver, you can copy and even play .DAT files with mplayer. But it |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
258 <B>will not work</B> with the standard iso9660 driver of the Linux kernel! |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
259 Use the <CODE>-vcd</CODE> option instead. Alternatives for VCD copying are |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
260 the new <A HREF="http://www.elis.rug.ac.be/~ronsse/cdfs/">cdfs</A> kernel |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
261 driver (not part of the official kernel) that shows CD <I>sessions</I> |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
262 as image files and <A HREF="http://cdrdao.sourceforge.net/">cdrdao</A>, a |
559217c44624
Reviewed and reworked (again), added some information about SCSI CD-ROMs.
diego
parents:
8496
diff
changeset
|
263 bit-by-bit CD grabbing/copying application.</P> |
7934 | 264 |
1612 | 265 </BODY> |
266 </HTML> |