comparison DOCS/cd-dvd.html @ 7943:34a59cff6f29

VCD fixes
author arpi
date Mon, 28 Oct 2002 00:55:07 +0000
parents 635baf6d2e1d
children 39d486e8836d
comparison
equal deleted inserted replaced
7942:b582c6fb0053 7943:34a59cff6f29
85 85
86 <P>Useful if you want to play encoded VOBs from <B>hard disk</B>. Compile and 86 <P>Useful if you want to play encoded VOBs from <B>hard disk</B>. Compile and
87 install <B>libcss</B> 0.0.1 (not newer) for this (If MPlayer fails to 87 install <B>libcss</B> 0.0.1 (not newer) for this (If MPlayer fails to
88 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option). To use it, 88 detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option). To use it,
89 you need to be root, use a suid root MPlayer binary or let MPlayer call the 89 you need to be root, use a suid root MPlayer binary or let MPlayer call the
90 suid root fibmap_mplayer wrapper program.</P> 90 suid-root fibmap_mplayer wrapper program.</P>
91 91
92 <H4>DVD structure</H4> 92 <H4>DVD structure</H4>
93 93
94 <P>DVD disks use all 2048 b/s sectors with ecc/crc. They usually have an UDF 94 <P>DVD disks use all 2048 b/s sectors with ecc/crc. They usually have an UDF
95 filesystem on a single track, containing various files (small .IFO and .BUK 95 filesystem on a single track, containing various files (small .IFO and .BUK
106 filesystem and a raw sector-based access to the device. Unfortunately you must 106 filesystem and a raw sector-based access to the device. Unfortunately you must
107 be root (under Linux) to get the sector address of a file. You got the 107 be root (under Linux) to get the sector address of a file. You got the
108 following choices:</P> 108 following choices:</P>
109 109
110 <UL> 110 <UL>
111 <LI>Force the user to be root or use a suid root mplayer binary.</LI> 111 <LI>Force the user to be root or use a suid-root mplayer binary.</LI>
112 <LI>Let MPlayer call the suid root fibmap_mplayer wrapper program to access 112 <LI>Let MPlayer call the suid-root fibmap_mplayer wrapper program to access
113 the DVD (used in the old-style DVD playback over libcss).</LI> 113 the DVD (used in the old-style DVD playback over libcss).</LI>
114 <LI>Don't use the kernel's filesystem driver at all and re-implement it in 114 <LI>Don't use the kernel's filesystem driver at all and re-implement it in
115 userspace. libdvdread 0.9.x and libmpdvdkit does this (New-style DVD 115 userspace. libdvdread 0.9.x and libmpdvdkit does this (New-style DVD
116 support). The kernel udf filesystem drivers isn't needed as they already 116 support). The kernel udf filesystem drivers isn't needed as they already
117 have their own, built-in udf fs driver. Also the dvd, doesn't needs to be 117 have their own, built-in udf fs driver. Also the dvd, doesn't needs to be
212 </UL> 212 </UL>
213 213
214 <P>About .DAT files:</P> 214 <P>About .DAT files:</P>
215 215
216 <P>The ~600 MB file visible on the first track of the mounted vcd isn't a real 216 <P>The ~600 MB file visible on the first track of the mounted vcd isn't a real
217 track! It's a so called iso gateway, created to allow Windows to handle such 217 file! It's a so called iso gateway, created to allow Windows to handle such
218 tracks (Windows doesn't allow raw device access to applications at all). 218 tracks (Windows doesn't allow raw device access to applications at all).
219 Under linux, you cannot copy or play such files (they contain garbage). 219 Under linux, you cannot copy or play such files (they contain garbage).
220 Under Windows it is possible as its iso9660 driver emulates the raw reading of 220 Under Windows it is possible as its iso9660 driver emulates the raw reading of
221 tracks in this file. 221 tracks in this file. To play a .DAT file you need a kernel driver which can be
222 To play a .DAT file you need a kernel driver which can be found on a powerdvd 222 found in the Linux version of PowerDVD. It has a modified iso9660 filesystem
223 Linux version. It is a modified iso9660 fs driver, which is able to emulate the 223 (vcdfs/isofs-2.4.X.o) driver, which is able to emulate the
224 raw tracks through this shadow .DAT file. If you mount the disc using their 224 raw tracks through this shadow .DAT file. If you mount the disc using their
225 driver, you can copy and even play .DAT files with mplayer. But it <B>won't 225 driver, you can copy and even play .DAT files with mplayer. But it <B>won't
226 work</B> with the standard iso9660 driver of the kernel! It is recommended to 226 work</B> with the standard iso9660 driver of the kernel! It is recommended to
227 use the <CODE>-vcd</CODE> option instead.</P> 227 use the <CODE>-vcd</CODE> option instead. Alternate options for VCD copy are
228 the new cdfs kernel driver (shows CD <I>sessions</I> as image files) and
229 cdrdao (a bit-to-bit cd grabber/copier application).</P>
228 230
229 <P>The default VCD device is <CODE>/dev/cdrom</CODE>. If your setup differs, 231 <P>The default VCD device is <CODE>/dev/cdrom</CODE>. If your setup differs,
230 make a symlink, or specify the correct device on the command line with the 232 make a symlink, or specify the correct device on the command line with the
231 <CODE>-cdrom-device</CODE> option.</P> 233 <CODE>-cdrom-device</CODE> option.</P>
232 234