mirror of https://github.com/mpv-player/mpv
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
|
<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>
|
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>
|
<H4>A DVD-k struktúrája</H4>
|
||||||
|
|
||||||
<P>A DVD lemezek 2048 b/s szektorokat használnak ecc/crc-vel. Általában
|
<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
|
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>
|
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
|
<P>Az imént felsorolt okok miatt a DVD támogatás szektor szintű hozzáférést
|
||||||
DVD filerendszert igényel, és szektor szintű hozzáférést az egységhez.
|
igényel az egységhez. Linux alatt ehhez sajnos root jogokkal kell
|
||||||
Linux alatt ehhez sajnos root jogokkal kell rendelkezni. Ennek
|
rendelkezni. Ennek megoldásaképp az UDF filerendszert userspace-ben kell
|
||||||
megoldására két lehetőség van:</P>
|
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
|
||||||
<UL>
|
alapú hozzáférés lesz érvényben.</LI>
|
||||||
<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>
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
<P>Néha a /dev/dvd felhasználók számára nem hozzáférhető, így a libdvdread
|
<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
|
<DT>Q: Muszáj rendszergazdai jogosultságokkal rendelkeznem hogy le tudjak
|
||||||
játszani egy DVD-t?</DT>
|
játszani egy DVD-t?</DT>
|
||||||
<DD>A: Csak a régi fajta DVD támogatáshoz. Ezenkívül persze kellenek megfelelő
|
<DD>A: Nem, csak megfelelő jogosultságok kellenek a DVD egységhez
|
||||||
jogosultságok a DVD egységhez (pl /dev/dvd).</DD>
|
(pl /dev/dvd).</DD>
|
||||||
<DD> </DD>
|
<DD> </DD>
|
||||||
|
|
||||||
<DT>Q: Hol lehet letölteni a libdvdread-et és a libdvdcss-t?</DT>
|
<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/"
|
If you give this option, MPlayer will not look for cookies in "~/.netscape/"
|
||||||
and "~/.mozilla/".
|
and "~/.mozilla/".
|
||||||
.TP
|
.TP
|
||||||
.B \-csslib <filename>
|
|
||||||
(old-style DVD option) This option is used to override the default location of
|
|
||||||
libcss.so.
|
|
||||||
.TP
|
|
||||||
.B \-demuxer <number>
|
.B \-demuxer <number>
|
||||||
Force demuxer type.
|
Force demuxer type.
|
||||||
Give the demuxer ID as defined in demuxers.h.
|
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).
|
Here you can tell MPlayer which angles to use (default: 1).
|
||||||
Examples can be found below.
|
Examples can be found below.
|
||||||
.TP
|
.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
|
.B \-forceidx
|
||||||
Force rebuilding of INDEX.
|
Force rebuilding of INDEX.
|
||||||
Useful for files with broken index (desyncs, etc).
|
Useful for files with broken index (desyncs, etc).
|
||||||
|
@ -4652,9 +4640,6 @@ mplayer dvd://1 \-dvdangle 2
|
||||||
.B Playing from a different DVD device
|
.B Playing from a different DVD device
|
||||||
mplayer dvd://1 \-dvd-device /dev/\:dvd2
|
mplayer dvd://1 \-dvd-device /dev/\:dvd2
|
||||||
.TP
|
.TP
|
||||||
.B Old style DVD (VOB) playing
|
|
||||||
mplayer \-dvdauth /dev/\:dvd /mnt/\:dvd/\:VIDEO_TS/\:VTS_02_4.VOB
|
|
||||||
.TP
|
|
||||||
.B Stream from HTTP
|
.B Stream from HTTP
|
||||||
mplayer http://mplayer.hq/\:example.avi
|
mplayer http://mplayer.hq/\:example.avi
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -672,10 +672,6 @@ Itt adhat
|
||||||
is megadható, hogy melyiknél végződjön (alapban: 1).
|
is megadható, hogy melyiknél végződjön (alapban: 1).
|
||||||
Példákat lásd alább.
|
Példákat lásd alább.
|
||||||
.TP
|
.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>
|
.B \-demuxer <szám>
|
||||||
Használandó demuxer tipusának felülbírálata.
|
Használandó demuxer tipusának felülbírálata.
|
||||||
A demuxers.h file-ban leírt ID-k lehetnek a paraméterek.
|
A demuxers.h file-ban leírt ID-k lehetnek a paraméterek.
|
||||||
|
@ -724,15 +720,6 @@ Itt adhat
|
||||||
(alapban: 1).
|
(alapban: 1).
|
||||||
Példákat lásd alább.
|
Példákat lásd alább.
|
||||||
.TP
|
.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
|
.B \-forceidx
|
||||||
INDEX újraépítésének kényszerítése.
|
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.
|
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
|
.B Más DVD egység használata
|
||||||
mplayer dvd://1 \-dvd\-device /dev/\:dvd2
|
mplayer dvd://1 \-dvd\-device /dev/\:dvd2
|
||||||
.TP
|
.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
|
.B HTTP stream lejátszása
|
||||||
mplayer http://mplayer.hq/\:example.avi
|
mplayer http://mplayer.hq/\:example.avi
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -114,18 +114,6 @@ In case of DVD decoding problems, try disabling supermount, or any other such
|
||||||
facilities.
|
facilities.
|
||||||
</para></note>
|
</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>
|
<formalpara>
|
||||||
<title>DVD structure</title>
|
<title>DVD structure</title>
|
||||||
<para>
|
<para>
|
||||||
|
@ -146,31 +134,14 @@ content.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The whole old-style DVD support with <systemitem>libcss</systemitem> therefore
|
DVD support needs raw sector-based access to the device. Unfortunately you must
|
||||||
needs a mounted DVD filesystem and raw sector-based access to the device.
|
(under Linux) be root to get the sector address of a file. That's why we don't
|
||||||
Unfortunately you must (under Linux) be root to get the sector address of a
|
use the kernel's filesystem driver at all, instead we reimplement it in
|
||||||
file. You have the following choices:
|
userspace. <systemitem>libdvdread</systemitem> 0.9.x and
|
||||||
|
<systemitem>libmpdvdkit</systemitem> do this. The kernel UDF filesystem driver
|
||||||
<itemizedlist>
|
is not needed as they already have their own builtin UDF filesystem driver.
|
||||||
<listitem><para>
|
Also the DVD does not have to be mounted as only the raw sector-based access is
|
||||||
Be root or use a suid-root <application>MPlayer</application> binary.
|
used.
|
||||||
</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>
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<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?
|
Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play a DVD?
|
||||||
</para></question>
|
</para></question>
|
||||||
<answer><para>
|
<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>).
|
on the DVD device entry (in <filename class="directory">/dev/</filename>).
|
||||||
</para></answer>
|
</para></answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
Loading…
Reference in New Issue