2005-02-14 06:08:16 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2006-04-25 13:23:37 +00:00
|
|
|
|
<!-- Synced with: 1.16 -->
|
2005-02-14 06:08:16 +00:00
|
|
|
|
<chapter id="cd-dvd">
|
|
|
|
|
<title>Pou<EFBFBD>it<EFBFBD> CD/DVD</title>
|
|
|
|
|
|
|
|
|
|
<sect1 id="drives">
|
|
|
|
|
<title>CD/DVD mechaniky</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Modern<EFBFBD> CD-ROM mechaniky dosahuj<75> velmi vysok<6F>ch ot<6F><74>ek a n<>kter<65> z nich
|
|
|
|
|
mohou pracovat i se sn<73><6E>en<65>mi ot<6F><74>kami. Existuje n<>kolik d<>vod<6F>, pro
|
|
|
|
|
kter<EFBFBD> byste mohli cht<68>t zm<7A>nit rychlost CD-ROM mechaniky:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Byly zpr<70>vy o chyb<79>ch <20>ten<65> p<>i vysok<6F>ch rychlostech, zvl<76><6C>t<EFBFBD> u <20>patn<74>
|
|
|
|
|
vylisovan<EFBFBD>ch CD-ROM<4F>. Z t<>chto d<>vod<6F> m<><6D>e sn<73><6E>en<65> rychlosti p<>sobit
|
|
|
|
|
jako prevence ztr<74>ty dat.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Mnoho CD-ROM mechanik je nechutn<74> hlu<6C>n<EFBFBD>ch, ni<6E><69><EFBFBD> rychlost m<><6D>e omezit
|
|
|
|
|
tento hluk.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
2005-07-19 05:17:14 +00:00
|
|
|
|
<sect2 id="drives_linux">
|
|
|
|
|
<title>Linux</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
M<EFBFBD><EFBFBD>ete sn<73><6E>it rychlost IDE CD-ROM mechanik pomoc<6F> <command>hdparm</command>,
|
|
|
|
|
<command>setcd</command> nebo <command>cdctl</command>. Pracuje to asi takto:
|
|
|
|
|
<screen>hdparm -E <replaceable>[rychlost]</replaceable> <replaceable>[mechanika cdrom]</replaceable></screen>
|
|
|
|
|
<screen>setcd -x <replaceable>[rychlost]</replaceable> <replaceable>[mechanika cdrom]</replaceable></screen>
|
|
|
|
|
<screen>cdctl -bS <replaceable>[rychlost]</replaceable></screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-02-14 06:08:16 +00:00
|
|
|
|
<para>
|
2005-07-19 05:17:14 +00:00
|
|
|
|
Pokud pou<6F><75>v<EFBFBD>te SCSI emulaci, budete muset p<>edat tato nastaven<65> do skute<74>n<EFBFBD>ho
|
|
|
|
|
IDE za<7A><61>zen<65>, nikoli emulovan<61>ho SCSI za<7A><61>zen<65>.
|
2005-02-14 06:08:16 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te pr<70>va root-a, n<>sleduj<75>c<EFBFBD> p<><70>kaz v<>m rovn<76><6E> m<><6D>e pomoci:
|
|
|
|
|
<screen>echo file_readahead:2000000 > /proc/ide/<replaceable>[mechanika cdrom]</replaceable>/settings</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
To nastav<61> <20>ten<65> nap<61>ed na 2MB, co<63> pom<6F><6D>e p<>i po<70>kr<6B>ban<61>ch m<>di<64>ch.
|
|
|
|
|
Pokud ji v<>ak nastav<61>te p<><70>li<6C> vysoko, bude mechanika st<73>le zrychlovat a
|
|
|
|
|
zpomalovat, co<63> v<>razn<7A> sn<73><6E><EFBFBD> jej<65> v<>kon.
|
|
|
|
|
Doporu<EFBFBD>ujeme v<>m rovn<76><6E> vyladit va<76>i CD-ROM mechaniku pomoc<6F> <command>hdparm</command>:
|
2005-07-19 05:17:14 +00:00
|
|
|
|
<screen>hdparm -d1 -a8 -u1 <replaceable>[cdrom za<7A><61>zen<65>]</replaceable></screen>
|
2005-02-14 06:08:16 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
To zapne DMA p<><70>stup, <20>ten<65> nap<61>ed a odmaskov<6F>n<EFBFBD> IRQ (p<>e<EFBFBD>t<EFBFBD>te si man str<74>nku
|
|
|
|
|
programu <command>hdparm</command> pro podrobn<62> vysv<73>tlen<65>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Prostudujte si "<filename>/proc/ide/<replaceable>cdrom za<7A><61>zen<65></replaceable>/settings"</filename>
|
|
|
|
|
pro jemn<6D> dolad<61>n<EFBFBD> va<76><61> CD-ROM.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
SCSI mechaniky nemaj<61> jednotn<74> zp<7A>sob pro nastaven<65> t<>chto parametr<74> (Zn<5A>te n<>jak<61>?
|
|
|
|
|
<EFBFBD>ekn<EFBFBD>te n<>m jej!). Existuje n<>stroj, kter<65> pracuje se
|
|
|
|
|
<ulink url="http://das.ist.org/~georg/">SCSI mechanikami Plextor</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-07-19 05:17:14 +00:00
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="drives_freebsd">
|
|
|
|
|
<title>FreeBSD</title>
|
|
|
|
|
|
|
|
|
|
<para>rychlost:
|
|
|
|
|
<screen>
|
|
|
|
|
cdcontrol [-f <replaceable>za<EFBFBD><EFBFBD>zen<EFBFBD></replaceable>] speed <replaceable>[rychlost]</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>DMA:
|
|
|
|
|
<screen>
|
|
|
|
|
sysctl hw.ata.atapi_dma=1
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
2005-02-14 06:08:16 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="dvd">
|
|
|
|
|
<title>P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> DVD</title>
|
|
|
|
|
<para>
|
|
|
|
|
<EFBFBD>pln<EFBFBD> seznam dostupn<70>ch voleb naleznete v man str<74>nce.
|
|
|
|
|
Syntaxe pro standardn<64> Digital Versatile Disc (DVD) je n<>sleduj<75>c<EFBFBD>:
|
|
|
|
|
<screen>mplayer dvd://<replaceable><track></replaceable> [-dvd-device <replaceable><DVD_za<EFBFBD><EFBFBD>zen<EFBFBD>></replaceable>]</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD><EFBFBD>klad:
|
|
|
|
|
<screen>mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable></screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>choz<EFBFBD>m DVD za<7A><61>zen<65>m je <filename>/dev/dvd</filename>. Pokud se va<76>e nastaven<65>
|
|
|
|
|
li<EFBFBD><EFBFBD>, vytvo<76>te symlink, nebo uve<76>te spr<70>vn<76> za<7A><61>zen<65> na p<><70>kazov<6F>m <20><>dku
|
|
|
|
|
pomoc<EFBFBD> volby <option>-dvd-device</option>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Nov<EFBFBD> styl podpory DVD (mpdvdkit2)</title>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> pou<6F><75>v<EFBFBD> <systemitem>libdvdread</systemitem> a
|
|
|
|
|
<systemitem>libdvdcss</systemitem> pro dek<65>dov<6F>n<EFBFBD> a p<>ehr<68>v<EFBFBD>n<EFBFBD> DVD. Tyto dv<64>
|
|
|
|
|
knihovny jsou obsa<73>eny v podadres<65><73>i
|
|
|
|
|
<filename class="directory">libmpdvdkit2/</filename> zdrojov<6F>ch k<>d<EFBFBD>
|
|
|
|
|
<application>MPlayer</application>u, nemus<75>te je tedy instalovat zvlṻ
|
|
|
|
|
Zvolili jsme tento zp<7A>sob, proto<74>e jsme museli opravit chybu v
|
|
|
|
|
<systemitem>libdvdread</systemitem> a aplikovat patch, kter<65> p<>id<69>v<EFBFBD> podporu
|
|
|
|
|
<emphasis role="bold">ke<EFBFBD>ov<EFBFBD>n<EFBFBD> zlomen<65>ch CSS kl<6B><6C><EFBFBD></emphasis>, na
|
|
|
|
|
<systemitem>libdvdcss</systemitem>. To vedlo k v<>razn<7A>mu zv<7A><76>en<65> rychlosti,
|
|
|
|
|
proto<EFBFBD>e kl<6B><6C>e nemus<75> b<>t nyn<79> l<>m<EFBFBD>ny poka<6B>d<EFBFBD> p<>ed p<>ehr<68>v<EFBFBD>n<EFBFBD>m.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> um<75> rovn<76><6E> pou<6F><75>t knihovny
|
|
|
|
|
<systemitem>libdvdread</systemitem> a <systemitem>libdvdcss</systemitem>
|
|
|
|
|
na syst<73>mov<6F> <20>rovni, ale toto <20>e<EFBFBD>en<65> <emphasis role="bold">nedoporu<EFBFBD>ujeme</emphasis>,
|
|
|
|
|
proto<EFBFBD>e m<><6D>e v<>st k chyb<79>m, nekompatibilit<69> knihovny a ni<6E><69><EFBFBD> rychlosti.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
V p<><70>pad<61> probl<62>m<EFBFBD> s dek<65>dov<6F>n<EFBFBD>m DVD, zkuste vypnout supermount a podobn<62> ud<75>l<EFBFBD>tka.
|
2006-04-25 13:23:37 +00:00
|
|
|
|
N<EFBFBD>kter<EFBFBD> RPC-2 mechaniky mohou rovn<76><6E> vy<76>adovat nastaven<65> region k<>du.
|
2005-02-14 06:08:16 +00:00
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Struktura DVD</title>
|
|
|
|
|
<para>
|
|
|
|
|
DVD disky maj<61> 2048 bajt<6A> na sektor s ECC/CRC. Obvykle maj<61> souborov<6F> syst<73>m UDF
|
|
|
|
|
v jedin<69> stop<6F>, obsahuj<75>c<EFBFBD> r<>zn<7A> soubory (mal<61> .IFO a .BUK soubory a velk<6C> (1GB)
|
|
|
|
|
.VOB soubory). Jsou to re<72>ln<6C> soubory a mohou b<>t kop<6F>rov<6F>ny/p<>ehr<68>v<EFBFBD>ny
|
|
|
|
|
z p<>ipojen<65>ho syst<73>mu soubor<6F> ne<6E>ifrovan<61>ho DVD.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Soubory .IFO obsahuj<75> informace pro navigaci ve filmu (kapitola/titul/mapa <20>hl<68>,
|
|
|
|
|
tabulka jazyk<79>, atd) a jsou pot<6F>eba pro <20>ten<65> a interpretaci obsahu .VOBu
|
|
|
|
|
(filmu). Soubory .BUK jsou jejich z<>lohami. V<>ude pou<6F><75>vaj<61>
|
|
|
|
|
<emphasis role="bold">sektory</emphasis>, tak<61>e mus<75>te pou<6F><75>t surov<6F> (RAW)
|
|
|
|
|
adresov<EFBFBD>n<EFBFBD> sektor<6F> na disku, abyste se mohli navigovat v DVD, nebo dekryptovat
|
|
|
|
|
jeho obsah.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Podpora DVD vy<76>aduje p<><70>m<EFBFBD> sektorov<6F>-orientovan<61> p<><70>stup k za<7A><61>zen<65>. Nane<6E>t<EFBFBD>st<73>
|
|
|
|
|
mus<EFBFBD>te (pod Linuxem) b<>t root, abyste dostali adresu sektoru souboru.
|
|
|
|
|
To je d<>vod pro<72> v<>bec nepou<6F><75>v<EFBFBD>me modul souborov<6F>ho syst<73>mu z kernelu a m<>sto
|
|
|
|
|
n<EFBFBD>j jej implementujeme v u<>ivatelsk<73>m prostoru. To zaji<6A><69>uj<75>
|
|
|
|
|
<systemitem>libdvdread</systemitem> 0.9.x a <systemitem>libmpdvdkit</systemitem>.
|
|
|
|
|
UDF ovlada<64> z kernelu nen<65> pot<6F>eba, jeliko<6B> tyto knihovny maj<61> zabudov<6F>n sv<73>j
|
|
|
|
|
vlastn<EFBFBD>. Rovn<76><6E> nemus<75> b<>t DVD p<>imountov<6F>no vzhledem k tomu <20>e pou<6F><75>v<EFBFBD>me
|
|
|
|
|
pouze p<><70>m<EFBFBD> (raw) p<><70>stup.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>kdy <filename>/dev/dvd</filename> nem<65><6D>e b<>t <20>teno u<>ivateli, proto auto<74>i
|
|
|
|
|
<systemitem>libdvdread</systemitem> implementovali emula<6C>n<EFBFBD> vrstvu, kter<65>
|
|
|
|
|
p<EFBFBD>ev<EFBFBD>d<EFBFBD> sektorov<6F> adresy na soubor+offset za <20><>elem emulace raw p<><70>stupu
|
|
|
|
|
nad p<>ipojen<65>m souborov<6F>m syst<73>mem nebo dokonce i hard diskem.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<systemitem>libdvdread</systemitem> dokonce p<>ijme bod p<>ipojen<65> (mountpoint)
|
|
|
|
|
m<EFBFBD>sto n<>zvu za<7A><61>zen<65> pro p<><70>m<EFBFBD> p<><70>stup a pod<6F>v<EFBFBD> se do
|
|
|
|
|
<filename>/proc/mounts</filename> na jm<6A>no za<7A><61>zen<65>. To bylo vyvinuto pro
|
|
|
|
|
Solaris, kde jsou n<>zvy soubor<6F> dynamicky alokov<6F>ny.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>choz<EFBFBD>m DVD za<7A><61>zen<65>m je <filename>/dev/dvd</filename>. Pokud se va<76>e
|
|
|
|
|
nastaven<EFBFBD> li<6C><69>, vytvo<76>te symlink, nebo uve<76>te spr<70>vn<76> za<7A><61>zen<65> na p<><70>kazov<6F>m
|
|
|
|
|
<EFBFBD><EFBFBD>dku pomoc<6F> volby <option>-dvd-device</option>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>DVD autentifikace</title>
|
|
|
|
|
<para>
|
|
|
|
|
Tato autentifika<6B>n<EFBFBD> a dekryptovac<61> metoda nov<6F>ho stylu podpory DVD je
|
|
|
|
|
zaji<EFBFBD><EFBFBD>ov<EFBFBD>na pou<6F>it<69>m patchovan<61> knihovny <systemitem>libdvdcss</systemitem>
|
|
|
|
|
(viz v<><76>). Metoda m<><6D>e b<>t nastavena pomoc<6F> prom<6F>nn<6E> prost<73>ed<65>
|
|
|
|
|
<envar>DVDCSS_METHOD</envar> nastaven<65> na kl<6B><6C>, disk nebo titul.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud nen<65> nastavena, zkou<6F><75> se n<>sleduj<75>c<EFBFBD> metody (v<>choz<6F>: "key",
|
|
|
|
|
"title request"):
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">bus key</emphasis>: Tento kl<6B><6C> je dohodnut b<>hem
|
|
|
|
|
autentifikace (dlouh<75> sm<73>s ioctl vol<6F>n<EFBFBD> a v<>m<EFBFBD>n r<>zn<7A>ch kl<6B><6C><EFBFBD>, kryptov<6F>n<EFBFBD>)
|
|
|
|
|
a je pou<6F>it pro za<7A>ifrov<6F>n<EFBFBD> kl<6B><6C><EFBFBD> titulu a disku ne<6E> jsou odesl<73>ny p<>es
|
|
|
|
|
nechr<EFBFBD>n<EFBFBD>nou sb<73>rnici (jako prevence odposlechnut<75>). Kl<4B><6C> "bus key" je pot<6F>eba
|
|
|
|
|
pro p<>edde<64>ifrov<6F>n<EFBFBD> <20>ifrovan<61>ho kl<6B><6C>e disku.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">cached key</emphasis>: <application>MPlayer</application>
|
|
|
|
|
se poohl<68>dne po ji<6A> zlomen<65>ch kl<6B><6C><EFBFBD>ch titulu, kter<65> jsou ulo<6C>eny v adres<65><73>i
|
|
|
|
|
<filename class="directory">~/.mplayer/DVDKeys</filename> (rychl<68> ;).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">key</emphasis>: Pokud nen<65> k dispozici "cached key",
|
|
|
|
|
<application>MPlayer</application> zkus<75> roz<6F>ifrovat kl<6B><6C> disku pomoc<6F>
|
|
|
|
|
sady p<>ilo<6C>en<65>ch kl<6B><6C><EFBFBD> p<>ehr<68>va<76>e.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">disk</emphasis>: Pokud sel<65>e "key" metoda,
|
|
|
|
|
(nap<61>. nejsou p<>ilo<6C>eny kl<6B><6C>e p<>ehr<68>va<76>e), <application>MPlayer</application>
|
|
|
|
|
crackne kl<6B><6C> disku algoritmem hrub<75> s<>ly. Tento proces je n<>ro<72>n<EFBFBD> na CPU a
|
|
|
|
|
vy<EFBFBD>aduje 64 MB pam<61>ti (16M 32Bitov<6F>ch polo<6C>ek hash tabulky) pro ulo<6C>en<65>
|
|
|
|
|
pracovn<EFBFBD>ch dat. Tato metoda by m<>la fungovat v<>dy (pomal<61>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">title request</emphasis>: S pomoc<6F> kl<6B><6C>e disku, po<70><6F>d<EFBFBD>
|
|
|
|
|
<application>MPlayer</application> o <20>ifrovan<61> kl<6B><6C>e titulu, kter<65> jsou
|
|
|
|
|
ukryty ve <emphasis>skryt<EFBFBD>ch sektorech</emphasis> pomoc<6F>
|
|
|
|
|
<systemitem>ioctl()</systemitem>.
|
|
|
|
|
Ochrana regiony v RPC-2 mechanik<69>ch je prov<6F>d<EFBFBD>na v tomto kroku a na n<>kter<65>ch
|
|
|
|
|
mechanik<EFBFBD>ch m<><6D>e selhat.
|
|
|
|
|
Pokud usp<73>je, budou kl<6B><6C>e titulu (title keys) dekryptov<6F>ny pomoc<6F> kl<6B><6C>e disku
|
|
|
|
|
(disk key) a kl<6B><6C>e sb<73>rnice (bus key).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">title</emphasis>: Tato metoda je pou<6F>ita pokud sel<65>e
|
|
|
|
|
po<EFBFBD>adavek na titul a nespol<6F>h<EFBFBD> se na v<>m<EFBFBD>nu kl<6B><6C><EFBFBD> s DVD mechanikou.
|
|
|
|
|
Pou<EFBFBD><EFBFBD>v<EFBFBD> se zde kryptografick<63> <20>tok na p<><70>m<EFBFBD> ur<75>en<65> kl<6B><6C>e (vyhled<65>v<EFBFBD>n<EFBFBD>m
|
|
|
|
|
opakuj<EFBFBD>c<EFBFBD>ho se vzoru v de<64>ifrovan<61>m obsahu VOB a rozhodnut<75>m zda <20>ist<73> text
|
|
|
|
|
odpov<EFBFBD>daj<EFBFBD>c<EFBFBD> prvn<76>m <20>ifrovan<61>m bajt<6A>m je pokra<72>ov<6F>n<EFBFBD>m tohoto vzoru).
|
|
|
|
|
Metoda je tak<61> zn<7A>ma jako "known plaintext attack"
|
|
|
|
|
nebo "DeCSSPlus". V nemnoha p<><70>padech m<><6D>e metoda selhat z d<>vodu
|
|
|
|
|
nedostatku <20>ifrovan<61>ch dat na disku pro proveden<65> statistick<63>ho <20>toku, nebo
|
|
|
|
|
proto<EFBFBD>e se kl<6B><6C> m<>n<EFBFBD> uprost<73>ed titulu. Tato metoda je jedin<69>m zp<7A>sobem jak
|
|
|
|
|
dekryptovat DVD ulo<6C>en<65> na harddisku nebo DVD se <20>patn<74>m regionem na
|
|
|
|
|
RPC2 mechanice (pomal<61>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
RPC-1 DVD mechaniky chr<68>n<EFBFBD> nastaven<65> regionu pouze softwarov<6F>. RPC-2 mechaniky
|
|
|
|
|
maj<EFBFBD> hardwarovou ochranu umo<6D><6F>uj<75>c<EFBFBD> pouze 5 zm<7A>n. M<><4D>e b<>t pot<6F>eba/doporu<72>eno
|
|
|
|
|
prov<EFBFBD>st upgrade firmwaru na RPC-1 pokud m<>te RPC-2 DVD mechaniku.
|
|
|
|
|
M<EFBFBD><EFBFBD>ete zkusit naj<61>t upgrady firmwaru pro svou mechaniku na internetu,
|
|
|
|
|
<ulink url="http://forum.rpc-1.com/dl_all.php">toto firmwarov<6F> f<>rum</ulink>
|
|
|
|
|
m<EFBFBD><EFBFBD>e b<>t dobr<62>m za<7A><61>tkem pro va<76>e hled<65>n<EFBFBD>.
|
|
|
|
|
Pokud pro va<76>i mechaniku nen<65> k dispozici upgrade firmwaru, pou<6F>ijte
|
|
|
|
|
<ulink url="http://linvdr.org/projects/regionset/">n<EFBFBD>stroj regionset</ulink>
|
|
|
|
|
pro nastaven<65> region k<>du va<76><61> DVD mechaniky (pod Linux).
|
|
|
|
|
<emphasis role="bold">Varov<EFBFBD>n<EFBFBD></emphasis>: Region m<><6D>ete p<>enastavit pouze
|
|
|
|
|
p<EFBFBD>tkr<EFBFBD>t.
|
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2005-07-19 05:17:14 +00:00
|
|
|
|
|
|
|
|
|
|
2005-02-14 06:08:16 +00:00
|
|
|
|
<sect1 id="vcd">
|
|
|
|
|
<title>P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> VCD</title>
|
|
|
|
|
<para>
|
|
|
|
|
<EFBFBD>pln<EFBFBD> seznam dostupn<70>ch voleb naleznete v man str<74>nce. Syntaxe pro standardn<64>
|
|
|
|
|
Video CD (VCD) je n<>sleduj<75>c<EFBFBD>:
|
|
|
|
|
<screen>mplayer vcd://<replaceable><stopa></replaceable> [-cdrom-device <replaceable><za<EFBFBD><EFBFBD>zen<EFBFBD>></replaceable>]</screen>
|
|
|
|
|
P<EFBFBD><EFBFBD>klad:
|
|
|
|
|
<screen>mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable></screen>
|
|
|
|
|
V<EFBFBD>choz<EFBFBD>m VCD za<7A><61>zen<65>m je <filename>/dev/cdrom</filename>. Pokud se va<76>e nastaven<65>
|
|
|
|
|
li<EFBFBD><EFBFBD>, vytvo<76>te symlink nebo uve<76>te spr<70>vn<76> za<7A><61>zen<65> na p<><70>kazov<6F>m <20><>dku pomoc<6F> volby
|
|
|
|
|
<option>-cdrom-device</option>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
Minim<EFBFBD>ln<EFBFBD> SCSI CD-ROM mechaniky Plextor a Toshiba vykazuj<75> mizern<72> v<>kon
|
|
|
|
|
p<EFBFBD>i <20>ten<65> VCD. To proto, <20>e CDROMREADRAW <systemitem>ioctl</systemitem>
|
|
|
|
|
nen<EFBFBD> pro tyto mechaniky pln<6C> implementov<6F>no. Pokud m<>te zku<6B>enosti se
|
|
|
|
|
SCSI programov<6F>n<EFBFBD>m, pros<6F>me
|
|
|
|
|
<ulink url="../../tech/patches.txt">pomozte n<>m</ulink>
|
|
|
|
|
implementovat obecnou SCSI podporu pro VCD.
|
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Mezit<EFBFBD>m m<><6D>ete extrahovat data z VCD pomoc<6F>
|
|
|
|
|
<ulink url="http://miketeo.net/links/readvcd-0.3.tgz">readvcd</ulink>
|
|
|
|
|
a v<>sledn<64> soubor p<>ehr<68>t v <application>MPlayer</application>u.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Struktura VCD</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Video CD (VCD) je tvo<76>eno CD-ROM XA sektory, <20>ili stopy CD-ROM mode 2
|
|
|
|
|
t<EFBFBD><EFBFBD>da 1 a 2:</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Prvn<EFBFBD> stopa je ve form<72>tu mode 2 t<><74>da 2 co<63> znamen<65>, <20>e pou<6F><75>v<EFBFBD> L2
|
|
|
|
|
korekci chyb. Stopa obsahuje souborov<6F> syst<73>m ISO-9660 s 2048
|
|
|
|
|
bajty/sektor. Tento souborov<6F> syst<73>m obsahuje VCD metadata informace,
|
|
|
|
|
stejn<EFBFBD> jako statick<63> sn<73>mky <20>asto pou<6F><75>van<61> v menu. MPEG segmenty menu
|
|
|
|
|
mohou b<>t rovn<76><6E> ulo<6C>eny v t<>to prvn<76> stop<6F>, ale tyto MPEGy mus<75> b<>t
|
|
|
|
|
rozsek<EFBFBD>ny na s<>rie 150 sektorov<6F>ch chunk<6E>. Souborov<6F> syst<73>m ISO-9660
|
|
|
|
|
m<EFBFBD><EFBFBD>e obsahovat dal<61><6C> soubory, kter<65> nejsou pot<6F>eba pro operace
|
|
|
|
|
s VCD.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Druh<EFBFBD> a ostatn<74> stopy jsou v<>eobecn<63> surov<6F>mi MPEG (film) stopami
|
|
|
|
|
s 2324 bajty/sektor, obsahuj<75>c<EFBFBD> jeden MPEG PS datov<6F> paket na
|
|
|
|
|
sektor. Ty jsou v mode 2 t<><74>da 1 form<72>tu, tak<61>e obsahuj<75> v<>ce dat
|
|
|
|
|
v ka<6B>d<EFBFBD>m sektoru za cenu omezen<65> korekce chyb. Je rovn<76><6E> mo<6D>n<EFBFBD> m<>t
|
|
|
|
|
CD-DA stopy na VCD za prvn<76> stopou.
|
|
|
|
|
V n<>kter<65>ch opera<72>n<EFBFBD>ch syst<73>mech jsou triky, kter<65> umo<6D><6F>uj<75> zp<7A><70>stupnit
|
|
|
|
|
tyto ne-ISO-9660 stopy v syst<73>mu soubor<6F>. V dal<61><6C>ch opera<72>n<EFBFBD>ch
|
|
|
|
|
syst<EFBFBD>mech jako GNU/Linux to nen<65> mo<6D>n<EFBFBD> (zat<61>m). Zde MPEG data
|
|
|
|
|
<emphasis role="bold">nemohou b<>t p<>ipojena</emphasis>. Proto<74>e v<>t<EFBFBD>ina
|
|
|
|
|
film<EFBFBD> je ulo<6C>ena uvnit<69> tohoto druhu stopy, m<>li byste nejprve zkusit
|
|
|
|
|
<option>vcd://2</option>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Existuj<EFBFBD> tak<61> VCD disky bez prvn<76> stopy (jedin<69> stopa bez syst<73>mu soubor<6F>).
|
|
|
|
|
M<EFBFBD><EFBFBD>ete je p<>ehr<68>t, ale nemohou b<>t namountov<6F>ny.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para> Definice standardu Video CD se naz<61>v<EFBFBD>
|
|
|
|
|
Philips "White Book" a nen<65> obecn<63> p<><70>stupn<70> online, ale mus<75> b<>t zakoupena
|
|
|
|
|
od Philipsu. Podrobn<62>j<EFBFBD><6A> informace o Video CD m<><6D>ete nal<61>zt
|
|
|
|
|
<ulink url="http://www.vcdimager.org/pub/vcdimager/manuals/0.7/vcdimager.html#SEC4">v dokumentaci programu vcdimager</ulink>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>P<EFBFBD>r slov o .DAT souborech</title>
|
|
|
|
|
<para>
|
|
|
|
|
Soubor velik<69> ~600 MB viditeln<6C> v prvn<76> stop<6F> p<>ipojen<65>ho VCD nen<65>
|
|
|
|
|
skute<EFBFBD>n<EFBFBD>m souborem! Je to takzvan<61> ISO gateway, vytvo<76>en<65> proto,
|
|
|
|
|
aby mohl Windows p<>istupovat k t<>mto stop<6F>m (Windows v<>bec neumo<6D><6F>uje
|
|
|
|
|
aplikac<EFBFBD>m surov<6F> p<><70>stup k za<7A><61>zen<65>).
|
|
|
|
|
Pod Linuxem nem<65><6D>ete kop<6F>rovat nebo p<>ehr<68>vat tyto soubory
|
|
|
|
|
(obsahuj<75> jen nesmysly). Pod Windows je to mo<6D>n<EFBFBD>, proto<74>e jeho iso9660
|
|
|
|
|
ovlada<EFBFBD> emuluje surov<6F> p<><70>stup ke stop<6F> v tomto souboru. Abyste mohli
|
|
|
|
|
p<EFBFBD>ehr<EFBFBD>t .DAT soubor, pot<6F>ebujete ovlada<64> kernelu kter<65> m<><6D>ete nal<61>zt
|
|
|
|
|
v Linuxov<6F> verzi PowerDVD. Obsahuje upraven<65> ovlada<64> syst<73>mu soubor<6F>
|
|
|
|
|
iso9660 (<filename>vcdfs/isofs-2.4.X.o</filename>), kter<65> um<75> emulovat
|
|
|
|
|
surov<EFBFBD> stopy p<>es tento st<73>nov<6F> .DAT soubor. Pokud p<>ipoj<6F>te disk
|
|
|
|
|
s pomoc<6F> jejich ovlada<64>e, m<><6D>ete kop<6F>rovat <20>i dokonce p<>ehr<68>vat .DAT
|
|
|
|
|
soubory <application>MPlayer</application>em. Ale nebude to fungovat
|
|
|
|
|
se standardn<64>m iso9660 ovlada<64>em z Linuxov<6F>ho kernelu! M<>sto toho
|
|
|
|
|
pou<EFBFBD>ijte <option>vcd://</option>. Alternativou kop<6F>rov<6F>n<EFBFBD> VCD je
|
|
|
|
|
nov<EFBFBD> ovlada<64> do kernelu jm<6A>nem
|
|
|
|
|
<ulink url="http://www.elis.rug.ac.be/~ronsse/cdfs/">cdfs</ulink>
|
|
|
|
|
(nen<65> sou<6F><75>st<73> ofici<63>ln<6C>ho kernelu), kter<65> zobrazuje CD sekce jako
|
|
|
|
|
obrazov<EFBFBD> soubory a program
|
|
|
|
|
<ulink url="http://cdrdao.sf.net/">cdrdao</ulink>, kter<65> bit-po-bitu
|
|
|
|
|
grabuje/kop<6F>ruje CD.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
</sect1>
|
|
|
|
|
</chapter>
|