mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 00:06:56 +00:00
removing last pitiful traces of old-style DVD support, with no remorse, but
utter cruelty git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11599 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
458a579643
commit
02ec59d42c
@ -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
|
||||
|
@ -550,8 +550,8 @@ a k
|
||||
|
||||
<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>
|
||||
|
@ -697,10 +697,6 @@ Read HTTP cookies from this file. The file is assumed to be in Netscape format.
|
||||
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 @@ Some DVD discs contain scenes that can be viewed from multiple angles.
|
||||
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 @@ mplayer dvd://1 \-dvdangle 2
|
||||
.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
|
||||
|
@ -672,10 +672,6 @@ Itt adhat
|
||||
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 @@ Itt adhat
|
||||
(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 @@ mplayer dvd://1 \-dvdangle 2
|
||||
.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
|
||||
|
@ -114,18 +114,6 @@ In case of DVD decoding problems, try disabling supermount, or any other such
|
||||
facilities.
|
||||
</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>
|
||||
@ -146,31 +134,14 @@ content.
|
||||
</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>
|
||||
|
@ -1062,7 +1062,7 @@ Use the <ulink url="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user