# HG changeset patch # User nell # Date 1021029461 0 # Node ID d5c692754cf222c45534324dba3adbc07fbf28bc # Parent 8e941ce0b636f756b6620619d8505a8279ff8892 refresh and charset settings diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/DVB --- a/DOCS/Polish/DVB Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/DVB Fri May 10 11:17:41 2002 +0000 @@ -1,4 +1,3 @@ - Kilka słów o obsłudze karty Siemens-DVB. autor: A'rpi ======================================== diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/bugreports.html --- a/DOCS/Polish/bugreports.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/bugreports.html Fri May 10 11:17:41 2002 +0000 @@ -1,5 +1,5 @@ - + diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/cd-dvd.html --- a/DOCS/Polish/cd-dvd.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/cd-dvd.html Fri May 10 11:17:41 2002 +0000 @@ -1,17 +1,27 @@ + + + + + + - +

4.1. CD-ROM drives

Playing standard Video CDs:

-mplayer -vcd trackno [device]

+mplayer -vcd trackno [-cdrom-device device]

Examples:
mplayer -vcd 1
-mplayer -fs -vcd 2 /dev/hdc
+mplayer -fs -vcd 2 -cdrom-device /dev/hdc

@@ -64,79 +74,61 @@

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 :)

- -

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

-

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.

+

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

