Mercurial > mplayer.hg
changeset 11598:d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
utter cruelty
author | gabucino |
---|---|
date | Mon, 08 Dec 2003 22:15:42 +0000 (2003-12-08) |
parents | 1dcf9b8909b5 |
children | ad9216814665 |
files | DOCS/hu/cd-dvd.html DOCS/hu/faq.html DOCS/man/en/mplayer.1 DOCS/man/hu/mplayer.1 DOCS/xml/en/cd-dvd.xml DOCS/xml/en/faq.xml |
diffstat | 6 files changed, 17 insertions(+), 90 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/hu/cd-dvd.html Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/hu/cd-dvd.html Mon Dec 08 22:15:42 2003 +0000 @@ -88,14 +88,6 @@ <P>A <CODE>libdvdnav</CODE> t�mogat�s�nak k�sz�t�se folyamatban volt, de soha nem k�sz�lt el. Jelenleg nem haszn�lhat�.</P> -<P><B>R�gi tipus� DVD t�mogat�s - <I>OPCION�LIS</I></B></P> - -<P>Ez akkor hasznos ha pl <B>merevlemezr�l</B> akarsz k�dolt VOB-ot lej�tszani. - Ford�tsd le �s install�ld a <B>libcss</B> 0.0.1-et (�s ne �jabbat). - Ha az <B>MPlayer</B> nem tal�lja, haszn�ld a <CODE>-csslib /�tvonal/libcss.so</CODE> - opci�t. Root jogokkal, vagy egy suid root bin�rissal kell rendelkezned a - haszn�lat�hoz.</P> - <H4>A DVD-k strukt�r�ja</H4> <P>A DVD lemezek 2048 b/s szektorokat haszn�lnak ecc/crc-vel. �ltal�ban @@ -109,17 +101,12 @@ navig�ci� helyes implement�l�s�hoz ezt �t kell sz�m�tani. Sz�ks�ges tov�bb� a file-ok titkos�t�s�nak megsz�ntet�se.</P> -<P>Az im�nt felsorolt okok miatt a r�gi tipus� DVD t�mogat�s egy mountolt - DVD filerendszert ig�nyel, �s szektor szint� hozz�f�r�st az egys�ghez. - Linux alatt ehhez sajnos root jogokkal kell rendelkezni. Ennek - megold�s�ra k�t lehet�s�g van:</P> - -<UL> - <LI>Root jogok megad�sa, vagy egy suid root bin�ris haszn�lata.</LI> - <LI>Az UDF filerendszer implement�l�sa userspace-ben. A libdvdread 0.9.x �s - a libmpdvdkit ezt csin�lja (�j t�pus� DVD t�mogat�s). A kernel UDF - meghajt�j�ra nincs sz�ks�g. A DVD-t sem kell mountolni, mivel csak a - szektor alap� hozz�f�r�s lesz �rv�nyben.</LI> +<P>Az im�nt felsorolt okok miatt a DVD t�mogat�s szektor szint� hozz�f�r�st + ig�nyel az egys�ghez. Linux alatt ehhez sajnos root jogokkal kell + rendelkezni. Ennek megold�sak�pp az UDF filerendszert userspace-ben kell + implement�lni. A libdvdread 0.9.x �s a libmpdvdkit ezt csin�lja. A kernel UDF + meghajt�j�ra nincs sz�ks�g. A DVD-t sem kell mountolni, mivel csak a szektor + alap� hozz�f�r�s lesz �rv�nyben.</LI> </UL> <P>N�ha a /dev/dvd felhaszn�l�k sz�m�ra nem hozz�f�rhet�, �gy a libdvdread
--- a/DOCS/hu/faq.html Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/hu/faq.html Mon Dec 08 22:15:42 2003 +0000 @@ -550,8 +550,8 @@ <DT>Q: Musz�j rendszergazdai jogosults�gokkal rendelkeznem hogy le tudjak j�tszani egy DVD-t?</DT> - <DD>A: Csak a r�gi fajta DVD t�mogat�shoz. Ezenk�v�l persze kellenek megfelel� -jogosults�gok a DVD egys�ghez (pl /dev/dvd).</DD> + <DD>A: Nem, csak megfelel� jogosults�gok kellenek a DVD egys�ghez + (pl /dev/dvd).</DD> <DD> </DD> <DT>Q: Hol lehet let�lteni a libdvdread-et �s a libdvdcss-t?</DT>
--- a/DOCS/man/en/mplayer.1 Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/man/en/mplayer.1 Mon Dec 08 22:15:42 2003 +0000 @@ -697,10 +697,6 @@ If you give this option, MPlayer will not look for cookies in "~/.netscape/" and "~/.mozilla/". .TP -.B \-csslib <filename> -(old-style DVD option) This option is used to override the default location of -libcss.so. -.TP .B \-demuxer <number> Force demuxer type. Give the demuxer ID as defined in demuxers.h. @@ -745,14 +741,6 @@ Here you can tell MPlayer which angles to use (default: 1). Examples can be found below. .TP -.B \-dvdauth <DVD\ device> -(old-style DVD option) Turns on DVD authentication using the given device. -.TP -.B \-dvdkey <CSS\ key> -(old-style DVD option) When decoding a VOB file copied undecrypted from DVD, -this option gives the CSS key needed to decrypt the VOB (the key is printed -when authenticating with the DVD drive using \-dvdauth). -.TP .B \-forceidx Force rebuilding of INDEX. Useful for files with broken index (desyncs, etc). @@ -4652,9 +4640,6 @@ .B Playing from a different DVD device mplayer dvd://1 \-dvd-device /dev/\:dvd2 .TP -.B Old style DVD (VOB) playing -mplayer \-dvdauth /dev/\:dvd /mnt/\:dvd/\:VIDEO_TS/\:VTS_02_4.VOB -.TP .B Stream from HTTP mplayer http://mplayer.hq/\:example.avi .TP
--- a/DOCS/man/hu/mplayer.1 Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/man/hu/mplayer.1 Mon Dec 08 22:15:42 2003 +0000 @@ -672,10 +672,6 @@ is megadhat�, hogy melyikn�l v�gz�dj�n (alapban: 1). P�ld�kat l�sd al�bb. .TP -.B \-csslib <filen�v> -(r�gi tipus� DVD opci�) Ezzel az opci�val fel�l lehet b�r�lni a libcss.so -alap�rtelmezett hely�t. -.TP .B \-demuxer <sz�m> Haszn�land� demuxer tipus�nak fel�lb�r�lata. A demuxers.h file-ban le�rt ID-k lehetnek a param�terek. @@ -724,15 +720,6 @@ (alapban: 1). P�ld�kat l�sd al�bb. .TP -.B \-dvdauth <DVD\ egys�g> -(r�gi tipus� DVD opci�) Bekapcsolja a DVD autentik�ci�t a megadott egys�gre. -.TP -.B \-dvdkey <CSS\ kulcs> -(r�gi tipus� DVD opci�) Egy DVD-r�l dek�dolatlanul HDD-re m�solt VOB file -lej�tsz�s�hoz sz�ks�ges ez az opci�, mely megadja a dek�dol�shoz -sz�ks�ges CSS kulcsot (amelyet a \-dvdauth opci�val t�rt�n� autentik�ci�val -lehet megszerezni). -.TP .B \-forceidx INDEX �jra�p�t�s�nek k�nyszer�t�se. Hib�s AVI-k lej�tsz�s�n�l hasznos, a teker�s bekapcsol�s�hoz. @@ -3632,9 +3619,6 @@ .B M�s DVD egys�g haszn�lata mplayer dvd://1 \-dvd\-device /dev/\:dvd2 .TP -.B R�gi tipus� DVD (VOB) lej�tsz�s -mplayer \-dvdauth /dev/\:dvd /mnt/\:dvd/\:VIDEO_TS/\:VTS_02_4.VOB -.TP .B HTTP stream lej�tsz�sa mplayer http://mplayer.hq/\:example.avi .TP
--- a/DOCS/xml/en/cd-dvd.xml Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/xml/en/cd-dvd.xml Mon Dec 08 22:15:42 2003 +0000 @@ -115,18 +115,6 @@ </para></note> <formalpara> -<title>Old-style DVD support - OPTIONAL</title> -<para> -Useful if you want to play encoded VOBs from <emphasis role="bold">hard disk</emphasis>. -Compile and install <emphasis role="bold">libcss</emphasis> 0.0.1 (not newer) for this -(If <application>MPlayer</application> fails to detect it, use the -<option>-csslib /path/to/libcss.so</option> option). To use it, you need to be root, -use a suid root <application>MPlayer</application> binary or let -<application>MPlayer</application> call the suid-root fibmap_mplayer wrapper program. -</para> -</formalpara> - -<formalpara> <title>DVD structure</title> <para> DVD disks have 2048 bytes per sector with ECC/CRC. They usually have an UDF @@ -146,31 +134,14 @@ </para> <para> -The whole old-style DVD support with <systemitem>libcss</systemitem> therefore -needs a mounted DVD filesystem and raw sector-based access to the device. -Unfortunately you must (under Linux) be root to get the sector address of a -file. You have the following choices: - -<itemizedlist> -<listitem><para> -Be root or use a suid-root <application>MPlayer</application> binary. -</para></listitem> - -<listitem><para> -Let <application>MPlayer</application> call the suid-root fibmap_mplayer -wrapper program to access the DVD (used in the old-style DVD playback over -<systemitem>libcss</systemitem>). -</para></listitem> - -<listitem><para> -Don't use the kernel's filesystem driver at all and reimplement it in -userspace. <systemitem>libdvdread</systemitem> 0.9.x and <systemitem>libmpdvdkit</systemitem> -do this (new-style DVD support). The kernel UDF filesystem driver is not -needed as they already have their own builtin UDF filesystem driver. -Also the DVD does not have to be mounted as only the raw sector-based -access is used. -</para></listitem> -</itemizedlist> +DVD support needs raw sector-based access to the device. Unfortunately you must +(under Linux) be root to get the sector address of a file. That's why we don't +use the kernel's filesystem driver at all, instead we reimplement it in +userspace. <systemitem>libdvdread</systemitem> 0.9.x and +<systemitem>libmpdvdkit</systemitem> do this. The kernel UDF filesystem driver +is not needed as they already have their own builtin UDF filesystem driver. +Also the DVD does not have to be mounted as only the raw sector-based access is +used. </para> <para>
--- a/DOCS/xml/en/faq.xml Mon Dec 08 22:14:42 2003 +0000 +++ b/DOCS/xml/en/faq.xml Mon Dec 08 22:15:42 2003 +0000 @@ -1062,7 +1062,7 @@ Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play a DVD? </para></question> <answer><para> -No, only for old-style DVD support. However you must have the proper rights +No. However you must have the proper rights on the DVD device entry (in <filename class="directory">/dev/</filename>). </para></answer> </qandaentry>