From a8d7519126c2dcf45f9000bd313d7c0c7eed48f6 Mon Sep 17 00:00:00 2001 From: gabucino Date: Sat, 27 Apr 2002 09:08:30 +0000 Subject: [PATCH] updated DVD documentation for libmpdvdkit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5860 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/Hungarian/cd-dvd.html | 90 ++++++++++++----------------------- DOCS/cd-dvd.html | 96 +++++++++++--------------------------- 2 files changed, 56 insertions(+), 130 deletions(-) diff --git a/DOCS/Hungarian/cd-dvd.html b/DOCS/Hungarian/cd-dvd.html index e77a27af96..27e0fd03a8 100644 --- a/DOCS/Hungarian/cd-dvd.html +++ b/DOCS/Hungarian/cd-dvd.html @@ -70,58 +70,40 @@ szimbolikus linket kell l

4.2. DVD lejátszás

-

Örüljetek népek, itt az igazi DVD támogatás. Már nem kell egyesével -lejátszani a VOB file-okat a video_ts könyvtárból, nem kell aggódni amiatt -hogy a lemez kódolt-e vagy se (régebben kellett ilyenkor a '-dvdauth /dev/dvd' -opció is), és még csak fel se kell mountolni a lemezt (bár a mountolás -azzal a tagadhatatlan előnnyel jár hogy a Linux a feltört CSS kulcsokat -cache-be rakja, így a következő lejátszásnál már nem kell a törésre várni).

+

Az MPlayer a libdvdread és libdvdcss + néven ismert könyvtárakat használja a DVD dekódolásához és lejátszásához. + Ez a két program a libmpdvdkit/ alkönyvtárban található, így + külön installálásuk szükségtelen és felesleges. Azért használjuk ezt a + módszert mert így lehetőségünk nyílt kijavítani egy libdvdread + bugot, és megpatchelni a libdvdcss-t olyan módon hogy a + feltört CSS kulcsokat mentse el a $HOME/.mplayer/DVDKeys + könyvtárba, így a következő lejátszásnál nem lesz szükség ezek újabb + feltörésére.

-

FONTOS: NE kérj semmit a DVD lejátszással kapcsolatban. Most először van -működő támogatás MPlayer-ben, és jelenleg a hibák kijavításán, és -alapvető DVD funkciók beépítésén dolgozunk.

+

A libdvdnav támogatásának készítése folyamatban van, jelenleg + nem használható.

-

Az MPlayer a libdvdread-et használja, ami tartalmaz beépített -támogatást az IFO file-ok feldolgozásához, navi blokkok olvasásához, és -autentikációhoz. Ezutóbbihoz a libdvdcss-t használja, így először -azt kell lefordítani és installálni, majd ./configure, és az automatikusan -felismeri.

- - +

Futtasd a ./configure-t. Ha nem törölted le a + libmpdvdkit könyvtárat, a ./configure valami ilyesmit fog + kiírni :

+ +

Checking for DVD support (libmpdvdkit) ... yes

+ +

Az MPlayer képes már installált libdvdread és + libdvdcss használatára, de ezen módszer használata NEM + AJÁNLOTT mivel használata különféle hibákhoz, inkompatibilitásokhoz, és + lassabb sebességhez vezet.

+ +

Ezután a szokott módon make és make install.

Természetesen miután felinstalláltad a libdvdcss-t és a libdvdread-et, nem kell újrafordítanod őket minden alkalommal mikor az MPlayer-t.

@@ -194,7 +176,8 @@ DVD lej mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed. A: -Ismert libdvdread 0.9.1 bug, a 0.9.2-ben már javítva van. +Ismert libdvdread 0.9.1 bug, a 0.9.2-ben és a libmpdvdkit-ben már javítva van, +miért nem ezutóbbi használod?   Q: @@ -219,13 +202,6 @@ Igen, l http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz   -  Q: - Szóval az MPlayer tud DVD lejátszást? Akkor biztos DeCSS-t használ! - Bűnösek vagytok a következő vádpontokban : XYZ#$-- -A: -Anyád. Nincs DeCSS kód az MPlayer-ben. libdvdcss-hez linkeli magát.
-  - Q: Muszáj rendszergazdai jogosultságokkal rendelkeznem hogy le tudjak játszani egy DVD-t? @@ -234,13 +210,6 @@ Csak a r jogosultságok a DVD egységhez (pl /dev/dvd).   -Q: -Hogy lehetne azt megcsinálni hogy ... ? -A: -Mint fentebb is leírtuk, most a hibák javításán dolgozunk, a -kívánságok majd később jöhetnek. -  - Q: Hol lehet letölteni a libdvdread-et és a libdvdcss-t? A: @@ -257,9 +226,8 @@ Igen, l Q: Nagyon lassú a DVD lejátszás ! A: -Próbáld a -cache opciót (lásd manpage!). Ha így se jó, bizonyosodj -meg róla hogy megfelelő libdvdread+libdvdcss kombinációt használsz. Mindenképp -próbáld meg bekapcsolni a DMA-t a DVD meghajtón. +Próbáld a -cache opciót (lásd manpage!). Ha így se jó, próbáld meg +bekapcsolni a DMA-t a DVD meghajtón.   diff --git a/DOCS/cd-dvd.html b/DOCS/cd-dvd.html index 0feebce0a0..71fa9e8d1b 100644 --- a/DOCS/cd-dvd.html +++ b/DOCS/cd-dvd.html @@ -74,46 +74,16 @@ CDROM.

