From 80c90e39c69d726dd273cb4e9b07fed27b52d1ef Mon Sep 17 00:00:00 2001
From: gabucino
Date: Sun, 16 Dec 2001 11:51:02 +0000
Subject: [PATCH] began updated translation by
(work-in-progress)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3524 b3059339-0415-0410-9bf9-f77b7e298cf2
---
DOCS/Polish/DVB | 72 +
DOCS/Polish/DXR3 | 103 ++
DOCS/Polish/bugreports.html | 163 ++
DOCS/Polish/cd-dvd.html | 227 +++
DOCS/Polish/codecs-in.html | 223 +++
DOCS/Polish/codecs.html | 352 +++++
DOCS/Polish/documentation.html | 1634 +++++++++++++++++++++
DOCS/Polish/encoding.html | 255 ++++
DOCS/Polish/faq.html | 923 ++++++++++++
DOCS/Polish/formats.html | 168 +++
DOCS/Polish/gcc-2.96-3.0.html | 111 ++
DOCS/Polish/mencoder.1 | 256 ++++
DOCS/Polish/mplayer.1 | 643 ++++++++
DOCS/Polish/skin-en.html | 867 +++++++++++
DOCS/Polish/sound.html | 127 ++
DOCS/Polish/users_against_developers.html | 128 ++
DOCS/Polish/video.html | 1005 +++++++++++++
17 files changed, 7257 insertions(+)
create mode 100644 DOCS/Polish/DVB
create mode 100644 DOCS/Polish/DXR3
create mode 100644 DOCS/Polish/bugreports.html
create mode 100644 DOCS/Polish/cd-dvd.html
create mode 100644 DOCS/Polish/codecs-in.html
create mode 100644 DOCS/Polish/codecs.html
create mode 100644 DOCS/Polish/documentation.html
create mode 100644 DOCS/Polish/encoding.html
create mode 100644 DOCS/Polish/faq.html
create mode 100644 DOCS/Polish/formats.html
create mode 100644 DOCS/Polish/gcc-2.96-3.0.html
create mode 100644 DOCS/Polish/mencoder.1
create mode 100644 DOCS/Polish/mplayer.1
create mode 100644 DOCS/Polish/skin-en.html
create mode 100644 DOCS/Polish/sound.html
create mode 100644 DOCS/Polish/users_against_developers.html
create mode 100644 DOCS/Polish/video.html
diff --git a/DOCS/Polish/DVB b/DOCS/Polish/DVB
new file mode 100644
index 0000000000..874117d676
--- /dev/null
+++ b/DOCS/Polish/DVB
@@ -0,0 +1,72 @@
+
+Some words about Siemens-DVB card support. by A'rpi
+==========================================
+
+NOTE: this is very experimental!
+
+Requirements:
+~~~~~~~~~~~~~
+- Siemens DVB-S card or compatible (technotrend,galaxis,hauppage etc)
+ see www.linuxtv.org for details and download latest driver there.
+- MPlayer-CVS, ffmpeg-libavcodec. divx4linux is recommended for speed & pp.
+- Fast CPU - at least for software decoding (divx...)
+
+
+How to enable?
+~~~~~~~~~~~~~~
+
+1. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
+ Move this line from #ifdef CONFIG_ENCODERS .. #endif section to outside
+ (after the #endif line) at libavcodec/utils.c:361 :
+ register_avcodec(&mpeg1video_encoder);
+
+2. Compile mplayer:
+ ./configure should detect it. If didn't, force with ./configure --enable-dvb
+ If you have ost headers at non-standard path, set it with:
+ --with-extraincdir=/ost/include
+ make
+ make install
+
+
+How to use?
+~~~~~~~~~~~
+To play standard mpeg 1/2 files: (hardware decoding)
+
+ mplayer -ao mpegpes -vo mpegpes -vc mpegpes file.mpg|vob
+
+To play non-standard mpeg files: (software decoding)
+
+ mplayer -ao mpegpes -vo mpegpes file.mpg|vob
+
+To play divx files:
+
+ mplayer -vo mpegpes -vc ffdivx|odivx file.avi|asf
+
+To play non-25fps movies, or with slow CPU, add option: -framedrop
+
+Image size:
+~~~~~~~~~~~
+DVB card allows only 2 vertical resolutions: 288 and 576.
+If your video height differs, you have to clip it or extend by adding
+black bands. It's done by mplayer, just specify image size using the
+-x and -y options. You must use either -y 288 or -y 576.
+
+To force pan&scan (16:9 at 4:3 TV), add options: -x 352 -y 288
+
+Mailing list:
+~~~~~~~~~~~~~
+ http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
+
+List's language is ENGLISH. Please avoid using german or other languages!
+Subscribe, and ask/discuss your problems here.
+I'll also post feature announces to this list.
+
+Future plans/TODO:
+~~~~~~~~~~~~~~~~~~
+
+- display OSD and subtitles using DVB card's OSD feature
+- better (more fluent) playback of non-25fps movies
+- more speed optimizations
+- YUY2 support (for win32 codecs, like Indeo5 and WMV 7/8)
+- realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
+
diff --git a/DOCS/Polish/DXR3 b/DOCS/Polish/DXR3
new file mode 100644
index 0000000000..b3f7fd60e9
--- /dev/null
+++ b/DOCS/Polish/DXR3
@@ -0,0 +1,103 @@
+DXR3/H+ video/audio output plugins manual by David Holm
+=======================================================
+
+2001-12-04: Thanks to Inaki Garci'a Etxebarria of
+ zapping.sourceforge.net we have now
+ abandoned rte since it caused problems for
+ users who didn't rtfm and compiled it with
+ ffmpeg support. Instead we are now using
+ libmp1e which is a modified version of mp1e.
+
+2001-11-29: Thanks to Felix Buenemann I managed to
+ optimize the odivx playback as well as add
+ support for the rest of the codecs!
+
+2001-11-28: ffmpeg replaced with mp1e, divx playback
+ won't get much faster than this, huge thanks
+ goes out to Ivan Kalvachev for helping me
+ fix the final mp1e bugs (and contributing
+ to the libvo2 development)
+
+1. Introduction
+
+The DXR3 and Hollywood+ are two not too different mpeg-(1/2) and ac3
+hardware playback cards that came at about the same time as the first
+dvd-rom drives hit the market. At that time most computers weren't
+powerful enough for synced software dvd playback. And even the faster
+(intel-based) computers had troubles with artifacts.
+Sigma Designs came up with the great idea to create a hardware
+mpeg-(1/2), ac3 decoder. Sigma Designs are known for their realmagic
+hardware (or they bought the company who came up with the first
+realmagic boards, I don't know which).
+Later Creative Labs thought, hey, we also wan't this product, and to
+distribute it with our dvd-drives (the DVD Encore packages if I recall
+correctly). So they bought the designs for the Hollywood plus and
+replaced the circuit used to produce a proper video feed for tv's
+called adv7170 or adv7175a depending on which h+ board you own with
+a bt865. The reason for this is beyond my understanding as this seems
+complete illogical to me, but I have had great experiences with
+bt(brooktree) circuits in the past, so I don't mind.
+Well, nowadays most people have no use for a mpeg-(1/2) or ac3
+hardware decoder since most computers these days have no problem doing
+this in software and have cycles left for posprocessing (removing of
+artefacts and other garbage produced by compression).
+These days, you have two uses for this card:
+1. You have a slow computer which you use for vcd/dvd playback
+2. You discover what I have done with the implementation of this as
+ an audio/video output device for mplayer (read on and you'll find
+ out).
+
+
+
+2. Requirements
+
+ * First of all you will need the DXR3/H+ drivers properly installed.
+ Version 0.9.0 or later
+
+ * Run /configure and make sure that DXR3/H+ support = yes
+
+ From here on compilation (of at least my code ;) should go without any
+ problems.
+
+
+
+3. Usage
+
+After installation you will have two new outdevices in mplayer:
+ -vo dxr3 For video output
+ -ao dxr3 For audio output
+
+MPEG-1, MPEG-2, VCD and DVD Notes
+There are some notes to take into account here for optimum playback.
+When playing any mpeg-(1/2) file, this including usage of the "-dvd"
+and "-vcd" options you must either add the "-vc mpegpes" or edit
+codecs.conf and make sure videocodec mpegpes is listed above mpeg12.
+If you fail to do this you will only get software playback which kinda
+spoils most of the useful features of this card except for tv-out ;).
+Remember that if you edit the codecs.conf file and move the mpegpes
+section will have to specify "-vc mpeg12" if you want to playback
+any of these video types _without_ "-vo dxr3"!
+
+DIVX Notes
+When playing divx's add "-vc odivx" for maximum performance.
+I've switched to mp1e from ffmpeg so it should be lightning fast now.
+
+Other codecs:
+No "-vc " switches should be required as mplayer will autodetect.
+If you find an unsupported codec please contact me!
+
+* Avoid running mplayer as root or setuid root as rtc timing seems to
+ slow down playback on the dxr3 for some users. I will look into this
+ at a later point as this hardly qualifies as a severe bug *
+
+
+
+4. Contacting me
+
+You can contact me either by e-mailing me, or by using
+icq: 798427
+Feedback, bugreports and general suggestions are appreciated (preferably
+by e-mail). My name is David Holm for those of you who are incapable of
+reading a heading. ;)
+
+
diff --git a/DOCS/Polish/bugreports.html b/DOCS/Polish/bugreports.html
new file mode 100644
index 0000000000..337f8d144b
--- /dev/null
+++ b/DOCS/Polish/bugreports.html
@@ -0,0 +1,163 @@
+
+
+
+
+
+
Don't send bugreports private, directly to author's address!!!
+We are working together on code, so everyone is interested in it.
+BTW many times other users know the solution (system config probs,
+bad drivers etc), even when we think it's a bug in our code.
+The language of this list is ENGLISH!
+
+
Please describe your problem in details, examples etc, and don't
+forget to include these:
+
+
What?
+
+
1. The system info what we always want:
+
+
+
linux distribution
+examples:
+
RedHat 7.1
+
Slackware 7.0 + devel packs from 7.1 ...
+
kernel version:
+ uname -a
+
libc version:
+ ls -l /lib/libc[.-]*
+
X version:
+ X -version
+
gcc and ld version:
+ gcc -v
+ ld -v
+
binutils version:
+ as --version
+
+
+
2. Hardware & drivers:
+
+
+
CPU info:
+ cat /proc/cpuinfo
+
video card manufacturer and model
+ examples:
+
ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM
+
Matrox G400 DH 32MB SGRAM
+
video driver type&version
+ examples:
+
X built-in driver
+
nvidia 0.9.623
+
Utah-GLX CVS 2001-02-17
+
DRI from X 4.0.3
+
sound card type & driver
+ examples:
+
Creative SBLive! Gold with OSS driver from oss.creative.com
+
Creative SB16 with OSS drivers of kernel
+
GUS PnP with ALSA OSS emulation
+
if you are unsure, attach output of lspci -v
+
+
+
For compiling problems/errors
+
+
3. these files:
+
configure.log
+
config.h
+
config.mak
+
libvo/config.mak
+
+
+
For playback problems:
+
+
3. Output of mplayer at verbose level 1 (-v)
+
mplayer -v [options] filename &> mplayer.log
+
+
4. If the problem is specific to one or a few files,
+ then please upload that file to:
+
ftp://mplayerhq.hu/MPlayer/incoming/
+ Also upload a small .txt file with the same name as your file,
+ describing the problem!
+ Usually first 1-5 MB of the file is enough to reproduce
+ the problem, but first you should try it:
+
dd if=yourfile of=smallfile bs=1k count=1024
+ (it will cut first 1MB of 'yourfile' and save to 'smallfile')
+ Then try again on this small file, and if bug still exists
+ then it's enough to upload this small file.
+ NEVER send such files via mail! Upload it, and send only
+ the path/filename of the file on the FTP.
+ If the file is accessible on the net, then sending the
+ _exact_ URL is enough!
+
+
5. For crashes (segfault, SIGILL, signal 4 etc):
+
+
If you have coredump of the crash, see 5.a, else see 5.b:
+
+
5.a: Please print us coredump (if it was created).
Re-compile mplayer with debugging code enabled:
+./configure --enable-debug
+make
+
+
[at root/user shell prompt:]
+ # gdb mplayer
+[at gdb prompt:]
+ > run -v [options-to-mplayer] filename
+ ... (wait until it will crash)
+ > bt
+ > disass $eip-32 $eip+32
+Send us the full output of the above things!
+
+
+
In general:
+
+
If something is big (logs etc) then it's better to upload to the ftp
+(gzipped), and include only path/filename in the bugreport!
+
+
I know what am I doing...
+
+
If you created a proper bugreport following the above steps, and you are
+sure it's mplayer bug, not compiler's problem or broken file, you've already
+readed through docs and you didn't find the solution, your sound drivers are ok,
+then you may want to subscribe to the mplayer-advusers list and send your
+bugreport there to get better and faster answer. But BE WARNED: if you post
+newbie or rtfm-type questions there, you'll be immediatelly banned, instead or
+getting answered!!! So don't flame us, subscribe -advusers only if you really
+know what are you doing and you feel you as advanced mplayer user or developer.
+(and about how to subscribe: find it out! if you're really an advanced user,
+it shouldn't be a problem for you...)
+
+Notes:
+- Do NOT mount VCD disks and play DAT files directly! It may work under windows
+but won't work under linux. You have to play them directly, with the -vcd
+option!
+- VCD disks usually have 2 tracks: a data track (containing autostart windows
+playback program, karaoke data etc) and a mode-2 track (the movie), so try
+-vcd 2 first!
+- the default VCD device is /dev/cdrom. if your device differs, then you have
+to make a symlink, or specify it in command line!
+
+
+
From Linux documentation:
+
+
Some CDROM drives are capable of changing their head-speed. There are several
+reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may
+benefit from less-than-maximum head rate. Modern CDROM drives can obtain very
+high head rates (up to 24-times is common). It has been reported that these
+drives can make reading errors at these high speeds, reducing the speed can
+prevent data loss in these circumstances. Finally, some of these drives can
+make an annoyingly loud noise, which a lower speed may reduce.
+
+
The recommended way to do it is with a program called 'setcd' . It's kinda
+old, but won't be too hard to find on the Net. (UPDATE : new hdparm
+has an option for this !)
+Use it with :
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 which has got built in support for IFO
+parsing, reading navi blocks and doing authentication/descrambling. libdvdread
+uses libdvdcss to the latter tasks. So you will need libdvdcss and libdvdread
+downloaded, compiled and installed BEFORE you run ./configure script of
+MPlayer which will autodetect libdvdread for you in this way.
+
+
+
Download source of libdvdread and libdvdcss.
+
+
You can download them from
+http://www.dtek.chalmers.se/groups/dvd
+(click 'download' in the menu at the left, and you can find libdvdcss and
+libdvdread in a table).
+
+
IMPORTANT !
+For
+
+
libdvdread 0.8 - you'll need libcss instead of libdvdcss
+
libdvdread 0.9 - you'll need libdvdcss 0.0.3 ! Don't use newer
+ versions, they won't work!
+
For example never use libdvdcss 1.0, it will be unusably slow!
+
+
+
+
+
Compile and install libdvdcss THEN libdvdread.
+
+
Read documentation of these packages to do this step easily.
+
+
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.
+
+
+
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.
+
+
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)
+
-sid <subtitle_id>
+
Turns DVD subtitle displaying (of the given subtitle_id or language) on (default: no)
+ For the list of available languages, use -sid 1 -v options and
+ browse the output.
+
+
+
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:
+
+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.
+
+
+
Q:
+Can I compile libdvdread and libdvdcss for example on my sweet Sparc/Solaris?
+
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:
+What about subtitles? Can MPlayer display them?
+
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:
+How can I set the region code of my DVD-Drive ? I don't have windows!
+
+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:
+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
+the proper rights to the DVD device driver entry (in /dev).
+
+
+
Q:
+How can I ... (insert some expectable DVD player feature here)?
+
A:
+The current implementation is the first implementation of some real DVD
+player functionality. First, we would like to target existing bugs and
+basic features before implementing new features.
+
+
+
Q:
+Where can I get libdvdread and libdvdcss packages from?
+
DivX ;-), OpenDivX (DivX4), 3ivx i inne warianty MPEG4
+
Windows Media Video 7 (WMV1) i 8 (WMV2) wykorzystywany w plikach .wmv
+
Kodeki Intel Indeo (3.1,3.2,4.1,5.0)
+
MJPEG, ASV2 i inne formaty sprzętowe
+
Kodeki XAnim
+
VIVO
+
+
+
Jeśli masz kodeka Win32 nie wymienionego tutaj, oraz jeszcze nie
+obsługiwanego, przeczytaj importowanie kodeków, by uzyskać
+informacje o tym, jak pomóc nam w dodaniu wsparcia dla niego!
Ta sekcja zawiera informacje o kodekach DivX4 z ProjectMayo. Ich pierwszą dostępną wersją
+alfa był OpenDivX 4.0 alfa 47 oraz 48. Wsparcie dla nich zostało dołączone w
+MPlayerze, i jest kompilowane standardowo. Dawniej używaliśmy kodu
+postprocessing z tych kodeków do opcjonalnego zwiększenia jakości filmów
+MPEG1/2. Teraz już stosujemy własny.
+
+
Nowa generacja tych kodeków potrafi nawet dekodować filmy zrobione z użyciem
+niesławnych kodeków DivX! Ale to jeszcze nie wszystko! Są one DUŻO szybsze, niż
+tradycyjne DLLe Win32 DivX. Zobacz poniżej opis konfiguracji. Jedyną wadą tych
+kodeków jest fakt, że aktualnie są one closed-source. :(
Rozpakuj je i uruchom, jako root, polecenie: ./install.sh .
+
+
Uwaga: NIE zapomnij dodać /usr/local/lib do /etc/ld.so.conf !
+
+
MPlayer automatycznie wykrywa czy DivX4 jest (właściwie)
+zainstalowany, wystarczy go, tak jak zawsze, skompilować. Jeśli mplayer nie
+wykrywa DivX4, oznacza to, że nie zainstalowałeś go w taki sposób jak powyżej
+podano, i/lub popsułeś konfigurację (zobacz ostatnie pytanie w sekcji 5.1).
+
+
Używanie tego kodeka jest trochę skomplikowane. Ponieważ powstaje konflikt
+ze starym OpenDivX (jego API jest bardzo podobne do do tego z OpenDivX), kod
+OpenDivX jest wyłączony, również sterownik OpenDivX wywołuje tą bibliotekę.
+
+
Ogólnie możemy sprowadzić to zagadnienie do faktu, że masz dwie opcje do
+zastosowania tego kodeka:
+
+
+
-vc odivx
użycie kodeka divx4 jako
+nowej wersji OpenDivX. W tym przypadku produkuje on we własnym buforze obrazy
+YV12 oraz MPlayer (libvo) dokonuje konwersji przestrzeni kolorów.
+(REKOMENDOWANE!)
-vc divx4
użycie konwersji
+przestrzeni kolorów z kodeka divx4. W tym trybie można użyć również
+YUY2/UYVY.
+
+
+
Metoda 'odivx' jest zazwyczaj szybsza, ze względu na fakt, że przenosi ona
+dane obrazu do formatu YV12 (planar YUV 4:2:0), a to wymaga dużo mniejszego
+pasma przenoszenia na szynie. W trybie spakowanego YUV (YUY2, UYVY) stosuj
+metodę 'divx4'. W trybie RGB możesz dowolnie wybierać, ponieważ prędkości ich
+są takie same, różnią się być może tylko w odniesieniu do aktualnego bpp.
+
+
Uwaga: ten kodek wspiera również postprocessing, ale zakres wartości jest
+dziwny: (UAKTUALNIĆ)
+
+
+
0
+
bez postproc
+
10 .. 20
+
postprocessing, normalny (jak na poziomie 2 z divxd)
+
30 .. 60
+
mocny prostprocessing, obciąża mocno CPU (podobnie jak poziom 4 z divxd
Poczynając od wersji 0.4.2, ffmpeg zawiera kodek DivX
+opensource, który jest kompatybilny z tradycyjnym DivX. MPlayer
+wspiera ten kodek i dzięki temu możliwe staje się oglądanie filmów
+DivX/DivX4 na platformach innych niż x86 oraz osiąganie dużo szybszej
+prędkości dekodowania DivX/DivX4, niż za pomocą kodeków Win32 i
+oryginalnych bibliotek DivX4 . Ponieważ zostało to usunięte z drzewa cvs
+MPlayera, musisz ściągnąć to ręcznie bezpośrednio z drzewa cvs
+FFmpeg
.
+
+
+ cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login
+ cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg
+
+
+
UWAGA: Jeśli kopiujesz z podkatalogami CVS, następnym razem wystarczy
+zrobić 'cvs update'.
+
+
Teraz przenieś nowo ściągnięte źródła ffmpeg: katalog libavcodec, (ze
+wszystkimi jego podkatalogami) do drzewa katalogowego MPlayera, tak, aby
+to wyglądało w taki sposób:
+
+
main/libavcodec
+
+
Linkowanie symboliczne NIE jest wystarczające. Musisz to skopiować bądź
+przenieść!!!
+
+
Następnie skompiluj. configure wykrywa czy wszystko jest w porządku i może
+być skompilowane. Ten kodek również wspiera postprocessing!
+
+
W celu użycia go, odśwież swój plik codecs.conf, zgodnie z tym, co mówią
+strony podręcznika lub example.conf (opcja -vfm).
+
+
Aby osiągnąć największą prędkość na moim K6, usuwam sekcję
+ffmpeg12 z codecs.conf (ten kodek nie jest zoptymalizowany a
+libmpeg2 jest dwa razy szybszy), i wpisuję vfm=5 w moim pliku
+konfiguracyjnym. Po czym MPlayer zawsze już używa ffdivx/ffodivx
+do dekodowania plików DivX/DivX4 oraz libmpeg2 do plików MPEG1/2. Przy
+takiej konfiguracji na moim K6/2 500 z Matrox G400 mogę oglądać filmy
+DivX/DivX4 w najwyższej rozdzielczości, bez straty klatek (framedrop).
Używanie (niektórych) kodeków XAnim z innym programem niż XAnim, jest
+NIELEGALNE. TWOIM obowiązkiem jest przeczytanie
+licencji i zastosowanie się do niej. Autorzy MPlayera nie mogą zostać
+pociągnięci do odpowiedzialności za jakiekolwiek, sprzeczne z prawem,
+zachowania użytkowników.
+
+
A więc: tak, MPlayer potrafi używać do dekodowania kodeków XAnim.
+Włączenie ich jest bardzo proste:
+
+
+
+
Ściągnij kodeki, których chcesz używać ze
+strony XAnim. Nie ma tam kodeka
+3ivx , więc ściągnij go ze strony
+3ivx.
+
+
Użyj opcji --with-xanimlibdir, aby podać dla configure,
+gdzie znajdują się kodeki xanim. Domyślnie są one szukane w katalogu
+/ (...) .
+
+
Zmień nazwy plików, obcinając część dotyczącą architektury tak, aby
+wyglądały one następująco: vid_cvid.xa, vid_h263.xa, vid_iv50.xa
+
+
+
+
+
Jest to rodzina kodeków video o numerze 10, przydatne więc będzie użycie
+opcji -vfm 10 i poinformowanie MPlayera, by ich użył jeśli
+to możliwe.
MPlayer potrafi odgrywać obrazy Vivo (1.0 i 2.0). Najbardziej
+odpowiedni kodek do plików 1.0, to dekoder FFmpeg's H263, Możesz go użyć za
+pomocą opcji -vc ffh263 (będziesz potrzebował najnowszego
+libavcodec!). Do plików 2.0 użyj ivvideo.dll pliku DLL Win32 (do
+sciągnięcia tutaj),
+zainstaluj go w /usr/lib/win32, bądź w innym miejscu, w którym
+przechowujesz kodeki Win32. Ten późniejszy kodek nie obsługuje trybów YV12 ani
+YUY2, a tylko BGR i jest użyteczny wyłącznie z wyjściami X11 i OpenGL. Miejmy
+nadzieję, że ffh263 będzie wspierał pliki VIVO 2.0 w przyszłości.
MPEG1 i MPEG2 są dekodowane za pomocą biblioteki własnej libmpeg2.
+Jej kod źródłowy jest zawarty w MPlayerze i oczywiście jest
+wieloplatformowy. Obsługujemy pliki video MPEG1/2 z błędami przez sprawdzanie,
+jaką sygnaturę zwraca libmpeg2, i kiedy jest to sig11 (segmentation fault),
+szybko inicjalizujemy ponownie kodek, i kontynuujemy dokładnie z tego miejsca,
+w którym pojawił się błąd. Nie ma tu zauważalnej straty prędkości.
Jest bardzo stary i bardzo zły kodek Microsoftu. W przeszłości był on
+dekodowany z kodekiem Win32 msvidc32.dll, teraz mamy własną
+implementację open-source wykonaną przez Mike'a Melansona).
Najlepszym sposobem, aby oglądać obrazy Cinepak za pomocą MPlayera
+jest użycie kodeka XAnim vid_cvid.xa, ponieważ obsługuje on wyjścia
+YV12, YUY2, w przeciwieństwie do kodeka Win32, który wspiera wyłącznie RGB.
Domyślny dekoder, używany do plików z dźwiękiem AC3.
+
+
Dekoder AC3 może tworzyć mieszanki wyjściowego dźwięku dla 2, 4 lub 6
+głośników. Skonfigurowany dla 6 głośników, dekoder ten dostarcza oddzielne
+wyjścia dla wszystkich kanałów AC3 do sterownika karty dźwiękowej, umożliwiając
+doświadczenie wrażenia pełnego "dźwięku otaczającego", bez wymagania od
+zewnętrznego dekodera AC3 użycia kodeka hwac3.
+
+
Użyj opcji -channels, aby wybrać ilość kanałów wyjściowych.
+Użyj opcji -channels 2 dla stereo downmix. Dla czterokanałowego
+downmix (wyjścia lewo-przód, prawo-przód, lewo-tył, prawo-tył), użyj opcji
+-channels 4. W tym przypadku jakikolwiek centralny kanał będzie
+miksowany odpowiednio do przednich kanałów. Ostatecznie, "-channels 6" będzie
+wyprowadzało wszystkie kanały AC3 tak, jak są zakodowane - w kolejności lewy,
+prawy, lewy-tylny, prawy-tylny, centralny oraz LFE.
+
+
Domyślna liczba kanałów wyjściowych wynosi 2.
+
+
Aby korzystać z więcej niż dwóch kanałów wyjściowych, musisz użyć OSS, i
+posiadać sterownik dla karty dźwiękowej, który obsługuje odpowiednią liczbę
+kanałów wyjściowych przez SNDCTL_DSP_CHANNELS ioctl. Na przykład wersja
+sterownika emu10k1 (używanego z kartami SB Live), nowsza niż z sierpnia 2001,
+powinna być odpowiednia.
+
+
Miksowanie na wyjściu więcej niż dwóch kanałów powinno być traktowane jako
+eksperymentalne.
Potrzebna ci będzie karta dźwiękowa, zdolna do obsługi AC3, z cyfrowym
+wyjściem (SP/DIF). Sterownik karty dźwiękowej musi obsługiwać format AFMT_AC3
+(tak, jak to jest w SB Live!). Połącz swój dekoder AC3 do wyjścia SP/DIF oraz
+użyj opcji '-ac hwac3'. To może zadziałać, bądź nie (status eksperymentalny -
+najprawdopodobniej nie zadziała).
Kodek dźwięku stosowany do plików VIVO zależy od tego, czy jest to plik
+VIVO/1.0, czy VIVO/2.0. Pliki VIVO/1.0 zawierają dźwięk g.723, zaś pliki
+VIVO/2.0 mają Vivo Siren. Obecnie żaden z nich nie jest wspierany, ale
+możesz ściągnąć kodek g.723 z
+tej
+strony, a następnie skopiować go do katalogu /usr/lib/win32
+lub innego odpowiedniego.
VfW (Video for Windows), jest to stare Video API dla Windows. Jego kodeki
+mają rozszerzenia .DLL lub (rzadziej) .DRV.
+Jeśli MPlayer nie działa z twoim AVI:
+
+
UNKNOWN video codec: HFYU (0x55594648)
+
+
To oznacza, że twój AVI jest zakodowany za pomocą kodeka, który ma HFYU
+fourcc (HFYU = kodek HuffYUV, DIV3 = DivX Low Motion, itd....). Teraz, gdy już
+to wiemy, będziemy musieli dowiedzieć się, którą bibliotekę DLL z Windows
+załadować, aby móc odtworzyć ten plik. W naszym przypadku system.ini zawiera to
+(oraz wiele innych):
+
+
VIDC.HFYU=huffyuv.dll
+
+
Tak więc będziemy potrzebować pliku huffyuv.dll. Zauważ, że kodeki dźwięku są wyróżnione za pomocą prefiksu MSACM:
+
+
msacm.l3acm=L3codeca.acm
+
+
+
To jest kodek MP3. Mając już wszystkie potrzebne informacje (fourcc,
+plik z kodekiem, próbka AVI), wyślij żądanie wsparcia dla twojego kodeka mailem
+i załaduj te pliki przez FTP:
DirectShow to najnowsze Video API, które jest nawet gorsze, niż jego
+poprzednik. Sprawy się bardziej komplikują, odkąd:
+
+
system.ini nie zawiera potrzebnych informacji, a w zamian za to jest przechowywany w rejestrze :(
+
będzie potrzebny nam GUID kodeka.
+
+
+
Więc znajdźmy ten przeklęty rejestr ...
+
+
Uruchom 'regedit'.
+
Wciśnij ctrl-f, odznacz pierwsze dwie opcje i zaznacz trzecią. Wpisz
+fourcc kodeka (np.: TM20).
+
Powinno się pokazać pole ze ścieżką i nazwą pliku (np. :
+C:\WINDOWS\SYSTEM\TM20DEC.AX).
+
Skoro mamy już plik, potrzebne nam jeszcze GUID. Spróbuj jeszcze raz
+poszukać, ale tym razem nazwy kodeka, nie fourcc. Jego nazwę można odczytać w
+File/Properties/Advanced, podczas odtwarzania tego pliku przez Media Player.
+Jeśli się nie da, to pech ;) Spróbuj zgadnąć (np. szukaj: TrueMotion).
+
Jeśli znalazłeś (w rejestrze), powinno być tam pole FriendlyName oraz pole
+CLSID. Zapisz, że 16 bajtów CLSID, to potrzebne nam GUID.
+
+
+
UWAGA:Poszukując plików, staraj się włączyć wszystkie pola wyboru ...
+Możesz dostać wiele nieprzydatnych odpowiedzi, ale być może dostaniesz te
+właściwe przy okazji ...
+
+
UWAGA: W razie niepowodzenia zrzuć wszystko na M$.
+
+
+
Mając już wszystkie potrzebne informacje (fourcc, GUID, plik z kodekiem,
+próbka AVI), wyślij zgłoszenie wsparcia dla swojego kodeka mailem, i prześlij
+te pliki na adres FTP:
+ftp://ftp.mplayerhq.hu/MPlayer/incoming/[nazwa_kodeka]/
MPlayer jest odgrywarką filmów pod LINUXem (działa pod wieloma innymi
+Unixami, i systemami opartymi na innych procesorach niż x86, zobacz sekcja 6). Wyświetla większość plików MPEG, VOB, AVI, VIVO,
+ASF/WMV, QT/MOV oraz FLI, korzystając z wielu własnych, XAnim oraz Win32 DLL
+kodeków. Możesz również oglądać VideoCD, SVCD, DVD,
+3ivx, a nawet filmy DivX (i nie potrzebujesz wcale biblioteki
+avifile. Kolejną dużą zaletą mplayera jest szeroki wachlarz sterowników
+wyjścia. Mplayer działa z X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib,
+DirectFB, ale możesz też korzystać z GGI i SDL ( i w ten sposób z wielu
+sterowników dostarczanych przez SDL) oraz z niskopoziomowych sterowników
+specyficznych dla danej karty (dla Matrox, 3Dfx i Radeon) także! Większość
+dostępnych sterowników wspiera sklaowanie programowe i sprzętowe, możesz więc
+cieszyć się oglądaniem filmów w trybie pełnoekranowym. MPlayer wspiera
+wyświetlanie poprzez pewne sprzętowe karty dekodujące MPEG , takie jak DVB i DXR3/Hollywood+ ! A co
+powiesz na ładne, duże, antyaliasowane podtytuły z cieniem (wspieranych jest
+9 typów!!!) z europejskim ISO 8859-1,2 (węgierskimi, angielskimi, czeskimi
+itd.), cyrylicą, koreańskimi fontami oraz OSD?
+
+
MPlayer is basically GPL, but contains some non-GPL code which is not
+allowed to be distributed in binary form, and also contains the OpenDivX
+library which has special license. We are still developing towards GPL.
+
+
Distributing MPlayer in the form of binaries and/or binary packages
+is currently impossible, speaking about both technical and law
+areas. Detailed information can be found in the second part of this file,
+and it is recommended to read it.
+
+
I didn't write any codecs, just some players. I spent
+a lot of time finding the best way to parse bad damaged input files
+(both MPEG and AVI) and to do perfect A-V sync with seeking ability.
+My player is rock solid playing damaged MPEG files (useful for some VCDs),
+and it plays bad AVI files which are unplayable with the famous
+windows media player. Even AVI files without index chunk are playable, and
+you can rebuild their indexes with the -idx option, thus enabling seeking!
+As you see, stability and quality are the most important things for me,
+but the speed is also amazing.
Wszystko zaczęło się rok temu...
+Próbowałem wielu odgrywarek pod linuxa (mtv,xmps,dvdview,livid/oms,VideoLAN,
+xine,xanim,avifile,xmmp) ale wszystkie miały jakieś wady. Głównie z odtwarzaniem
+szczególnych plików oraz z synchronizacją obrazu i dźwięku. Większość z nich
+nie potrafi odgrywać plików w obu formatach MPEG1/2 i AVI (DivX). Wiele z nich
+miało również problemy z jakością obrazu oraz prędkością.
+Postanowiłem więc napisać nowy lub zmodyfikować jeden z tych programów...
+
+
+
mpg12play v0.1-v0.3:
+ The first try, hacked together in a half hour!
+ I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
+ but there were image quality and speed problems with it.
+
mpg12play v0.5-v0.87:
+ Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
+ but it was slow and was written in C++ (I hate C++!!!)
+
mpg12play v0.9-v0.95pre5:
+ Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
+ It's great, optimized very fast C code with perfect image quality and
+ 100% MPEG standard conformance.
+
MPlayer v0.3-v0.9:
+ It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
+ player 'avip' based on avifile's Win32 DLL loader.
+
MPlayer v0.10:
+ The MPEG and AVI player in a single binary!
+
MPlayer v0.11:
+ Some new developers joined and from 0.11 the mplayer project is a team-work!
+ Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.
+
MPlayer v0.17 "The IdegCounter"
+ The release version of the 0.11pre after 4 months of heavy development!
+ Try it, and be amazed! Thousands of new features added... and of course
+ old code was improved too, bugs removed etc.
+
MPlayer 0.18 "The BugCounter"
+ 2 months since 0.17 and here's a new release.. Completed ASF support,
+ more subtitle formats, introduced libao (similar to libvo but to audio),
+ even more stable than ever, and so on. It's a MUST !
+
MPlayer 0.50 "The Faszom(C)ounter"
+ Hmm. Release again. Tons of new features, beta GUI version, bugs fixed,
+ new vo and ao drivers, ported to many systems, including opensource DivX
+ codecs and much more. Try it!
+
+
In this chapter I'll try to guide you through the compiling and
+configuring process of MPlayer. It's not easy, but it won't neccessarily
+be hard. If you experience a different behaviour than what I explain, please
+search through this documentation and you'll find your answers. If you
+see links, please follow them and read carefully what they contain. It
+will take some time, but it DOES worth it.
+
+
You need a fairly recent system. On Linux, 2.4.x kernels are required, but
+with 2.4.10 and above you'll ocassionally experience problems (licensing,
+kernel bugs, etc) so they are discouraged.
+
+
WYMAGANIA SPRZĘTOWE
+
+
+
binutils - suggested version is 2.11.x . This program is
+ responsible for generating MMX/3DNow!/etc instructions, thus very important.
+
gcc - suggested version is from 2.95.2 to 2.95.4.
+ NEVER use 2.96 or 3.x.x !!! They generate faulty code. If you decide
+ to change gcc from 2.96, then don't decide in favor of 3.0 juts because
+ it's newer! In some ways it's even worse than 2.96. So downgrade to
+ 2.95.x (downgrade libstdc++ too!) or don't up/downgrade at all (but in
+ this case, be prepared for runtime problems).
+ Detailed information about gcc 2.96's bugs can be found
+ here and in the
+ FAQ !
+
XFree86 - suggested version is always the newest (4.1.0).
+ Normally everyone wants this, as starting from XFree86 4.0.2, it contains
+ the XVideo extension (somewhere referred
+ as Xv) which is needed to enable the hardware YUV acceleration (fast
+ image display) on cards that support it. More
+ information available.
+ Make sure its development package is installed too otherwise
+ it won't work.
+ For some videocards you don't need XFree86. See list below.
+
make - suggested version is always the newest (at least 3.79.x). This
+ usually isn't important.
+
SDL - it's not mandatory, but can help in some cases. Always
+ use the newest (beginning from 1.2.x).
+
+
+
KODEKI
+
+
+
libavcodec : If you want to use this DivX3/DivX4/etc codec, check the
+2.2.1.2 section before compiling. Features :
+
+
you can gain DivX/DivX4 playing on non-x86 machines
+
this codec has the greatest decoding speed for DivX and DivX4
+movies (even faster than the original DivX4 library itself) ! Recommended!
+
+
+
+
Win32 codecs : If you plan to use MPlayer on x86
+architecture, you will possibly need them. Download and unzip w32codecs.zip to
+/usr/lib/win32 . Note: the avifile project has similar codecs package, but it
+differs from ours, so if you want to use all supported codecs, then use our
+package! However, you can use our codecs package with avifile. Features :
+
+
you need this if you want to play or encode for example movies recorded
+ with digital cameras (example: DV)
+
needed if you want to play WMV movies or older ASF's
+
+
+
+
DivX4 : information about this codec is available in the
+2.2.1.1 section. If you don't want to use
+MEncoder, you possibly don't want this codec as libavcodec (see
+above) is much faster than this.
+Features :
+
can play old DivX3 movies much faster than the Win32 DLL but
+ slower than libavcodec !
+
it's closed-source, and only an x86 version is available.
+
You also need this codec for MEncoder, see below !
The XAnim codecs are the best (full screen,
+hardware YUV zoom) for decoding old videos like Indeo 3/4/5, Cinepak, and some
+others. And they are multiplatform, so this is the only way to play Indeo on
+non-x86 platforms (well, apart from using XAnim:).
+
+
+
+
KARTY GRAFICZNE
+
+
There are generally two kind of videocards. One kind (the newer cards) has
+hardware YUV acceleration support, the other cards don't.
+
+
+KARTY YUV
+
+
+They can display and scale (zoom) the picture to any size that fits in
+their memory, with small CPU usage (zooming doesn't increase it!), thus
+you get a nice and very fast fullscreen playing.
+
+
+
+
Karty Matrox G200/G400/G450/G550 : please see the mga_vid
+section in order to gain big speedup. It is important to do these steps
+before compiling MPlayer, otherwise no Matrox-specific support will be
+built. Also check out the Matrox TV-out
+section.
+
+
Karty 3Dfx Voodoo3/Banshee : please see the 2.3.1.9 section in order to gain big speedup. It
+is important to do these steps before compiling MPlayer,
+otherwise no 3Dfx support will be built. Also see the 3dfx
+TV out section.
+
+
Karty ATI : see the ATI cards
+section of the TV-out documentation, to know what features of your card is
+supported under Linux/MPlayer. If you have a Radeon or Rage128 card, we have a
+XXX_vid driver for you, with TV out ! Check this section !
+
+
Karty S3 : the Savage chips have hardware acceleration. Use as
+new XFree86 version as possible, older drivers are buggy. Savage chips
+have problems with YV12 display, see S3 Xv
+section for details. Older, non-Savage cards have no, or slow hardware
+support.
+
+
Karty Nvidia : very bad choice for video playing. Nvidia's
+cards are manufactured on the far-east, and have very cheap and bad
+quality chips. Moreover, the built-in Nvidia driver in XFree86 doesn't
+contain support for hardware YUV acceleration! You have to download
+Nvidia's closed-source drivers from nvidia.com . See details in Nvidia Xv driver section.
+
+
Inne karty : none of the above?
+
+
Try if the XFree86 driver (and your card) supports hardware
+ acceleration. See the Xv section for
+ details.
+
If it doesn't, your card is one of the :
+
+
+
+
+
+
+
+Karty bez YUV
+
+
+Fullscreen playing can be achieved by either zooming
+(by software, this is slooow), or changing to a smaller videomode, for
+example to 352x288. If you don't have YUV accel, this latter method is
+the recommended one. Throughout MPlayer, this behaviour can
+be switched on by using the -vm option and with
+the following drivers :
+
+
using XFree86 : see details in
+ DGA driver and
+ X11 driver sections. DGA is
+ recommended!
+
not using XFree86 : try the drivers in the following order :
+ vesa,
+ fbdev,
+ svgalib,
+ aalib.
+
+
+
+
KARTY DŻWIĘKOWE
+
+
+
+
Soundblaster Live! : with this card you can use 4 or 6 (5.1)
+channels AC3 decoding instead of 2. Read the
+Software AC3 decoding section.
+
+
other cards' features aren't supported by MPlayer.
+ It's very recommended to read the soundcards
+ section !
+
+
+
WŁAŚCIWOŚCI
+
+
+
For DVD support, you'll have to compile libdvdcss and libdvdread, and
+in this order!
+See section 4.2 for more information.
+
+
Decide if you need GUI. If you do, see the 1.4 section
+before compiling.
+
+
If you want to install MEncoder (our great all-purpose encoder),
+see the MEncoder section .
+
+
+
If you have a V4L compatible TV tuner card, and wish to watch/grab and
+encode movies with MPlayer, read the TV input section.
+
+
There are two timer codes in MPlayer. To use the old
+method, you don't have to do anything. It uses usleep() to tune
+A/V sync, with +/- 10ms accuracy. However sometimes the sync has to be tuned
+even finer. The new timer code uses PC's RTC (Real Time Clock) for this task,
+because it has precise 1ms timers. This requires root, or a setuid root
+MPlayer binary (or a little kernel hacking, but that's unadvised). You
+can see the new timer's efficiency in the status line. Note: NEVER install
+setuid MPlayer binary on a multiuser system! It's a clear way for everyone
+to gain root.
+
+
+
+
Then build MPlayer:
+
+
./configure
+ make
+ make install
+
+
ALWAYS browse the output of ./configure, and the
+configure.log file, they contain info about what will be built,
+and what won't. You may also want to view config.h and config.mak files.
+
+
Though not mandatory, the fonts should be installed in order to gain
+OSD, and subtitle functionality. Download mp-arial-iso-8859-*.zip and/or optional
+(if exists) language updates. It's VERY RECOMMENDED to check
+section 1.5 for details.
+
+
mkdir ~/.mplayer/font
+ cd ~/.mplayer/font
+ unzip mp-arial-iso-8859-1.zip
+
+
Only one thing remains: copy the codecs.conf file from the etc
+directory (relative to the MPlayer tree) to $HOME/.mplayer/codecs.conf .
+You should also check the manpage and example.conf for available options, and insert them
+into your config file, $HOME/.mplayer/config .
The GUI needs GTK (it isn't GTK, but the panels are). The skins are stored
+in PNG format, so gtk, libpng (and their devel stuff) has to be installed.
+You can build it by specifying --enable-gui during ./configure .
+Then, to turn on GUI mode, you either
+
Since GTK doesn't run from a setuid root binary, you can't use
+the GUI and the new timer code (mentioned above) together (unless
+you run MPlayer as root, of course).
+
+
As MPlayer doesn't have a skin included, you have to download them
+if you want to use the GUI. See the download page.
+They should be extracted to the usual system-wide directory (/usr/local/share/mplayer/Skin),
+or to $HOME/.mplayer/Skin . MPlayer by default looks in
+these directories for a default named directory, but you can use the
+-skin newskin option, or the skin=newskin config file
+directive to use the skin in */Skin/newskin directory.
Yes, MPlayer also supports many kinds of subtitles. Currently
+8 kinds of subtitle can be used by the subreader code. To see what are
+these subtitle formats, see subreader.c, line ~30.
MPlayer introduces a new subtitle format called MPsub.
+It was designed by me (Gabucino). Basically its main feature is being
+dynamically time-based (although it has frame-based mode too). Example (from
+DOCS/tech/mpsub.sub) :
+
+
+
+# first number : wait this much after previous subtitle disappeared
+# second number : display the current subtitle for this many seconds
+
+15 3
+A long, long time ago...
+
+0 3
+in a galaxy far away...
+
+0 3
+Naboo was under an attack.
+
+
+
So you see, the main goal was to make subtitle editing/timing/joining/cutting easy. And,
+if you - say - get an SSA subtitle but it's badly timed/delayed to your
+version of the movie, you simply do a mplayer dummy.avi -sub source.ssa
+-dumpmpsub . A dump.mpsub file will be created in the
+current directory, which will contain the source subtitle's text, but in
+MPsub format. Then you can freely add/substract seconds to/from the
+subtitle.
+
+
Subtitles are displayed with a technique called 'OSD', On Screen Display.
+OSD is used to display current time, volume bar, seek bar etc.
+
+
INSTALACJA OSD i SUB
+
+
You need an MPlayer font package to be able to use OSD/SUB feature.
+There are many ways to get it:
+
+
+
download ready-to-use font packages from MPlayer site.
+Note: currently available fonts are limited for iso 8859-1/2 support,
+and there are a few special versions for korean, russian etc codepages.
+Font should have appropriate font.desc file which maps unicode font
+positions to the actual code page of the subtitles text. Other solution
+is to have subtitles encoded in utf8 encoding and use -utf8 option
+or just name the subtitles file .utf and have it in the same
+dir as the video file. Recoding from different codepages to utf8 could be
+done by using konwert (debian) or iconv (RedHat) programs.
+Some URLs:
+
use the font generator tool at TOOLS/subfont-c
+It's a complete tool to convert from TTF/Type1/etc font to mplayer font pkg.
+(read TOOLS/subfont-c/README for details)
+
+
use the font generator GIMP plugin at TOOLS/subfont-GIMP
+(note: you must have HSI RAW plugin too, see URL below)
+
+
+
+
After that, UNZIP the files to ~/.mplayer/font/ .
+Now you have to see a timer at the upper left corner of the movie
+(switch it off with 'o') .
+
+
OSD has 3 states: (switch with 'o')
+
+
timer + volume bar + seek bar + subtitles (default)
+
volume bar + seek bar + subtitles
+
subtitles only
+
+
+
You can change default behaviour by setting osdlevel= variable in config file.
This section is about how to enable watching/grabbing from V4L compatible
+TV tuner.
+
+
Compilation
+
+
+
+
first, you have to add the --enable-tv flag to ./configure,
+ and recompile.
+
make sure your tuner works with another TV softwares in Linux, for example
+ xawtv.
+
+
+
+
Hint: if MPlayer prints ioctl: can't sync or something
+ like this, your tuner can't capture the requested image size. Try using
+ width=640:height=480 options.
+
+
Hint #2 : are the colors fucked up? Then your tuner can't display
+ in YV12 colorspace. Try YUY2, UYVY or if none of these works: RGB32 (this one
+ with -vo sdl).
+ You can specify these with the outfmt=YV12 option see below.
+
+
Available options
+
+
+
+
on
+
+
use TV
+ input
+
+
+
+
driver
+
+
+ dummy - NULL TV input :) Used for testing only, generates dummy
+ input.
+ v4l - captures images from standard V4L interface (default
+ /dev/video0)
+
+
+
+
device
+
+
specify other
+ device than the default /dev/video0
+
+
+
+
input
+
+
give from which
+ input of the TV tuner you which to grab from (e.g. television,
+ s-video, composite, ...)
+ Prints the available ones during init.
+
+
+
+
freq
+
+
specify the
+ frequency to set the tuner (e.g. 511.250)
+
+
+
+
outfmt
+
+
in which output
+ format to display images (rgb32, rgb24, yv12,
+ uyvy)
+ The following option must have the same setting !
+Dummy output, to AAlib :)
+ mplayer -tv on:driver=dummy:width=640:height=480 -vo aa
+
+Input from standard V4L
+ mplayer -tv on:driver=v4l:width=800:height=600:device=/dev/video0:input=television:outfmt=yv12 -vo xv
+
Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
+an (almost) arbitrary remote control and control your linux box with it!
+More about it at www.lirc.org.
+
+
If you have installed the lirc-package, you can compile MPlayer with LIRC
+support using ./configure --enable-lirc
+
+
If everything went fine, MPlayer will print a message like
+LIRC init was successful.
+on startup. If an error occurs it will tell you. If it doesn't tell you
+anything about LIRC there's no support compiled in. That's it :-)
+
+
The application name for MPlayer is - oh wonder - mplayer_lirc.
+It understands the following commands:
+
+
+
PAUSE
pause playing. Any other keystroke will continue replay.
+
QUIT
exit MPlayer
+
RWND
10 secs back
+
FRWND
60 secs back
+
FWD
skip 10 secs
+
FFWD
skip 60 secs
+
INCVOL
increase volume one percent
+
DECVOL
decrease volume one percent
+
MASTER
use master mixer channel
+
PCM
use pcm mixer channel
+
+
+
Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an
+excerpt from my .lircrc:
To build the package you will need GNU make (gmake, /usr/ports/devel/gmake),
+native BSD make will not work.
+
+
To run MPlayer you will need to re-compile the kernel with
+"options USER_LDT" (unless you are running -CURRENT, where this is default).
+If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it
+(FreeBSD-STABLE required, or use kernel patches).
+
+
If MPlayer complains about "CD-ROM Device '/dev/cdrom' not found!" make a
+symbolic link: ln -s /dev/(your_cdrom_device) /dev/cdrom
AVI file playback works best on Solaris x86, because you have the
+option to use the win32 codecs on the x86 platform, or can use MMX/MMX2/3DNow/etc
+instructions for MP3/DivX/DVD/whatever. On Solaris SPARC,
+you'll find quite a few AVI files with non working video and/or
+audio playback, because the video/audio codecs using the Win32 DLLs
+are not available. However, DivX/OpenDivX movies should work,
+when using libavcodec.
+
+
On UltraSPARCs, MPlayer takes advantage of their VIS
+extensions (equivalent to MMX), currently only in libmpeg2,
+libvo and libavcodec, but not in mp3lib. You can watch a VOB file
+on a 400Mhz CPU. You'll need mLib installed.
+
+
To build the package you will need GNU make (gmake, /opt/sfw/gmake), native
+Solaris make will not work. Typical error you get when building with solaris'
+make instead of GNU make:
+
+
% /usr/ccs/bin/make
+ make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
+
+
On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
+if GNU C/C++ compiler is configured with or without the GNU assembler.
+
+
On Solaris x86, you need the GNU assembler and the GNU C/C++
+compiler, configured to use the GNU assembler! The mplayer code on
+the x86 platform makes heavy use of MMX, SSE and 3DNOW!
+instructions that cannot be compiled using Sun's assembler
+/usr/ccs/bin/as.
+
+
The configure script tries to find out, which assembler program is
+used by your "gcc" command (in case the autodetection fails, use
+the "--as=/whereever/you/have/installed/gnu-as" option to tell the
+configure script where it can find GNU "as" on your system).
+
+
Error message from configure on a Solaris x86 system using GCC
+without GNU assembler:
Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a
+capacity >4GB:
+
+
The sd(7D) driver on solaris 8 x86 driver has bug when accessing a
+disk block >4GB on a device using a logical blocksize != DEV_BSIZE
+(i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk
+address modulo 4GB is accessed.
+(http://groups.yahoo.com/group/solarisonintel/message/22516)
+
+
On Solaris with an UltraSPARC CPU, you can get some extra speed by
+ using the CPU's VIS instructions for certain time consuming operations.
+ VIS acceleration can be used in MPlayer by calling functions in Sun's
+ mediaLib.
+
+
VIS accelerated operations from mediaLib are used for mpeg2 video
+ decoding and for color space conversion in the video output drivers.
This list is about mplayer development! Talking about interface/API changes,
+new libraryes, code optimization, ./configure changes, and send patches here.
+Do NOT send bugreports, user questions, feature requests here!
+This list should be kept low-traffic.
Send only questions about CVS changes here.
+(if you don't understand why a change is required or you've better fix)
+Be sure in that your target developer reads this list!
+
+
+
+
NOTE: language of above lists are ENGLISH, unless explicitly stated
+otherwise. Please do not send messages using other language!
+
+
NOTE: you can reach the searchable mailing list archives
+here.
+
+
+
SIGILL (signal 4) in draw_frame, on P3 (mostly with 2.2.x kernels):
+ Problem: movups is crashing in libvo/fastmemcpy.h
+ Workaround: ./configure --disable-fastmemcpy
+ SOLVED: disabled SSE code in fastmemcpy.h ;(
+
+
No image (black image) in RGB 15/16bpp (x11,dga,fbdev,svga) playing
+ MPEG or OpenDivX files:
+ Problem: gcc 2.96 bug, read this
+ Workaround: ./configure --disable-mmx, or use gcc 2.95.x
+ SOLVED: code fixed
+
+
SIGILL (signal 4) or other fault at loading l3codeca.acm:
+ Problem: shared libs are loaded to 0x00xxxxxx instead of 0x40xxxxxx
+ Workaround: mplayer -afm 1 ...
+ SOLVED: you are using some security kernel patch, like OpenWall etc.
+
+
SIGILL (signal 4) on P3 using 2.2.x kernels:
+ Problem: kernel 2.2.x doesn't have proper (working) SSE support
+ Solution: upgrade kernel to 2.4.x
+ Workaround: ./configure --disable-sse
+
+
General SIGILL (signal 4):
+ Problem: you compiled and run mplayer in different machines
+ (for example compiled on P3 and running on celeron)
+ Solution: compile MPlayer on the same machine where you will use it!
+ Workaround: ./configure --disable-sse etc. options
+
+
+
Various A-V sync and other audio problems:
+
+General audio delay or jerky sound (exists with all or many files):
+
slow machine (cpu or vga)
+ try with -vo null, if it plays well, then you have slow VGA card/driver
+ Workaround: buy a faster card or read this documentation about how to speed up
+ SOLVED: try -framedrop
+
+
+Audio delay/de-sync specific to one or a few files:
+
+
bad file (please upload the file, so we can check & fix)
+ Workaround:
+
+
-ni or -nobps option (for non-interleaved or bad files)
+and/or
+
-mc 0 (required for files with badly interleaved VBR audio)
+and/or
+
-delay option or +/- keys at runtime to adjust delay
+
+
your soundcard doesn't support 48Khz playback
+ Workaround: buy a better soundcard... or try to decrease fps by 10% (use -fps 27 for a 30fps movie)
+
slow machine
+ (if A-V is not around 0, and the last number in the status line increasing)
+ Workaround: -framedrop
+
+
+No sound at all:
+
+
your file uses an unsupported codec
+ Workaround: read the documentation and help us adding support for it
+
+
+
Video-out problems:
+
+
First note: options -fs -vm and -zoom are just recommendations, not (yet)
+supported by all drivers. So it isn't a bug if it doesn't work.
+Only a few driver supports scaling/zooming, don't expect this from x11 or dga.
+
+
OSD/sub flickering:
+- x11 driver: sorry, it can't be fixed now
+- xv driver: use -double option
download and compile libmp3lame (from lame 3.89beta or lame CVS).
+ WARNING : DO NOT COMPILE LAME WITH GCC 2.96 ! It won't
+ work properly !
+ This
+ is needed for CBR/VBR MP3 audio encoding ability. Note that a single
+ lame binary isn't sufficient. BTW: the less optimization
+ you use for lame, the better the quality will be. You can test
+ quality by running make test after lame's compiling process
+ is over. The resulting number should be less than 30. Don't
+ panic if it's 400 or so, you shouldn't heard any audible
+ quality decrease. Oh, and if your compiler doesn't even run make test ...
+ Well, delete that GCC 2.96.
+
use ./configure with optional parameters as usual
+ (use --enable-tv to include V4L tuner grabbing code), and
+ type : make mencoder , then make install.
+
+
+
+
You are ready. As you probably know, other encoding tools need the
+avifile library installed. MEncoder doesn't need it at all.
+ type of scaling method
+ 0 - fast bilinear
+ 1 - bilinear
+ 2 - bicubic (best quality)
+
+
+
+
+
+ -ovc 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)
+ divx4 - encode to DivX4
+
+
+
+
+
+ -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)
+ pcm - encode to uncompressed PCM
+ mp3lame - encode to MP3 (using Lame)
+
+
+
+
+
+ -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)
+
+
+
+
+
+ -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!)
+
+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:
+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).
+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:
+
+In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
+ from /usr/include/g++-v3/bits/fpos.h:40,
+ from /usr/include/g++-v3/bits/char_traits.h:40,
+ from /usr/include/g++-v3/bits/std_string.h:41,
+ from /usr/include/g++-v3/string:31,
+ from libwin32.h:36,
+ from DS_AudioDecoder.h:4,
+ from DS_AudioDec.cpp:5:
+/usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
+ wchar_t**, int)':
+/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 .
+
+
+
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.
+
+
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 fuckin' 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.
+
+
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.
+
+
Conclusion: we can't be good. Half of 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.
+
+
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:
+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:
+I am still having trouble compiling with SDL support. gcc says something
+about "undefined reference to `SDL_EnableKeyRepeat'" What's 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!
+
+
+
Q:
+It doesn't compile, and it misses uint64_t inttypes.h and similar things...
+
+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 G200/G400, how to compile/use mga_vid driver?
+
A:
+Read all this documentation.
+
+
+
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!
+
+
+
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
+ $ 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.
+
+
+
Q:
+What about 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.
+
+
+
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 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:
+What are you doing on Linux? Can't you install a library? Why do
+we get these questions? It's not MPlayer specific at all! Add
+/usr/local/lib to /etc/ld.so.conf and run ldconfig .
+Or install it to /usr/lib , because if you can't solve the /usr/local
+problem, you are careless enough to do such things.
+
+
+
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).
+
+
+
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.
+
+
+
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!
+
+-xy or -fs option doesn't work with 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!
+
+
+
Q:
+What is the meaning of numbers in the status line?
+
video codec cpu usage in percent (for mpeg it includes video_out too!)
+
video_out cpu usage for avi, 0 for mpg (see above)
+
audio codec cpu usage in percent
+
frames needed to drop to maintain A-V sync
+
current level of image postprocessing (when using -autoq)
+
+Most of them are for debug purposes, and will be removed soon.
+
+
+
Q:
+What if I don't want them to appear?
+
A:
+Then you use the -quiet option, and read the manpage.
+
+
+
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:
+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 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 RTFM on how to subscribe them!
+
+
+
Q:
+I've found a nasty bug when I tried to play my favourite video!!
+Who should I inform?
+
+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 ;)
+
+
+
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:
+LIRC doesn't work, because ...
+
A:
+Are you sure you use "mplayer_lirc" instead of "mplayer"?
+
+
+
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.
+
+
+
Q:
+The OSD is flickering!
+
A:
+You use a vo driver with single buffering (x11,xv). With xv,
+use -double option.
+
+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 some panel are over the movie!!
+
A:
+Known, icewm is shit and dictatoric. Unsolvable. In detail: icewm sucks
+because 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. In short: shit.
+
+
+
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.
+
+...... works with avifile/aviplay while 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
+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.
+
+
+
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:
+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
+ libc.so.6 => /lib/libc.so.6 (0x4???????)
+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
+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.
+
+
+
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.
+
+
+
Q:
+MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video".
+
A:
+Try running MPlayer on the machine you compiled on. Or recompile. Don't
+use MPlayer on different CPU than 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:
+But it works with avifile!
+
A:
+So what?
+
+
+
Q:
+Then avifile is better!
+
A:
+Then use avifile, it has nice GUI and nice C++ code :)
+
+
+
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
+config file(s).
+
+
+
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:
+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
+make sure your SDL can handle arts sound. Yet another option is to start
+mplayer with artsdsp.
+
+
+
Q:
+I have an AVI that plays with grey screen with -vc odivx, and green 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:
+DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
+
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 shit interleaving. Try the -ni option.
+
your sound driver is shit, or you use ALSA 0.5 with -ao oss. See the soundcards section.
+
the AVI has shit header, try with the -nobps option, and/or -mc 0 .
+
+
+
Q:
+I have an MJPEG file which works with other players but displays only black
+image in MPlayer.
+
A:
+Disable the Windows DLL in codecs.conf, or use -vc ffmjpeg option (you have to
+compile MPlayer with libavcodec).
+
+
+
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 try to start playing, I get this message, but playing is good :
+Linux RTC init: ioctl (rtc_pie_on): Permission denied
+
+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 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'm using the GUI. During startup, MPlayer prints :
+
Gtk-WARNING **: This process is currently running setuid or setgid.
+This is not a supported use of GTK+. You must create a helper
+program instead. For further details, see...
+
A:
+You can't use GTK in a suid-root binary, as pointed out in the GUI section.
+
+Ok, -vo help shows DGA driver, but it is babbling about permissions!
+Help me!
+
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!
+ chown root /usr/local/bin/mplayer
+ chmod 750 /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!!!
+!!!! SO YOU HAVE BEEN WARNED ... !!!!
+
+
+
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.
+
+
+
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:
+See the previous answer.
+
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)
+It's known not to work with nVidia's binary shit.
+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.
+
+
+
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 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.
+
+Is there a hint on how to watch RealMedia movies in MPlayer?
+
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:
+This won't be done. It was, but then it fucked 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
+ 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:
+
+
+
+
+
+
+
Matrox
+
+
+
+
ATI
+
+
+
+
NVidia
+
+
+
+
S4 Savage
+
+
+
+
+
Driver's provider
+
+
enthusiasts
+
+
enthusiasts
+
+
OEM + enthusiasts
+
+
enthusiasts
+
+
+
+
Driver's quality
+
+
Best(X11,kernel)
+
+
Best(X11,GATOS,kernel)
+
+
Buggy(X11 only)
+
+
Best(X11 only)
+
+
+
+
VIDEO OVERLAY
+
+
+
+
+
+
+
+
+
+
+
+
BES and YV2RGB
+
+
YES
+
+
YES
+
+
YES
+
+
YES
+
+
+
+
scaling filters
+
+
N/A
+
+
YES
+
+
N/A
+
+
N/A
+
+
+
+
adaptive deinterlace
+
+
NO
+
+
YES
+
+
N/A
+
+
N/A
+
+
+
+
Video equalizer (hue, contrast, saturation, color correction)
+
+
N/A
+
+
PARTLY (under devel)
+
+
N/A
+
+
N/A
+
+
+
+
Alpha blending, color and video keys
+
+
PARTLY
+
+
PARTLY (under devel)
+
+
N/A
+
+
N/A
+
+
+
+
Video capture
+
+
N/A
+
+
YES(GATOS)
+
+
N/A
+
+
N/A
+
+
+
+
TV-out
+
+
YES
+
+
YES
+
+
N/A
+
+
N/A
+
+
+
+
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.
+
Note: about realmedia (.ra/.rm) support read the FAQ!
+
+
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.
+
+
+
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.
+
+
Audio codecs and formats are basically the same terms.
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.
+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.
+
+
One important feature for 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.
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
+anybody cares.
+NOTE : DV cameras can create two types of AVI format, one is the usual and
+playable, the other is neither.
+
+
There are two kinds of AVI files:
+
+
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.
+
+
+
+
MPlayer supports 2 kind of timing 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.
+ 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.
+
+
+
+
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
+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.
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
+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
+.WMV.
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.).
+
+
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).
MPlayer happily demuxes VIVO file formats. The format's big
+disadvantage is that it has no index block, nor fixed packetsize 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 .
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.
+Question: What is the problem with GCC 2.96 ? And with 3.x ?
+
+
+
+Answer:
+
+
+
+And for the people, who periodically asks what are the exact problems with
+gcc 2.96, my answer: we don't know exactly.
+There were various problems and new problems / bugs come up periodically.
+It is not a single bug/problem. We just see various bugreports, mostly
+gcc internal bugs, compiler syntax errors in source or bad code compiled. They
+all are solved using different version of gcc. I understand that gcc 2.96
+has different default optimization flags and they conflicts with our inline
+asm code, but we can't fix them, and we really don't want to fix them as they
+work with other compilers or gcc versions, and the fix may cause speed loss.
+
+
+
+I think that the gcc 2.96 should be fixed to be option-compatible with other
+releases, but redhat guys refused to do it. If someone interested - ask
+Eugene K., avifile author, he has a long mailing with them, because they had
+the same problems with avifile. Finally he changed avifile source to
+workaround gcc 2.96 bugs...
+We simply has no interest and time to do it.
+
+
+
+Ah, and about the pipe-in-comment bug: it wasn't really our bug.
+I've talked one of gcc maintainers, and he told me that gcc 2.96 and 3.x
+supports intel asm syntax, and it caused the pipe bug. But it is a bug,
+because gcc silently, without any warning, ignored the whole asm block!
+
+
+
+Other gcc 3.x problems comes from broken libstdc++ or glibc header (std_*.h)
+installation. They are not our fault. MPlayer compiles and works well with
+gcc 3.x versions. Only 2.96 is broken, but it depends on many environment
+elements, including gcc 2.96 release number, enabled mplayer features, etc.
+If it works for you using gcc 2.96, it doesn't mean it will work for everyone.
+
+Question: No! You are wrong! Everything works with gcc 2.96 but MPlayer
+
+
+
+Answer:
+
+
+
+No. You are wrong!
+Several projects (mainly which source contains high optimized inline asm code)
+had problems with gcc 2.96. For example: avifile, MESA / DRI, Wine, ffmpeg, lame.
+But other projects already workarounded gcc bugs (changed code which
+triggered compiler bugs) so they work for now.
+
+
+
+Question: No! You are wrong! Everything works with gcc 2.96 including MPlayer
+
+
+
+Answer:
+
+
+Good. Be happy. But you must know, it depends on many environment
+elements, including gcc 2.96 release number, enabled mplayer features, etc.
+If it works for you using gcc 2.96, it doesn't mean it will work for everyone!
+It only means that you are lucky, until you find a problem. But don't forget the
+No.1 rule of gcc 2.96 users: NEVER REPORT BUGS OR PROBLEMS IF YOU ARE USING GCC 2.96
+
+
+Question: Ok. Understood. But I want to give it a try... how to compile with gcc 2.96?
+
+
+
+Answer: Really? Are you sure? Ok. You know... here is it: ./configure --disable-gcc-checking
+
+
+
+Question: No! I don't agree with you, because ...
+
+
+
+Answer: It doesn't matter. Keep your commets for yourself. We're not interested in gcc 2.96 stories.
+
+
+
+
+
+
diff --git a/DOCS/Polish/mencoder.1 b/DOCS/Polish/mencoder.1
new file mode 100644
index 0000000000..aeeaaaa1b2
--- /dev/null
+++ b/DOCS/Polish/mencoder.1
@@ -0,0 +1,256 @@
+.\" MEncoder (C) 2000-2001 Arpad Gereoffy
+.\" This manpage was/is done by Gabucino
+.\"
+.TH MEncoder
+.SH NAME
+mencoder \- Movie Encoder for Linux
+.SH SYNOPSIS
+.B mencoder
+.RB [ \-vcd\