# HG changeset patch # User gabucino # Date 1009234807 0 # Node ID 66da035c4ee210d1b78bfa97d0044bd339c918a8 # Parent 120ac80f13c2268e7c12e4a99c323a114857d0de some quick updates for the prerelease diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/Hungarian/documentation.html --- a/DOCS/Hungarian/documentation.html Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/Hungarian/documentation.html Mon Dec 24 23:00:07 2001 +0000 @@ -135,6 +135,7 @@
  • 2.4.3.2 Átméretezés
  • 2.4.3.3 Stream másolása
  • 2.4.3.4 Hibás index-ű AVI-k rendbehozása
  • +
  • 2.4.3.5 Enkódolás a libavcodec codec-ekkel
  • 2.4.4 Szintaxis
  • 2.4.5 Opciók
  • diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/Hungarian/encoding.html --- a/DOCS/Hungarian/encoding.html Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/Hungarian/encoding.html Mon Dec 24 23:00:07 2001 +0000 @@ -5,7 +5,8 @@

    2.4. Enkódolás a MEncoderrel

    -

    Bevezető +

    2.4.1. 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,17 +16,22 @@ 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 +

    2.4.2. Fordítás

    + +

    -

    Hibás index-szel rendelkező AVI-k rendbehozása

    +

    2.4.3.4. Hibás index-szel rendelkező AVI-k rendbehozása

    Legkönnyebb dolog a világon. Egyszerűen átmásoljuk a video és audio streameket, és közben a MEncoder létrehozza a megfelelő indexet is. @@ -139,11 +147,33 @@

    A parancs : mencoder input.avi -ovc copy -oac copy -o output.avi

    -

    Szintaxis

    + +

    2.4.3.5. Enkódolás a libavcodec codec-ekkel

    + +

    A libavcodec-kel egyszerűen lehet kódolni jónéhány érdekes video és +audio formátumba (jelenleg az audio codec-ek nem támogatottak). A következő +codec-ekkel lehet enkódolni :

    + +

    +

    +

    + +

    Az első oszlopban felsorolt codec-eket kell átadni a + vcodec opciónak, pl : -lavcopts vcodec=msmpeg4

    + + +

    2.4.4. Szintaxis

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

    -

    Opciók

    +

    2.4.5. Opciók

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

    @@ -197,6 +227,7 @@   help - codecek listája
      copy - nincs enkódolás, csak stream másolás (most csak AVI/ASF-ből)
      divx4 - enkódolás DivX4-be
    +   lavc - enkódolás egy libavcodec-ben lévő codec-kel
    @@ -220,10 +251,27 @@ Ha DivX4-be enkódolsz, itt megadhatod a paramétereket, pl :
      -divx4opts br=1800:deinterlace:key=250
    - Leghasznosabb opcióok: (a teljes lista a manpage-ban található !)
    + Leghasznosabb opciók: (a teljes lista a manpage-ban található !)
      help - segíccség
      br=XXX - bitráta megadása kbit-ben <4-16000> vagy bitben <16001-24000000>
      q=XXXX - minőség (1-leggyorsabb, 5-legjobb - alapértelmezett)
    +   key=XXXX - keyframe-k közötti időintervallum
    + + + +    + + -lavcopts +    + + Ha egy libavcodec-es codec-kel enkódolsz, itt megadhatod a paramétereket, pl :
    +   -lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250
    + Leghasznosabb opciók: (a teljes lista a manpage-ban található !)
    +   help - segíccség
    +   vcodec=XXX - video codec kiválasztása (a teljes lista a fenti libavcodec bekezdésben megtalálható)
    +   vbitrate=XXX - bitráta megadása kbit-ben <4-16000> vagy bitben <16001-24000000>
    +   vhq - legjobb minőség (?)
    +   keyint=XXX - keyframe-k közötti időintervallum
    @@ -235,7 +283,7 @@ Ha MP3-ba kódolsz, itt adhatod meg a paramétereket, pl :
      -lameopts q=3
      -lameopts br=192:cbr
    - Leghasznosabb opcióok: (a teljes lista a manpage-ban található !)
    + Leghasznosabb opciók: (a teljes lista a manpage-ban található !)
      help - törpítség
      cbr - CBR-es MP3 kiválasztása (az alapértelmezett a VBR)
      br=XXX - bitráta megadása kbit-ben <0-1024> (csak CBR-nél!)
    @@ -244,13 +292,16 @@ -

    Példák

    +

    2.4.6. 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

    +

    Ugyanez libavcodec-kel, MJPEG tömörítéssel :
    +     mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg

    +

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

    diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/Hungarian/mplayer.1 --- a/DOCS/Hungarian/mplayer.1 Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/Hungarian/mplayer.1 Mon Dec 24 23:00:07 2001 +0000 @@ -26,6 +26,7 @@ .RB [ \-zoom ] .RB [ \-x\ x ] .RB [ \-y\ y ] +.RB [ \-sws\ szoftveres\ skálázó\ minősége ] .RB [ \-xy\ faktor ] .RB [ \-pp\ minőség ] .RB [ \-include\ configfile ] @@ -177,6 +178,16 @@ .B \-y\ y kép nagyítása y pixel magasságúra [ha a meghajtó támogatja!] .TP +.B \-sws\ szoftveres\ skálázó\ minősége +ez az opció a -zoom opcióval bekapcsolható szoftveres skálázó minőségét (és +ezzel együtt a sebességét is) befolyásolja, például x11 vagy más, hardveres +gyorsítással nem rendelkező kimenetek használatának esetén. A lehetséges +beállítások : + + 0 - gyors bilinear (alapértelmezett) + 1 - bilinear + 2 - bicubic (legjobb minőség) +.TP .B \-xy\ factor a kép nagyítása -szorosra .TP diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/documentation.html --- a/DOCS/documentation.html Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/documentation.html Mon Dec 24 23:00:07 2001 +0000 @@ -132,6 +132,7 @@
  • 2.4.3.2 Rescaling movies
  • 2.4.3.3 Streamcopy
  • 2.4.3.4 Fixing AVIs with broken index
  • +
  • 2.4.3.5 Encoding with the libavcodec codec family
  • 2.4.4 Syntax
  • 2.4.5 Available options
  • diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/encoding.html --- a/DOCS/encoding.html Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/encoding.html Mon Dec 24 23:00:07 2001 +0000 @@ -5,7 +5,8 @@

    2.4. Encoding with MEncoder

    -

    Overview +

    2.4.1. 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,15 +15,19 @@ copying abilities. In the future, there will be cropping, resizing filters, and other interesting stuff.

    -

    Compiling +

    2.4.2. Compiling

    + +

    -

    Fixing AVIs with broken index

    +

    2.4.3.4. Fixing AVIs with broken index

    Easiest thing. We simply copy the video and audio streams, and MEncoder generates the index. Of course this cannot fix possible bugs in @@ -129,11 +136,32 @@

    Command : mencoder input.avi -ovc copy -oac copy -o output.avi

    -

    Syntax

    + +

    2.4.3.5. Encoding with the libavcodec codec family

    + +

    libavcodec provides simple encoding to a lot of interesting video and audio +formats (currently its audio codecs are unsupported). You can encode to the +following codecs :

    + +

    +

      +
    • mjpeg - Motion JPEG
    • +
    • h263p - H263 Plus
    • +
    • mpeg4 - DivX4
    • +
    • msmpeg4 - the old DivX
    • +
    • rv10 - an old RealVideo codec
    • +
    • mpeg1video - MPEG1 video :)
    • +
    +

    + +

    The first column contains the codec names that should be passed after the + vcodec config, like : -lavcopts vcodec=msmpeg4

    + +

    2.4.4. Syntax

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

    -

    Available options

    +

    2.4.5. Available options

    NOTE : for all available options, read the manpage !

    @@ -187,6 +215,7 @@   help - get list of available codecs
      copy - no encoding, just copy the stream (only from AVI/ASF now)
      divx4 - encode to DivX4
    +   lavc - encode with a codec from libavcodec
    @@ -214,6 +243,23 @@   help - get help
      br=XXX - specify bitrate in kbit <4-16000> or bit <16001-24000000>
      q=XXXX - quality (1-fastest, 5-best - default 5)
    +   key=XXXX - keyframe interval
    + + + +    + + -lavcopts +    + + If encoding with libavcodec, you can specify its parameters here, like:
    +   -lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250
    + Common options: (for full list, check the manpage!)
    +   help - get help
    +   vcodec=XXX - select videocodec (for the full list, see the libavcodec section above)
    +   vbitrate=XXX - specify bitrate in kbit <4-16000> or bit <16001-24000000>
    +   vhq - high quality
    +   keyint=XXX - keyframe interval
    @@ -234,13 +280,16 @@ -

    Examples

    +

    2.4.6. Examples

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

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

    +

    The same, but with libavcodec family, MJPEG compression :
    +     mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg

    +

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

    diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/mencoder.1 --- a/DOCS/mencoder.1 Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/mencoder.1 Mon Dec 24 23:00:07 2001 +0000 @@ -27,6 +27,7 @@ .RB [ \-ovc\ ] .RB [ \-oac\ ] .RB [ \-divx4opts\ ] +.RB [ \-lavcopts\ ] .RB [ \-lameopts\ ] .RB [ \-pass\ <1/2> ] .RB [ \-passlogfile\ ] @@ -119,6 +120,7 @@ -ovc help get help -ovc copy no encoding, just streamcopy -ovc divx4 encode to DivX4 + -ovc lavc encode with a libavcodec codec .TP .B \-oac Encode with the given codec (codec names are from codecs.conf). @@ -154,6 +156,24 @@ reaction ratio .TP +.B \-lavcopts +If encoding with a codec from libavcodec, you can specify its parameters here, +like: + + -lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250 + +Available options: + + help get help + vcodec=XXX use the specified codec + (for full list, see html doc!) + vbitrate=XXX specify bitrate in + kbit <4-16000> or + bit <16001-24000000> + keyint=XXX interval between keyframes + (specify in frames) + vhq very high quality +.TP .B \-lameopts If encoding to MP3 with libmp3lame, you can specify its parameters here, like: @@ -212,7 +232,7 @@ .B \-sws (0-2> Type of scaling method - 0 fast bilinear + 0 fast bilinear (default) 1 bilinear 2 bicubic (best quality) @@ -222,6 +242,9 @@ .B Encoding DVD title #2 mencoder -dvd 2 -o title2.avi .TP +.B The same, but with libavcodec family, MJPEG compression +mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg +.TP .B Encoding from HTTP mencoder http://mplayer.hq/example.avi -o example.avi .TP diff -r 120ac80f13c2 -r 66da035c4ee2 DOCS/mplayer.1 --- a/DOCS/mplayer.1 Mon Dec 24 21:28:30 2001 +0000 +++ b/DOCS/mplayer.1 Mon Dec 24 23:00:07 2001 +0000 @@ -26,6 +26,7 @@ .RB [ \-zoom ] .RB [ \-x\ x ] .RB [ \-y\ y ] +.RB [ \-sws\ software\ scaler\ type ] .RB [ \-xy\ factor ] .RB [ \-pp\ quality ] .RB [ \-include\ configfile ] @@ -173,6 +174,15 @@ .B \-y\ y scale image to y height .TP +.B \-sws\ software\ scaler\ type +this option sets the quality (and speed, respectively) of the software scaler, +with the -zoom option. For example with x11 or other outputs which lack +hardware acceleration. Possible settings are : + + 0 - fast bilinear (default) + 1 - bilinear + 2 - bicubic (best quality) +.TP .B \-xy\ factor scale image by .TP