4.2. DVD playback

-

Yes, the real DVD support has been arrived. You don't need to play VOB files -manually from disk thinking of the purpose of a file in the video_ts -directory, you don't need worry it it's an encrypted disk or not (in old -MPlayer you had to put '-dvdauth /dev/dvd' into the command line in case -of encrypted discs), and you don't need even mount your disk to be able to -play (but mounting it makes Linux cache the cracked CSS keys, so the playing -will initialize much faster second time).

+

MPlayer uses libdvdread and libdvdcss for + DVD decryption and playing. These two libraries are contained in the + libmpdvdkit/ subdirectory in the MPlayer tree, you + don't have to install them separately. We opt for this solution because + we had to fix a libdvdread bug, and apply a patch which adds + cracked CSS keys caching support for libdvdcss (results in large + speed increase before playing). These cracked keys are stored in + $HOME/.mplayer/DVDKeys directory.

-

IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback. -This is the first version of some real DVD support inside MPlayer and -we're busy with hunting bugs and implementing basic DVD player features.

- -

MPlayer uses libdvdread which has got built in support for IFO -parsing, reading navi blocks and doing authentication/descrambling. libdvdread -uses libdvdcss to the latter tasks. So you will need libdvdcss and libdvdread -downloaded, compiled and installed BEFORE you run ./configure script of -MPlayer which will autodetect libdvdread for you in this way.

- -
    -
  • Download source of libdvdread and libdvdcss.

    - -

    You can download them from -http://www.dtek.chalmers.se/groups/dvd -(click 'download' in the menu at the left, and you can find libdvdcss and -libdvdread in a table).

    - -

    IMPORTANT !
    -For -

      -
    • libdvdread 0.8 - you'll need libcss instead of libdvdcss
    • -
    • libdvdread 0.9 - you'll need libdvdcss 0.0.3 ! Don't use newer - versions, they won't work!
    • -
    • For example never use libdvdcss 1.0, it will be unusably slow!
    • -
    -

    -
  • - -
  • Compile and install libdvdcss THEN libdvdread.

    - -

    Read documentation of these packages to do this step easily.

  • +

    Support for dvdnav is being added (not usable now).

  • Old-style DVD support - OPTIONAL

    @@ -121,18 +91,22 @@ For install libcss 0.0.1 (not newer) (if MPlayer can't detect it, use the -csslib /path/to/libcss.so option).

  • -
  • Recompile MPlayer.

    - -

    Run ./configure. If you install libdvdread correctly, ./configure -says something similar:
    Checking for DVDread support ... yes
    -(Of course you can put your favourite configure options into the command -line when you run ./configure). That's it! Say: make, then make install.

  • -
+
  • Compile MPlayer.

    -

    Of course after installing libdvdcss and libdvdread you don't need recompile -them at each time when you want to recompile MPlayer (from a new CVS version -for example) since the needed packages have already been installed on your -machine.

    +

    Run ./configure. If you didn't delete + libmpdvdkit subdirectory from MPlayer tree, ./configure should + say the following:

    + +

    Checking for DVD support (libmpdvdkit) ... yes

    + +

    (of course you can put your favourite configure options into the command + line when you run ./configure)

    + +

    MPlayer can use libdvdread and libdvdcss + libraries installed system-wide, but this solution is NOT RECOMMENDED, as + can result in bugs, library incompatibilities, and slower speed.

    + +

    Either way, say: make, then make install.

    Using MPlayer to play DVDs:

    @@ -204,7 +178,8 @@ Playing a DVD, I encountered this error :
    mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.
    A: -This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2. +This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2 and +libmpdvdkit, use the later.   Q: @@ -228,14 +203,6 @@ Use the 'regionset' tool: http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz   -Q: -So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest -under the XYZ#$ paragraph of the-- -A: -Get back asshole, there is no DeCSS code in MPlayer. MPlayer uses libdvdread -by linking against it, and libdvdread uses libdvdcss by dynamic loading it.
    -  - Q: Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD? A: @@ -243,14 +210,6 @@ No, you don't. Only for old-style DVD support. However of course you must have the proper rights to the DVD device driver entry (in /dev).   -Q: -How can I ... (insert some expectable DVD player feature here)? -A: -The current implementation is the first implementation of some real DVD -player functionality. First, we would like to target existing bugs and -basic features before implementing new features. -  - Q: Where can I get libdvdread and libdvdcss packages from? A: @@ -268,8 +227,7 @@ Yes, see the -chapter option. My DVD playing is sluggish !
    A: Use the -cache option (see the manpage!). If it still doesn't -work, check the beginning of this documentaion for proper -libdvdread+libdvdcss combinations. Also try enabling DMA for the DVD drive. +work, try enabling DMA for the DVD drive.