From dbc39da0e6b5cb1e3abbecb0e07b6cf213916650 Mon Sep 17 00:00:00 2001 From: gabucino Date: Mon, 10 Dec 2001 17:37:18 +0000 Subject: fixes, and some new stuff. sorry forgot :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3439 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/Hungarian/documentation.html | 16 +++++++++- DOCS/Hungarian/encoding.html | 63 +++++++++++++++++++++++++++++++++------ DOCS/Hungarian/faq.html | 2 +- DOCS/Hungarian/mplayer.1 | 2 +- DOCS/Hungarian/sound.html | 6 ++++ DOCS/documentation.html | 14 +++++++++ DOCS/encoding.html | 60 +++++++++++++++++++++++++++++++------ DOCS/faq.html | 2 +- DOCS/mplayer.1 | 2 +- DOCS/sound.html | 6 ++++ 10 files changed, 150 insertions(+), 23 deletions(-) diff --git a/DOCS/Hungarian/documentation.html b/DOCS/Hungarian/documentation.html index 0d62e89059..30ac4732c6 100644 --- a/DOCS/Hungarian/documentation.html +++ b/DOCS/Hungarian/documentation.html @@ -116,7 +116,21 @@
  • 2.3.2.1 Ajánlott beállítások különféle hangkártyákhoz
  • -
  • 2.4 MEncoder - Az MPlayer-en alapuló enkóder

    +
  • 2.4 MEncoder - Az MPlayer-en alapuló enkóder
  • +
  • 2.5 TV bemenet
  • 3. Használat
  • diff --git a/DOCS/Hungarian/encoding.html b/DOCS/Hungarian/encoding.html index 3780bca978..6978470301 100644 --- a/DOCS/Hungarian/encoding.html +++ b/DOCS/Hungarian/encoding.html @@ -5,7 +5,7 @@

    2.4. Enkódolás a MEncoderrel

    -

    Bevezető +

    Bevezető

    A MEncoder (MPlayer's Movie Encoder) egy egyszerű film enkóder, az MPlayer által lejátszható formátumok (AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET) más - MPlayerrel lejátszható - @@ -15,7 +15,7 @@ Jelenleg b stream másoló képességgel. A közeljövőben tervezzük vágó, átméretező filterek beépítését, és hasonlókat.

    -

    Fordítás +

    Fordítás

    -

    2 menetes DivX4 enkódolása

    +

    2 menetes DivX4 enkódolása

    Az elnevezés onnan jön, hogy ezzel a módszerrel a file kétszer lesz enkódolva. Az első menet néhány pár Mb-os ideiglenes file-t hoz létre, amiket @@ -87,11 +88,52 @@ mutatja be. Csak k -o movie.avi -pass 1
        mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2

    -

    Szintaxis

    +

    Átméretezés

    -

      mencoder [opciók] <bemeneti file> [opciók] ...

    +

    Gyakran előjön a filmek átméretezésének igénye. Ennek oka sokféle lehet, + például a fileméret csökkentése, vagy SVCD-ből DivX-be kódolás. A rippelt + DVD-ket legtöbbször átméretezik (például egy 4:3-as DVD-t 640x480-ra), + különösen akkor ha a cél az 1 CD-s méret és ezzel együtt a jó minőség is. + Az SVCD-k képmérete 480x480, és a lejátszóprogramok az ezen fileok + fejlécében található aspektusinformáció alapján számítják ki a megjelenítendő + kép méretét (pl.: 480x480 + 4:3 = 640x480). Ezért AVI (DivX) file-okba + történő kódolásnál figyelembe kell venni azt is, hogy az AVI file-ok ezen + információ eltárolására nem képesek. Így az egyetlen megoldás az átméretezés.

    -

    Opciók

    +

    A kimeneti file képméretét az -x és -y opciókkal + lehet megadni. Ezenkívül 3 féle átméretezőszűrő közül is lehet választani, + 0 : gyors bilinear, 1 : bilinear, 2 : bicubic (ennek + van a legjobb minősége). Ezt az -sws opcióval lehet megadni. + Alapértelmezett a 0 : gyors bilinear.

    + +

    Az átméretezés egyszerű :
    +    mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi

    Stream másolása

    + +

    A MEncoder kétféleképpen tudja a bemeneti stream-eket kezelni : + enkódolja vagy csak átmásolja őket. Ez a rész a másolásról + szól.

    + +

    +

      +
    • Video stream-ek (-ovc copy opció) : érdekes dolgokat + lehet vele csinálni :)
      + Mint például FLI vagy VIVO vagy MPEG1 video másolása AVI file-ba ! + Persze az ilyen videokat csak az MPlayer tudja lejátszani :) És + ezeknek a haszna gyakorlatilag nulla. A racionális felhasználása ennek + például amikor csak az audio stream-et kell enkódolni (pl tömörítetlen + PCM-et MP3-ba).
    • + +
    • Audio stream-ek (-oac copy opció) : egyértelmű.
    • +
    +

    + +

    Szintaxis

    + +

      mencoder [opciók] [bemeneti file] [opciók] ...

    + +

    Opciók

    Megj.: az összes rendelkezésre álló opcióhoz olvasd el a manpage-t !

    @@ -192,13 +234,16 @@ mutatja be. Csak k -

    Példák

    +

    Példák

    A MEncoder használata a legkönnyebb dolog a Földön.

    A DVD 2-es fejezetének enkódolása :
        mencoder -dvd 2 -o title2.avi

    +

    A DVD 2-es fejezetének enkódolása, átméretezéssel :
    +     mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi

    +

    Enkódolás HTTP-ről :
        mencoder http://mplayer.hq/example.avi -o example.avi

    diff --git a/DOCS/Hungarian/faq.html b/DOCS/Hungarian/faq.html index 9bd554a12c..8cf743e732 100644 --- a/DOCS/Hungarian/faq.html +++ b/DOCS/Hungarian/faq.html @@ -175,7 +175,7 @@ marhas Q: Mikor fordítanám a MEncoder-t, segmentation fault-tal elszáll linkelésnél. A: -Frissítsd a binutils csomagodat, az remélhetőleg segít. +Frissítsd a binutils csomagodat (2.11.92.* vagy újabb valószínűleg elég), az remélhetőleg segít.   Q: diff --git a/DOCS/Hungarian/mplayer.1 b/DOCS/Hungarian/mplayer.1 index e7cb2e51ea..463e0ff091 100644 --- a/DOCS/Hungarian/mplayer.1 +++ b/DOCS/Hungarian/mplayer.1 @@ -413,7 +413,7 @@ kulcs, a CSS-el k (NEM DVD lejátszáshoz !! Arra ott a -dvd opció!) .TP .B \-stereo mód -MPEG1 sztereó kimenet tipusának kiválasztása +MP2/MP3 sztereó kimenet tipusának kiválasztása Sztereó 0 Bal csatorna 1 diff --git a/DOCS/Hungarian/sound.html b/DOCS/Hungarian/sound.html index 04298b6f96..888a10570b 100644 --- a/DOCS/Hungarian/sound.html +++ b/DOCS/Hungarian/sound.html @@ -102,6 +102,12 @@ is bugzik... ALSA:csak (?) ALSA 0.5-tel, OSS emulációval, ÉS -ao sdl-el jó (!) (?) Max kHz:? +envy24 chip-es kártyák (mint pl Terratec EWS88MT) +OSS:? +OSS/Pro:OK +ALSA:? +Max kHz:? + PC Speaker or DAC OSS:OK (használd az SDL meghajtót : -ao sdl) ALSA:nincs diff --git a/DOCS/documentation.html b/DOCS/documentation.html index c4aed1c027..253d0e28c2 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -117,6 +117,20 @@
  • 2.4 MEncoder - An Encoder based on MPlayer
  • +
  • 2.5 TV input
  • 3. Usage
  • diff --git a/DOCS/encoding.html b/DOCS/encoding.html index a0ebbdfabc..10317adee9 100644 --- a/DOCS/encoding.html +++ b/DOCS/encoding.html @@ -5,7 +5,7 @@

    2.4. Encoding with MEncoder

    -

    Overview +

    Overview

    MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to encode MPlayer-playable movies (AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET) to other MPlayer-playable formats (see @@ -14,7 +14,7 @@ passes) video, PCM/MP3/VBRMP3 audio. Also has stream copying abilities. In the future, there will be cropping, resizing filters, and other interesting stuff.

    -

    Compiling +

    Compiling

    -

    Encoding 2-pass DivX4

    +

    Encoding 2-pass DivX4

    The name comes from the fact that this method encodes the file twice. The first encoding (dubbed pass) creates some temporary files with a @@ -82,11 +83,49 @@ commands are needed :
    -o movie.avi -pass 1
        mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2

    -

    Syntax

    +

    Rescaling movies

    -

      mencoder [options] <input file> [options] ...

    +

    Often the need to resize movie images' size emerges. Its reasons can be many, + examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs + are mostly rescaled, for example a 4:3 DVD should be 640x480, especially + when you want it to fit to 1 CD, and have good quality at the same time. + SVCDs have 480x480 size, and their header contains the aspect ratio the + player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to + AVI (DivX) files, you have be aware that AVI headers don't store this + value. Thus, the only solution is rescaling.

    -

    Available options

    +

    The output size is specified with the -x, and -y + options. Furthermore, there are 3 rescaling filters in MEncoder, 0 + : fast 1 : bilinear, 2 : bilinear, bicubic (best quality). + They can be specified with the -sws option. If not specified, + MEncoder will use 0 : fast bilinear.

    + +

    Rescaling is very simple :
    +    mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi

    + +

    Stream copying

    + +

    MEncoder can handle input streams in two ways : encode or + copy them. This section is about copying.

    + +

    +

      +
    • Video stream (option -ovc copy) : nice stuff can be done :)
      + Like, putting (not converting!) FLI or VIVO or MPEG1 video into an AVI file ! + Of course only MPlayer can play such files :) And it probably has no + real life value at all. Rationally : video stream copying can be useful for + example when only the audio stream has to be encoded (like, uncompressed PCM + to MP3).
    • + +
    • Audio stream (option -oac copy) : straightforward.
    • +
    +

    + +

    Syntax

    + +

      mencoder [options] [input file] [options] ...

    + +

    Available options

    NOTE : for all available options, read the manpage !

    @@ -187,13 +226,16 @@ commands are needed :
    -

    Examples

    +

    Examples

    Using MEncoder is the easiest thing on Earth. See the following :

    Encoding from DVD, title 2 :
        mencoder -dvd 2 -o title2.avi

    +

    Encoding from DVD, title 2, with rescaling :
    +     mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi

    +

    Encoding from HTTP :
        mencoder http://mplayer.hq/example.avi -o example.avi

    diff --git a/DOCS/faq.html b/DOCS/faq.html index 10bcdd3dc4..16fb68543f 100644 --- a/DOCS/faq.html +++ b/DOCS/faq.html @@ -211,7 +211,7 @@ Upgrade your kernel and your modutils and MPlayer. Q: When compiling MEncoder, it segfaults at linking !!! A: -Dunno, upgrading binutils should help. Not our fault, do NOT report! +Dunno, upgrading binutils should help (2.11.92.* or newer should be good). Not our fault, do NOT report!   Q: diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1 index 300f64b3d6..289f5fa2e8 100644 --- a/DOCS/mplayer.1 +++ b/DOCS/mplayer.1 @@ -413,7 +413,7 @@ key to decrypt stream encrypted with CSS. For example : -dvdkey F169072699 (this is NOT for DVD playing! For DVD use the -dvd option!) .TP .B \-stereo mode -select type of MPEG1 stereo output. +select type of MP2/MP3 stereo output. Stereo 0 Left channel 1 diff --git a/DOCS/sound.html b/DOCS/sound.html index 7b9b8f7f96..ee487744d9 100644 --- a/DOCS/sound.html +++ b/DOCS/sound.html @@ -99,6 +99,12 @@ problems (losing sync, disappearing audio, etc). ALSA:OK only with ALSA 0.5 with OSS emulation AND -ao sdl (!) (?) Max kHz:? +Cards with envy24 chips (like Terratec EWS88MT) +OSS:? +OSS/Pro:OK +ALSA:? +Max kHz:? + PC Speaker or DAC OSS:OK (use the SDL driver : -ao sdl) ALSA:no driver -- cgit v1.2.3