+ +
  • Old-style DVD support - OPTIONAL

    -
      -
    • 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).

      +

      Useful if you want to play encoded VOB's from hard disk. Compile and + install libcss 0.0.1 (not newer) (if MPlayer can't detect + it, use the -csslib /path/to/libcss.so option).

    • -

      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.

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

    + +

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

    +

    (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:

    - - - - - - - - + + + + + + + - - + - - + + + + + + +
    -dvd <title_id> Enables DVD support and selects title.
    -chapter <chapter_id> Selects DVD chapter (default: play from chapter 1)
    -dvdangle <angle_id> Selects camera angle (default: 1)
    -alang <country code>  +-dvd <title_id> Enables DVD support and selects title.
    -chapter <chapter_id> Selects DVD chapter(s) to play (default: play from chapter 1). + Example : -chapter 5-10 or -chapter -9
    -dvdangle <angle_id> Selects camera angle (default: 1)
    -alang <country code>  The country code tells MPlayer which audio language(s) to prefer. For the list of available languages, add -v option after your DVD options, and browse the output.
    For example :
      -alang hu,en - first tries to find hungarian audio, and if not found, decode english audio.
    -slang <country code>  +-slang <country code>  Turns on DVD subtitles. The country code tells MPlayer which language(s) to prefer. For the list of available languages, add -v option after @@ -144,101 +136,100 @@ For example :
      -slang hu,en - first tries to display hungarian subtitles, and if not found, display english subtitles.
    -sid <subtitle_id>  +-sid <subtitle_id>  Displays a subtitle channel with the given id (values can be 0-31). Useful for example with badly mastered DVDs where country code - selects the wrong channel. + selects the wrong channel.
    -csslib <path/filename> + (old-style DVD option) This option is used to override the default location + of libcss.so +
    -dvdauth <DVD device>  + (old-style DVD option) Turns on DVD authentication using the given device. +
    -dvdkey <CSS key> + (old-style DVD option) When decoding from non-DVD, this option gives the + CSS key needed to crack the DVD (the key is printed when authenticating + with DVD). +

    Default device is /dev/dvd, you can change it in config.h -(compile time option), or you can specify it as a filename for MPlayer: +(compile time option), or you can specify it using the -dvd-device option :

    -

        mplayer -dvd 1 /dev/dvd

    -

        mplayer -dvd 1 -sid 5 /dev/dvd

    -

        mplayer -dvd 2 -chapter 5 -dvdangle 2

    +

        mplayer -dvd 1 -dvd-device /dev/dvd

    +

        mplayer -dvd 1 -slang en -dvd-device /dev/dvd

    +

        mplayer -dvd 1 -slang en -dvd-device /dev/dvd -chapter 20-25

    +

        mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2

    +

        mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob

    +

        mplayer -dvdkey C005D4A16D vts_03_1.vob

    4.3. DVD playback FAQ

    - - - - - - - - - - - - - - + + + + +
    Q: +Q: 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. +
    A: +This is a known libdvdread 0.9.1 bug, it should be already fixed in 0.9.2 and +libmpdvdkit, use the later.
     
    Q: +Q: Can I compile libdvdread and libdvdcss for example on my sweet Sparc/Solaris? -
    A: +
    A: Who knows ... Please test it and send feedback. But it's said that it should work. Please refer documentation of libdvdread and its homepage as well. We're not authors of libdvdread.
     
    Q: +Q: What about subtitles? Can MPlayer display them? -
    A: +
    A: Yes! See above in the DVD chapter.
     
    Q: -I've got no sound / bad sound (Spanish audio and other ugly things). -
    A: -MPlayer currently does not use all of information of IFO blocks from DVD. -You can adjust the right DVD audio stream with: '-aid 128' command line -option, where 128 is the stream id of requested audio stream. You can -experience with numbers of 128,129,... and so on. Of course this problem -will be solved in the future. -
     
    Q: -There is some strange effect (interlace like thing) especially when fast -moving objects are shown in the movie. -
    A: -Known problem, we try to fix it later (when we switch to libvo2). -
     
    Q: +Q: How can I set the region code of my DVD-Drive ? I don't have windows! -
    A: +
    A: 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.
    -UPDATE : DeCSS is free. -
     
    Q: +Q: Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play DVD? -
    A: -No, you don't. This is the past :) However of course you must have got +
    A: +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: +Q: Where can I get libdvdread and libdvdcss packages from? -
    A: +
    A: From the site of Ogle: http://www.dtek.chalmers.se/groups/dvd.
     
    Q: +Is it possible to play/encode only selected chapters ? +
    A: +Yes, see the -chapter option. +
     
    Q: +My DVD playing is sluggish ! +
    A: +Use the -cache option (see the manpage!). If it still doesn't +work, try enabling DMA for the DVD drive. +
     
    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/codecs-in.html --- a/DOCS/Polish/codecs-in.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/codecs-in.html Fri May 10 11:17:41 2002 +0000 @@ -1,217 +1,225 @@ - + + + + mplayer - codec status table - + + + + + + +

     

    -

    Status of codecs support

    +

    Stan obsługi kodeków

    -

    Video codecs
    Audio codecs

    +

    Kodeki video
    Kodeki audio

    - Video codecs:

    + Kodeki video

    - + - + - - - + + + - - - - - + + + + + - + - + - - + + - + - - - - - - + + + + + + - + - + - + - - - - + + + + - + - + - + - - - - + + + + - + - + - - - - + + + +
    Built-in native codecsWbudowane własne kodeki
    codec namenazwa kodeka fourcccodecfileoutcommentsplikwyjściekomentarze
    %i%F%d%Y%c%i%F%d%Y%c
    Fully functional Win32 VfW/DShow codecsW pełni funkcjonalne kodeki Win32 VfW/DShow
    codec namenazwa kodeka fourcccodecfileoutplikwyjście DShowcommentskomentarze
    %i%F%d%Y%D%c%i%F%d%Y%D%c
    Codecs with problemsProblematyczne kodeki
    codec namenazwa kodeka fourcccodecfileplik problem
    %i%F%d%c%i%F%d%c
    Not yet working codecs:Kodeki jeszcze nie działające
    codec namenazwa kodeka fourcccodecfileplik problem
    %i%F%d%c%i%F%d%c
    Not tested codecs:Kodeki jeszcze nie testowane
    codec namenazwa kodeka fourcc codecfile problem
    %i%F%d%c%i%F%d%c
    -
    Audio codecs:

    +
    Kodeki audio

    - + - + - - + + - - - - + + + + - + - + - + - + - - - - - + + + + + - + - + - + - - - - + + + + - + - + - + - - - - + + + + - + - + - + - - - - + + + + diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/codecs.html --- a/DOCS/Polish/codecs.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/codecs.html Fri May 10 11:17:41 2002 +0000 @@ -1,5 +1,9 @@ - + + + + + diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/encoding.html --- a/DOCS/Polish/encoding.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/encoding.html Fri May 10 11:17:41 2002 +0000 @@ -1,7 +1,16 @@ + + + + + - +

    2.4. Encoding with MEncoder

    @@ -9,22 +18,23 @@

    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 -below). Currently it's in beta stage, and encodes only to DivX4 (1 or 2 -passes) video, PCM/MP3/VBRMP3 audio. Also has stream -copying abilities. In the future, there will be cropping, resizing filters, and -other interesting stuff.

    +(AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET) to other MPlayer-playable +formats (see below). It can encode with various codecs, like DivX4 (1 or +2 passes), libavcodec, PCM/MP3/VBRMP3 audio. Also has +stream copying and video resizing abilities.

    2.4.2. Compiling

    @@ -53,31 +63,37 @@

    • encoding from the wide range of fileformats and decoders of MPlayer
    • -
    • encoding from V4L compatible TV tuners
    • +
    • encoding to all the codecs of ffmpeg's + libavcodec
    • +
    • video encoding from V4L compatible TV tuners
    • encoding/multiplexing to interleaved AVI files with proper index
    • -
    • 1 or 2 pass DivX4 video
    • -
    • VBR MP3 audio
    • +
    • creating files from external audio stream
    • +
    • 1, 2 or 3 pass DivX4 video
    • +
    • VBR MP3 audio - IMPORTANT NOTE : VBR MP3 audio doesn't + always play nicely on windows players! On the other hand, currently + MEncoder's CBR encoding is totally broken on win32 players :)
    • PCM audio
    • -
    • stream copying (CBR audio only)
    • +
    • stream copying
    • input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)
    • FPS correction with -ofps option (useful when encoding 29.97fps VOB to 24fps AVI)
    • -
    • movie rescaling
    • +
    • using our very powerful plugin system (crop, expand, flip, postprocess, + rotate, scale, rgb/yuv conversion)
    • +
    • can encode DVD/VOBsub AND text subtitles into the output file

    Planned features :

      -
    • using audio from separate file (AC3, MP3, OGG)
    • -
    • VBR audio stream copy
    • even wider variety of available en/decoding formats/codecs (creating VOB files with DivX4/Indeo5/VIVO streams :)
    • +
    • audio encoding from v4l (DONE for FreeBSD ?)

    -

    2.4.3.1. Encoding 2-pass DivX4

    +

    2.4.3.1. Encoding 2 or 3-pass DivX4

    -

    The name comes from the fact that this method encodes the file twice. +

    2-pass encoding : the name comes from the fact that this method encodes the file twice. The first encoding (dubbed pass) creates some temporary files (*.log) with a size of few megabytes, do not delete them yet (you can delete the AVI). In the second pass, the 2-pass output file is created, using the bitrate data from the temporary files. The resulting @@ -86,9 +102,88 @@

    This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two commands are needed :
    -    mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 +    rm frameno.avi - remove this file, which + can come from a previous 3-pass encoding (it interferes with current one)
    +    mencoder -dvd 2 -divx4opts br=1100 -o movie.avi -pass 1
    -    mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2

    +    mencoder -dvd 2 -divx4opts br=1100 -o movie.avi -pass 2

    + +

    3-pass encoding : this is an extension of 2-pass encoding, + where the audio encoding takes place in a separate pass. This method enables + estimation of recommended video bitrate in order to fit on a CD. Also, the + audio is encoded only once, unlike in 2-pass mode. The schematics :

    + +

    +

    Built-in native codecsWbudowane własne kodeki
    codec namenazwa kodeka formatcodecfilecommentsplikkomentarze
    %i%f%d%c%i%f%d%c
    Fully functional Win32 ACM/DShow codecsW pełni funkcjonalne kodeki Win32 ACM/DShow
    codec namenazwa kodeka formatcodecfileplik DShowcommentskomentarze
    %i%f%d%D%c%i%f%d%D%c
    Codecs with problemskodeki problematyczne
    codec namenazwa kodeka formatcodecfileplik problem
    %i%f%d%c%i%f%d%c
    Not yet working codecsKodeki jeszcze nei działające
    codec namenazwa kodeka formatcodecfileplik problem
    %i%f%d%c%i%f%d%c
    Not yet tested codecsKodeki jeszcze nie testowane
    codec namenazwa kodeka formatcodecfileplik problem
    %i%f%d%c%i%f%d%c
    + + + + + + + + + + + + + + + + +
    + rm frameno.avi + remove conflicting temporary file
    + mencoder <file/DVD> -ovc frameno -o + frameno.avi + First pass : an audio-only avi file will be created, containing + ONLY the requested audio stream. Don't forget -lameopts, if + you need to set it. If you were encoding a long movie, MEncoder prints + the recommended bitrate values for 650Mb, 700Mb, and 800Mb destination + sizes, after this pass finishes.
    + mencoder <file/DVD> -oac copy -pass 1 + -divx4opts br=<bitrate> + Second pass : alias the first pass of DivX4 video encoding. + Optionally specify the video bitrate MEncoder printed at the end of the + previous pass.
    + mencoder <file/DVD> -oac copy -pass 2 + -divx4opts br=<bitrate> + Third pass : alias the second pass of DivX4 video encoding. + Optionally specify the video bitrate MEncoder printed at the end of the + previous pass. In this pass, audio from frameno.avi will be + inserted into the destination file.. and it's all ready!
    +

    + +

    Example for 3-pass encoding :

    + +

        rm frameno.avi - remove this file, + which can come from a previous 3-pass encoding (it interferes with current + one)
    +    mencoder -dvd 2 -ovc frameno + -o frameno.avi
    +    mencoder -dvd 2 + -divx4opts br=1100 -oac copy -o movie.avi -pass 1
    +    mencoder -dvd 2 + -divx4opts br=1100 -oac copy -o movie.avi -pass 2
    +

    + +

    2 or 3-pass encoding using internal libavcodec controler : +Optionally you can use libavcodec's internal 2 or 3-pass mode, it may gives you +better final rate accuracy than using the external, DivX4-inspired 2-pass rate +controler with libavcodec.
    +

      +2-pass encoding :
      +rm -f lavc_stats.txt
      +mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 (audio-options) -o movie.avi
      +mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 (audio-options) -o movie.avi

      +
      +3-pass encoding :
      +rm -f frameno.avi lavc_stats.txt
      +mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi
      +mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 -oac copy -o movie.avi
      +mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi

      +
    +

    2.4.3.2. Rescaling movies

    @@ -101,16 +196,14 @@ AVI (DivX) files, you have be aware that AVI headers don't store this value. Thus, the only solution is rescaling.

    -

    MEncoder can scale input images if they come in YV12 format (for example: - ffdivx, odivx drivers, or mpeg1/2). The output size is specified with the - -x, and -y options. Furthermore, there are 3 - rescaling filters in MEncoder, 0 - : fast bilinear, 1 : bilinear, 2 : bicubic (best quality). - They can be specified with the -sws option. If not specified, - MEncoder will use 0 : fast bilinear.

    +

    The scaling process is handled by the 'scale' video filter: + -vop scale=X:Y. Its quality can be set with the + -sws option. If it's 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

    +

    Usage :
    +    mencoder sample-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi

    +

    2.4.3.3. Stream copying

    @@ -126,24 +219,29 @@ example when only the audio stream has to be encoded (like, uncompressed PCM to MP3). -
  • Audio stream (option -oac copy) : straightforward.
  • +
  • Audio stream (option -oac copy) : straightforward. + It is possible to take an external audio file (MP3, AC3, Vorbis) and mux it + into the output stream. Use the -audiofile <filename> + option for this.
  • -

    2.4.3.4. Fixing AVIs with broken index

    + +

    2.4.3.4. Fixing AVIs with broken index or interleaving

    Easiest thing. We simply copy the video and audio streams, and MEncoder generates the index. Of course this cannot fix possible bugs in -the video and/or audio streams.

    +the video and/or audio streams. It also fixes files with broken interleaving, +thus the -ni option won't be needed for them anymore.

    -

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

    +

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

    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 :

    +

    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 :

      @@ -152,6 +250,7 @@
    • h263p - H263 Plus
    • mpeg4 - DivX4
    • msmpeg4 - the old DivX
    • +
    • msmpeg4v2 - Micro$oft MPEG4 V2 (DivX alias MP43 predecessor)
    • rv10 - an old RealVideo codec
    • mpeg1video - MPEG1 video :)
    @@ -160,48 +259,95 @@

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

    +

    An example, with MJPEG compression :
    +     mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg

    + + +

    2.4.3.6. Encoding from multiple input image files (JPEGs or PNGs)

    + +

    MEncoder is capable of creating movies from one or more JPEG or PNG + files. With simple framecopy it can create MJPEG (Motion JPEG) or MPNG + (Motion PNG) files.

    + +

    Explanation of the process

    + +

    MEncoder decodes the input image(s) with libjpeg + (when decoding PNGs, it will use libpng). +

    + +

    MEncoder then feeds the decoded image to the chosen video compressor + (DivX4, Xvid, ffmpeg msmpeg4, etc...). Watch for the PNG decoder, as + currently it can output only to RGB formats, thus can't be used with codecs + that require YUV as input, like DivX4 or ffmpeg's msmpeg4.

    + +

    Examples

    + +

    The explanation of the -mf option can be found below in the + global Options section and in the manpage.

    + +

    Creating a DivX4 file from all the JPEG files in the current dir :
    +   mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o + output.avi

    + +

    Creating a DivX4 file from some JPEG files in the current dir :
    +   mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o + output.avi

    + +

    Creating a Motion JPEG (MJPEG) file from all the JPEG files in the current dir :
    +   mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy + -o output.avi

    + +

    Creating an uncompressed file from all the PNG files in the current dir :
    +   mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw -o + output.avi

    + +

    Creating a Motion PNG (MPNG) file from all the PNG files in the current dir :
    +   mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy + -o output.avi

    + +

    2.4.4. Syntax

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

    +

    2.4.5. Available options

    NOTE : for all available options, read the manpage !

    - +

    + As MEncoder is built on the same codebase as MPlayer, there + are many MPlayer options that have function in MEncoder too! + See, you can use -sid to rip a DVD with subtitles, or + -noidx to disregard buggy index of input AVI. Be smart! +

    + +
    - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - -
       + + -ss time + start encoding from the given time (can start only from keyframes !) +
    + -endpos time + stop encoding at the given time. See the manpage for examples ! +
    -o filename   + specify output filename
       - -x width in pixels   - rescale output video to given pixels width -
       - -y height in pixels   - rescale output video to given pixels height -
       + -sws 0-2   + type of scaling method
      0 - fast bilinear
      1 - bilinear
    @@ -209,24 +355,22 @@
       + -ovc codecname   + Encode with the given codec (codec names are from codecs.conf). Examples:
      help - get list of available codecs
    +   rawrgb - ?
      copy - no encoding, just copy the stream (only from AVI/ASF now)
      divx4 - encode to DivX4
      lavc - encode with a codec from libavcodec
    +   vfw - encode with a Windows DLL
       + -oac codecname   + Encode with the given codec (codec names are from codecs.conf). Examples:
      help - get list of available codecs
      copy - no encoding, just copy the stream (only from AVI/ASF now)
    @@ -235,50 +379,58 @@
       + + -mf multifile options + Used when encoding from multiple JPEG files. Its sub-options are:
    +   on - turns on multifile support
    +   w=<value> - width of the output file
    +   h=<value> - height of the output file
    +   fps=<value> - fps of the output file
    +   type=<value> - type of input files (available types : jpeg, png)
    +
    -divx4opts   + If encoding to DivX4, you can specify its parameters here, like:
      -divx4opts br=1800:deinterlace:key=250
    Common options: (for full list, check the manpage!)
      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
    +   br=<value> - specify bitrate in kbit <4-16000> or bit <16001-24000000>
    +   q=<value> - quality (1-fastest, 5-best - default 5)
    +   key=<value> - 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>
    +   vcodec=<value> - select videocodec (for the full list, see the libavcodec section above)
    +   vbitrate=<value> - specify bitrate in kbit <4-16000> or bit <16001-24000000>
      vhq - high quality
    -   keyint=XXX - keyframe interval
    +   keyint=<value> - keyframe interval
       + -lameopts   + If encoding to MP3 with libmp3lame, you can specify its parameters here, like:
      -lameopts q=3
      -lameopts br=192:cbr
    Common options: (for full list, check the manpage!)
      help - get help
      cbr - select CBR MP3 (default is VBR)
    -   br=XXX - specify bitrate in kbit <0-1024> (this is for CBR only!)
    -   q=XXXX - quality (0-highest, 9-fastest - default 0) (this is for VBR only!)
    +   br=<value> - specify bitrate in kbit <0-1024> (this is for CBR only!)
    +   q=<value> - quality (0-highest, 9-fastest - default 0) (this is for VBR only!)
    +   vbr=<value> - VBR sub-mode (3-ABR, best quality/speed) (this is for VBR only!)
    @@ -294,7 +446,7 @@     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

    +     mencoder -dvd 2 -vop scale=640:480 -sws 2 -o title2.avi

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

    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/faq.html --- a/DOCS/Polish/faq.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/faq.html Fri May 10 11:17:41 2002 +0000 @@ -1,48 +1,60 @@ + + + + + - +

    5. FAQ section

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - - - + + + + - - - - - - - + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + -

    -Note: currently only 'p', 's', 'e', 'n', 'm' and 't' is used. -

    + + + + + + + + + + + -

    Appendix A: GUI messages

    + + + + +

    5.1 Compilation

    +

    5.1 Compilation

     
      Q: -configure ends with this text, and MPlayer won't compile !
    -Your gcc does not support even i386 for '-march' and '-mcpu'. -
    A: -Your gcc isn't installed correctly, check config.log file +  Q: +Configure ends with this text, and MPlayer won't compile!
    +"Your gcc does not support even i386 for '-march' and '-mcpu'." +
    A: +Your gcc isn't installed correctly, check the config.log file for details.
     
      Q: -What does "No such file or directory" means ? -
    A: +  Q: +What does "No such file or directory" mean? +
    A: Probably there is no such file or directory.
     
      Q: -What's the problem with gcc 2.96 ? -
    A: -To be short: DO NOT USE gcc 2.96 !!!
    -Check this and this texts! -If you still really really want to do so, be sure to use the latest release. +
      Q: +What's the problem with gcc 2.96? +
    A: +We strongly discourage the use of gcc 2.96!!!
    +Read this and this +document for details. If you still really really want to use it, be sure to get +the latest release, but remember that you are on your own. Do not report +bugs or ask for help on the mailing lists. We will not provide any support +in case you run into problems.
     
    Q: -Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! -
    A: -No, since there have been/are issues with those compilers.
    -Use 2.95.x series for reliability (not 2.96). +
    Q: +Great, I have gcc 3.0.1 from Red Hat/Mandrake, then I'm fine--! +
    A: +No, since there have been/are issues with these compilers as well.
    +Use the 2.95.x series for reliability (not 2.96). Use the latest gcc 3.0.x (starting at 3.0.2) if you want to use a 3.0.x version.
     
    Q: -I tried to compile MPlayer, but I got this output:
    +
    Q: +I tried to compile MPlayer, but I got this output:
     In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
                      from /usr/include/g++-v3/bits/fpos.h:40,
    @@ -57,22 +69,23 @@
     /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
     `const
     
    -
    A: -Upgrade your glibc to the newest. On Mandrake, use 2.2.4-8mdk . +
    A: +Upgrade your glibc to the latest release. On Mandrake, use 2.2.4-8mdk.
     
    Q: -...gcc 2.96... (yes, some people are STILL flaming about their gcc 2.96!!) -
    A: -

    But we has idegs (the word 'ideg' is described further in the FAQ). And our -idegcounters overflow again and again.

    +
    Q: +... gcc 2.96 ... (Yes, some people are STILL flaming about their gcc 2.96!!) +
    A: +Quoted from a mail A'rpi sent to the mplayer-users list (the word 'ideg' is described below): +
    +

    And we have idegs. And our idegcounter overflowed again and again.

    Unfortunately MPlayer is out of our control. It's used by lamers, Linux users -who can't even use windows, and never tried to compile a kernel. They installed -(with default options) Mandrake or RedHat or Suse, and without RTFM'ing they -send messages saying 'it doesn't work! help me! please! i'm new to the linux! -help! oh! help me!'. We can't stop them, but at least we try to force them RTFM -and to read messages of ./configure and mplayer.

    +who can't even use Windows, and never tried to compile a kernel. They installed +(with default options) Mandrake or Red Hat or SuSE, and without RTFM'ing they +send messages saying 'it doesn't work! help me! please! i'm new to Linux! +help! oh! help me!'. We can't stop them, but at least we try to force them to +RTFM and to read messages of ./configure and MPlayer.

    And you clever guys come and flame us with gcc 2.96 and binary packages. Instead of helping users or making patches to help solve problems.

    @@ -80,683 +93,678 @@

    Half of our spare/free time is spent by answering silly mails here and making newer tricks and checks to configure to avoid such mails.

    -

    And there is a balance. On one hand are you, clever guys, saying we are very -bad because we don't like buggy gcc 2.96, and at the other hand there are the -'new to linux' guys who are showing us gcc 2.96 is buggy.

    +

    And there is a balance. On the one side are you, clever guys, saying we are +very bad because we don't like buggy gcc 2.96, and on the other side there are +the 'new to Linux' guys who are showing us gcc 2.96 is buggy.

    -

    Conclusion: we can't be good. Half of people always will say we are bad.

    +

    Conclusion: We can't be good. Half the people always will say we are bad.

    Maybe we should close the project, make it closed source, commercial, and provide install support for it. then we could leave current work, so -development could go faster, and we earn lots of money with it and buy a big -house, etc etc. Do you really want it? It seems.

    +development could go faster, and we could earn lots of money with it and buy a +big house, etc etc. Do you really want it? It seems.

    +
    -

    Arpi (a mail on the mplayer-users list)

     
    Q: -Where can I find information about gcc 2.96 bugs ? -
    A: -In this documentation. And this -documentation describes why RedHat released 2.96 and other interesting things. +Q: +Where can I find information about gcc 2.96 bugs? +
    A: +In this document. And this +document describes why Red Hat released 2.96 and other interesting things.
     
    Q: -SDL output doesn't work or compile. Problem is .... -
    A: -It is tested with newest SDL (probably runs on 1.1.7+). -It does NOT work with any previous version, so don't ask. +Q: +SDL output doesn't work or compile. The problem is ... +
    A: +It was tested to work with SDL 1.2.x and may run on SDL 1.1.7+. +It does not work with any previous version. So if you choose to use such +a version, you are on your own.
     
    Q: +Q: I am still having trouble compiling with SDL support. gcc says something -about "undefined reference to `SDL_EnableKeyRepeat'" What's now? -
    A: +about "undefined reference to `SDL_EnableKeyRepeat'". What now? +
    A: Where did you install the SDL library? If you installed in /usr/local (the default) then edit the top level config.mak and add -"-L/usr/local/lib " after "X_LIBS=" Now type make. You're done! +"-L/usr/local/lib" after "X_LIBS=". Now type make. You're done!
     
    Q: -It doesn't compile, and it misses uint64_t inttypes.h and similar things... -
    A: -copy etc/inttypes.h to MPlayer directory (cp etc/inttypes.h .) -try again... +Q: +It doesn't compile, and it misses uint64_t inttypes.h and similar things ... +
    A: +Copy etc/inttypes.h to the MPlayer directory (cp etc/inttypes.h .) +and try again ...
     
    Q: -I have Pentium III but ./configure doesn't detect SSE -
    A: -Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but -be prepared for problems) +Q: +I have Linux running on a Pentium III but ./configure doesn't detect +SSE ... +
    A: +Only kernel versions 2.4.x support SSE (or try 2.2.19 or newer, but +be prepared for problems).
     
    Q: -I have G200/G400, how to compile/use mga_vid driver? -
    A: -Read all this documentation. +Q: +I have a G200/G400, how do I compile/use the mga_vid driver? +
    A: +Read the documentation.
     
    Q: +Q: Are there rpm/deb/... packages of MPlayer? -
    A: -You can make a .deb package for yourself, check section 6.1. -It's _STRONGLY_ discouraged to use precompiled packages -of MPlayer, since it (currently) _highly_ depends on compile-time -options and optimizations! -Precompiled packages are COMPLETELY unsupported by the MPlayer team! +
    A: +You can make a .deb package for yourself, check the Debian packaging section. +There are RPM packages available on our homepage, don't use other sources!
     
    Q: +Q: During 'make', MPlayer complains about X11 libraries. I don't understand, I DO have X installed!? -
    A: -...but you don't have the X development package installed. Or not -correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under -Debian. Also check if the /usr/X11 symlink exists (this can be a problem on -Mandrake systems). It can be created with the
    +
    A: +... but you don't have the X development package installed. Or not +correctly. It's called XFree86-devel* under Red Hat, and xlib6g-dev* under +Debian. Also check if the /usr/X11 and /usr/include/X11 +symlinks exist (this can be a problem on Mandrake systems). They can be created +with these commands:
        $ ln -sf /usr/X11R6 /usr/X11
    - command. Also check the /usr/include/X11 link :
        $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
    -Your distribution may differ from the Linux Filesystem Standard. +Your distribution may differ from the +Filesystem Hierarchy Standard.
     
    Q: -What about DGA driver? I can't find it!!! -
    A: -./configure autodetects your DGA driver. If -vo help doesn't show +Q: +What about the DGA driver? I can't find it!!! +
    A: +./configure autodetects your DGA driver. If -vo help doesn't show DGA, then there's a problem with your X installation. -Try ./configure --enable-dga (and RTFM) -Alternatively, try SDL's DGA driver with '-vo sdl:dga' options. +Try ./configure --enable-dga and read the +documentation. +Alternatively, try SDL's DGA driver with the -vo sdl:dga option.
     
    Q: -I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. -
    A: -You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out. +Q: +I can't compile SVGAlib. I'm using kernel 2.3/2.4 ... +
    A: +You have to edit SVGAlib's Makefile.cfg and comment BACKGROUND = y out.
     
    Q: +Q: I compiled MPlayer with libdvdcss/libdivxdecore support, but when I try to start it, it says:
    > error while loading shared libraries: lib*.so.0: cannot load shared object file: No such file or directory
    -I checked up on the file and it IS there in /usr/local/lib. -
    A: -Add /usr/local/lib to /etc/ld.so.conf and run ldconfig . -
     
    Q: -MPlayer doesn't seem to find my libcss. What am I doing wrong ? -
    A: -It's normal. MPlayer no longer depends on libcss to play a DVD. You -have to install libdvdread and libdvdcss. Check for DVD Playback -part here. libcss is to be used for example when you -want to play encrypted VOB files from hard disk (not for general users). +I checked up on the file and it IS there in /usr/local/lib ... +
    A: +Add /usr/local/lib to /etc/ld.so.conf and run ldconfig.
     
    Q: +Q: Hmm, strange. When loading the mga_vid.o kernel module, I found this in the logs:
    Warning: loading mga_vid.o will taint the kernel: no license -
    A: -The latest kernels modules needs require a flag indicating its license (mainly -to avoid kernel hackers' debugging closed sources drivers). -Upgrade your kernel and your modutils and MPlayer. +
    A: +The latest kernel modutils require a flag indicating the license (mainly +to avoid kernel hackers debugging closed source drivers). +Upgrade your kernel, modutils and MPlayer.
     
    Q: -When compiling MEncoder, it segfaults at linking !!! -
    A: -Dunno, upgrading binutils should help (2.11.92.* or newer should be good). Not our fault, do NOT report! +Q: +When compiling MEncoder, it segfaults at linking!!! +
    A: +This is a linker problem. Upgrading binutils should help (2.11.92.* or newer +should be good). Since it is not our fault, please do not report!
     
    Q: -I'd like to compile MPlayer on Minix ! -
    A: +Q: +I'd like to compile MPlayer on Minix! +
    A: Me too. :)
     
    5.2. General questions +5.2. General questions
     
    Q: -What about DVD playing ? -
    A: -Read the CD/DVD section in this page. +Q: +What about DVD playing? +
    A: +Read the CD/DVD section in this document.
     
    Q: --xy or -fs option doesn't work with x11 driver (-vo x11) -
    A: +Q: +The -xy or -fs option doesn't work with the x11 driver (-vo x11) ... +
    A: It does, but you have to explicitly specify software scaling (it's SLOW!) with the -zoom option. You better use XF86VidMode support: -you must specify the -vm and the -fs switch, and you're done. -Make sure you have the right Modelines in your XF86Config file, and -try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. -It's much faster. If SDL's DGA works too, use that, it'll be EVEN faster! +you must specify the -vm and the -fs switch, and +you're done. Make sure you have the right modelines in your XF86Config file, and +try to make the DGA driver and +SDL's DGA driver work for you. +It's much faster. If SDL's DGA works, use that, it'll be EVEN faster!
     
    Q: -What is the meaning of numbers in the status line? -
    A: -See: A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 4
    +
    Q: +What is the meaning of the numbers on the status line? +
    A: +Example: A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%
      -
    • A: audio position in seconds +
    • A: audio position in seconds
    • V: video position in seconds
    • A-V: audio-video difference in seconds (delay)
    • ct: total A-V sync correction done
    • frames played (counting from last seek) -
    • video codec cpu usage in percent (for mpeg it includes video_out too!) -
    • video_out cpu usage for avi, 0 for mpg (see above) +
    • frames decoded (counting from last seek) +
    • video codec cpu usage in percent (for slices and DR this includes video_out) +
    • video_out cpu usage
    • audio codec cpu usage in percent
    • frames needed to drop to maintain A-V sync -
    • current level of image postprocessing (when using -autoq) +
    • current level of image postprocessing (when using -autoq) +
    • current cache size used (around 50% is normal)
    -Most of them are for debug purposes, and will be removed soon. +Most of them are for debug purposes and will be removed soon.
     
    Q: +Q: What if I don't want them to appear? -
    A: -Then you use the -quiet option, and read the manpage. +
    A: +Use the -quiet option and read the man page.
     
    Q: -Why is video_out cpu usage zero (0%) for mpeg files? -
    A: -It's not zero, but it's built in into codec, so can't be measured separated. -You should try to play the file using -vo null and then -vo ... and check -the difference to see video_out speed... +Q: +Why is video_out cpu usage zero (0%) for some files? +
    A: +It's not zero, but it's called from the codec and thus cannot be measured +separately. You should try to play the file using -vo null and then +-vo ... and check the difference to see the video_out speed.
     
    Q: -What's XMMP? (is it XMMS or XMPS but mispelled?) -
    A: -It's a new project, see http://frozenproductions.com for details +Q: +There are error messages about file not found /usr/lib/win32/ ... +
    A: +Download the Win32 codecs +from our FTP site (avifile's codec package has a different DLL set) and +install it.
     
    Q: -There are error messages about file not found /usr/lib/win32/.... -
    A: -Download w32codec.zip -from *our* FTP (avifile's codec package has different DLL set). -Install it. +Q: +Are there any mailing lists on MPlayer? +
    A: +Yes! See the bottom of the info page on +our homepage to subscribe!
     
    Q: -Are there any mailing lists on MPlayer? -
    A: -Yes! See RTFM on how to subscribe them! +Q: +I've found a nasty bug when I tried to play my favorite video!! +Who should I inform? +
    A: +Please read the bug reporting guidelines and follow +the instructions.
     
    Q: -I've found a nasty bug when I tried to play my favourite video!! -Who should I inform? -
    A: -See Appendix C. -
     
    Q: -I have problems playing files with ... codec. Can I use'em? -
    A: -Check http://www.mplayerhq.hu/DOCS/codecs-status.html, -if it doesn't contain your codec, read -section 2.1.3, and contact us. +Q: +I have problems playing files with the ... codec. Can I use them? +
    A: +Check the codec status, +if it doesn't contain your codec, read the +codec documentation, especially the +codec importing HOWTO and contact us.
     
    Q: +Q: Umm, what is "IdegCounter"? -
    A: -A mixture of a hungarian and an english word. In english, "Ideg" means -"nerve", and is pronounced as something like "ydaegh" . It was first used -to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance -of CVS code ;) +
    A: +A combination of a Hungarian and an English word. "Ideg" in Hungarian means +the same as "nerve" in English, and is pronounced as something like "ydaegh". +It was first used to measure the nervousness of A'rpi, after some (umm) "mystic" +disappearance of CVS code ;)
     
    Q: -And what is "Faszom(C)ounter" ? -
    A: -"Fasz" is a hungarian word you don't want to know, the others are in -connection with the pervert minds of the MPlayer developers. +Q: +And what is "Faszom(C)ounter"? +
    A: +"Fasz" is a Hungarian word you don't want to know, the others are connected to +the perverted minds of the MPlayer developers.
     
    Q: +Q: LIRC doesn't work, because ... -
    A: -Are you sure you use "mplayer_lirc" instead of "mplayer"? +
    A: +Are you sure you are using mplayer instead of mplayer_lirc? +Note that it was mplayer_lirc for long time, including the 0.60 release, but recently +changed back to mplayer.
     
    Q: +Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow -down the playing! I know it's unlikely... -
    A: -After running ./configure , edit config.h and replace #undef FAST_OSD with -#define FAST_OSD. Then recompile. +down playing! I know it's unlikely ... +
    A: +After running ./configure , edit config.h and replace +#undef FAST_OSD with #define FAST_OSD. Then recompile.
     
    Q: +Q: The OSD is flickering! -
    A: +
    A: You use a vo driver with single buffering (x11,xv). With xv, -use -double option. +use the -double option. Also try -vop expand
     
    Q: -What exactly is this libavcodec? -
    A: -See the 2.1.2.2 section. +Q: +What exactly is this libavcodec thing? +
    A: +See the FFmpeg section. +
     
    Q: +But configure tells me "Checking for libavcodec ... no"! +
    A: +You need to get libavcodec from FFmpeg's CVS. Read the instructions in +the FFmpeg section.
     
    Q: -But configure tells me "Checking for libavcodec ... no"! -
    A: -You need to get libavcodec from FFmpeg's CVS. Read the instructions in -the ffmpeg section. +Q: +The GUI isn't usable with icewm, because a panel is over the movie!! +
    A: +Known problem with icewm. It is unsolvable from our side. In detail: +Icewm's taskbar overrides the GUI's window resize queries. If asked for a +resize to 800x600, icewm resizes the window to 800x(600-taskbar_size).
     
    Q: -The GUI isn't usable with icewm, because some panel are over the movie!! -
    A: -Known, icewm is dictatoric. Unsolvable. In detail: -its taskbar overrides GUI's window resize queries. If it asks for -resize to 800x600, then it resizes window to 800x(600-taskbar_size). It's bad. -Very bad. +Q: +I can't access the GUI menu. I press right click, but I can't access any +menu items! +
    A: +Are you using FVWM? Try the following:
    +Start -> Settings -> Configuration -> Base Configuration
    +Set "Use Applications position hints" to "Yes".
     
    Q: -I can't access the GUI menu. I press right click, but I can't access any -menu items ! -
    A: -Are you using FVWM ? Try the following :
    -Start -> Settings -> Configuration -> Base Configuration
    -
    -Set "Use Applications position hints" to Yes. +
    Q: +How can I run MPlayer in the background? +
    A: +Use: mplayer <options> <filename> < /dev/null &
     
    -5.3. File playing problems +5.3. File playing problems
     
    Q: -...... works with avifile/aviplay while doesn't with MPlayer. -
    A: -MPlayer != avifile +Q: +... works with avifile/aviplay but doesn't with MPlayer. +
    A: +MPlayer != avifile. The only common thing between these players is the Win32 DLL loader. -The codecs (dll) sets, syncronization, demultiplexing etc is totaly +The codecs (DLL) set, synchronization, demultiplexing etc is totally different and shouldn't be compared. -If something works with aviplay it doesn't mean that MPlayer should do -it and vice versa. -
     
    Q: -Audio goes out of sync playing .avi file. -
    A: -Try with -bps or -nobps option -if still bad, send me (upload to ftp) that file, I'll check. +If something works with aviplay it doesn't mean that MPlayer will work +and vice versa.
     
    Q: -Indeo 3.x/4.x movies are viewed upside-down!!!? -
    A: -It's a known bug (really it's a bug/limitation of the DLL codec) -Try if your vo driver supports the -flip switch. +Q: +Audio goes out of sync playing a .avi file. +
    A: +Try the -bps or -nobps option. If it does not improve, +read this and upload the file to FTP.
     
    Q: -Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok). -
    A: -It's a known bug (really it's a bug/limitation of the DLL codec). -
     
    Q: -MPlayer exits with something error when using l3codeca.acm. -
    A: -Check 'ldd /usr/local/bin/mplayer' output. If it contains
    +
    Q: +MPlayer exits with some error when using l3codeca.acm. +
    A: +Check ldd /usr/local/bin/mplayer output. If it contains
        libc.so.6 => /lib/libc.so.6 (0x4???????)
    -where "?" is any number then it's ok, the error is not here. If it is:
    +where "?" is any number then it's OK, the error is not here. If it is:
        libc.so.6 => /lib/libc.so.6 (0x00??????)
    -then there is problem with your kernel/libc. Maybe you are using some +then there is a problem with your kernel/libc. Maybe you are using some security patches (for example Solar Designer's OpenWall patch) which forces loading libraries to very low addresses. Because l3codeca.acm is a non-relocatable DLL, it must be loaded to -0x00400000, we can't change this. You should use non-patched kernel, -or use MPlayer's -afm 1 option to disable using l3codeca.acm. +0x00400000, we can't change this. You should use a non-patched kernel, +or use MPlayer's -afm 1 option to disable using l3codeca.acm.
     
    Q: +Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 -sound too slow. When I use -nosound switch, everything is ok (but quiet). -
    A: -Ok son, your machine is too slow. RTFM or anything. +sound too slow. When I use -nosound switch, everything is OK (but quiet). +
    A: +Your machine is too slow or your soundcard driver is broken. Consult the documentation to see if you can improve +performance.
     
    Q: +Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video". -
    A: +
    A: Try running MPlayer on the machine you compiled on. Or recompile. Don't -use MPlayer on different CPU than it was compiled on. +use MPlayer on a CPU different from the one it was compiled on.
     
    Q: -I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes.. -
    A: -Use the -fsmode switch. See example.conf or manpage. +Q: +I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... +
    A: +Use the -fsmode switch. See example.conf or the man page.
     
    Q: +Q: But it works with avifile! -
    A: +
    A: So what?
     
    Q: +Q: Then avifile is better! -
    A: -Then use avifile, it has nice GUI and nice C++ code :) +
    A: +Then use avifile, it has a nice GUI and nice C++ code :)
     
    Q: +Q: I got this playing mpeg files: Can't find codec for video format 0x10000001! -
    A: -You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/
    -OR you have the vc= option or similar, in your +
    A: +You have an old version of codecs.conf at ~/.mplayer/. Upgrade it +from /etc/.
    +OR you have the vc= option or something similar in your config file(s).
     
    Q: -After starting mplayer under KDE(1/2) I just get a black screen and nothing +Q: +After starting MPlayer under KDE(1/2) I just get a black screen and nothing happens, after about one minute the video starts playing. -
    A: +
    A: The KDE arts sound daemon is blocking the sound device, either wait the time -until video starts or you disable the arts-daemon in kontrollcenter. -If you want to use arts sound, specify audio output via SDL (ao=sdl), and +until video starts or you disable the arts-daemon in kontrol center. If you want +to use arts sound, specify audio output via SDL (ao=sdl), and make sure your SDL can handle arts sound. Yet another option is to start -mplayer with artsdsp. +MPlayer with artsdsp.
     
    Q: -I have an AVI that plays with grey screen with -vc odivx, and green with -vc divx4 . -
    A: +Q: +I have an AVI that produces a gray screen when played with -vc odivx +and a green one with -vc divx4. +
    A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.
     
    Q: -There this movie is, and when I play it I get video-audio desync and/or MPlayer crashes with the following:
    +
    Q: +When I play this movie I get video-audio desync and/or MPlayer crashes with the following message:
    DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer! -
    A: +
    A: This can have multiple reasons.
    -
  • your CPU and/or video card and/or bus is too SLOW. MPlayer - displays a message if this is the case. (and the dropped frames counter is going up fast)
  • -
  • if it is an AVI, maybe it has bad interleaving. Try the -ni option.
  • -
  • your sound driver is buggy, or you use ALSA 0.5 with -ao oss. See the soundcards section.
  • -
  • the AVI has bad header, try with the -nobps option, and/or -mc 0 .
  • +
      +
    • Your CPU and/or video card and/or bus is too SLOW. MPlayer + displays a message if this is the case (and the dropped frames counter goes up fast).
    • +
    • If it is an AVI, maybe it has bad interleaving. Try the -ni option.
    • +
    • Your sound driver is buggy, or you use ALSA 0.5 with -ao oss. + See the sound card section.
    • +
    • The AVI has a bad header, try the -nobps option, and/or + -mc 0.
    • +
     
    Q: -I have an MJPEG file which works with other players but displays only black +Q: +I have an MJPEG file which works with other players but displays only a black image in MPlayer. -
    A: -Disable the Windows DLL in codecs.conf, or use -vc ffmjpeg option (you have to -compile MPlayer with libavcodec). +
    A: +Disable the Windows DLL in codecs.conf, or use the +-vc ffmjpeg option (compile MPlayer with libavcodec for this to work). +
     
    Q: +When I try to grab from my tuner, it works, but colors are strange. It's OK +with other applications. +
    A: +Your card probably misreports its colorspace capacity. Try with YUY2 instead +of default YV12 (see the TV input documentation).
     
    Q: -When I try to grab from my tuner, it works, but colors are strange. It's ok -with other applications. -
    A: -Your card probably misreports its colorspace capacity. Try with YUY2 instead -of default YV12 (see TV input documentation). +Q: +When I start playing, I get this message but everything seems fine:
    +Linux RTC init: ioctl (rtc_pie_on): Permission denied +
    A: +You need root privileges to use the new timing code. For details see the +installation section of the documentation.
     
    Q: -When I try to start playing, I get this message, but playing is good :
    -Linux RTC init: ioctl (rtc_pie_on): Permission denied -
    A: -See the Installation section. The part -about new sync code. +Q: +I have A/V sync problems. Some of my AVIs play fine, but some play with +double speed! +
    A: +You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and +you try to play a file which has 22050Hz audio. Try the resample audio plugin.
     
    Q: -I have A/V sync problems. Some of my AVIs play fine, but some play with -double speed ! -
    A: -You have buggy soundcard/driver. Most likely it's fixed at 44100Hz, and -you try to play a file which has 22050Hz audio. Try the -ao sdl -driver. +Q: +All the WMV (or other..) files I play create a green/gray window and there is +only sound! MPlayer prints:
    +Detected video codec: [null] drv:0 (NULL codec (no decoding)) +
    A: +Update your codecs.conf.
     
    Q: -All the WMV (or other..) files I play gives green/gray window and there is -only sound! It prints:
    -Detected video codec: [null] drv:0 (NULL codec (no decoding)) -
    A: -Update your codecs.conf +Q: +I get very strange percentage values (way too big) while playing files on my notebook. +
    A: +It's an effect of the power management / power saving system of your notebook +(BIOS, not kernel). Plug the external power connector in before you power on your +notebook. +
     
    Q: +The audio/video gets totally out of sync when I run MPlayer as root on my notebook. +It works normal when i run it as a user. +
    A: +This is again a power management effect (see above). Plug the external power connector +in before you power on your notebook. +
     
    +5.4. Video/audio driver problems (vo/ao)
     
    -5.4. Video/audio driver problems (vo/ao) -
     
    Q: -Ok, -vo help shows DGA driver, but it is babbling about permissions! +Q: +OK, -vo help shows DGA driver, but it complains about permissions! Help me! -
    A: +
    A: It works only if running as root! It's a DGA limitation. -You should become to root (su -), and try again. -Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
    +You should become root (su -), and try again. +Another solution is making MPlayer SUID root, but it's NOT RECOMMENDED!
        chown root /usr/local/bin/mplayer
    -    chmod 750 /usr/local/bin/mplayer
    +    chmod 755 /usr/local/bin/mplayer
        chmod +s /usr/local/bin/mplayer
    !!!! BUT STAY TUNED !!!!
    This is a *BIG* security risk! *NEVER* do this on a server or on a computer -can be accessed by more people than only you because they can gain root -privilegies through suid root mplayer!!!
    +that you do not control completely because other users can gain root +privileges through SUID root MPlayer!!!
    !!!! SO YOU HAVE BEEN WARNED ... !!!!
     
    Q: +Q: When using Xvideo, my Voodoo 3/Banshee says:
    X Error of failed request: BadAccess (attempt to access private resource denied)
      Major opcode of failed request: 147 (MIT-SHM)
      Minor opcode of failed request: 1 (X_ShmAttach)
      Serial number of failed request: 26
      Current serial number in output stream:27

    -
    A: -Your driver is old, update it. Either download (at least) DRI version 0.6 -from http://dri.sourceforge.net, -or use the DRI cvs. +
    A: +The "tdfx" driver in XFree86 4.0.2/4.0.3 had this bug. This was solved by +bugfix #621 of the XFree86 4.1.0 CVS log. +So upgrade to XFree86 4.1.0 or later. Alternatively, either download (at least) +DRI version 0.6 from the DRI homepage, +or use CVS DRI.
     
    Q: -When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee! +Q: +When using Xvideo, I can't play DivX AVIs with my Voodoo 3/Banshee! It says:
    ...
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    ... -
    A1: +
    A1: See the previous answer. -
    A2: -Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains +
    A2: +Since 0.18pre4 we support libavcodec from the FFmpeg package. It contains a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format for output, thus it should work for you. Compile in libavcodec support.
     
    Q: -OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...). -
    A: -Your opengl driver doesn't support dynamic texture changes (glTexSubImage) +Q: +OpenGL (-vo gl) output doesn't work (hang/black window/X11 errors/...). +
    A: +Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). It's known not to work with nVidia's binary mess. -It's known to work with Utah-GLX/DRI and Matrox G400 card. Also with -DRI and Radeon card. It won't work with DRI others than these. -it will not work with 3DFX cards because the 256x256 texture size limit. +It's known to work with Utah-GLX/DRI and Matrox G400 cards. Also with +DRI and Radeon cards. It won't work with DRI and other cards. +it will not work with 3DFX cards because of the 256x256 texture size limit. +
     
    Q: +I have an nVidia TNT/TNT2 card, and I have a band with strange colors, +right under the movie! Whose fault is this? +
    A: +This is a bug of nVidia's binary X driver. These bugs appear ONLY with the +TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade +to the latest nVidia binary driver version. If still bad, complain to nVidia!
     
    Q: -I have an nVidia TNT/TNT2 card, and I have a band with strange colours, -right under the movie! Whose fault is this? -
    A: -It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, -and we can't do anything about it, it's not our bug. UPDATE : it's fixed -in newest drivers, at last.. +Q: +I have an nVidia XYZ card, and when I click on the GUI's display window to toggle +displaying the GUI panel, a black square appears where I clicked. I have +the newest driver. +
    A: +Yes, nVidia corrected a previous bug (above), and introduced a new one. Let's +congratulate them. UPDATE: According to +nVidia, this has already been +fixed.
     
    Q: -I have an nVidia XYZ card, and when I click on the GUI's diplay window to toggle -displaying the GUI panel, a black square appears where I clicked. I have -the newest driver. -
    A: -Yes, nvidia corrected a previous bug (above), and implemented a new one. Let's -congratule them. +Q: +When I use the GUI with SDL video output, a second video window is created. +
    A: +Known, don't use SDL for the GUI yet.
     
    Q: -When I use the GUI with SDL video output, a second video window is created. -
    A: -Known, don't use SDL for GUI yet. +Q: +Oh the world is cruel ...! SDL has only x11 target, but not +xv! +
    A: +Try that x11 target again. Now try -vo x11 -fs -zoom. +See the difference? No?! OK, here comes the enlightenment: SDL's +x11 target uses xv when available, you don't have to worry about +it ... Note: you can force/disable Xv via SDL using -forcexv and -noxv
     
    -5.5. Feature requests +5.5. Feature requests
     
    Q: +Q: Is there a hint on how to watch RealMedia movies in MPlayer? -
    A: +
    A: There's no way to do it. Therefore this format deserves to die in flames. Theoretically you can reverse engineer Real codecs built for Linux (they are available as .so files), but in practice that's really difficult, even if you know how the compiler used by Real is making assembler code.
     
    Q: -When will be <your favourite video feature> (like subtitle placement) implemented? -
    A: -Wait for libvo2. -
     
    Q: -I want to play MP3 files with MPlayer ! -
    A: -This feature is not planned. There are much better players (mpg123, 3pm, xmms) -for this task, use them. BTW, MPlayer stands for Movie Player. -
     
    Q: -I'd like to seek +/- 1 frames, instead of 10 seconds. -
    A: +Q: +I'd like to seek +/- 1 frames instead of 10 seconds. +
    A: This won't be done. It was, but then it messed up A/V sync. Feel free to implement it, and send a patch. Don't ask for it.
     
    Q: - Where is the Windows version ? -
    A: - It's not released, and won't be. Look around the windows scene (opensource - ASF parsers, opensource ASF encoders, etc) and you'll know why. We don't +Q: + Where is the Windows version? +
    A: + It's not released, and won't be. Look around the Windows scene (open source + ASF parsers, open source ASF encoders, etc) and you'll know why. We don't want to go to jail.
     
    Q: -What card you may suggest me to buy?
    A0: -It's for your opinion only but our issues are: -
    A1: -Speed: -
    This -parameter can be computed very easy: -
    a) -which movies do you plan to watch: -
    - -MPEG1: 320x200@32=256000 -
    so -you need only 256*25fps=6.4Mb/sec bandwidth (This format can be played -in real-time on any PC since P-100 + S3Virge) -
    - -MPEG4: 640x480@32=1228800 -
    you -need videobandwidth 1.2*25fps=30Mb/sec To watch such movie in real-time -you need enough power PC: (Celeron-450+DIMM based video card) -
    - -MPEG2 (aka DVD or SDTV): 1024x768@32=3145728 -
    you -need videobandwidth 3*30fps=90Mb/sec In extremal cases (if your video card -supports IDCT decoding) this can be played on the same PC as for MPEG4 -
    - -HDTV (HighData TeleVision): 2000x2000@32=16000000 -
    i.e. -videobandwidth = 16*30fps=480Mb/sec (This means also that you need at least -32Mb of video memory to watch this stream: 16Mb for RGB area and 16Mb for -YUV area) -
    b) -Bandwidth of PCI slot is: 33Mhz*32bit=132Mb/sec And PCI2.1 has 66MHz*32bit=265Mb/sec -that is far enough for any movie playback (except HDTV streams which really -require AGP bus). -
    c) -What memory type should be installed on video card: -
    SIMM -- avoid that -
    DIMM -- good if your video card has 128-bit memory access. -
    DDR -- is far enough for all types. -
    Note: -By DGA comparision - there is no any visible difference between video cards -which have installed the same type of video memory. -
    Resume: -If you have enough power CPU (Celeron-450 or K6-2-500) it would be enough -to buy any video card which has at least 8Mb of DIMM or DDR memory. -
    A2: -Quality: -
    This -question was investigated in depth at: -
    http://www.anadtech.com -AnandTech - Video Card Roundup - DVD Quality, Features & Performance -(October 2000) -
    A3: -WORKING features under Linux: -
    If -you are win32 user then probably you have support (from driver and DirectX8 -side) for any feature which was introduced in your chip. -
    But -for linux users: -
    Currently -I know only several vendors which have more or less advanced support under -Linux: -
      - + + + + + - + + + + + +
    Q: +What card do you suggest me to buy? +
    A0: +It's for your information only but our criteria are: +
    A1: +Speed:
    +This parameter can be computed easily: +
      +
    1. Which movies do you plan to watch?
    2. +
        +
      • MPEG1: 320x200@32=256000
        + You need only 256*25fps=6.4MB/sec of bandwidth (This format can be played + in real-time on any PC since the times of Pentium-100 + S3Virge).
      • +
      • MPEG4: 640x480@32=1228800
        + You need a video bandwidth of 1.2*25fps=30MB/sec. To watch such a movie + in real-time you need a PC equivalent to a Celeron-450 and a DIMM based + video card.
      • +
      • MPEG2 (aka DVD or SDTV): 1024x768@32=3145728
        + You need a video bandwidth of 3*30fps=90MB/sec. In extreme cases (if your + video card supports IDCT decoding) the hardware requirements are the same + as for MPEG4.
      • +
      • HDTV (High Definition TeleVision): 2000x2000@32=16000000
        + You need a video bandwidth of 16*30fps=480MB/sec. You also need at least + 32MB of video memory to watch this stream: 16MB for the RGB area and 16MB + for the YUV area.
      • +
      +
    3. The bandwidth of PCI slots is: 33MHz*32Bit=133MB/sec. PCI2.1 has + 66MHz*32Bit=266MB/sec which is more than enough for playing any movie (except + HDTV streams which really require an AGP bus).
    4. +
    5. What memory type should be installed on the video card: +
        +
      • SIMM - Avoid that.
      • +
      • DIMM - Good if your video card has 128-bit memory access.
      • +
      • DDR - Is fast enough for all types.
      • +
      +
    +Note: DGA comparison shows that there is no visible difference between video +cards which have the same type of video memory installed.
    +Conclusion: If you have enough CPU power (Celeron-450 or K6-2-500) it +should be enough to buy any video card which has at least 8MB of DIMM or DDR +memory. +
    A2: +Quality:
    +This question was investigated in depth at: +
    +AnandTech - Video Card Roundup - DVD Quality, Features & Performance +(October 2000) +
    A3: +Working features under Linux:
    +If you are a Win32 user then probably you have support (from driver and DirectX8 +side) for any feature your chip has.
    +But for Linux users there are currently only a few vendors which have more +or less advanced driver support:

    + + - + - + - + @@ -764,13 +772,13 @@ - + - + - + - + @@ -812,7 +820,7 @@ - + @@ -824,11 +832,11 @@ - + - + - + @@ -836,9 +844,9 @@ - + - + @@ -848,9 +856,9 @@ - + - + @@ -860,7 +868,7 @@ - + @@ -870,40 +878,65 @@
      -
    Matrox
    +
    Matrox Gxxx
    -
    ATI
    +
    ATI m64/r128/radeon
    -
    NVidia
    +
    nVidia tnt/geforce
    -
    S4 Savage
    +
    S3 Virge/Savage
    Driver's providerenthusiastsOEM and enthusiastsenthusiastsOEM and enthusiastsOEM + enthusiastsOEM or enthusiasts enthusiasts
    Driver's qualityBest(X11,kernel)best (X11,kernel)Best(X11,GATOS,kernel)best (X11,GATOS,kernel)Buggy(X11 only)buggy/unstable (X11 only)Best(X11 only)slow (X11 only)
    adaptive deinterlaceNON/A YES
    Video equalizer (hue, contrast, saturation, color correction)N/AYESPARTLY (under devel)YESN/AGeForce only N/A
    Alpha blending, color and video keysPARTLYPARTIALPARTLY (under devel)PARTIAL (under development) N/A
    Video captureN/AYES (Marvel)YES(GATOS)YES (GATOS) N/A
    TV-outYESG400 only YES
    -

    Well -- it's very rude observing of video card. Indeed we should pay our attention -for models of video card: -
    For -example if MatroxG400(G450) drivers support TV-out then G550 has no such -support. -
    Other -sample: Adaptive deinterlacing exists only since Rage128 chip and isn't -present on Mach64+ ones. Same as 3D features are far different from Mach64 -to Radeon2 8500 with trueform possibilities. -

    ANYWAY -- MPLAYER'S TEAM DOESN'T ACCEPT ANY CLAIMS IF YOU AFTER -
    READING -OF THIS MATERIAL WILL BUY CARD WHICH IS UNSUCCESSFUL FOR YOU!!! -
    THIS -MATERIAL IS ONLY OUR VISION. -

    Q: -If PCI slot is far enough for most types of movies then why S3 Virge -
    is -too slow for them? -
    A: -Due to its SIMM memory. +

    It's a very rough overview of video cards. We should pay attention to video +card models. If for example Matrox G400 drivers support TV-out then G450 and +G550 do not necessarily have this feature.
    +Another example: Adaptive deinterlacing exists only for the Rage128 chip and +isn't present on Mach64+ ones. The same goes for 3D features. They are different +from Mach64 to the Radeon 8500 with TRUFORM technology.

    + +

    ANYWAY - THE MPLAYER TEAM DOESN'T ACCEPT ANY CLAIMS IF AFTER READING THIS +MATERIAL YOU BUY A CARD WHICH IS UNSATISFACTORY FOR YOU!!! THIS IS ONLY OUR +POINT OF VIEW.

    + +

    Q: If a PCI slot is fast enough for most types of movies then why is +the S3 Virge too slow for them?
    +A: Due to its SIMM memory.

    +
     
    -5.6. Encoding +5.6. Encoding +
     
    Q: +How can I encode? +
    A: +Read the MEncoder documentation. +
     
    Q: +My tuner works, I can hear the sound and watch the video with MPlayer, but +MEncoder doesn't encode audio! +
    A: +TV audio encoding for Linux is currently unimplemented, we're working on it. +At the moment it works only on BSD.
     
    Q: -How can I encode ? -
    A: -Check this documentation. +Q: +I can't encode DVD subtitles into the AVI! +
    A: +You have to specify the -sid option correctly! +
     
    Q: +MEncoder segfaults on startup! +
    A: +Upgrade DivX4Linux.
     
    Q: +How can I encode only selected chapters from a DVD? +
    A: +Use the -chapter option correctly, like: -chapter 5-7 +
     
    Q: +I'm trying to work with 2GB+ files on a VFAT file system. Does it work? +
    A: +No, VFAT doesn't support 2GB+ files. +
     
    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/formats.html --- a/DOCS/Polish/formats.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/formats.html Fri May 10 11:17:41 2002 +0000 @@ -1,47 +1,36 @@ + + + + + - - +

    2.1. Supported formats

    -

    MPlayer can read/play from the following devices/formats:
    -

      -
    • VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file -
    • DVD, directly from your DVD disk, using libdvdread for decryption -
    • MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file - formats -
    • RIFF AVI file format -
    • ASF/WMV 1.0 file format -
    • QT/MOV file format with (un)compressed headers -
    • VIVO format (.viv files) -
    • FLI format -
    • RealMedia format (.rm files) -
    • NuppelVideo format (.nuv files) -
    • yuv4mpeg format -
    • supports reading from stdin, or network via HTTP -

    +

    It is important to clarify a common mistake. When people see a file with a +.AVI extension, they immediately conclude that it is not an MPEG file. +That is not true. At least not entirely. Contrary to popular belief such a file +can contain MPEG1 video.

    -

    It's important to clarify a popular mistake. When people see a file with -.AVI extension, they instantly declare that isn't an MPEG file. -That's not true. At least not entirely. If you tell them that such a file -can contain MPEG1 video, they laugh at you. Feel free to kick their dumbass -faces, then tell them to RTFM.

    - -

    You see, a codec isn't equal to a file format.
    -Video codecs are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.
    -Video formats are: MPG, AVI, ASF.
    +

    You see, a codec is not the same as a file format.
    +Examples of video codecs are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.
    +Examples of file formats are: MPG, AVI, ASF.

    -

    In theory, you can happily put an OpenDivX video and MP3 audio -into a .MPG format file. Though most players won't play it, since -they expect MPEG1 video and MP2 audio (.MPG doesn't have the -necessary fields to describe its video and audio streams, like .AVI -does). Or put MPEG1 video to an .AVI. For example ffmpeg can -create these files.

    +

    In theory, you can put an OpenDivX video and MP3 audio +into an MPG format file. However, most players will not play it, since +they expect MPEG1 video and MP2 audio (unlike AVI, MPG does not have the +necessary fields to describe its video and audio streams). +Or you might put MPEG1 video into an AVI file. FFmpeg +and MEncoder can create these files.

    -

    Audio codecs and formats are basically the same terms.

    2.1.1. Video formats

    @@ -49,74 +38,80 @@

    2.1.1.1. MPEG files

    -

    -

  • MPG : this is the most basic form of MPEG file formats. Contains -MPEG1 video, and MP2 (MPEG-1 layer 2) audio, or rarely MP1.
  • -
  • DAT : this is the very same format as MPG, just different extension. Used -on Video CDs. Due to the nature VCDs are created and Linux is designed, -the DAT files can't be played nor copied from VCDs. You have to use the --vcd option to play the VideoCD.
  • -
  • VOB : this is the MPEG file format on DVDs. The same as MPG, plus -capability to contain subtitles, or non-MPEG (AC3) audio. Contains encoded MPEG2 -video, and usually AC3 audio, but MP2 is allowed too.
    +

    MPEG files come in different guises:

    + +
      +
    • MPG: This is the most basic form of the MPEG file formats. It contains +MPEG1 video, and MP2 (MPEG-1 layer 2) or rarely MP1 audio.
    • +
    • DAT: This is the very same format as MPG with a different extension. It is used +on Video CDs. Due to the way VCDs are created and Linux is designed, +the DAT files cannot be played nor copied from VCDs as regular files. You have +to use the -vcd option to play the Video CD.
    • +
    • VOB: This is the MPEG file format on DVDs. It is the same as MPG, plus the +capability to contain subtitles or non-MPEG (AC3) audio. It contains encoded MPEG2 +video and usually AC3 audio, but DTS, MP2 and uncompressed LPCM are allowed, too.
      Read the DVD section !
    • -

      +
    -

    In MPEG files, series of frames are grouped together, and are independent -from the other groups. What this means is you can cut/join an MPEG file with -standard file-tools (like dd, cut), and it remains completely functional.

    +

    Series of frames form independent groups in MPEG files. This means that you +can cut/join an MPEG file with standard file tools (like dd, cut), and it +remains completely functional.

    -

    One important feature for MPGs is that they have a field to describe +

    One important feature of MPGs is that they have a field to describe the aspect ratio of the video stream within. For example SVCDs have -480x480 resolution video, and in the header that field is set to 4:3, so -it's played at 640x480. AVI files don't have this field, so one has to -rescale it during encoding.

    +480x480 resolution video, and in the header that field is set to 4:3, so that +it is played at 640x480. AVI files do not have this field, so they have to be +rescaled during encoding or played with the -aspect option.

    2.1.1.2. AVI files

    -

    Designed by Micro$oft, the AVI (Audio Video Interleaved) is a -widespread multipurpose format, currently used mostly for DivX and DivX4 -videos. Has many known drawbacks, and inabilities (for example in streaming). -Has support for one video stream, and 99 audio streams. Can be as big as -2Gb. There exists an extension for it to be bigger, called OpenDMS. -M$ currently strongly discourages its use and propagates ASF/WMV. Not if +

    Designed by Micro$oft, AVI (Audio Video Interleaved) is a +widespread multipurpose format currently used mostly for DivX and DivX4 +video. It has many known drawbacks and shortcomings (for example in streaming). +It supports one video stream and 0 to 99 audio streams and can be as big as +2GB. There exists an extension allowing bigger files called OpenDMS. +M$ currently strongly discourages its use and encourages ASF/WMV. Not that anybody cares.
    -NOTE : DV cameras can create two types of AVI format, one is the usual and + +

    There is a hack for AVI files that enhances them to contain Ogg Vorbis audio + stream, but makes them incompatible with standard AVI. MPlayer + supports playing these files, though seeking is currently unimplemented.

    + +NOTE: DV cameras can create two types of AVI formats. One is common and playable, the other is neither.

    -

    There are two kinds of AVI files: +

    There are two kinds of AVI files:

      -
    • Interleaved : audio and video content is interleaved. This is the +
    • Interleaved: Audio and video content is interleaved. This is the standard usage. Recommended and mostly used. Some tools create interleaved AVIs with bad sync. MPlayer detects these as interleaved, and this climaxes in loss of A/V sync, probably at seeking. These files should be played as non-interleaved (with the -ni option).
    • -
    • Non-interleaved : bad. First come the whole video stream, then the whole - audio stream, thus needs a lot of seeking. It's very bad when playing from - network or CDROM.
    • +
    • Non-interleaved: First comes the whole video stream, then the whole + audio stream. It thus needs a lot of seeking, making playing from network or + CD-Rom difficult.
    -

    -

    MPlayer supports 2 kind of timing for AVI files: +

    MPlayer supports two kinds of timings for AVI files:

      -
    • bps-based : it is based on bitrate/samplerate of video/audio stream. This - method is used by most players, including avifile and windows media player. +
    • bps-based: It is based on the bitrate/samplerate of the video/audio stream. This + method is used by most players, including avifile + and windows media player. Files with broken headers, and files created with VBR audio but not VBR-compliant encoder will result in A/V desync with this method (mostly at seeking).
    • -
    • interleaving-based : it doesn't use bitrate value of the header, instead - it uses the relative position of interleaved audio and video chunks. Makes - some badly encoded file with VBR audio playable.
    • +
    • interleaving-based: It does not use the bitrate value of the header, instead + it uses the relative position of interleaved audio and video chunks, making + badly encoded files with VBR audio playable.
    -

    -

    Any audio and video codec is allowed, but note that VBR audio isn't well -supported by most of the players. The file format makes it possible to use VBR +

    Any audio and video codec is allowed, but note that VBR audio is not well +supported by most players. The file format makes it possible to use VBR audio, but most players expect CBR audio, thus they fail with VBR. VBR is -unusual, and Microsoft's AVI specs only describe CBR audio. I also note, that -most AVI encoders/multiplexers create bad files if using VBR audio. Only 2 -exception (known by me): NaNDub and MEncoder.

    +uncommon and Microsoft's AVI specs only describe CBR audio. I also noticed that +most AVI encoders/multiplexers create bad files when using VBR audio. There are only +two exceptions (known to me): NaNDub and MEncoder.

    2.1.1.3. ASF/WMV files

    @@ -124,81 +119,125 @@

    ASF (active streaming format) comes from Microsoft. They developed two variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (windows media player and windows media encoder) and is very secret. v2.0 is published -and patented :). Of course they differ, there is no compatibility at all (it's +and patented :). Of course they differ, there is no compatibility at all (it is just another legal game). MPlayer supports only v1.0, as nobody has ever seen -v2.0 files :) . Note, that .ASF files nowdays come with the extension .WMA or +v2.0 files :). Note that ASF files nowadays come with the extension .WMA or .WMV.

    2.1.1.4. QuickTime/MOV files

    -

    These are from Macintosh. Usually have extensions of .QT or .MOV . Note -that since the MPEG4 Group chose QuickTime as the recommended file format -for MPEG4, their .MOV files come with .MPG or .MP4 extension (interesting -that in these files the video stream is a real .MPG file. With the --dumpvideo option you can even extract it.).

    +

    These formats were designed by Apple. They usually have a .QT or .MOV extension. Note +that since the MPEG4 group chose QuickTime as the recommended file format +for MPEG4, their MOV files come with a .MPG or .MP4 extension (Interestingly +the video and audio streams in these files are real MPG and AAC files. With the +-dumpvideo and -dumpaudio options you can even extract them!).

    -

    Codecs: any codecs allowed, both CBR and VBR. Note: most new mov files use -Sorenson video and QDesign Music audio. These formats are completely -secret, and only Apple's quicktime player is able to play these files (on -win/mac only).

    +

    Codecs: Any codec is allowed, both CBR and VBR. Note: most new QuickTime files use +Sorensen video and QDesign Music audio. These formats have not been +disclosed and will probably remain so in the future, making Apple's QuickTime +player the only player able to play these files (on Windows/Mac OS only).

    2.1.1.5. VIV files

    -

    MPlayer happily demuxes VIVO file formats. The format's big -disadvantage is that it has no index block, nor fixed packetsize or sync bytes, +

    MPlayer happily demuxes VIVO file formats. The biggest disadvantage of +the format is that it has no index block, nor a fixed packet size or sync bytes and most files lack even keyframes, so forget seeking!

    -

    VIVO/1.0 files' video codec is standard h.263 . The VIVO/2.0 files' -video codec is a modified, nonstandard h.263 . Audio is the same, -it may be g.723 (standard), or Vivo Siren .

    +

    The video codec of VIVO/1.0 files is standard h.263. The video codec +of VIVO/2.0 files is a modified, nonstandard h.263v2. The audio is the same, +it may be g.723 (standard), or Vivo Siren.

    -

    See the VIVO video codec -and VIVO audio codec sections for installation +

    See the VIVO video codec +and VIVO audio codec sections for installation instructions.

    2.1.1.6. FLI files

    -

    FLI is a very old fileformat used by Autodesk Animator, but it's -a common fileformat for short animations on the Net. MPlayer demuxes +

    FLI is a very old file format used by Autodesk Animator, but it is +a common file format for short animations on the net. MPlayer demuxes and decodes FLI movies and is even able to seek within them (useful when -looping with the -loop option). FLI files don't have keyframes, so picture +looping with the -loop option). FLI files do not have keyframes, so the picture will be messy for a short time after seeking.

    2.1.1.7. RealMedia (RM) files

    -

    Yes, MPlayer can read (demux) RealMedia (.rm) files. Seeking -is under implementation, and RM has keyframes so it will be flawless. -Here are the lists of the supported RealVideo +

    Yes, MPlayer can read (demux) RealMedia (.rm) files. Seeking works +(the format supports keyframes). Here are the lists of the supported +RealVideo and RealAudio codecs.

    2.1.1.8. NuppelVideo files

    NuppelVideo -is a TV grabber tool (AFAIK:). MPlayer can read its .nuv +is a TV grabber tool (AFAIK:). MPlayer can read its .NUV files (only NuppelVideo 5.0). Those files can contain uncompressed YV12, YV12+RTJpeg compressed, YV12 RTJpeg+lzo compressed, and YV12+lzo compressed -frames, MPlayer decodes (and also encodes them with MEncoder to -DivX/etc!) them all. Seeking is under implementation.

    +frames. MPlayer decodes (and also encodes them with MEncoder to +DivX/etc!) them all. Seeking works.

    2.1.1.9. yuv4mpeg files

    yuv4mpeg / yuv4mpeg2 is -also a fileformat for TV grabbing, or so :) I know only one thing about it: -we support it.

    +a file format used by the mjpegtools programs. +You can grab, produce, filter or encode video in this format using these. +The file format is really a sequence of uncompressed YUV 4:2:0 images. +

    + + +

    2.1.1.10. FILM files

    + +

    This format is used on old Sega Saturn CD-Rom games.

    + + +

    2.1.1.11. RoQ files

    + +

    RoQ files are multimedia files used in some ID games such as Quake III and + Return to Castle Wolfenstein.

    + + +

    2.1.1.12. OGG files

    + +

    This is a new fileformat from Xiphophorus, developed to contain Vorbis + audio. You'll need libogg and libvorbis installed + before compiling MPlayer to be able to play it.

    2.1.2. Audio formats

    -

    Currently MPlayer is still a Movie and not a Media -player, thus the pure audio formats (for example MP3, WAV, audio ASF) are -unplayable. Use xmms, mpg123 -or whatever.

    +

    MPlayer is a Movie and not a Media player, although + it can play some audio file formats (they are listed in the sections below). + This is not a recommended usage of MPlayer, you better use + xmms.

    + + +

    2.1.2.1. MP3 files

    + +

    You may have problems playing certain MP3 files that MPlayer will +misdetect as MPEGs and play incorrectly or not at all. This cannot be fixed +without dropping support for certain broken MPEG files and thus will remain +like this for the foreseeable future. The -demuxer flag described +in the manpage may help you in these cases.

    + + +

    2.1.2.2. WAV files

    + + +

    2.1.2.3. OGG files (Vorbis)

    + +

    Requires properly installed libogg and + libvorbis.

    + + +

    2.1.2.4. WMA/ASF files

    + + +

    2.1.2.5. MP4 files

    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/gcc-2.96-3.0.html --- a/DOCS/Polish/gcc-2.96-3.0.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/gcc-2.96-3.0.html Fri May 10 11:17:41 2002 +0000 @@ -1,5 +1,9 @@ - + + + + + diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/mplayer.1 --- a/DOCS/Polish/mplayer.1 Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/mplayer.1 Fri May 10 11:17:41 2002 +0000 @@ -1,454 +1,303 @@ -.\" MPlayer (C) 2000-2001 Arpad Gereoffy -.\" This manpage was/is done by Gabucino -.\" -.TH MPlayer -.SH NAME +.\" MPlayer (C) 2000-2002 Arpad Gereoffy +.\" This manpage was/is done by Gabucino +.\" (Patches done by Jonas Jermann ) +.\" +.TH "MPlayer" "1" "2002-05-05" + +.SH "NAME" mplayer \- Movie Player for Linux -.SH SYNOPSIS +.br +mencoder \- Movie Encoder for Linux + +.SH "SYNOPSIS" +.B mplayer +.RB [options]\ [\fIfile\fP\ |\ \fIURL\fP\ |\ \fIplaylist\fP\ |\ \-\ ] +.br +.B mplayer +.RB [global\ options]\ \fIfile1\fP\ [specific\ options]\ [file2]\ [specific\ options] +.br +.B mplayer +.RB [global\ options]\ {\fIgroup\ of\ files\ and\ options\fP}\ [group\ specific\ options] +.br +.B mplayer +.RB [dvd|vcd|tv]://[title]\ [options] +.br +.B mplayer +.RB [mms|http|http_proxy|rtp]://URL[:port]\ [options] +.br +.B mencoder +.RB [options]\ [\fIfile\fP\ |\ \fIURL\fP\ |\ \-\ ]\ [\-o\ file] +.br +.B gmplayer +.RB [options]\ [\-skin\ skin] + +.SH "DESCRIPTION" .B mplayer -.RB [ \-gui ] -.RB [ \-v ] -.RB [ \-help / -h / --help ] -.RB [ \-quiet ] -.RB [ \-vo\ [:] ] -.RB [ \-ao\ [:] ] -.RB [ \-vcd\ ] -.RB [ \-sb\ ] -.RB [ \-nosound ] -.RB [ \-abs\ ] -.RB [ \-delay\ ] -.RB [ \-nobps ] -.RB [ \-aid\ ] -.RB [ \-alang\ ] -.RB [ \-vid\ ] -.RB [ \-fps\ ] -.RB [ \-mc\ ] -.RB [ \-fs ] -.RB [ \-vm ] -.RB [ \-zoom ] -.RB [ \-x\ ] -.RB [ \-y\ ] -.RB [ \-sws\ ] -.RB [ \-xy\ ] -.RB [ \-pp\ ] -.RB [ \-include\ ] -.RB [ \-lircconf\ ] -.RB [ \-ffactor\ ] -.RB [ \-sub\ ] -.RB [ \-subfps\ ] -.RB [ \-subdelay\ ] -.RB [ \-z\ <0-8> ] -.RB [ \-idx ] -.RB [ \-forceidx ] -.RB [ \-nodshow ] -.RB [ \-noxv ] -.RB [ \-forcexv ] -.RB [ \-ss\
  • - -

    3 The skin file

    - -

    -As mentioned above, this is the skin configuration file. -It is line oriented; comment lines start with a ';' character -at the beginning of the line (only spaces and tabs are allowed before the -';'). - -

    -The file is made up of sections. Each section describes the skin for an -application and has the following form: -
    -section = section name
    -.
    -.
    -.
    -end
    -
    - -

    -Currently there is only one application, so you need only one section: -its name is movieplayer. - -

    -Within this section each window is described by a block in the following form: -
    -window = window name
    -.
    -.
    -.
    -end
    -
    -where window name can be one of these strings: -

      -
    • main - for the main window
    • -
    • sub - for the subwindow
    • -
    • menu - for the skin menu
    • -
    +

    Obrazek określający poszczególne fazy musi wyglądać w ten sposób: +
      -

    -(The sub and menu block is optional---you do not need to create a menu or -to decorate the subwindow.) - -

    -Within a window block, you can define each item for the window -by a line in this form: - -

    -
    -item = parameter
    -
    -
    - -

    -where item is a string that identifies the type of the GUI item, -parameter is a numeric or textual value (or a list of values -separated by commas). -

    - -

    -Putting the above together, the whole file looks something like this: - -

    -
    -section = movieplayer
    -  window = main
    -  ; ... items for main window ...
    -  end
    -  
    -  window = sub
    -  ; ... items for subwindow ...
    -  end
    -  
    -  window = menu
    -  ; ... items for skin menu ...
    -  end
    -end
    -
    - -

    -Finally some words about specifying images for the various items. -
    -The name of an image file must be given without leading directories--- -images are searched in the directory of the skins. You may (but you need not) -specify the file's extension. If the file doesn't exist, MPlayer tries to -load the file <filename>.<ext>, where tga, -TGA, bmp, BMP, png and PNG is tried -for <ext> (in this order). The first matching file will be used. - -

    - -
    -Here is an example to make this clear. Suppose that you have an image called -main.png that you use for the main window: -
    -
    -    base = main, -1, -1
    -
    -
    - -MPlayer tries to load main, main.tga, main.TGA, -main.bmp etc, so main.png will be found. -
    -If (by accident) you wrote -
    -
    -    base = main.bmp, -1, -1
    -
    -
    -then main.bmp, main.bmp.tga, main.bmp.TGA, -main.bmp.bmp would be searched and MPlayer would finally give up -because there is no main.bmp in the directory, but main.png. -
    - - -

    3.1 Main window

    - -Below you can see the list of items that can be used in the -'window = main' . . . 'end' block. +
    + + + +
    +
    +------------+
    +|   faza #1  |
    ++------------+
    +|   faza #2  |
    ++------------+
    +     ...
    ++------------+
    +|   faza #n  |
    ++------------+
    +
    +Uwaga: w przyszłości będzie teć vpotencjometr, ale nie został +on jeszcze zaimpletowany.
    -
    -base = image, x, y -
    +
    +potmeter = fazy, liczbafaz, domyślna, +x, y, sz, w, sygnał
    +
    -Lets you specify the background image to be used for the main window. -The window will appear at the given x,y position -on the screen (0,0 is the top left corner). You can specify -1 for center -and -2 for right (x) and bottom (y). The window will be as large as the image. -

    - -Warning: transparent regions in the image (colored #FF00FF) appear -black on X servers without the XShape extension. - -

    +Potencjometr bez suwaka. (Myślę, że chodzi tu o to żeby nim kręcić, ale +reaguje on tylko na poziome przesuwanie.) Aby zobaczyć opis parametrów +zobacz hpotmeter. fazy mogą mieć wartość +NULL +(nic), ale jest to bezużyteczne, jeżeli nie możesz zobaczyć gdzie znajduje +się potencjometr.
    -
    -button = image, x, y, width, height, message
    +
    +font = plikfontów, fontid
    +
    -Place a button of width * height size at the -x,y position. The specified message is generated when -the button is clicked. -The image given by image must have three parts below each other -(according to the possible states of the button), like this: -
    
    -+------------+
    -|  pressed   |
    -+------------+
    -|  released  |
    -+------------+
    -|  disabled  |
    -+------------+
    -
    -
    -
    - -
    -
    -decoration = enable|disable -
    -
    -Enable or disable window manager decoration of the main window. Default -is disable. -
    +Definiuje fonty. plikfontów jest nazwą pliku opisującego fonty +z rozszerzeniem .fnt (nie trzeba tu określać rozszerzenia). fontid +jest używany do odsyłania do fontów (kiepskie tłumaczenie-przyp. tłumacz) +(zobacz dlabel i slabel). +Możesz określić ponad 25 znaków.
    - - -hpotmeter = butt, bw,bh, phases, numphases, default, x, y, w, h, msg - - -
    +dlabel = x, y, długość, align, fontid, +"text" +
    -Place a horizontal potmeter of w * h size at the -x,y position. The image can be divided into -different parts for the different phases of the potmeter (for example, -you can have a pot for volume control that turns from green to red -while its value changes from the minimum to the maximum.) -hpotmeter can have a button that can be dragged horizontally. -The parameters are: -
      -
    • butt - the image to be used for the button -(must have three parts below each other, like in case of -button)
    • -
    • bw, bh - size of the button
    • -
    • phases - The image to be used for the different phases of the -hpotmeter. The image must be divided into numphases parts vertically -(see below). A special value of NULL can be used if you want -no such image. -
    • -
    • numphases - number of phases stored in the phases -image
    • -
    • default - default value for hpotmeter (in the range 0 to -100)
    • -
    • x, y - position for the hpotmeter
    • -
    • w, h - width and height of the hpotmeter
    • -
    • msg - the message to be generated when the value of hpotmeter -is changed
    • -
    -The image used for the different phases must look something like this: -
    
    -+------------+
    -|  phase #1  |
    -+------------+
    -|  phase #2  |
    -+------------+
    -     ...
    -+------------+
    -|  phase #n  |
    -+------------+
    -
    - -Note: there will be a vpotmeter item too, but is it not implemented -yet. - -
    +Umieszcza dynamiczne etykiety na pozycji x,y. Etykieta nazywana jest dynamiczną, +ponieważ tekst w niej jest regularnie odświeżany (coś jak okno z tytułem +utworu w Winampie-przyp. tłumacz). Maksymalna długość etykiety jest ustalona +przez długość (jej wysokość jest wysokością fontów). Jeżeli tekst +który ma być wyświetlony jest dłuższy od tej wartości, wtedy będzie on +skrolowany (przesuwany-tak jak w XMMS/Winamp-przyp.tłumacz), w innym przypadku +będzie on wyrównany do określonej przez align (wyrównanie) przestrzeni.0 +dla wyrównania do prawej, 1 dla wyśrodkowania, 2 dla wyrównania do lewej. + +

    Tekst, który ma zostać wyświetlony jest określony przez text: +musi być on opisany w cudzysłowiu (") (ale " nie może być częścią tekstu). +Etykieta jest wyświetlana używając fontid. Możesz użyć poniższych +zmiennych w tekście: +
      +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ZmiennaZnaczenie
    $1odtwarza czas w formacie hh:mm:ss
    $2odtwarza czas w formacie mmmm:ss
    $3odtwarza czas w formacie hh (godziny)
    $4odtwarza czas w formacie mm (minuty)
    $5odtwarza czas w formacie ss (sekundy)
    $6wyświetla długość filmu w formacie hh:mm:ss
    $7wyświetla długość filmu w formacie mmmm:ss
    $8odtwarza czas w formacie h:mm:ss
    $vgłośność w formacie xxx.xx%
    $Vgłośność w formacie xxx.x
    $bbalans w formacie xxx.xx%
    $Bbalans w formacie xxx.x
    $$znaczek $
    $aznak określający typ dźwięku (żaden: n, mono: m, +stereo: t)
    $tNumer ścieżki (w playliście)
    $onazwa pliku
    $fnazwa pliku małymi literami
    $Fnazwa pliku drukowanymi literami
    $Tznak określający typ strumienia (plik: f, video CD: +v, +DVD: d, URL: u
    $pznak "p" (jeżeli film jest odgrywany i font ma określony symbol "p") 
    $sznak "s" (jeżeli film jest zatrzymany i font ma określony symbol "s") 
    $eznak "e" (jeżeli włączona jest pauza i font ma określony symbol "e") 
    +Uwaga: Zmienne $a, $T, $p, $s i $e mają znaki +które powinny być wyświetlane jako znaki specjalne (np. "e" jest symbolem +pauzy wyglądającym zazwyczaj tak || ). Powinieneś mieć +fonty dla normalnych znaczków i osobne dla znaków specjalnych. Zobacz sekcję +symbols +, aby dowiedzieć się więcej.
    + +
    +
    +slabel = x, y, fontid, text
    + +
    +Umieszcza statyczną etykietę na pozycji x,y. text jest wyświetlany +używając fontid. Text jest po prostu ciągiem (zmienne $x nie działają) +który musi znajdować się w cudzysłowiu (" nie może być częścią tekstu). +Etykieta jest wyświetlana używając  fontid.
    +

    +3.2 Okno ekranu

    +Poniżej możesz zobaczyć listę elementów, które mogą być użyte w bloku 'window += sub' . . . 'end'.
    -
    -potmeter = phases, numphases, default, x, y, w, h, msg -
    +
    +base = image, x, y, szerokość, wysokość
    +
    -A potmeter without a button. (I guess it is ment to be turned round, -but it reacts to horizontal dragging only.) -For the description of the parameters see -hpotmeter. phases can be -NULL, but its quite useless, since you can not see where -the potmeter is set. -
    -
    - -
    -
    -font = fontfile, fontid -
    -
    -Defines a font. fontfile is the name of a font description file -with .fnt extension (no need to specify the extension -here). -fontid is used to refer to the font -(see dlabel and slabel). -Up to 25 fonts can be defined. -
    +Obrazek który ma być wyświetlony w tym oknie. Okno pojawi się w określonej +przez ciebie pozycji x,y na ekranie (0,0 umieszcza obrazek w lewym +górnym rogu). Możesz tu użyć także następujących wartości: 1-dla wyśrodkowania, +2 dla wyrównania do prawej (dla wartości x) i do dołu (dla wartości y). +Okno to będzie rozmiarów obrazka. szerokość i wysokość określa +rozmiar okna. Te zmienne są opcjonalne (jeżeli ich nie będzie, okno będzie +takich samych rozmiarów jak obrazek)
    -
    -dlabel = x, y, length, align, fontid, "text" -
    +
    +background = r, g, b
    +
    -Place a dynamic label at the x,y position. The label is called -dynamic because its text is refreshed periodically. -The maximum length of the label is given by length (its height is the -height of a character). -If the text to be displayed is wider than that, then it will be -scrolled, otherwise it is aligned within the specified space by the value -of the align parameter: 0 is for right, 1 is for center, -2 is for left. -
    -The text to be displayed is given by text: it must be written between -double quotes (") (but the " cannot be part of the -text). The label is displayed using the font identified by fontid. -You can use the following variables in the text. +Pozwala ci ustalić kolor tła. Jest to przydatne jeżeli obrazek jest mniejszy +od okna (będzie on także wyświetlany dookoła okna ekranu w trybie pełnoekranowym-przyp. +tłumacz). r, g i b określają czerwoną, zieloną i niebieską wartość koloru +(każda z nich jest określona w przedziale od 0 do 255).
    +
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    VariableMeaning
    $1play time in hh:mm:ss format
    $2play time in mmmm:ss format
    $3play time in hh format (hours)
    $4play time in mm format (minutes)
    $5play time in ss format (seconds)
    $6movie's length in hh:mm:ss format
    $7movie's length in mmmm:ss format
    $8play time in h:mm:ss format
    $vvolume in xxx.xx% format
    $Vvolume in xxx.x format
    $bbalance in xxx.xx% format
    $Bbalance in xxx.x format
    $$the $ character
    $aa character according to the audio type (none: n, - mono: m, stereo: t)
    $ttrack number (in playlist)
    $ofilename
    $ffilename in lower case
    $Ffilename in upper case
    $Ta character according to the stream type (file: f, - video CD: v, DVD: d, URL: u) -
    $pthe "p" character (if a movie is playing and the font has the "p" - character) -
    $sthe "s" character (if the movie is stopped and the font has the "s" - character) -
    $ethe "e" character (if playback is paused and the font has the "e" - character) -
    -

    -Note: The $a, $T, $p, $s -and $e variables all return characters that should be displayed -as special symbols (for example, "e" is for the pause symbol that usually -looks something like ||). You should have a font for normal -characters and a different font for symbols. -See the section about symbols for more information. - +

    +3.3 Menu Skóry

    +Jak wspomnianow wcześniej, menu jest wyświtlane przy użyciu dwóch obrazków. +"Normalny" stan menu jest brany z obrazka określonego jako base, +podczas gdy zaznaczony obszar jest brany z obrazka określonego jako selected. +Musisz zdefiniować pozycję i rozmiar każdego z elementów menu poprzez element +menu. +

    Te elementy mogą zostać wykorzystane w bloku 'window = menu' +. . . 'end': +

    +
    +base = obrazek
    + +
    +Obrazek pokazujący normalny stan menu
    -
    -slabel = x, y, fontid, text -
    -
    -Place a static label at the x,y position. -text is displayed using the font identified by fontid. -The text is just a raw string ($x variables do not work) that must be enclosed -between double quotes (the " cannot be part of the text). -The label is displayed using the font identified by fontid. -
    -
    - - -

    3.2 Subwindow

    - -The following items can be used in the -'window = sub' . . . 'end' block. +
    +selected = obrazek
    -
    -
    -base = image, x, y, width, height -
    -
    -The image to be displayed in the window. -The window will appear at the given x,y position -on the screen (0,0 is the top left corner). You can specify -1 for center -and -2 for right (x) and bottom (y). The window will be as large as the image. -width and height gives the size of the window; they are -optional (if they are missing, the window is the same size as the image). -
    -
    - -
    -
    -background = r, g, b -
    -Lets you set the background color. It is useful if the image is smaller than -the window. -r, g and b specifies the red, green and blue -component of the color (each of them is a decimal number from 0 to 255). -
    -
    - - -

    3.3 Skin menu

    - -As mentioned earlier, the menu is displayed using two images. -Normal menu entries are taken from the image specified by the base -item, while the currently selected entry is taken from the image specified -by the selected item. -You must define the position and size of each menu entry by the menu -item. - -

    -These are the items that can be used in the 'window = menu' -. . . 'end' block. - -

    -
    -base = image -
    -
    -The image for normal menu entries. -
    - - -
    -
    -selected = image -
    -
    -The image showing the menu with all entries selected. -
    +Obrazek pokazujący zaznaczony stan menu.
    -
    -menu = x, y, width, height, message -
    +
    +menu = x, y, szerokość, wysokość, sygnał
    +
    -Defines the x,y position and the size of a menu entry in -the images. message is the message to be generated when -the mouse button is released over the entry. -
    +Definiuje pozycję x,y i rozmiar poszczególnych elementów menu w +obrazku. sygnał jest sygnałem, który ma być uaktywniony, kiedy klikniesz +tą pozycję.
    - -

    4 Fonts

    - -As mentioned in the section about the parts of a skin, a font is defined -by an image and a description -file. You can place the characters anywhere in the image, but make sure that -their position and size is given in the description file exactly. - -

    -The font description file (with .fnt extension) can have comment -lines starting with ';'. -The file must have a line in the form +

    +4 Fonty

    +Tak jak wspomniano w sekcji o częściach skóry, fonty są zdefiniowane przez +obrazek i plik opisujący fonty. Możesz umieścić znaki w dowolnym +miejscu obrazka, ale upewnij się, że ich pozycja i rozmiar są dokładnie +określone w pliku opisującym fonty. +

    Plik opisujący fonty (z rozszerzeniem .fnt) może mieć linie komentarza +rozpoczęte średnikiem ';'. Plik musi mieć tę linię:

    -
    -image = image
    -
    +
    image = obrazek
    - -

    -where image is the name of the image file to be used for -the font (you do not have to specify the extension). -The above line is followed by character definition lines of the form: - +gdzie obrazek jest nazwą pliku w którym znajdują się fonty (nie +musisz podawać rozszerzenia).  Po tej lini następuje opisanie poszczególnych +znaków:

    -
    -"char" = x, y, w, h
    -
    +
    "znak" = x, y, sz, w
    - -

    -Here x and y specifies the position of the -char character in the image (0,0 is the upper left corner). -w and h is the width and height of the character -(in pixels, of course). - -

    -Here is an example that defines the A, B, C characters using font.png. - + +
    -; can be "font" instead of "font.png"
    +Tutaj x i y określają pozycję znaku w obrazku (0,0 to lewy górny
    +róg). sz i w to szerokość i wysokość znaku (oczywiście w pikselach).
    +

    Poniżej możesz zobaczyć przykład definiujący znaki A, B, C znajdujące +się w pliku font.png: + + +
    +
    ; może być "font" zamiast "font.png"
     image = font.png
     
    -; Three characters are enough for demonstration only. :-)
    -"A" =  0,0, 7,13
    -"B" =  7,0, 7,13
    -"C" = 14,0, 7,13
    -
    +; Trzy znaki są wystarczające, aby zademonstrować jak to działa. :-) +"A" =  0,0, 7,13 +"B" =  7,0, 7,13 +"C" = 14,0, 7,13

    +
    - -

    4.1 Symbols

    +

    +4.1 Symbole

    +Niektóre znaki mają specjalne znaczenia kiedy są zmiennymi używanymi w +dlabel; +te znaki są wyświetlane jako symbole. (np. kiedy odgrywasz strumień DVD, +możesz wyświetlić fajne logo DVD zdefiniowane pod znakiem 'd'.) +

    Poniższa tabelka zawiera wszystkie znaki, które mogą być wykorzystane +do wyświetlania symboli (i wymagają one osobnych fontów). +

    + + -Some characters have special meanings when returned by some of the variables -used in -dlabel; these characters are meant to be -displayed as symbols. (For example, in case of a DVD stream, you could display -a nice DVD logo instead of the character 'd'.) + + + + + + + + + + + -

    -The following table lists all the characters that can be used to display -symbols (and thus require a different font). +

    + + + + + + + + + + -
    -
    Znak Symbol
    podtwarzanie
    sstop
    epauza
    n
    - - - - - - - - - - - - - - - - - - - - - -
    CharacterSymbol
    pplay
    sstop
    epause
    nno sound
    mmono sound
    tstereo sound
    fstream is a file
    vstream is a video CD
    dstream is a DVD
    ustream is a URL
    - +
    bez dźwięku
    mdźwięk mono
    tdźwięk mono
    fstrumień jest plikiem
    vstrumień to VideoCD
    dstrumień to DVD
    ustrumień to URL
    +Uwaga: obecnie tylko 'p', 's', 'e', 'n', 'm' i 't' są wykorzystywane +(W chwili gdy tłumaczona jest ta dokumentacja pozostałe opcje są już dostępne-przyp. +tłumacz) +

    +Dodatek A: sygnały GUI

    These are the messages that can be generated by buttons, potmeters and menu entries. - -

    - -Note: some of the messages might not work as expected (or not -work at all). As you know, the GUI is under development. - -

    -Playback control: +
    Tutaj znajdują się sygnały które mogą zostać wywołane przez przyciski, +potencjometry i elementy menu. +

    Uwaga: niektóre z sygnałów mogą działać nieprawidłowo (albo +w ogóle nie działać). Jak wiesz, GUI jest ciągle w fazie rozwoju. +

    Opcje odgrywania:

    -
    evNext -
    Jump to next track in the playlist. +
    +evNext
    + +
    +Przeskakuje do następnej ścieżki z playlisty
    -
    evPause -
    Pause playing. +
    +evPause
    + +
    +wstrzymuje odgrywanie.
    -
    evPauseSwitchToPlay -
    Forms a switch together with evPlaySwitchToPause. They can be -used to have a common play/pause button. Both messages should be assigned -to buttons displayed at the very same position in the window. This -message pauses playing and the image for the evPlaySwitchToPause button -is displayed (to indicate that the button can be pressed to continue playing). +
    +evPauseSwitchToPlay
    + +
    +Przełącza między sobą użuwając evPlaySwitchToPause (to niezbyt udane +tłumaczenie-przyp. tłumacz). Może to zostać wykorzystane aby utworzyć jeden +przycisk spełniający równocześnie funkcje odgrywania i pauzy. Oba sygnały +powinny być przydzielone do przycisków wyświetlanych w tym samym miejscu +w oknie. Ten sygnał wstrzymuje odtwarzanie i wyświetlany jest obrazek dla +przycisku evPlaySwitchToPause (aby zaznaczyć, że ten przycisk może +być wciśnięty, aby kontynuować odgrywanie).
    -
    evPlay -
    Start playing. +
    +evPlay
    + +
    +Rozpoczyna odgrywanie.
    + +
    +evPlaySwitchToPause
    -
    evPlaySwitchToPause -
    The opposite of evPauseSwitchToPlay. This message starts playing -and the image for the evPauseSwitchToPlay button is displayed (to -indicate that the button can be pressed to pause playing). +
    +Przeciwieństwo evPauseSwitchToPlay. Ten sygnał rozpoczyna odgrywanie +i wyświetlany jest obrazek dla przycisku evPauseSwitchToPlay (aby +zaznaczyć, że ten przycisk może być wciśnięty, aby wstrzymać odgrywanie).
    + +
    +evPrev
    -
    evPrev -
    Jump to previous track in the playlist. +
    +Przeskakuje do poprzedniej ścieżki z playlisty.
    -
    evStop -
    Stop playing. +
    +evStop
    + +
    +Zatrzymuje odgrywanie.
    - -

    -Seeking in the stream: +Przemieszczanie się w strumieniu:

    -
    evBackward10sec -
    evBackward1min -
    evBackward10min -
    Seek backward 10 seconds / 1 minute / 10 minutes. +
    +evBackward10sec
    + +
    +evBackward1min
    + +
    +evBackward10min
    + +
    +przesuwa w tył o 10 sekund / 1 minutę / 10 minut.
    + +
    +evForward10sec
    -
    evForward10sec -
    evForward1min -
    evForward10min -
    Seek forward 10 seconds / 1 minute / 10 minutes. +
    +evForward1min
    + +
    +evForward10min
    -
    evSetMoviePosition -
    Seek to position (can be used by a potmeter; the relative -value (0-100%) of the potmeter is used). +
    +przesuwa w przód o 10 sekund / 1 minutę / 10 minut.
    + +
    +evSetMoviePosition
    + +
    +ustawia pozycję (może być zmieniane za pomocą suwaka; wykorzystywane są +relatywne (0-100%) wartości potencjometru).
    - -

    -Video control: +Kontrola obrazu:

    -
    evDoubleSize -
    Set the movie window to double size. +
    +evDoubleSize
    + +
    +Ustawia podwójny rozmiar okna z filmem.
    + +
    +evFullScreen
    -
    evFullScreen -
    Switch fullscreen mode on/off. +
    +Włącza/wyłącza tryb pełnoekranowy.
    -
    evNormalSize -
    Set the movie window to its normal size. +
    +evNormalSize
    + +
    +Ustawia oryginalny rozmiar okna z filmem.
    - -

    -Audio control: +Kontrola Dźwięku:

    -
    evDecAudioBufDelay -
    Decrease audio buffer delay. +
    +evDecAudioBufDelay
    + +
    +Zmniejsza opóźnienie buffera dźwięku.
    -
    evDecBalance -
    Decrease balance. +
    +evDecBalance
    + +
    +zmniejsza balans.
    -
    evDecVolume -
    Decrease volume. +
    +evDecVolume
    + +
    +zmniejsza głośność.
    -
    evIncAudioBufDelay -
    Increase audio buffer delay. +
    +evIncAudioBufDelay
    + +
    +Zmniejsza opóźnienie buffera dźwięku.
    + +
    +evIncBalance
    -
    evIncBalance -
    Increase balance. +
    +zwiększa balans.
    + +
    +evIncVolume
    -
    evIncVolume -
    Increase volume. +
    +zwiększa głośność.
    + +
    +evMute
    -
    evMute -
    Mute/unmute the sound. +
    +Wycisza/włącza dźwięk..
    + +
    +evSetBalance
    -
    evSetBalance -
    Set balance (can be used by a potmeter; the relative -value (0-100%) of the potmeter is used). +
    +Ustawia balans (może być używane przez suwak; wykorzystywane są relatywne +(0-100%) wartości potencjometru).
    -
    evSetVolume -
    Set volume (can be used by a potmeter; the relative -value (0-100%) of the potmeter is used). +
    +evSetVolume
    + +
    +Ustawia głośność (może być używane przez suwak; wykorzystywane są relatywne +(0-100%) wartości potencjometru).
    - -

    -Miscellaneous: +Różne:

    -
    evAbout -
    Open the about window. +
    +evAbout
    + +
    +Otwiera okno "o programie".
    -
    evEqualeaser -
    Turn the equalizer on/off. +
    +evEqualeaser
    + +
    +włącza/wyłącza equalizer.
    + +
    +evExit
    -
    evExit -
    Quit from the program. +
    +Zamyka program.
    + +
    +evIconify
    -
    evIconify -
    Iconify the window. +
    +Minimalizuje okno.
    -
    evLoad -
    Load a file (by opening a file browser window, where you can choose a -file). +
    +evLoad
    + +
    +Wczytuje plik (poprzez otwarcie przeglądarki plików, w której możesz wybrać +plik).
    -
    evLoadPlay -
    Does the same as evLoad, but it automatically starts -playing after the file is loaded. +
    +evLoadPlay
    -
    evNone -
    Empty message, it has no effect. (Except maybe in CVS versions. :-)) +
    +Robi dokładnie to samo co evLoad z tym, że po wczytaniu pliku automatycznie +rozpoczyna jego odtwarzanie.
    + +
    +evNone
    + +
    +Pusty sygnał, nic nie robi. (No może nie dotyczy to wersji CVS  :-))
    -
    evPlayList -
    Open/close the playlist window. +
    +evPlayList
    + +
    +Otwiera/zamyka okno playlisty.
    + +
    +evPreferences
    -
    evPreferences -
    Open the preferences window. +
    +Otwiera okno preferencji.
    -
    evSkinBrowser -
    Open the skin browser window. +
    +evSkinBrowser
    + +
    +Otwiera okno z przeglądarką skórek..
    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/sound.html --- a/DOCS/Polish/sound.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/sound.html Fri May 10 11:17:41 2002 +0000 @@ -1,143 +1,292 @@ + + + + + - + -

    2.3.2. Audio output devices

    +

    2.3.2. Audio output devices

    MPlayer's audio interface is called libao2. It currently -contains these drivers :

    +contains these drivers:

    - + - - - - - - + + + + + +

    General:

    General:

      oss  OSS (ioctl) driver
    sdlSDL driver (supports up/downsampling, ESD, ARTS etc)
    nasNAS (Network Audio System) driver
    alsa5native ALSA 0.5 driver
    alsa9native ALSA 0.9 driver (works, but has problems -> use OSS)
    sunSUN audio driver (/dev/audio) for BSD and Solaris8 users
      oss  OSS (ioctl) driver
    sdlSDL driver (supports up/downsampling, ESD, ARTS etc)
    nasNAS (Network Audio System) driver
    alsa5native ALSA 0.5 driver
    alsa9native ALSA 0.9 driver (works, but has problems -> use OSS)
    sunSUN audio driver (/dev/audio) for BSD and Solaris8 users
    -

    The fact is, Linux soundcard drivers are usually bad, and always as -incompatible as they can be. It MAY take a while to find your optimal settings.

    -

      -
    • if you have OSS as driver, first try with -ao oss (this is the default). -If you experience glitches, halts or anything out of the ordinary, have a -look at -ao sdl (NOTE: of course you'll have to have a new SDL library and its -devel pair installed). It helps in a lot of cases (it also supports ESD, ARTS, and -up/downsampling. /esd is GNOME's, arts is KDE's sound daemon/).
    • -
    • if you have ALSA version 0.5, then you ALMOST always have to use -ao alsa5 , -since 0.5 has buggy OSS emulation code, and will crash MPlayer with +

      Fact is, Linux sound card drivers have compatibility problems. +It may take a while to find your optimal settings.

      + +
        +
      • If you have an OSS driver, first try -ao oss (this is the default). +If you experience glitches, halts or anything out of the ordinary, try +-ao sdl (NOTE: you need to have SDL libraries and header files +installed). The SDL audio driver helps in a lot of cases and also supports ESD, +ARTS, and up/downsampling. (ESD is the sound daemon from GNOME, ARTS is from KDE.)
      • +
      • If you have ALSA version 0.5, then you almost always have to use -ao alsa5 , +since ALSA 0.5 has buggy OSS emulation code, and will crash MPlayer with a message like this:
        -
          - DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
        -
      • -
      • if you have ALSA version 0.9, use -ao oss or -ao sdl as you -wish. You can also use -ao alsa9 as it works now, however it has many -problems (losing sync, disappearing audio, etc).
      • -

      +DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
    • +
    • If you have ALSA version 0.9 you may choose between -ao oss and +-ao sdl. You can also use -ao alsa9. It works, but +there are problems like lost sync and disappearing audio.
    • +

    On Solaris/FreeBSD systems, use the SUN audio driver with the --ao sun option, otherwise you'll have no video, nor audio playing.

    +-ao sun option, otherwise neither video nor audio will work.

    -

    2.3.2.1. Soundcard experiences, recommendations

    +

    2.3.2.1. Sound Card experiences, recommendations

    -

    - - +
    VIA onboard chipset (via82cxxx) 48Khz only
    Driver: from here
    + + - - - - - - - + + + + + + - - - - - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - -
    VIA onboard chipset (via82cxxx) 48kHz only
    Driver: from here
    Aureal Vortex 2
        OSS:no driver
    OSS/Pro:OK
    ALSA:no driver
    Max kHz:48
    Driver:aureal.sourceforge.net
    Driver2: from here
    +
    Aureal Vortex 2
        OSS:no driver
    OSS/Pro:OK
    ALSA:no driver
    Max kHz:48
    Driver:aureal.sourceforge.net
    Driver2: from here
    (buffer size increased to 32k)
    GUS PnP
    OSS:no driver
    OSS/Pro:OK
    ALSA:OK
    Max kHz:48
    GUS PnP
    OSS:no driver
    OSS/Pro:OK
    ALSA:OK
    Max kHz:48
    SB Live!
    OSS:OK
    ALSA:(?)
    Max kHz:48
    SB Live!
    OSS:Analog OK, SP/DIF not working
    ALSA:Both OK
    Max kHz:192
    SB AWE 64
    OSS:max 44kHz
    ALSA:48kHz sounds shit
    Max kHz:48
    SB AWE 64
    OSS:max 44kHz
    ALSA:48kHz sounds bad
    Max kHz:48
    Gravis UltraSound ACE
    OSS:max 44Khz. not OK
    ALSA:OK
    Max kHz:48
    Gravis UltraSound ACE
    OSS:not OK
    ALSA:OK
    Max kHz:44
    Gravis UltraSound MAX
    OSS:OK
    ALSA:OK (?)
    Max kHz:48
    Gravis UltraSound MAX
    OSS:OK
    ALSA:OK (?)
    Max kHz:48
    ESS 688
    OSS:OK
    ALSA:OK (?)
    Max kHz:48
    ESS 688
    OSS:OK
    ALSA:OK (?)
    Max kHz:48
    C-Media cards (which ones?)
    OSS:not OK (hissing) (?)
    ALSA:OK (?)
    Max kHz:?
    C-Media cards (which ones?)
    OSS:not OK (hissing) (?)
    ALSA:OK (?)
    Max kHz:?
    Yamaha cards (*ymf*)
    OSS:not OK (?) (maybe -ao sdl)
    ALSA:OK only with ALSA 0.5 with OSS emulation AND -ao sdl (!) (?)
    Max kHz:?
    Yamaha cards (*ymf*)
    OSS:not OK (?) (maybe -ao sdl)
    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:?
    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
    Max kHz:the driver emulates 44.1 maybe more
    Driver:ftp://ftp.infradead.org/pub/pcsp

    +
    PC Speaker or DAC
    OSS:OK (Use the SDL driver: -ao sdl)
    ALSA:no driver
    Max kHz:The driver emulates 44.1, maybe more.
    Driver:ftp://ftp.infradead.org/pub/pcsp
    -

      -
    • on Linux, use at least kernel 2.4 if possible, 2.2 isn't tested -
    • if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! - for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!) - This is recommended anyways... (for XMMS, etc...) - Read section 4.1. -
    • don't use your soundcard by other application ( for ex. XMMS ) ! - if you use ESD, start MPlayer with the '-vo sdl:esd' option ! -
    • Please tell us how MPlayer and your soundcard(s) worked together! -

    +
      +
    • On Linux, a 2.4.x kernel is highly recommended. Kernel 2.2 is not tested.
    • +
    • If sound clicks when playing from CD-ROM, turn on IRQ unmasking, e.g. + hdparm -u1 /dev/cdrom (man hdparm). This is + generally beneficial and described more detailed in the + CD-ROM section.
    • +
    • Sharing your sound card with another application like XMMS is strongly discouraged! + If the other sound application is using ESD, start MPlayer with the -vo sdl:esd option + to combine both sound streams! In fact, the option -vo sdl:esd could be used with ESD + even when playing Mplayer alone.
    • +
    • Feedback to this document is welcome. Please tell us how MPlayer and + your sound card(s) worked together.
    • +
    -

    2.3.2.2. Audio plugins

    +

    2.3.2.2. Audio plugins

    + +

    MPlayer has support for audio plugins. Audio plugins can be used for + changing the properties of the audio data before the sound reaches the sound + card. They are enabled using the -aop switch which takes a + list=plugin1,plugin2,... argument. The list argument + is required and determines which plugins should be used and in which order they + should be executed. Example: +

    -

    2.3.2.2.1. Up/Downsampling

    +

      mplayer media.avi -aop list=resample,format

    + +

    would run the sound through the resampling plugin followed by the format + plugin. +

    + +

    The plugins can also have switches that change their behavior. These + switches are explained in detail in the sections below. A plugin will execute + using default settings if its switches are omitted. Here is an example of how + to use plugins in combination with plugin specific switches: +

    -

    MPlayer fully supports up/downsampling of audio stream. -It is not autodetected, so you have to specify it explicitly even when -for example you have a max 44.1Khz capable soundcard, and the audio -is 48Khz. Also, this functionality is currently unimplemented in -MEncoder.

    +

      mplayer media.avi -aop + list=resample,format:fout=44100:format=0x8 +

    + +

    would set the output frequency of the resample plugin to 44100Hz and the + output format of the format plugin to AFMT_U8. +

    + +

    Currently audio plugins can not be used in MEncoder.

    + -

    Usage :
    +

    2.3.2.2.1. Up/Downsampling

    + +

    MPlayer fully supports up/downsampling of the sound. This plugin can + be used if you have a fixed frequency sound card or if you are + stuck with an old sound card that is only capable of max 44.1kHz. + Limitations in your hardware are not auto detected, so you have to specify + the sample frequency explicitly. This plugin has one switch: + fout which is used for setting the desired output sample + frequency. It defaults to 48kHz, and is given in + <Hz>. +

    + +

    Usage:
      mplayer media.avi -aop list=resample:fout=<required frequency in Hz, like 44100>

    +

    Note that the output frequency should not be scaled up from the default value. + Scaling up will cause the audio and video streams to be played in slow motion + in addition to audio distortion.

    + +

    2.3.2.2.2. Surround Sound decoding

    + +

    MPlayer has an audio plugin that can decode matrix encoded +surround sound. Dolby Surround is an example of a matrix encoded format. +Many files with 2 channel audio actually contain matrixed surround sound. +To use this feature you need a sound card supporting at least 4 channels.

    + +

    Usage:
    +  mplayer media.avi -aop list=surround

    + + +

    2.3.2.2.3. Sample format converter

    + +

    If your sound card driver does not support signed 16bit int data type, + this plugin can + be used to change the format to one which your sound card can understand. It + has one switch, format, which can be set to one of the numbers + found in libao2/afmt.h. This plugin is hardly ever needed and is + intended for advanced users. Keep in mind that this plugin only changes the + sample format and not the sample frequency or the number of channels. +

    + +

    Usage:
    +   mplayer media.avi -aop + list=format:format=<required output format> +

    + + +

    2.3.2.2.4. Delay

    + +

    This plugin delays the sound and is intended as an example of how to develop + new plugins. It can not be used for anything useful from a users perspective + and is mentioned here for the sake of completeness only. Do not use this + plugin unless you are a developer.

    + +

    2.3.2.2.5. Software volume control

    + +

    This plugin is a software replacement for the volume control, and + can be used on machines with a broken mixer device. It can also be + used if one wants to change the output volume of MPlayer + without changing the PCM volume setting in the mixer. It has one + switch volume that is used for setting the initial + sound level. The initial sound level can be set to values between 0 + and 255 and defaults to 101 which equals 0dB amplification. Use this + plugin with caution since it can reduce the signal to noise ratio of + the sound. In most cases it is best to set the level for the PCM + sound to max, leave this plugin out and control the output level to + your speakers with the master volume control of the mixer. If there is an + external amplifier connected to the computer (this is almost always + the case), the noise level can be minimized by adjusting the master + level and the volume knob on the amplifier until the hissing noise + in the background is gone. +

    + +

    Usage:
    +   mplayer media.avi -aop + list=volume:volume=<0-255> +

    + +

    This plugin also has compressor or "soft-clipping" capabilities. + Compression can be used if the dynamic range of the sound is very + high or if the dynamic range of the loudspeakers is very + low. Be aware that this feature creates distortion and should be + considered a last resort. +

    + +

    Usage:
    +   mplayer media.avi -aop + list=volume:softclip +

    + + +

    2.3.2.2.6. Extrastereo

    + +

    This plugin (linearly) increases the difference between left and right + channels (like the XMMS extrastereo plugin) which gives some sort of "live" + effect to playback. +

    + +

    Usage:
    +   mplayer media.avi -aop list=extrastereo
    +   mplayer media.avi -aop list=extrastereo:mul=3.45

    + +

    The default coefficient (mul) is a float number that defaults + to 2.5. If you set it to 0.0, you will have mono sound (average of both + channels). If you set it to 1.0, sound will be unchanged.

    + + +

    2.3.2.2.7. Volume normalizer

    + +

    This plugin maximizes the volume without distorting the sound.

    + +

    Usage:
    +   mplayer media.avi -aop list=volnorm
    + + +

    2.3.2.2.8. Surround

    + +

    Someone should document something, sometime.

    diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/users_against_developers.html --- a/DOCS/Polish/users_against_developers.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/users_against_developers.html Fri May 10 11:17:41 2002 +0000 @@ -1,4 +1,9 @@ + + + + + diff -r 8e941ce0b636 -r d5c692754cf2 DOCS/Polish/video.html --- a/DOCS/Polish/video.html Fri May 10 11:15:43 2002 +0000 +++ b/DOCS/Polish/video.html Fri May 10 11:17:41 2002 +0000 @@ -1,104 +1,19 @@ + + + + + - +

    2.3.1. Video output devices

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    General:

      x11  X11 with optional SHM - extension
    xvX11 using overlays with the Xvideo extension - (hardware YUV & scaling)
    glOpenGL renderer, so far works only with: -
    • all cards with Utah-GLX -
    • Matrox cards with X/DRI >=4.0.3 -
    • Radeon with X/DRI CVS
    gl2OpenGL renderer, multiple textures version
    dgaX11 DGA extension
    fbdevOutput to general framebuffers
    svgaOutput to SVGAlib
    sdl -  1.1.7: supports software scaling
    -  1.1.8: supports Xvideo (hardware scaling/fullscreen)
    -  1.2.0: supports AAlib (-vo aa is very recommended, see below!)
    ggisimilar to SDL
    aatextmode rendering with AAlib
    vesaOutput to VESA BIOS.
    directfbDirect Framebuffer Device

    Card specific:

      mga  Matrox G200/G400 hardware - YUV overlay via the mga_vid device
    xmgaMatrox G200/G400 overlay (mga_vid) in X11 - window
    -(Xv emulation on X 3.3.x!)
    syncfbMatrox G400 YUV support on framebuffer (obsoleted, use - mga/xmga)
    3dfxVoodoo3/Banshee hardware YUV (/dev/3dfx) support (not yet tested, maybe - broken)
    tdfxfbVoodoo3/Banshee hardware YUV support on tdfx - framebuffer (works!)

    Special:

      png  PNG files output (use -z switch to set - compression)
    pgmPGM files output (for testing purposes or ffmpeg encoding)
    md5MD5sum output (for MPEG conformance tests)
    nullNull output (for speed tests/benchmarking)
    - -

    NOTE: check the following subsections for details and requirements!

    -

    2.3.1.1. Setting up MTRR

    @@ -161,8 +76,12 @@

    2.3.1.2. Xv

    Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines -using the XVideo extension. This is what the option '-vo xv' uses. -In order to make this work, be sure to check the following:

    +using the XVideo extension. This is what the option '-vo xv' uses. Also, +this is driver supports adjusting brightness/contrast/hue/etc (unless you use +the old, slow DirectShow DivX codec, which supports it everywhere), see the +manpage.

    + +

    In order to make this work, be sure to check the following:

    • You have to use XFree86 4.0.2 or newer (former versions don't have XVideo)
    • Your card actually supports hardware acceleration (modern cards do) @@ -215,8 +134,8 @@

      Older 3dfx drivers were known to have problems with XVideo acceleration, it didn't support either YUY2 or YV12, and so. Verify that you have -XFree86 version 4.1.0 or greater, it works ok. Alternatively, you can use -DRI cvs. +XFree86 version 4.2.0 or greater, it works ok with YV12 and YUY2. Previous +versions, including 4.1.0 crashes with YV12! If you experience strange effects using -vo xv, try SDL (it has XVideo too) and see if it helps. Check the SDL section for details.

      @@ -227,17 +146,20 @@

      2.3.1.2.2. S3 cards

      S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 -or greater (in case of image problems, try 16bpp). As for S3 Virge.. sell it.

      +or greater (in case of image problems, try 16bpp). As for S3 Virge.. there is +xv support, but the card itself is very slow, so you better sell it.

      NOTE: Savage cards have a slow YV12 image displaying capability (it needs to do YV12->YUY2 conversion, because the Savage hardware can't display YV12). So when this documentation says at some point "this has YV12 output use this, -it's faster", it's not sure. Try.

      +it's faster", it's not sure. Try this +driver, it uses MMX2 for this task and is faster than the native X driver.

      2.3.1.2.3. nVidia cards

      -

      nVidia isn't a very good choice under Linux.. You'll have to use the +

      nVidia isn't a very good choice under Linux (according to NVidia, this +is not true).. You'll have to use the binary closed-source nVidia driver, available at nVidia's website. The standard XFree86 driver doesn't support XVideo for these cards, due to nVidia's closed sources/specifications.

      @@ -252,28 +174,39 @@

      2.3.1.2.4. ATI cards

      -

    • The GATOS driver (which you should use) has VSYNC enabled by default. It means that decoding speed -(!) is synced to the monitor's refresh rate. If playing seems to be slow, try -disabling VSYNC somehow, or set refresh rate to n*(fps of the movie) Hz.
    • +
    • The GATOS driver (which you +should use, unless you have Rage128 or Radeon) has VSYNC enabled by default. It +means that decoding speed (!) is synced to the monitor's refresh rate. If +playing seems to be slow, try disabling VSYNC somehow, or set refresh rate to +n*(fps of the movie) Hz.
    • Radeon VE - currently only XFree86 CVS has driver for this card, version 4.1.0 doesn't. And no TV out support. Of course with MPlayer you can happily get accelerated display, with or without TV output, and -no libraries or X are needed. Read VESA driver and Radeon video overlay sections).
    • +no libraries or X are needed. Read Vidix section. + +

      2.3.1.2.5. NeoMagic cards

      +

      These cards can be found in many laptops. Unfortunately, the driver in + X 4.2.0 can't do Xv, but we have a modified, Xv-capable driver for you. + Download from here. + Driver provided by Stefan Seyfried.

      + +

      To allow playback of DVD sized content change your XF86Config like this :

      +

      -These cards can be found in many laptops. Under Linux, their peak is only DGA. -Unfortunately, the DGA driver in X 4.1.0 doesn't work, you'll have to wait for -4.2.0, or download a modified driver for 4.0.3 or 4.1.0 from here : -http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver -(there is also the patch to the driver's source).
      -Drivers provided by Tomek Jarzynka. +Section "Device"
      +    [...]
      +    Driver "neomagic"
      +    Option "OverlayMem" "829440"
      +    [...]
      +EndSection

      +

      2.3.1.2.6. Trident cards

      If you want to use xv with a trident card, provided that it doesn't @@ -498,24 +431,43 @@

      2.3.1.4. SDL

      +

      SDL (Simple Directmedia Layer) is basically an unified video/audio + interface. Programs that use it know only about SDL, and not about what video + or audio driver does SDL actually use. For example a Doom port using SDL can + run on svgalib, aalib, X, fbdev, and others, you only have to specify the + (for example) video driver to use with the SDL_VIDEODRIVER environment + variable. Well, in theory.

      + +

      With MPlayer, we used its X11 driver's software scaler ability for + cards/drivers that doesn't support XVideo, until we made our own (faster, + nicer) software scaler. Also we used its aalib output, but now we have ours + which is more comfortable. Its DGA mode was better than ours, until + recently. Get it now? :)

      + +

      It also helps with some buggy drivers/cards if the video is jerky + (not slow system problem), or audio is lagging.

      + +

      SDL video output supports displaying subtitles under the movie, on the (if + present) black bar.

      +

      Here are some notes about SDL out in MPlayer.

      - - - + + - - + + - + - - - + + +

      There are several commandline switches for SDL:

        -vo sdl:name   -specifies sdl video driver to use (ie. aalib, dga, x11)
      -ao sdl:namespecifies sdl audio driver to use (ie. dsp, +

      There are several commandline switches for SDL:

        -vo sdl:name   +specifies sdl video driver to use (ie. aalib, dga, x11)
      -ao sdl:namespecifies sdl audio driver to use (ie. dsp, esd, arts)
      -noxvdisables Xvideo hardware acceleration
      -forcexvtries to force Xvideo acceleration
      -noxvdisables Xvideo hardware acceleration
      -forcexvtries to force Xvideo acceleration

      SDL Keys:

      SDL Keys:

      Ftoggles fullscreen/windowed mode
      Ccycles available fullscreen modes
      W/Smappings for * and / (mixer control)
      Ftoggles fullscreen/windowed mode
      Ccycles available fullscreen modes
      W/Smappings for * and / (mixer control)

      @@ -550,13 +502,13 @@

      The FBdev output takes some additional parameters above the others:

      - - - - - - + + + + + +
        -fb   -specify the framebuffer device to use (/dev/fd0)
      -fbmodemode name to use (according to /etc/fb.modes)
      -fbmodeconfig config file of modes (default /etc/fb.modes)
      -monitor_hfreqIMPORTANT values, see example.conf
      -monitor_vfreq
      -monitor_dotclock
        -fb   +specify the framebuffer device to use (/dev/fb0)
      -fbmodemode name to use (according to /etc/fb.modes)
      -fbmodeconfig config file of modes (default /etc/fb.modes)
      -monitor_hfreqIMPORTANT values, see example.conf
      -monitor_vfreq
      -monitor_dotclock

      If you want to change to a specific mode, then use

      @@ -570,9 +522,11 @@ or if you specify the -bpp option, then that.
    • -zoom option isn't supported (software scaling is slow). -fs option isn't supported. You can't use 8bpp (or less) modes.
    • -
    • you possibly want to turn the cursor off : echo -e '\033[?25l'
      +
    • you possibly want to turn the cursor off : echo -e '\033[?25l' + or setterm -cursor off
      and the screen saver: setterm -blank 0
      To turn the cursor back on : echo -e '\033[?25h' + or setterm -cursor on

    NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer, @@ -585,6 +539,9 @@ it has hardware VSYNC support with triple buffering. It works on both framebuffer console and under X.

    +

    WARNING: on non-Linux systems, use Vidix for + mga_vid !!!

    +

    To use it, you first have to compile mga_vid.o:

        cd drivers
    @@ -622,6 +579,10 @@

    The mga_vid driver cooperates with Xv.

    +

    The /dev/mga_vid device file can be read (for example by + cat /dev/mga_vid) for some info, and written for brightness + change : echo "brightness=120" > /dev/mga_vid

    +

    2.3.1.8. SiS 6326 framebuffer (sis_vid)

    @@ -657,29 +618,29 @@ If ./configure detects aalib installed, the aalib libvo driver will be built.

    - - - - - - - - - + + + + + + + + + - + - - - + + + - - - - - + + + +

    You can use some keys in the AA Window to change rendering options:

      1  decrease contrast
    2increase contrast
    3decrease brightness
    4increase brightness
    5switch fast rendering on/off
    6set dithering mode (none, error distribution, floyd steinberg)
    7invert image
    atoggles between aa and mplayer control)

    You can use some keys in the AA Window to change rendering options:

      1  decrease contrast
    2increase contrast
    3decrease brightness
    4increase brightness
    5switch fast rendering on/off
    6set dithering mode (none, error distribution, floyd steinberg)
    7invert image
    atoggles between aa and mplayer control)

    The following command line options can be used:

    The following command line options can be used:

    -aaosdcolor=Vchange osd color
    -aasubcolor=Vchange subtitle color

    where V can be: (0/normal, 1/dark, 2/bold, 3/boldfont, 4/reverse, 5/special)

    -aaosdcolor=Vchange osd color
    -aasubcolor=Vchange subtitle color

    where V can be: (0/normal, 1/dark, 2/bold, 3/boldfont, 4/reverse, 5/special)

    AAlib itselves provides a large sum of options. +

    AAlib itselves provides a large sum of options. Here are some important:

    -aadriverset recommended aa driver (X11, curses, linux)
    -aaextendeduse all 256 characters
    -aaeightuse eight bit ascii
    -aahelpprints out all aalib options
    -aadriverset recommended aa driver (X11, curses, linux)
    -aaextendeduse all 256 characters
    -aaeightuse eight bit ascii
    -aahelpprints out all aalib options

    NOTE: the rendering is very CPU intensive, especially when using AA-on-X @@ -756,14 +717,14 @@

    - - - - - - - - + + + + + + + +

    These switches of command line currently are available for VESA:

      -vo vesa:optscurrently recognized: dga to force dga mode and nodga to disable dga mode. Note: you may omit these parameters to enable autodetect of dga mode. (In the future also will specify mode parameters such as refresh rate, interlacing, doublescan and so on. Samples: i43, 85, d100)
    -screenw, -screenh, -bppforce userdefined mode
    -x, -yset userdefined prescaling
    -zoomenables userdefined prescaling
    -fsscales image to fullscreen
    -fs -zoomscales userdefined prescaling to fullscreen
    -doubleenables double buffering mode. (Available only in DGA mode). Should be slower of single buffering, but has no flickering effects.

    These switches of command line currently are available for VESA:

      -vo vesa:optscurrently recognized: dga to force dga mode and nodga to disable dga mode. Note: you may omit these parameters to enable autodetect of dga mode. (In the future also will specify mode parameters such as refresh rate, interlacing, doublescan and so on. Samples: i43, 85, d100)
    -screenw, -screenh, -bppforce userdefined mode
    -x, -yset userdefined prescaling
    -zoomenables userdefined prescaling
    -fsscales image to fullscreen
    -fs -zoomscales userdefined prescaling to fullscreen
    -doubleenables double buffering mode. (Available only in DGA mode). Should be slower of single buffering, but has no flickering effects.

    @@ -815,59 +776,201 @@

    2.3.1.14. Rage128 (Pro) / Radeon video overlay (radeon_vid)

    + +

    This section is OBSOLETED ! Use Vidix !

    + + +

    2.3.1.15. VIDIX

    + +

    WHAT IS VIDIX

    + +

    VIDIX is the abbreviation for VIDeo Interface for + *niX.
    + VIDIX was designed and introduced as an interface for fast user-space drivers + providing DGA everywhere where it's possible (unlike X11). I + hope that these drivers will be as portable as X11 (not only on + *nix).
    + What is it: +

  • It's a portable successor of mga_vid technology, but it's located in + user-space.
  • +
  • Unlike X11 it provides DGA everywhere it's possible
  • +
  • Unlike v4l it provides interface for video playback
  • +
  • Unlike linux's drivers it uses mathematics library
  • +

    + +

    I can tell you in bold capital letters :
    + VIDIX PROVIDES DIRECT GRAPHICS ACCESS TO BES YUV MEMORY. +

    + +

    Well (it's in my todo) - implement DGA to MPEG2 decoder.

    + +

    This interface was designed as an attempt to fit existing video acceleration + interfaces (known as mga_vid, mga_yuv, radeon_vid) into a fixed scheme. It + provides highlevel interface to chips which are known as BES (BackEnd + scalers) or OV (Video Overlays). It doesn't provide lowlevel interface to + things which are known as graphics servers. (I don't want to compete with X11 + team in graphics mode switching). I.e. main goal of this interface is to + provide maximal speed of video playback but not putting video signal on + screen of your TV or on tape of your VCR. Although these things are also very + significant - it's perfectly other task. (However I guess that it would be + possible to implement something like mini-X (don't mix it with Minix ;) in + the future, if some number of volunteers will be found. +

    + +

    USAGE

    +

    -radeon_vid and rage128_vid provides support for the BackEnd Scaler on ATI Radeon and Rage128 (Pro) chipsets. -It was designed and introduced as analog of mga_vid driver, so you can use it in the same way!
    -But main goal of this driver usage is VESA driver.
    -Simply because VESA enables TV-out on ATI's card but Backend scaler is used after -mode switching. This implementation outputs video stream on both: TV-screen and CRTC -display simultaneously. (It slightly degrades quality of video output but it's -much better than nothing). -Sorry! I couldn't find out any video overlay's related information -on ATI pages. (I planned to implement it through int 10h calls). But it was -very easy to implement this stuff through reading/writing Radeon ports. -
    NOTE: XXX_VID technology is perfectly undocumented and maybe in the -future this stuff will be fully rewritten. This is the first public release of -driver.

    +
  • You can use standalone video output driver: -vo xvidix
    + This driver was developed as X11's front end to VIDIX technology. It + requires XServer and can work only under XServer.
  • +
  • You can use VIDIX subdevice which was applied to several video output + drivers, such as:
    + -vo vesa:vidix and -vo fbdev:vidix
  • + Indeed it doesn't matter which video output driver is used with VIDIX. +

    -

    Installation

    +

    REQUIREMENTS

    +

  • video card should be in graphics mode (I write should simply + because I tested it in text mode - it works but has awful output ;) Use + AAlib for that).
    + Note: Everyone can try this trick by commenting out mode switching in + vo_vesa driver.
  • +
  • MPlayer's video output driver should know active video mode and be + able to tell to VIDIX subdevice some video characteristics of server.
  • + I hope that probably every video output driver of MPlayer will + recognize :vidix subdevice. +

    + +

    USAGE METHODS

    + +

    When VIDIX is used as subdevice (-vo vesa:vidix) then + video mode configuration is performed by video output device + (vo_server in short). Therefore you can pass into command line of + MPlayer the same keys as for vo_server. In addition it understands + -double key as globally visible parameter. (I recommend using + this key with VIDIX at least for ATI's card).
    + As for -vo xvidix : currently it recognizes the following + options: -fs -zoom -x -y -double.
    +

    + +

    Also you can specify VIDIX's driver directly as third subargument in command + line :
    +
    +   mplayer -vo xvidix:mga_vid.so -fs -zoom -double + file.avi
    + or
    +   mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp + 32 file.avi
    +
    + But it's dangerous, and you shouldn't do that. In this case given driver will + be forced and result is unpredictable (it may freeze your + computer). You should do that ONLY if you are absolutely sure it will work, + and MPlayer doesn't do it automatically. Please tell about it to the + developers. The Right Way is to use VIDIX without arguments to enable driver + autodetection. +

    + +

    + VIDIX is very new technology and it's extremely possible that on your system + (OS=abc CPU=xyz) it won't work. In this case only solution for you it's port + it (mainly libdha). But there is hope that it will work on those systems + where X11 does. +

    + +

    And the last WARNING: (un)fortunately you MUST have + ROOT privileges to use VIDIX due to direct hardware access. At least + set the suid bit on the MPlayer excecutable. +

    + +

    VIDEO EQUALIZER

    + +

    + This is a video equalizer implemented especially for Vidix. You can use + it either with 1-8 keys as described in the manpage, or + by command line arguments. MPlayer recognizes the + following options : +

    + +

    +   -brightness - adjust BRIGHTNESS of video + output. It's not equal to brightness adjusting on monitor panel or on TV. It + changes intensity of RGB components of video signal from black to white + screen.
    +   -contrast - adjust CONTRAST of video output. + Works in similar manner as brightness.
    +   -saturation - adjust SATURATION of video + output. You can get grayscale output with this option.
    +   -hue - adjust HUE of video signal. You can + get colored negative of image with this option.
    +   -red_intensity - adjust intensity of RED + component of video signal.
    +   -green_intensity - adjust intensity of GREEN + component of video signal.
    +   -blue_intensity - adjust intensity of BLUE + component of video signal. +

    +

    + Each parameter can accept values from -1000 to +1000.
    + Default value for each parameter is 0. +

    +

    + Note: Not every driver provides support for each of those parameters. + Currently only radeon_vid.so provides full support for video eqalizing. + Other drivers only partly support these options. +

    +

    Examples:
    + mplayer -vo vesa:vidix -brightness -300 -contrast 200 + filename.avi
    + or
    + mplayer -vo xvidix -red_intensity -50 -saturation 400 -hue 300 + filename.vob +

    + + +

    2.3.1.16. Zr

    + +

    This is a display-driver (-vo zr) for a number of MJPEG +capture/playback cards (tested for DC10+ and Buz, and it should work for the +LML33, the DC10). The driver works by encoding the frame to jpeg and then +sending it to the card. For the jpeg encoding libavcodec is +used, and required.

    + +

    This driver talks to the kernel driver available at +http://mjpeg.sourceforge.net, so +you must get it working first. Then recompile MPlayer with +--enable-zr.

    + +

    Some remarks:

      -
    • - cd drivers/radeon
      - make
      - make install
      - make nodes
    • -
    • add one of the following at the end of the /etc/modules.conf file :
      -   alias char-major-178 radeon_vid
      -   alias char-major-178 rage128_vid
    • -
    • run depmod -a
    • +
    • don't start or stop XawTV on the playback device during playback, + it will crash your computer. It is, however, fine to FIRST start + XawTV, THEN start MPlayer, wait for MPlayer to finish + and THEN stop XawTV.
    • +
    • this driver adds -zr* commandline options. The explanation + of these options can be viewed with -zrhelp. It is possible to + crop the input frame (cut borders to make it fit or to enhance performace) + and to do other things.
    • +
    • the driver takes data in YV12 and YUY2 format, this means that some + codecs won't work. Some old VfW (Video for Windows) codecs, for example, + are incompatible with this driver. The errormessage that you will see is: + Sorry, selected video_out device is incompatible with this codec. +
    • +
    • OSD is currently not supported, so you won't see + subtitles.

    -

    -
    Usage:
    -  mplayer -vo vesa:lvo:/dev/radeon_vid <your options> filename -

    - -

    More examples (for hardware deinterlacing, etc) can be found - here.

    - -

    NOTE: don't use any framebuffers when you plan to use this driver ! Use -it only from textmode console.

    - -

    -Conclusion: I know there are lot of lacks and bugs. So if you are able -to improve something then simply send me your patches. -

    2.3.1.A. TV-out support

    -

    2.3.1.A.1. Matrox cards

    +

    2.3.1.A.1. Matrox G400 cards

    -

    Under Linux you have 2 methods to get TV out working :

    +

    Under Linux you have 2 methods to get G400 TV out working :

    + +

    IMPORTANT: Only Matrox G400DH/G400MAX has TV-out support under Linux, others (G450, G550) has NOT!

      @@ -880,11 +983,14 @@ 3D engine to zoom, and the YUV framebuffer to display the zoomed image. If you really want to use X, use the -vo x11 -fs -zoom options, but it will be SLOW, and has Macrovision copyprotection - enabled. + enabled (you can "workaround" Macrovision using + this perl + script.
    • Framebuffer: using the matroxfb modules in the 2.4 kernels. 2.2 kernels don't have the TVout feature in them, thus unusable for this. You have to enable ALL matroxfb-specific feature during compilation (except - MultiHead), and compile them into modules! + MultiHead), and compile them into modules! You'll also need I2C + enabled.
      • Enter TVout/matroxset and type make. Install @@ -911,13 +1017,14 @@ and turn off screen blanking. Execute the following commands:

        - echo -e '\033[?25l'
        + echo -e '\033[?25l' or setterm -cursor off
        setterm -blank 0

        You possibly want to put the above into a script, and also clear the screen.. To turn the cursor back :
        echo -e '\033[?25h' + or setterm -cursor on

        Yeah kewl. Start movie playing with mplayer -vo mga -fs -screenw 640 @@ -971,8 +1078,8 @@ we have no chance to get working TV-out on ATI.

        What's status of ATI's tv-out chips under Linux: -

      • ATI Mach64 has ImpacTV which is supported by gatos. -
      • ASIC Radeon VIVO has Rage Theatre which is supported by gatos. +
      • ATI Mach64 has ImpacTV which is supported by gatos. +
      • ASIC Radeon VIVO has Rage Theatre which is supported by gatos.
      • Radeon VE and Rage PRO LT have ImpacTV2+ which is not supported under Linux. But with MPlayer you get full hardware acceleration and TV out for Radeons !