aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/en/mplayer.14
-rw-r--r--DOCS/man/fr/mplayer.16
-rw-r--r--DOCS/xml/cs/bugreports.xml2
-rw-r--r--DOCS/xml/cs/bugs.xml215
-rw-r--r--DOCS/xml/cs/codecs.xml700
-rw-r--r--DOCS/xml/cs/containers.xml523
-rw-r--r--DOCS/xml/cs/documentation.xml12
-rw-r--r--DOCS/xml/cs/encoding-guide.xml6
-rw-r--r--DOCS/xml/cs/faq.xml4
-rw-r--r--DOCS/xml/cs/install.xml140
-rw-r--r--DOCS/xml/cs/mencoder.xml2
-rw-r--r--DOCS/xml/cs/ports.xml112
-rw-r--r--DOCS/xml/de/codecs.xml686
-rw-r--r--DOCS/xml/de/containers.xml532
-rw-r--r--DOCS/xml/de/documentation.xml10
-rw-r--r--DOCS/xml/de/encoding-guide.xml4
-rw-r--r--DOCS/xml/de/faq.xml6
-rw-r--r--DOCS/xml/de/install.xml148
-rw-r--r--DOCS/xml/de/mencoder.xml2
-rw-r--r--DOCS/xml/de/ports.xml100
-rw-r--r--DOCS/xml/en/encoding-guide.xml2
-rw-r--r--DOCS/xml/en/faq.xml62
-rw-r--r--DOCS/xml/en/install.xml2
-rw-r--r--DOCS/xml/en/usage.xml56
-rw-r--r--DOCS/xml/es/Makefile2
-rw-r--r--DOCS/xml/es/codecs.xml922
-rw-r--r--DOCS/xml/es/documentation.xml12
-rw-r--r--DOCS/xml/es/faq.xml27
-rw-r--r--DOCS/xml/es/features.xml16
-rw-r--r--DOCS/xml/es/formats.xml494
-rw-r--r--DOCS/xml/es/install.xml415
-rw-r--r--DOCS/xml/es/mencoder.xml8
-rw-r--r--DOCS/xml/es/ports.xml76
-rw-r--r--DOCS/xml/es/tvinput.xml5
-rw-r--r--DOCS/xml/es/video.xml180
-rw-r--r--DOCS/xml/fr/codecs.xml696
-rw-r--r--DOCS/xml/fr/containers.xml520
-rw-r--r--DOCS/xml/fr/documentation.xml10
-rw-r--r--DOCS/xml/fr/encoding-guide.xml6
-rw-r--r--DOCS/xml/fr/faq.xml5
-rw-r--r--DOCS/xml/fr/install.xml136
-rw-r--r--DOCS/xml/fr/mencoder.xml2
-rw-r--r--DOCS/xml/fr/ports.xml117
-rw-r--r--DOCS/xml/hu/documentation.xml2
-rw-r--r--DOCS/xml/hu/install.xml23
-rw-r--r--DOCS/xml/hu/ports.xml199
-rw-r--r--DOCS/xml/it/codecs.xml264
-rw-r--r--DOCS/xml/it/documentation.xml7
-rw-r--r--DOCS/xml/it/encoding-guide.xml2
-rw-r--r--DOCS/xml/it/faq.xml5
-rw-r--r--DOCS/xml/it/install.xml2
-rw-r--r--DOCS/xml/pl/bugreports.xml2
-rw-r--r--DOCS/xml/pl/bugs.xml226
-rw-r--r--DOCS/xml/pl/codecs.xml718
-rw-r--r--DOCS/xml/pl/containers.xml537
-rw-r--r--DOCS/xml/pl/documentation.xml12
-rw-r--r--DOCS/xml/pl/encoding-guide.xml2
-rw-r--r--DOCS/xml/pl/faq.xml3
-rw-r--r--DOCS/xml/pl/install.xml158
-rw-r--r--DOCS/xml/pl/mencoder.xml2
-rw-r--r--DOCS/xml/pl/ports.xml105
-rw-r--r--DOCS/xml/ru/bugreports.xml2
-rw-r--r--DOCS/xml/ru/bugs.xml218
-rw-r--r--DOCS/xml/ru/codecs.xml683
-rw-r--r--DOCS/xml/ru/containers.xml510
-rw-r--r--DOCS/xml/ru/documentation.xml11
-rw-r--r--DOCS/xml/ru/encoding-guide.xml7
-rw-r--r--DOCS/xml/ru/faq.xml4
-rw-r--r--DOCS/xml/ru/install.xml137
-rw-r--r--DOCS/xml/ru/mencoder.xml2
-rw-r--r--DOCS/xml/ru/ports.xml110
-rw-r--r--DOCS/xml/zh_CN/bugreports.xml2
-rw-r--r--DOCS/xml/zh_CN/bugs.xml211
-rw-r--r--DOCS/xml/zh_CN/documentation.xml4
-rw-r--r--Makefile7
-rw-r--r--cfg-common-opts.h2
-rw-r--r--cfg-common.h19
-rw-r--r--common.mak6
-rwxr-xr-xconfigure1690
-rw-r--r--cpudetect.c28
-rw-r--r--etc/codecs.conf202
-rwxr-xr-xhelp/help_create.sh6
-rw-r--r--libass/ass_bitmap.c44
-rw-r--r--libass/ass_bitmap.h4
-rw-r--r--libass/ass_cache_template.c1
-rw-r--r--libass/ass_render.c82
-rw-r--r--libmpcodecs/ad_hwac3.c2
-rw-r--r--libmpcodecs/ad_liba52.c2
-rw-r--r--libmpcodecs/vd_ffmpeg.c22
-rw-r--r--libmpcodecs/vd_realvid.c26
-rw-r--r--libmpdemux/demux_mkv.c100
-rw-r--r--libmpdemux/demux_mov.c27
-rw-r--r--libmpdemux/demux_real.c91
-rw-r--r--libswscale/swscale-example.c8
-rw-r--r--libswscale/swscale.c31
-rw-r--r--libswscale/swscale.h69
-rw-r--r--libswscale/swscale_internal.h12
-rw-r--r--libswscale/yuv2rgb.c14
-rw-r--r--libswscale/yuv2rgb_altivec.c4
-rw-r--r--libswscale/yuv2rgb_mlib.c2
-rw-r--r--libswscale/yuv2rgb_vis.c2
-rw-r--r--libvo/aclib.c33
-rw-r--r--libvo/aclib_template.c22
-rw-r--r--libvo/aspect.c18
-rw-r--r--libvo/aspect.h18
-rw-r--r--libvo/aspecttest.c20
-rw-r--r--libvo/font_load.c18
-rw-r--r--libvo/font_load.h18
-rw-r--r--libvo/font_load_ft.c18
-rw-r--r--libvo/gl_common.h18
-rw-r--r--libvo/gtf.h18
-rw-r--r--libvo/mga_common.c17
-rw-r--r--libvo/osd.c24
-rw-r--r--libvo/osd.h23
-rw-r--r--libvo/osd_font.h18
-rw-r--r--libvo/osd_template.c23
-rw-r--r--libvo/sub.c17
-rw-r--r--libvo/sub.h17
-rw-r--r--libvo/video_out.c22
-rw-r--r--libvo/video_out.h23
-rw-r--r--libvo/videodev_mjpeg.h24
-rw-r--r--libvo/vo_aa.c26
-rw-r--r--libvo/vo_caca.c25
-rw-r--r--libvo/vo_cvidix.c30
-rw-r--r--libvo/vo_direct3d.c88
-rw-r--r--libvo/vo_dxr2.c17
-rw-r--r--libvo/vo_dxr3.c17
-rw-r--r--libvo/vo_fbdev.c21
-rw-r--r--libvo/vo_fbdev2.c21
-rw-r--r--libvo/vo_ggi.c44
-rw-r--r--libvo/vo_gl.c18
-rw-r--r--libvo/vo_gl2.c18
-rw-r--r--libvo/vo_macosx.h28
-rw-r--r--libvo/vo_macosx.m18
-rw-r--r--libvo/vo_mga.c20
-rw-r--r--libvo/vo_mpegpes.c25
-rw-r--r--libvo/vo_png.c19
-rw-r--r--libvo/vo_quartz.c18
-rw-r--r--libvo/vo_svga.c29
-rw-r--r--libvo/vo_tga.c42
-rw-r--r--libvo/vo_winvidix.c26
-rw-r--r--libvo/vo_x11.c17
-rw-r--r--libvo/vo_xmga.c22
-rw-r--r--libvo/vo_xover.c34
-rw-r--r--libvo/vo_xv.c20
-rw-r--r--libvo/vo_xvidix.c32
-rw-r--r--libvo/vo_xvmc.c18
-rw-r--r--libvo/vo_yuv4mpeg.c25
-rw-r--r--libvo/w32_common.c18
-rw-r--r--libvo/w32_common.h18
-rw-r--r--libvo/wskeys.h17
-rw-r--r--libvo/x11_common.c17
-rw-r--r--libvo/x11_common.h18
-rw-r--r--mencoder.c17
-rw-r--r--mplayer.c21
-rw-r--r--osdep/priority.c89
-rw-r--r--osdep/priority.h31
157 files changed, 3608 insertions, 11423 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index 384445b3c1..e4d517f0fa 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -732,9 +732,9 @@ Particularly useful on slow terminals or broken ones which do not properly
handle carriage return (i.e.\& \\r).
.
.TP
-.B \-priority <prio> (Windows only)
+.B \-priority <prio> (Windows and OS/2 only)
Set process priority for MPlayer according to the predefined
-priorities available under Windows.
+priorities available under Windows and OS/2.
Possible values of <prio>:
.RSs
idle|belownormal|normal|abovenormal|high|realtime
diff --git a/DOCS/man/fr/mplayer.1 b/DOCS/man/fr/mplayer.1
index 3294871447..6cd246408d 100644
--- a/DOCS/man/fr/mplayer.1
+++ b/DOCS/man/fr/mplayer.1
@@ -1,4 +1,4 @@
-.\" synced with r28341
+.\" synced with r28415
.\" Encoding: iso-8859-1
.\" MPlayer (C) 2000-2009 MPlayer Team
.\" The English man page was/is done by Gabucino, Diego Biurrun, Jonas Jermann
@@ -9589,6 +9589,10 @@ Ne fonctionne pour le moment que si la détection de changement de scène
est désactivée (sc_threshold=1000000000).
.
.TP
+.B "gmc\ \ \ \ "
+Active la compensation de mouvement globale (Global Motion Compensation).
+.
+.TP
.B (no)lowdelay
Active le drapeau de délais pour MPEG-1/2 (désactive les trames-B).
.
diff --git a/DOCS/xml/cs/bugreports.xml b/DOCS/xml/cs/bugreports.xml
index 013773a8d3..1a43b9ef4e 100644
--- a/DOCS/xml/cs/bugreports.xml
+++ b/DOCS/xml/cs/bugreports.xml
@@ -152,7 +152,7 @@ nahlášena během několika dnů, nebo dokonce hodin, takže prosím používej
balíÄky <application>MPlayer</application>u. Subversion instrukce naleznete na konci
<ulink url="http://www.mplayerhq.hu/dload.html">této stránky</ulink>,
nebo v souboru README. Pokud to nepomůže, prostudujte si prosím seznam
-<link linkend="bugs">známých chyb</link> a zbytek dokumentace. Pokud je váš
+známých chyb a zbytek dokumentace. Pokud je váš
problém neznámý nebo jej nelze řešit pomocí našich instrukcí pak jej nahlaste
jako chybu.
</para>
diff --git a/DOCS/xml/cs/bugs.xml b/DOCS/xml/cs/bugs.xml
deleted file mode 100644
index 16173a07e7..0000000000
--- a/DOCS/xml/cs/bugs.xml
+++ /dev/null
@@ -1,215 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r23516 -->
-<appendix id="bugs">
-<title>Známé chyby</title>
-
-<sect1 id="bugs-special">
-<title>Speciální systémové/CPU-specifické chyby/problémy</title>
-
-<itemizedlist>
-<listitem>
- <para>SIGILL (signal 4) na P3 s jádry 2.2.x:</para>
- <para>Problém: jádro 2.2.x nemá správnou (funkÄní) podporu SSE</para>
- <para>Řešení: upgradujte jádro na 2.4.x</para>
- <para>Obejití: <command>./configure --disable-sse</command></para>
-</listitem>
-
-<listitem>
- <para>Obecný SIGILL (signal 4):</para>
- <para>Problém: zkompilovali jste a používáte <application>MPlayer</application>
- na různých strojích (například jste kompilovali na P3 a pouštíte jej na Celeronu)
- </para>
- <para>Řešení: kompilujte <application>MPlayer</application> na stejném stroji,
- kde jej budete používat!</para>
- <para>Obejití: Na toto všechno můžete zapomenout, když budete konfigurovat
- kompilaci s volbou <option>--enable-runtime-cpudetection</option>, nebo můžete
- vyÅ™adit urÄité sady CPU instrukcí pomocí mnohem konkrétnÄ›jších voleb (jako
- <option>--disable-mmx</option>, <option>--disable-3dnow</option>, atd.).
- </para>
-</listitem>
-
-<listitem>
- <para>Havaruje při ukládání datových proudů (dump):</para>
- <para>Problém: vylití jádra (core dump)</para>
- <para>ŘeÅ¡ení: NepanikaÅ™te. ZjistÄ›te, kde máte ruÄník.</para>
-</listitem>
-</itemizedlist>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="bugs-audio">
-<title>Různé A-V sync a další problémy se zvukem</title>
-
-<sect2 id="bugs-delay-all">
-<title>Obecné zpoždění zvuku nebo mizerný zvuk
- (ve všech nebo mnoha souborech)</title>
-
-<itemizedlist>
-<listitem><para>
- nejÄastÄ›ji: vadný ovládaÄ zvukové karty! &ndash; zkuste použít jiné ovladaÄe,
- Zkuste OSS emulaci z ALSA pomocí <option>-ao oss</option>, také zkuste
- <option>-ao sdl</option>, obÄas to pomůže. Pokud se váš soubor pÅ™ehrává dobÅ™e
- s <option>-nosound</option>, pak si můžete být jisti, že je to problém zvukové
- karty (ovladaÄe).
-</para></listitem>
-
-<listitem>
- <para>problémy audio bufferu (špatně detekovaná velikost bufferu)</para>
- <para>
- Obejití: <application>MPlayer</application>ova volba <option>-abs</option>
- </para>
-</listitem>
-
-<listitem><para>
- problémy se vzorkovací rychlostí &ndash; možná vaše zvuková karta nepodporuje
- vzorkovací rychlost používanou ve vašich souborech. Zkuste převzorkovávací
- filtr (<option>-af resample=...</option>)
-</para></listitem>
-
-<listitem>
- <para>pomalý stroj (CPU nebo VGA)</para>
- <para>
- zkuste s <option>-vo null</option>, pokud se přehrává dobře, pak máte
- pomalou VGA kartu/rozhraní
- </para>
- <para>
- Obejití: kupte si rychlejší kartu, nebo si pÅ™eÄtÄ›te tu Äást dokumentace
- pojednávající o tom jak urychlovat
- </para>
- <para>Rovněž zkuste <option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-delay-specific">
-<title>Zpoždění zvuku/de-sync typické pro jeden nebo málo souborů</title>
-
-<itemizedlist>
-<listitem>
- <para>vadný soubor</para>
- <para>
- Obejití:
- <itemizedlist>
- <listitem>
- <para>
- volba <option>-ni</option> nebo <option>-nobps</option>
- (pro neprokládané nebo vadné soubory)
- </para>
- <para>a/nebo</para>
- </listitem>
- <listitem>
- <para>
- <option>-mc 0</option>
- (vyžadováno soubory se špatně prokládaným VBR zvukem)
- </para>
- <para>a/nebo</para>
- </listitem>
- <listitem>
- <para>
- <option>-delay</option> nebo <keycap>+</keycap>/<keycap>-</keycap>
- klávesy za běhu pro nastavení zpoždění
- </para>
- </listitem>
- </itemizedlist>
- Pokud nic z toho nepomůže, uploadujte prosíme soubor, otestujeme jej a opravíme.
- </para>
-</listitem>
-
-<listitem>
- <para>vaše zvuková karta nepodporuje přehrávání při 48 kHz</para>
- <para>Obejití: kupte si lepší zvukovou kartu... nebo zkuste snížit snímkovou
- rychlost o 10% (použijte <option>-fps 27</option> pro film 30fps) nebo použijte
- resample filtr</para>
-</listitem>
-
-<listitem>
- <para>
- pomalý poÄítaÄ (pokud není A-V okolo 0 a
- poslední Äíslo stavového řádku se zvyÅ¡uje)
- </para>
- <para>Obejití: <option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nosound">
-<title>Naprosto bez zvuku</title>
-
-<itemizedlist>
-<listitem>
- <para>váš soubor používá nepodporovaný audio kodek</para>
- <para>
- ŘeÅ¡ení: pÅ™eÄtÄ›te si dokumentaci a pomozte nám pÅ™idat pro nÄ›j podporu
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nopicture">
-<title>Žádný obraz (pouze šedá/zelená plocha)</title>
-
-<itemizedlist>
-<listitem>
- <para>váš soubor používá nepodporovaný video kodek</para>
- <para>
- ŘeÅ¡ení: pÅ™eÄtÄ›te si dokumentaci a pomozte nám pÅ™idat pro nÄ›j podporu
- </para>
-</listitem>
-
-<listitem>
- <para>
- automaticky vybraný kodek neumí dekódovat soubor &ndash; zkuste vybrat jiný
- pomocí volby <option>-vc</option> nebo <option>-vfm</option>
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-video">
-<title>Problémy s výstupem videa</title>
-
-<para>
-Nejprve poznamenejme, že volby <option>-fs -vm</option> a
-<option>-zoom</option> nejsou podporované všemi rozhraními. Navíc
-ne všechna rozhraní podporují škálování/zvětšování v hardwaru.
-</para>
-
-<formalpara>
-<title>Poblikávání OSD/titulků</title>
-<para>
-<itemizedlist>
- <listitem><para>rozhraní x11: bohužel, zatím nelze odstranit</para></listitem>
- <listitem><para>rozhraní xv: použijte volbu <option>-double</option></para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-<formalpara>
-<title>Zelený obraz při použití mga_vid
- (<option>-vo mga</option> / <option>-vo xmga</option>)</title>
-<para>
-<itemizedlist>
-<listitem><para>
- mga_vid Å¡patnÄ› detekovalo množství RAM videokarty, naÄtÄ›te jej
- znovu s volbou <option>mga_ram_size</option>
-</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-</sect2>
-</sect1>
-
-</appendix>
-
diff --git a/DOCS/xml/cs/codecs.xml b/DOCS/xml/cs/codecs.xml
deleted file mode 100644
index 4c6bea7377..0000000000
--- a/DOCS/xml/cs/codecs.xml
+++ /dev/null
@@ -1,700 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r24082 -->
-<chapter id="codecs">
-<title>Kodeky</title>
-
-<sect1 id="video-codecs">
-<title>Video kodeky</title>
-
-<para>
-Kompletní denně aktualizovaný seznam naleznete v naší
-<ulink url="../../codecs-status.html">tabulce statusů kodeků</ulink>.
-Některé binární kodeky pro použití MPlayerem jsou dostupné
-<ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">sekci download</ulink>
-naší domácí stránky.
-</para>
-
-<para>
-Nejdůležitější ze všech jsou:
-</para>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) a
- <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
-</para></listitem>
-<listitem><para>
- nativní dekodéry pro <emphasis role="bold">všechny DivX varianty,
- 3ivX, MS MPEG-4</emphasis> v1, v2 a ostatní MPEG-4 varianty
-</para></listitem>
-<listitem><para>
- nativní dekodér pro <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>), a Win32 DLL dekodér
- pro <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>),
- obojí používané ve <filename>.wmv</filename> souborech
-</para></listitem>
-<listitem><para>
- nativní <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> dekodér
-</para></listitem>
-<listitem><para>
- nativní <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> dekodér
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">3ivx</emphasis> v1, v2 dekodér
-</para></listitem>
-<listitem><para>
- Cinepak a <emphasis role="bold">Intel Indeo</emphasis> kodeky
- (3.1,3.2,4.1,5.0)
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 a další hardwarové
- formáty
-</para></listitem>
-<listitem><para>
- VIVO 1.0, 2.0, I263 a další <emphasis role="bold">H.263(+)</emphasis>
- varianty
-</para></listitem>
-<listitem><para>
- FLI/FLC
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> z
- <systemitem class="library">libavcodec</systemitem>, a
- <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> kodeky používající
- knihovny z RealPlayeru
- </para></listitem>
- <listitem><para>
- nativní dekodér pro HuffYUV
-</para></listitem>
-<listitem><para>
- Různé staré a jednoduché formáty podobné RLE
-</para></listitem>
-</itemizedlist>
-
-<para>
-Pokud máte Win32 kodek, který zde není uveden a který není zatím podporován,
-pÅ™eÄtÄ›te si
-<link linkend="codec-importing">codec importing HOWTO</link>
-a pomozte nám přidat pro něj podporu.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
-<title>FFmpeg/libavcodec</title>
-
-<para>
-<ulink url="http://ffmpeg.org">FFmpeg</ulink> obsahuje
-<systemitem class="library">libavcodec</systemitem>, vedoucí
-open source video a audio kodekovou knihovnu. Ta je schopna
-dekódovat většinu formátů multimédií, obvykle vyšší rychlostí
-než alternativy a plánuje se nakonec přidat podporu všech.
-Je to výchozí dekodér pro většinu kodeků, které
-<application>MPlayer</application> podporuje.
-Pro některé formáty je k dispozici také enkódování podporované
-v <application>MEncoder</application>u.
-</para>
-
-<para>
-Úplný seznam podporovaných
-<ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
-a <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink>
-kodeků naleznete na domácí stránce FFmpeg.
-</para>
-
-<para>
-<application>MPlayer</application> obsahuje
-<systemitem class="library">libavcodec</systemitem>.
-Jen spusťte <filename>./configure</filename> a kompilujte.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xvid">
-<title>Xvid</title>
-
-<para>
-<ulink url="http://www.xvid.org">Xvid</ulink> je free software MPEG-4 ASP
-kompatibilní video kodec, jenž má podporu pro dvouprůchodové enkódování a
-plnÄ› podporuje MPEG-4 ASP, což jej Äiní mnohem efektivnÄ›jším, než je
-dobře známý DivX kodek.
-Dosahuje velmi dobré kvality videa a dobrý vákon díky CPU optimalizacím
-pro většinu moderních procesorů.
-</para>
-
-<para>
-Jeho vývoj je odvozen od OpenDivX kodeku.
-To se stalo poté co ProjectMayo uzavřel zdrojový kód kodeku,
-vydal jej jako DivX4 a lidé mimo ProjectMayo pracující na kodeku
-OpenDivX se naštvali a založili Xvid. Oba projekty tedy mají stejný základ.
-</para>
-
-<para>
-Poznamenejme, že Xvid není nutný pro dekódování Xvidem enkódovaného videa.
-Jako výchozí je používán <systemitem class="library">libavcodec</systemitem>,
-jelikož poskytuje vyšší rychlost.
-</para>
-
-<procedure>
-<title>Instalace <systemitem class="library">Xvid</systemitem></title>
-<para>
- Stejně jako většina svobodného software je dostupný ve dvou verzích:
- <ulink url="http://www.xvid.org/downloads.html">oficiálně uvolněné verzi</ulink>
- a verzi CVS.
- V souÄasnosti je CVS verze obvykle dostateÄnÄ› stabilní pro použití, jelikož
- většinou obsahuje opravy chyb, které zůstaly po vydání.
- Zde uvádíme postup pro zprovoznění <systemitem class="library">Xvid</systemitem>
- CVS v <application>MEncoder</application>u (budete potřebovat alespoň
- autoconf 2.50, automake a libtool):
-</para>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
-</para></step>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
-</para></step>
-<step><para>
- <screen>cd xvidcore/build/generic</screen>
-</para></step>
-<step><para>
- <screen>./bootstrap.sh</screen>
-</para></step>
-<step><para>
- <screen>./configure</screen>
- Zde můžete přidat nějaké volby (prostudujte si výstup příkazu
- <command>./configure --help</command>).
-</para></step>
-<step><para>
- <screen>make &amp;&amp; make install</screen>
-</para></step>
-<step><para>
- Pokud jste zadali <option>--enable-divxcompat</option>,
- zkopírujte <filename>../../src/divx4.h</filename> do adresáře
- <filename class="directory">/usr/local/include/</filename>.
-</para></step>
-<step><para>
- Znovu zkompilujte <application>MPlayer</application> s volbami
- <option>--with-xvidlibdir=<replaceable>/cesta/k/</replaceable>libxvidcore.a</option>
- <option>--with-xvidincdir=<replaceable>/cesta/k/</replaceable>xvid.h</option>.
-</para></step>
-</procedure>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="codec-x264">
-<title><systemitem class="library">x264</systemitem></title>
-
-<sect3 id="codec-x264-whatis">
-<title>Co je <systemitem class="library">x264</systemitem>?</title>
-
-<para>
- <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
- je knihovna pro tvorbu H.264 video proudů.
- Není 100% dokonÄena, ale již má alespoň urÄitou podporu vÄ›tÅ¡iny H.264
- vlastností ovlivňujících kvalitu.
- Ve specifikaci H.264 je ovÅ¡em mnoho pokroÄilých funkcí, které nemají přímo
- co do ÄinÄ›ní s kvalitou videa. Mnoho z tÄ›chto vlastností zatím není
- v <systemitem class="library">x264</systemitem> implementováno.
-</para>
-
-<itemizedlist>
-<title>Vlastnosti enkodéru</title>
- <listitem><para>CAVLC/CABAC</para></listitem>
- <listitem><para>Multi-reference</para></listitem>
- <listitem><para>
- Intra: všechny typy makrobloků (16x16, 8x8 a 4x4 se všemi predikcemi)
- </para></listitem>
- <listitem><para>
- Inter P: všechna rozdělení (partitiony) (od 16x16 níže až do 4x4)
- </para></listitem>
- <listitem><para>
- Inter B: rozdÄ›lení od 16x16 níže až do 8x8 (vÄetnÄ› SKIP/DIRECT)
- </para></listitem>
- <listitem><para>
- Řízení datového toku: konstantní kvantizér, konstantní datový
- tok nebo jedno Äi víceprůchodový ABR
- </para></listitem>
- <listitem><para>Detekce změny scény</para></listitem>
- <listitem><para>Adaptivní umísťování B-snímků</para></listitem>
- <listitem><para>
- B-snímky jako referenÄní / libovolné Å™azení snímků
- </para></listitem>
- <listitem><para>8x8 a 4x4 adaptivní prostorová transformace</para></listitem>
- <listitem><para>Bezstrátový režim</para></listitem>
- <listitem><para>Uživatelské kvantizaÄní matice</para></listitem>
- <listitem><para>Paralelní enkódování nÄ›kolika políÄek</para></listitem>
- <listitem><para>Prokládání (Interlacing)</para></listitem>
-</itemizedlist>
-</sect3>
-
-
-<sect3 id="codec-h264-whatis">
-<title>Co je H.264?</title>
-
-<para>
-H.264 je jeden z názvů nového kodeku digitálního videa vyvíjeného spoleÄnÄ›
-skupinami ITU a MPEG.
-Rovněž může být zprávně nazýván těžkopádně jako
-„ISO/IEC 14496-10“ nebo „MPEG-4 Part 10“.
-Častěji je nazýván jako „MPEG-4 AVC“ nebo jen „AVC“.
-</para>
-<para>
-Ať už mu říkáte jakkoli, H.264 stojí za vyzkoušení, protože obvykle
-dosahuje kvality MPEG-4 ASP při datovém toku o 5%-30% nižším.
-Konkrétní výsledky závisí jak na zdrojovém videu, tak na enkodéru.
-Prospěch z použití H.264 není zadarmo: Zdá se, že dekódování H.264 datových
-proudů má přemrštěné nároky na CPU a paměť.
-Například na 1733 MHz Athlonu využije dekódování 1500kbps H.264 videa
-v DVD rozlišení kolem 35% CPU.
-Pro porovnání, dekódování 1500kbps MPEG-4 ASP proudu ve stejném rozlišení
-vyžaduje okolo 10% CPU.
-To znamená, že dekódování datových proudů je pro většinu uživatelů téměř
-nemožné.
-Rovněž to znamená, že dokonce i rozumný DVD rip se může obÄas zakousnout
-na procesorech slabších než cca 2.0 GHz.
-</para>
-
-<para>
-Alespoň s <systemitem class="library">x264</systemitem>,
-nejsou požadavky ne enkódování o mnoho větší než ty,
-které vyžaduje MPEG-4 ASP.
-Například na 1733 MHz Athlonu poběží typické DVD enkódování
-při 5-15 snímků za sekundu.
-</para>
-
-<para>
- Tento dokument se nesnaží vysvětlit detaily H.264, ale pokud máte zájem
- o struÄný pÅ™ehled, pÅ™eÄtÄ›te si
- <ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-playback">
-<title>Jak mohu přehrávat H.264 videa
- <application>MPlayer</application>em?</title>
-
-<para>
-<application>MPlayer</application> používá H.264 dekodér z
-<systemitem class="library">libavcodec</systemitem>u.
-<systemitem class="library">libavcodec</systemitem> má alespoň
-minimálnÄ› použitelný H.264 dekodér již asi od Äervence 2004,
-od té doby však byly provedeny velké změny a vylepšení jak
-v poÄtu funkÄností, tak ve vylepÅ¡ení použití CPU.
-Pro jistotu je vždy nejlepší používat aktuální Subversion verzi.
-</para>
-
-<para>
-Chcete-li se snadno a rychle dozvědět o změnách v H.264 dekódování
-<systemitem class="library">libavcodec</systemitem>u, sledujte
-<ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">webové FFmpeg Subversion rozhraní</ulink>.
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-encode">
-<title>Jak mohu enkódovat video pomocí <application>MEncoder</application>
-a <systemitem class="library">x264</systemitem>?</title>
-<para>
-Pokud máte nainstalován klient subversion, můžete si poslední x264
-zdrojové kódy x264 opatřit tímto příkazem:
-<screen>svn co svn://svn.videolan.org/x264/trunk x264</screen>
-Zdrojové kódy <application>MPlayer</application>u jsou aktualizovány,
-kdykoli nastane změna API v <systemitem class="library">x264</systemitem>,
-takže vždy doporuÄujeme používat také Subversion verzi
-<application>MPlayer</application>u.
-Tato situace se snad změní, až
-<systemitem class="library">x264</systemitem> dospěje k „vydání“.
-Mezi tím by měla být <systemitem class="library">x264</systemitem> považována
-za velmi nestabilní v tom smyslu, že se její programové rozhraní neustále
-mění.
-</para>
-
-<para>
-<systemitem class="library">x264</systemitem> je setavována a
-instalována standardním postupem:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-To nainstaluje libx264.a do /usr/local/lib a x264.h je umístěn do
-/usr/local/include.
-
-S knihovnou <systemitem class="library">x264</systemitem> a jejím
-hlaviÄkovým souborem umístÄ›nými na standardních místech je
-sestavení <application>MPlayer</application>u s podporou
-<systemitem class="library">x264</systemitem> snadné.
-StaÄí spustir standardní:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-Skript <filename>./configure</filename> automaticky detekuje, že jste splnili
-požadavky pro <systemitem class="library">x264</systemitem>.
-</para>
-</sect3>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-codecs">
-<title>Audio kodeky</title>
-
-<itemizedlist>
-<title>Nejdůležitější ze všech jsou audio kodeky:</title>
-<listitem><para>
- MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">nativní</emphasis>
- kód, s MMX/SSE/3DNow! optimalizací)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 7 a 8 (ALIAS WMAv1 a WMAv2)
- (<emphasis role="bold">nativní</emphasis> kód, podpora v
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 9 (WMAv3) (používá DMO DLL)
-</para></listitem>
-<listitem><para>
- AC–3 Dolby audio (<emphasis role="bold">nativní</emphasis> kód, s
- MMX/SSE/3DNow! optimalizací)
-</para></listitem>
-<listitem><para>
- AC–3 tunelování přes hardware zvukové karty
-</para></listitem>
-<listitem><para>
- AAC
-</para></listitem>
-<listitem><para>
- Ogg Vorbis audio kodek (<emphasis role="bold">nativní</emphasis> knihovna)
-</para></listitem>
-<listitem><para>
- RealAudio: DNET (AC–3 s nízkým datovým tokem), Cook, Sipro a ATRAC–3
-</para></listitem>
-<listitem><para>
- QuickTime: Qualcomm a QDesign audio kodeky
-</para></listitem>
-<listitem><para>
- VIVO audio (g723, Vivo Siren)
-</para></listitem>
-<listitem><para>
- Voxware audio (používá DirectShow DLL)
-</para></listitem>
-<listitem><para>
- alaw a ulaw, různé gsm, adpcm a pcm formáty a ostatní jednoduché starší
- audio kodeky
-</para></listitem>
-<listitem><para>
- Adaptivní Multi-Rate (AMR) kodeky pro mluvené slovo
-</para></listitem>
-</itemizedlist>
-
-<!-- ********** -->
-
-<sect2 id="swac3">
-<title>Softwarové dekódování AC–3</title>
-
-<para>
-Toto je výchozí dekodér používaný pro soubory s AC–3 zvukem.
-</para>
-
-<para>
-AC–3 dekodér umí vytvořit zvukový výstup pro 2, 4, nebo 6 reproduktorů.
-Pokud je nakonfigurován na 6 kanálů, pak tento dekodér posílá všechny AC–3
-kanály oddÄ›lenÄ› na rozhraní ovladaÄe zvukové karty, což umožňuje vychutnávat
-plně prostorový zvuk bez nutnosti mít externí AC–3 dekodér nutný k použití
-hwac3 kodeku.
-</para>
-
-<para>
-Použijte volbu <option>-channels</option> pro výbÄ›r poÄtu výstupních kanálů.
-Zadejte volbu <option>-channels 2</option> pro mixování na stereo. Chcete-li
-ÄtyÅ™kanálový zvuk (Levý ÄŒelní, Pravý ÄŒelní, Levý Surround a Pravý Surround
-výstup), zadejte volbu <option>-channels 4</option>. V tom případě bude
-jakýkoli stÅ™edový kanál odpovídajícím způsobem namixován do Äelních kanálů.
-Volbou <option>-channels 6</option> dostanete plný poÄet AC–3 kanálů tak jak
-jsou enkódovány &ndash; v pořadí Levý, Pravý, Levý Surround, Pravý Surround, Střed a
-LFE.
-</para>
-
-<para>
-Výchozí poÄet výstupních kanálů jsou 2.
-</para>
-
-<para>
-Chcete-li více než 2 výstupní kanály, budete potřebovat OSS, a zvukovou kartu,
-která podporuje požadovaný poÄet výstupních kanálů pÅ™es
-SNDCTL_DSP_CHANNELS ioctl. Příkladem použitelného ovladaÄe je emu10k1
-(používaný kartami Soundblaster Live!) ze Srpna 2001 nebo novější (ALSA z CVS
-bude rovněž fungovat).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwac3">
-<title>Hardwarové dekódování AC–3</title>
-
-<para>
-Potřebujete zvukovou kartu schopnou AC–3, s digitálním výstupem(S/PDIF).
-OvladaÄ karty musí správnÄ› podporovat formát AFMT_AC–3 (C-Media ano). PÅ™ipojte
-svůj AC–3 dekodér na výstup S/PDIF a zadejte volbu <option>-ac hwac3</option>.
-Je to experimentální, ale víme že pracuje s C-Media kartami a
-Soundblaster Live! + ALSA (ale ne OSS) ovladaÄi a dekodérovými kartami
-DXR3/Hollywood+ MPEG.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="libmad">
-<title>podpora <systemitem class="library">libmad</systemitem></title>
-
-<para>
-<ulink url="http://www.underbit.com/products/mad/"><systemitem class="library">libmad</systemitem></ulink>
-je multiplatformní, pouze celoÄíselná (internÄ› 24bitový PCM)
-MPEG audio dekódovací knihovna. Neumí si dobře poradit s poškozenými soubory a
-obÄas má problémy s pÅ™evíjením, ale může být výkonnÄ›jší na platformách bez
-FPU (jako je <link linkend="arm">ARM</link>)
-než <systemitem class="library">mp3lib</systemitem>.
-</para>
-
-<para>
-Máte-li správně nainstalovánu libmad, <filename>./configure</filename>
-si toho všimne a podpora dekódování MPEG zvuku přes
-<systemitem class="library">libmad</systemitem> bude zakompilována automaticky.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwmpa">
-<title>Hardwarový MPEG audio kodek</title>
-
-<para>
-Tento kodek (zvolený pomocí <option>-ac hwmpa</option>) posílá MPEG audio
-pakety do hardwarových dekodérů dostupných např. v plně vybavených
-DVB kartách a DXR2 adaptérech.
-Nepoužívejte je v kombinaci s jinými výstupními audio rozhraními
-(jako OSS a ALSA), které je nedokáží dekódovat (uslyšíte pouze rušení).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="aac">
-<title>Kodek AAC</title>
-
-<para>
-AAC (Advanced Audio Coding) je audio kodek, který lze obÄas nalézt v MOV a
-MP4 souborech. Open source dekodér jménem FAAD je k dispozici na
-<ulink url="http://www.audiocoding.com"/>.
-<application>MPlayer</application> obsahuje CVS obraz libfaad 2.1 beta,
-takže jej nemusíte stahovat dodateÄnÄ›.
-</para>
-
-<para>
-Pokud používáte gcc 3.2 které nedokáže zkompilovat naši zabudovanou FAAD,
-nebo chcete použít externí knihovnu z jiných důvodů, stáhněte si ji z
-<ulink url="http://www.audiocoding.com/modules/mydownloads/">download stránky</ulink>
-a předejte volbu <option>--enable-faad-external</option> skriptu
-<filename>./configure</filename>.
-Pro dekódování AAC souborů nepotÅ™ebujete celou faad2, libfaad staÄí.
-Zkompilujete ji takto:
-<screen>
-cd faad2/
-sh bootstrap
-./configure
-cd libfaad
-make
-make install
-</screen>
-Binárky na audiocoding.com nenajdete, ale můžete si je opatÅ™it v balíÄcích pro
-Debian z
-<ulink url="http://www.debian-multimedia.org/">domácí stránky Christiana Marillata</ulink>,
-Mandrake/Mandriva RPM z <ulink url="http://plf.zarb.org">P.L.F</ulink>
-a Fedora RPM ze stránek <ulink url="http://rpm.livna.org/">Livna</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amr">
-<title>AMR kodeky</title>
-
-<para>
-Adaptivní Multi-Rate kodek pro mluvené slovo je používán třetí generací (3G)
-mobilních telefonů.
-ReferenÄní implementace je dostupná od
-<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
-(zdarma pro osobní použití).
-Pro zapnutí podpory si stáhněte podpůrné knihovny pro
-<ulink url="http://www.penguin.cz/~utx/amr">AMR-NB a AMR-WB</ulink>
-a následujte instrukce na stránce. Potom znovu zkompilujte MPlayer.
-</para>
-</sect2>
-
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="codec-importing">
-<title>HOWTO: Import Win32 kodeků</title>
-
-<!-- TODO: a short paragraph of text would be nice here... -->
-
-<sect2 id="vfw-codecs">
-<title>Kodeky VFW</title>
-
-<para>
-VFW (Video for Windows) je staré Video API pro Windows. Jeho kodeky mají
-příponu <filename>.DLL</filename> nebo (zřídka) <filename>.DRV</filename>.
-Pokud <application>MPlayer</application> selže při přehrávání vašeho AVI
-s hláškou typu:
-<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
-nebo Äesky
-<screen>NEZNÃMÃ video kodek: HFYU (0x55594648)</screen>
-Pak to znamená, že máte AVI enkódované kodekem, který má HFYU fourcc (HFYU =
-HuffYUV kodek, DIV3 = DivX Low Motion, atd). TeÄ když to víte, mÄ›li byste
-zjistit kterou DLL Windows nahrává pro přehrávání tohoto souboru. V našem
-případě soubor <filename>system.ini</filename> obsahuje řádek s touto
-informací:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Potřebujete tedy soubor <filename>huffyuv.dll</filename>. Poznamenejme, že
-audio kodeky jsou odlišeny předponou MSACM:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-To je kodek MP3. Nyní již máte všechny potřebné informace
-(fourcc, soubor kodeku, vzorek AVI). Pošlete požadavek na podporu vašeho
-kodeku mailem a nahrajte tyto soubory na FTP server:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;codecname&gt;</replaceable>/</systemitem>
-</para>
-
-<note><para>
-Ve Windows NT/2000/XP hledejte tyto informace v registrech,
-zde hledáte „VIDC.HFYU“. Jak to udělat se dozvíte níže v sekci
-DirectShow Stará metoda.
-</para></note>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="dshow-codecs">
-<title>Kodeky DirectShow</title>
-
-<para>
-DirectShow je novější Video API, které je ještě horší než jeho předchůdce.
-Pracuje se s ním hůře, protože
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> neobsahuje potřebné údaje,
- místo toho jsou uloženy v registrech a
-</para></listitem>
-<listitem><para>
- potřebujeme GUID kodeku.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Nová Metoda:</title>
-<para>
-Using <application>Microsoft GraphEdit</application> (rychlý)
-</para>
-<step><para>
- OpatÅ™ete si <application>GraphEdit</application> buÄ z DirectX SDK nebo
- <ulink url="http://doom9.net">doom9</ulink>.
- </para></step>
-<step><para>
- Spusťte <command>graphedit.exe</command>.
-</para></step>
-<step><para>
- V menu vyberte
- <menuchoice><guimenu>Graph</guimenu>
- <guisubmenu>Insert Filters</guisubmenu></menuchoice>.
-</para></step>
-<step><para>
- Vyrolujte položku <systemitem>DirectShow Filters</systemitem>.
-</para></step>
-<step><para>
- Vyberte správný název kodeku a vyrolujte položku.
-</para></step>
-<step><para>
- Ve vstupu <systemitem>DisplayName</systemitem> pohlédněte na text ve
- dvojitých uvozovkách za zpětným lomítkem a opište si ho (pět lomítkem
- oddělených bloků, GUID).
-</para></step>
-<step><para>
- Binárka kodeku je uvedena ve vstupu
- <systemitem>Filename</systemitem>.
-</para></step>
-</procedure>
-
-<note><para>
-Pokud zde není <systemitem>Filename</systemitem> a
-<systemitem>DisplayName</systemitem> obsahuje něco jako
-<systemitem>device:dmo</systemitem>, pak se jedná o DMO-Kodek.
-</para></note>
-
-<procedure>
-<title>Stará Metoda:</title>
-<para>
-Zhluboka se nadechnÄ›te a zaÄnÄ›te prohledávat registry...
-</para>
-<step><para>
- Spusťte <command>regedit</command>.
- </para></step>
-<step><para>
- Stiskněte
- <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo>,
- vypnÄ›te první dvÄ› zaÅ¡krtávací políÄka a zapnÄ›te to tÅ™etí. NapiÅ¡te fourcc
- kodeku (napÅ™. <userinput>TM20</userinput>).
-</para></step>
-<step><para>
- Měli byste uvidět pole obsahující cestu a jméno souboru (např.
- <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
-</para></step>
-<step><para>
- TeÄ když máme soubor, potÅ™ebujeme GUID. Zkuste hledat znovu, ale tentokrát
- hledáme jméno kodeku, ne fourcc. Jeho jméno můžete zjistit během přehrávání
- Media Playerem v menu
- <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu>
- <guimenuitem>Advanced</guimenuitem></menuchoice>.
- (<menuchoice><guimenu>Soubor</guimenu><guisubmenu>Vlastnosti</guisubmenu>
- <guimenuitem>PokroÄilé</guimenuitem></menuchoice>).
- Pokud ne, máte smůlu. Zkoušejte to dál (např. hledejte text TrueMotion).
-</para></step>
-<step><para>
- Pokud naleznete GUID, měli byste vidět pole
- <guilabel>FriendlyName</guilabel> a <guilabel>CLSID</guilabel>.
- Opište si 16 bajtové CLSID, to je ono GUID, které potřebujeme.
-</para></step>
-</procedure>
-
-<note><para>
-Pokud vyhledávání selže, zkuste zapnout všechny zaškrtávátka. Nejspíš
-dostanete nesprávné výsledky, ale můžete mít štěstí...
-</para></note>
-
-<para>
-Nyní když máte všechny potřebné informace (fourcc, GUID, soubor kodeku,
-vzorek AVI), pošlete požadavek na podporu svého kodeku mailem a nahrajte
-tyto soubory na FTP server:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;codecname&gt;</replaceable>/</systemitem>
-</para>
-
-<para>
-Pokud chcete pÅ™idat kodek sami, pÅ™eÄtÄ›te si
-<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
-</para>
-
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/cs/containers.xml b/DOCS/xml/cs/containers.xml
deleted file mode 100644
index 61c94fbc31..0000000000
--- a/DOCS/xml/cs/containers.xml
+++ /dev/null
@@ -1,523 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r24056 -->
-<chapter id="containers">
-<title>Nosné formáty (Containers)</title>
-
-<para>
-Považujeme za důležité vyjasnit všeobecný omyl. Když lidé vidí soubor s příponou
-<filename>.AVI</filename>, automaticky se domnívají, že to není MPEG soubor.
-To však není pravda. Aspoň ne úplně. Narozdíl od všeobecného mínění tyto
-soubory <emphasis>mohou</emphasis> obsahovat MPEG–1 video.
-</para>
-
-<para>
-Jak vidíte, <emphasis role="bold">kodek</emphasis> není to samé jako
-<emphasis role="bold">nosný formát</emphasis>.
-Příklady video <emphasis role="bold">kodeků</emphasis> jsou:
-MPEG–1, MPEG–2, MPEG–4 (DivX), Indeo5, 3ivx.
-Příklady nosných <emphasis role="bold">formátů</emphasis> jsou:
-MPG, AVI, ASF.
-</para>
-
-<para>
-Teoreticky můžete vložit OpenDivX video a MP3 audio
-do <emphasis role="bold">nosného formátu MPG</emphasis>. VÄ›tÅ¡ina pÅ™ehrávaÄů jej
-vÅ¡ak nepÅ™ehraje, jelikož zde oÄekávají MPEG–1 video a MP2 audio (narozdíl od
-<emphasis role="bold">AVI</emphasis>, <emphasis role="bold">MPG</emphasis>
-nemá potřebná pole k popisu svých video a audio datových proudů).
-Nebo můžete vložit MPEG–1 video do AVI souboru.
-<ulink url="http://ffmpeg.org/">FFmpeg</ulink> a
-<link linkend="mencoder"><application>MEncoder</application></link>
-mohou tyto soubory vytvořit.
-</para>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="video-formats">
-<title>Video formáty</title>
-
-<sect2 id="mpg-vob-dat">
-<title>MPEG soubory</title>
-
-<para>
-MPEG soubory se vyskytují v různých obálkách:
-</para>
-
-<itemizedlist>
-<listitem><para>
- MPG: Toto je <emphasis role="bold">nejjednodušší</emphasis> forma souborových
- formátů MPEG. Obsahuje MPEG–1 video a MP2 (MPEG–1 layer 2) nebo ménÄ› Äasto
- MP1 audio.
-</para></listitem>
-<listitem><para>
- DAT: Toto je naprosto stejný formát jako MPG, jen s jinou příponou. Používá se
- na <emphasis role="bold">Video CD</emphasis>. Díky způsobu, jak jsou VCD
- vytvářeny a Linux navržen, nemohou být DAT soubory přehrávány nebo kopírovány
- z VCD jako běžné soubory. Musíte použít <option>vcd://</option>
- pro přehrávání Video CD.
-</para></listitem>
-<listitem><para>
- VOB: Toto je souborový formát MPEG na <emphasis role="bold">DVD</emphasis>.
- Je stejný jako MPG, plus schopnost obsahovat titulky nebo ne-MPEG
- (AC–3) audio. Obsahuje video enkódované do MPEG–2 a obvykle AC–3 audio, ale DTS,
- MP2 a nekomprimovaný LPCM jsou rovněž povoleny. <emphasis role="bold">PÅ™eÄtÄ›te
- si <link linkend="dvd">DVD</link> sekci</emphasis>!
-</para></listitem>
-<listitem><para>
- TY: Toto je TiVo MPEG datový proud. Obsahuje MPEG PES data pro audio a
- video datové proudy, spolu s dodateÄnými informacemi jako closed captions.
- Kontejner není produktem MPEG programu, ale je to uzavřený formát vytvořený
- firmou TiVo. Více informací o TiVo proudovém formátu naleznete na
- <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">
- stránkách TyStudia</ulink>.
-</para></listitem>
-</itemizedlist>
-
-<para>
-Série snímků tvoří nezávislé skupiny v MPEG souborech. To znamená, že můžete
-MPEG soubory stříhat/spojovat pomocí standardních souborových nástrojů (jako je
-<command>dd</command>, <command>cut</command>) a soubor zůstává naprosto
-funkÄní.
-</para>
-
-<para>
-Důležitou vlastností MPG je pole obsahující poměr stran obsaženého videa.
-Například SVCD mají rozliÅ¡ení videa 480x480 a v hlaviÄce mají nastaven pomÄ›r
-stran na 4:3, takže jsou přehrávány na 640x480.
-AVI soubory toto pole neobsahují, takže musí být přeškálovány během enkódování,
-nebo přehrávány s volbou <option>-aspect</option>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="avi">
-<title>AVI soubory</title>
-
-<para>
-Navrženy Microsoftem,
-<emphasis role="bold">AVI (Audio Video Interleaved)</emphasis>
-je rozšířený víceúÄelový formát. V souÄasnosti je vÄ›tÅ¡inou používaný pro MPEG–4
-(DivX a DivX4) video.
-Má mnoho známých nedostatků a nedokonalostí (například ve streamování).
-Podporuje jeden video datový proud a 0 až 99 audio proudů a může být veliký až
-2GB, avšak existuje rozšíření umožňující větší soubory nazývané
-<emphasis role="bold">OpenDML</emphasis>. V souÄasnosti Microsoft velmi odrazuje
-od jeho používání a podporuje ASF/WMV. Ne že by to někoho zajímalo.
-</para>
-
-<para>
-Existuje hack, který umožňuje vkládat do AVI souborů Ogg Vorbis audio proudy,
-ale Äiní je nekompatibilní se standardním AVI.
-<application>MPlayer</application> podporuje přehrávání těchto souborů.
-PÅ™evíjení je rovněž implementováno, ale Äasto znemožňováno Å¡patnÄ› enkódovanými
-soubory se zmatenými hlaviÄkami. NaneÅ¡tÄ›stí jediný enkodér schopný vytvoÅ™it tyto
-soubory, <application>NanDub</application>, má tento problém.
-</para>
-
-<note><para>
-DV kamery vytváří surové DV datové proudy, které jsou konvertovány DV
-grabovacími utilitami do dvou odliÅ¡ných AVI souborů. AVI pak obsahuje buÄ
-oddělené video a audio proudy které <application>MPlayer</application> umí
-přehrávat, nebo surový DV proud, jehož podpora je ve vývoji.
-</para></note>
-
-<para>
-Známe dva druhy AVI souborů:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Prokládaný:</emphasis> Audio a video obsah je
- proložený. Toto je obvyklé použití. DoporuÄené a vÄ›tÅ¡inou používané. NÄ›které
- nástroje vytvářejí AVI se špatnou synchronizací.
- <application>MPlayer</application> detekuje tyto soubory jako prokládané a to
- vyvrcholí ztrátou A/V synchronizace, pravdÄ›podobnÄ› pÅ™i pÅ™etáÄení.
- Tyto soubory by měly být přehrávány jako neprokládané
- (s volbou <option>-ni</option>).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">Neprokládané:</emphasis> Nejprve jde celý video proud,
- pak celý audio proud. To vyžaduje mnoho hledání, což Äiní pÅ™ehrávání ze sítÄ›
- nebo CD-ROM obtížným.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-<application>MPlayer</application> podporuje dva druhy Äasování pro AVI soubory:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">založený na bps:</emphasis> Vychází z bitové/vzorkové
- rychlosti video/audio proudu. Tuto metodu používá vÄ›tÅ¡ina pÅ™ehrávaÄů,
- vÄetnÄ› <ulink url="http://avifile.sf.net">avifile</ulink>
- a <application>Windows Media Player</application>u. Soubory s poškozenými
- hlaviÄkami a soubory obsahující VBR audio nevytvoÅ™ené VBR sluÄitelným
- enkodérem vyústí v rozejití zvuku a videa při použití této metody
- (zpravidla při převíjení).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">založený na prokládání:</emphasis> Nepoužívá hodnotu
- bitové rychlosti z hlaviÄky, místo toho využívá relativní pozici prokládaných
- audio a video chunků, což umožňuje přehrávat špatně enkódované soubory s VBR
- zvukem.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-Jakýkoli audio a video kodek je povolen, ale berte na vědomí, že VBR audio není
-vÄ›tÅ¡inou pÅ™ehrávaÄů dobÅ™e podporován. Formát souboru umožňuje použití VBR audia,
-ale vÄ›tÅ¡ina pÅ™ehrávaÄů oÄekává CBR zvuk, takže selžou s VBR. VBR je neobvyklé a
-Microsoftí AVI specifikace popisuje pouze CBR audio. Rovněž jsme si všimli, že
-většina AVI enkodérů/multiplexerů vytváří vadné soubory, když je použito VBR
-audio. Existují pouze dvě známé výjimky: <application>NanDub</application> a
-<link linkend="mencoder"><application>MEncoder</application></link>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="asf-wmv">
-<title>ASF/WMV soubory</title>
-
-<para>
-ASF (Active Streaming Format) pochází z dílny Microsoftu. Tam vytvořili dvě
-varianty ASF, v1.0 a v2.0. v1.0 je používána jejich mediálními nástroji
-(<application>Windows Media Player</application>em a
-<application>Windows Media Encoder</application>em)
-a je přísně tajný. v2.0 je publikován a patentován :). Samozřejmě se od sebe
-liší a nejsou vůbec kompatibilní (je to jen další právnická hra).
-<application>MPlayer</application> podporuje pouze v1.0, protože nikdo nikdy
-neviděl v2.0 soubory :). Poznamenejme že ASF soubory se v těchto dnech vyskytují
-s příponou <filename>.WMA</filename> nebo <filename>.WMV</filename>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="mov">
-<title>QuickTime/MOV soubory</title>
-
-<para>
-Tyto formáty byly vytvořeny v Apple a mohou obsahovat jakýkoli kodek, CBR nebo
-VBR. Obvykle mají příponu <filename>.QT</filename> nebo
-<filename>.MOV</filename>. Poznamenejme, že vzhledem k tomu, že si skupina
-MPEG–4 vybrala QuickTime jako doporuÄený formát souboru pro MPEG–4,
-jejich MOV soubory mají příponu <filename>.MPG</filename> nebo
-<filename>.MP4</filename> (Zajímavé je, že video a audio proudy v těchto
-souborech jsou skuteÄné MPG a AAC soubory. Dokonce je můžete extrahovat pomocí
-voleb <option>-dumpvideo</option> a <option>-dumpaudio</option>.).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="vivo">
-<title>VIVO soubory</title>
-
-<para>
-<application>MPlayer</application> šťastně demuxuje souborový formát VIVO.
-Největší nevýhoda tohoto formátu je, že nemá indexový blok ani pevnou délku
-paketu nebo synchronizaÄní bity a mnoha souborům schází dokonce i klíÄové
-snímky, takže zapomeňte na převíjení!
-</para>
-
-<para>
-Video kodekem VIVO/1.0 souborů je standardní
-<emphasis role="bold">h.263</emphasis>.
-Video kodekem VIVO/2.0 souborů je upravený, nestandardní
-<emphasis role="bold">h.263v2</emphasis>. Zvuk mají stejný, může to být
-<emphasis role="bold">g.723 (standard)</emphasis> nebo
-<emphasis role="bold">Vivo Siren</emphasis>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="fli">
-<title>FLI soubory</title>
-
-<para>
-<emphasis role="bold">FLI</emphasis> je velmi starý souborový formát používaný
-Autodesk Animatorem, ale je běžným formátem pro krátké animace na netu.
-<application>MPlayer</application> demuxuje a dekóduje FLI filmy a je dokonce
-schopen v nich převíjet (použitelné při přeskakování s volbou
-<option>-loop</option>). FLI soubory neobsahují klíÄové snímky, takže bude obraz
-ještě chvíli po převíjení roztříštěný.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="realmedia">
-<title>RealMedia (RM) soubory</title>
-
-<para>
-Ano, <application>MPlayer</application> umí Äíst (demux) RealMedia
-(<filename>.rm</filename>) soubory.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nuppelvideo">
-<title>NuppelVideo soubory</title>
-
-<para>
-NuppelVideo
-je nástroj pro zachytávání TV (AFAIK:). <application>MPlayer</application> umí
-Äíst tyto <filename>.NUV</filename> soubory (pouze NuppelVideo 5.0). Tyto
-soubory mohou obsahovat nekomprimované YV12, YV12+RTJpeg komprimované,
-YV12 RTJpeg+lzo komprimované a YV12+lzo komprimované snímky.
-<application>MPlayer</application> je dekóduje (a také je všechny
-<emphasis role="bold">enkóduje</emphasis>
-<application>MEncoder</application>em do MPEG–4 (DivX)/atd.!).
-Převíjení funguje.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="yuv4mpeg">
-<title>yuv4mpeg soubory</title>
-
-<para>
-<ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink>
-je souborový formát používaný
-<ulink url="http://mjpeg.sf.net">mjpegtools programy</ulink>.
-Můžete zachytávat, vytvářet, filtrovat nebo enkódovat video v tomto formátu
-pomocí tÄ›chto nástrojů. Formát souboru je ve skuteÄnosti sekvence
-nekomprimovaných YUV 4:2:0 obrázků.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="film">
-<title>FILM soubory</title>
-
-<para>
-Tento formát používaly staré CD-ROM hry pro Sega Saturn.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="roq">
-<title>RoQ soubory</title>
-
-<para>
-RoQ soubory jsou multimediální soubory používané v některých hrách od ID, jako
-Quake III a Return to Castle Wolfenstein.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg">
-<title>OGG/OGM soubory</title>
-
-<para>
-Toto je nový souborový formát od
-<ulink url="http://www.xiph.org">Xiphophorus</ulink>.
-Může obsahovat jakýkoli video nebo audio kodek, CBR nebo VBR. Budete potřebovat
-<systemitem class="library">libogg</systemitem> a
-<systemitem class="library">libvorbis</systemitem> nainstalovány před kompilací
-<application>MPlayer</application>u, aby byl schopen je přehrávat.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="sdp">
-<title>SDP soubory</title>
-
-<para>
-<ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> je
-IETF standardní formát pro popis video a/nebo audio RTP datových proudů.
-(Vyžaduje
-"<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>".)
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="pva">
-<title>PVA soubory</title>
-
-<para>
-PVA je formát podobný MPEG, používaný softwarem pro DVB TV desky (např.:
-<application>MultiDec</application>,
-<application>WinTV</application> pod Windows).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nsv">
-<title>NSV soubory</title>
-
-<para>
-NSV (NullSoft Video) je souborový formát používaný pÅ™ehrávaÄem
-<application>Winamp</application> pro streamování audia a videa.
-Video je VP3, VP5 nebo VP6, audio je MP3, AAC nebo VLB.
-Jen zvuková verze NSV užívá příponu <filename>.nsa</filename>.
-<application>MPlayer</application> umí přehrávat jak NSV datové proudy, tak
-soubory. Poznamenejme, že většina souborů ze
-<ulink url="http://www.winamp.com">stránek Winampu</ulink> používá VLB audio,
-které zatím nelze dekódovat. Mimo to proudy z tohoto serveru vyžadují další
-depaketovací vrstvu, která ještě musí být implementována (stejně jsou ty soubory
-nepřehratelné, protože mají VLB audio).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="matroska">
-<title>Soubory Matroska</title>
-
-<para>
-Matroska je otevřený nosný (container) formát.
-Více se dozvíte na <ulink url="http://www.matroska.org/">oficiálním serveru</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nut">
-<title>Soubory NUT</title>
-
-<para>
-NUT je nosný formát vyvíjený týmy <application>MPlayer</application> a
-<application>FFmpeg</application>. Oba projekty jej podporují.
-Více se dozvíte na <ulink url="http://www.nut.hu/">oficiálním serveru</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="gif">
-<title>GIF soubory</title>
-
-<para>
-Formát <emphasis role="bold">GIF</emphasis> je obecný formát pro webovou
-grafiku. Existují dvě verze GIF specifikace, GIF87a a GIF89a. Hlavní rozdíl
-je, že GIF89a umožňuje animaci. <application>MPlayer</application> podporuje
-oba formáty pomocí <systemitem class="library">libungif</systemitem> nebo
-jiné libgif-kompatibilní knihovny. Neanimované GIFy budou zobrazeny jako
-jednoobrázková videa. (Použijte volby <option>-loop</option> a
-<option>-fixed-vo</option> pro delší zobrazení.)
-</para>
-
-<para>
-<application>MPlayer</application> v souÄasnosti nepodporuje pÅ™evíjení v GIF
-souborech. GIF soubory nemusí mít nutně pevnou velikost rámce, anebo pevnou
-snímkovou rychlost. Spíše má každý snímek nezávislou velikost a předpokládá se
-jeho umístÄ›ní do urÄitého místa v poli pevné velikosti. Snímková rychlost je
-ovládána volitelným blokem před každým snímkem, který udává zpoždění dalšího
-snímku v setinách sekundy.
-</para>
-
-<para>
-Standardní GIF soubory obsahují 24-bitové RGB snímky s maximálně 8-bitovou
-indexovanou paletou. Snímky jsou obvykle komprimovány algoritmem LZW, aÄkoli
-některé GIF enkodéry produkují nekomprimované snímky, aby se vyhnuly
-patentovým problémům s LZW kompresí.
-</para>
-
-<para>
-Pokud vaše distribuce neobsahuje <systemitem class="library">libungif</systemitem>,
-stáhněte si ji z
-<ulink url="http://sourceforge.net/projects/libungif">domácí stránky libungif
-</ulink>. Podrobné technické informace naleznete v
-<ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF89a specifikaci</ulink>.
-</para>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-formats">
-<title>Audio formáty</title>
-
-<para>
-<application>MPlayer</application> je <emphasis role="bold">filmový</emphasis>,
-nikoli <emphasis role="bold">multimediální</emphasis> pÅ™ehrávaÄ, aÄkoli umí
-přehrát některé zvukové formáty (ty jsou vyjmenovány v následujících sekcích).
-Toto není doporuÄené použití <application>MPlayer</application>u, radÄ›ji
-použijte <ulink url="http://www.xmms.org">XMMS</ulink>.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="mp3">
-<title>MP3 soubory</title>
-
-<para>
-Můžete mít problémy s pÅ™ehráním urÄitých MP3 souborů, které
-<application>MPlayer</application> nesprávně detekuje jako MPEGy a přehrává je
-nesprávně nebo vůbec. Toto nelze opravit bez vyřazení podpory pro některé
-poškozené MPEG soubory, proto to tak v dohledné době zůstane. Příznak
-<option>-demuxer</option> popsaný v man stránce vám pomůže v těchto případech.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg-vorbis">
-<title>OGG/OGM soubory (Vorbis)</title>
-
-<para>
-Vyžaduje správně nainstalované
-<systemitem class="library">libogg</systemitem> a
-<systemitem class="library">libvorbis</systemitem>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="cdda">
-<title>CD audio</title>
-
-<para>
-<application>MPlayer</application> umí použít <application>cdparanoia</application>
-pro pÅ™ehrávání CDDA (Audio CD). Zaměření této Äásti nezahrnuje výÄet vlastností
-<application>cdparanoia</application>.
-</para>
-
-<para>
-Viz volbu <option>-cdda</option> v man stránce, která může být použita pro
-propašování voleb do <application>cdparanoia</application>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xmms">
-<title>XMMS</title>
-
-<para>
-<application>MPlayer</application> může použít vstupní pluginy pro
-<application>XMMS</application> pro přehrávání mnoha souborových formátů.
-Jsou to pluginy pro SNES herní melodie, SID melodie (z Commodore 64), mnoho
-Amiga formátů, .xm, .it, VQF, musepack, Bonk, shorten a mnoho dalších.
-Můžete je najít na
-<ulink url="http://www.xmms.org/plugins.php?category=input">stránce XMMS input pluginů</ulink>.
-</para>
-
-<para>
-Pro tuto vlastnost musíte mít <application>XMMS</application> a zkompilovat
-<application>MPlayer</application> s
-<filename>./configure --enable-xmms</filename>.
-Pokud to nebude fungovat, budete muset nastavit cestu k
-<application>XMMS</application> pluginu a knihovnÄ› explicitnÄ› konfiguraÄními
-volbami <option>--with-xmmsplugindir</option> a
-<option>--with-xmmslibdir</option>.
-</para>
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/cs/documentation.xml b/DOCS/xml/cs/documentation.xml
index 03829d491f..e42110076c 100644
--- a/DOCS/xml/cs/documentation.xml
+++ b/DOCS/xml/cs/documentation.xml
@@ -116,8 +116,7 @@ audia.
</para></listitem>
<listitem><para>
Enkódování pomocí všech FFmpeg
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
- kodeků
+ <systemitem class="library">libavcodec</systemitem> kodeků
</para></listitem>
<listitem><para>
Video enkódování z <emphasis role="bold">V4L kompatibilních TV tunerů</emphasis>
@@ -176,17 +175,12 @@ mohou být distribuovány za podmínek stanovených v GNU General Public License
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&containers.xml;
-&codecs.xml;
-&video.xml;
&tvinput.xml;
&radio.xml;
-
+&video.xml;
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
-&bugs.xml;
&skin.xml;
diff --git a/DOCS/xml/cs/encoding-guide.xml b/DOCS/xml/cs/encoding-guide.xml
index 958aa7fe84..34058046a9 100644
--- a/DOCS/xml/cs/encoding-guide.xml
+++ b/DOCS/xml/cs/encoding-guide.xml
@@ -2314,7 +2314,7 @@ trvání/umístění každého typu.
</title>
<para>
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+<systemitem class="library">libavcodec</systemitem>
zajišťuje jednoduché enkódování do mnoha zajímavých video a audio formátů.
Můžete enkódovat do následujících kodeků (více méně aktuální):
@@ -2954,7 +2954,7 @@ poÄítaÄe a pokrokům ve vývoji, můžete dospÄ›t k velmi odliÅ¡ným výsledk
<para>
Díky této vlastnosti
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>u
+<systemitem class="library">libavcodec</systemitem>u
můžete nastavit uživatelskou inter (I-snímky/klíÄové snímky) a intra
(P-snímky/predikované (rozumÄ›jte vypoÄítané) snímky) matice. To je podporováno
mnoha kodeky:
@@ -3687,7 +3687,7 @@ poÄítaÄe a pokrokům ve vývoji, můžete dospÄ›t k velmi odliÅ¡ným výsledk
<systemitem class="library">x264</systemitem> je svobodná knihovna pro
enkódování H.264/AVC video proudů.
Pře zahájením enkódování budete muset
-<link linkend="codec-x264-encode">nastavit její podporu v <application>MEncoder</application>u</link>.
+<link linkend="x264">nastavit její podporu v <application>MEncoder</application>u</link>.
</para>
<!-- ********** -->
diff --git a/DOCS/xml/cs/faq.xml b/DOCS/xml/cs/faq.xml
index eb1c0d88ff..2eb8fbbce7 100644
--- a/DOCS/xml/cs/faq.xml
+++ b/DOCS/xml/cs/faq.xml
@@ -235,8 +235,8 @@ Mám potíže s přehráváním souborů s ... kodekem. Mohu je používat?
Prověřte
<ulink url="../../codecs-status.html">stav kodeku</ulink>,
pokud neobsahuje váš kodek, pÅ™eÄtÄ›te si
-<link linkend="codecs">kodekovou dokumentaci</link>, zvláště
-<link linkend="codec-importing">codec importing HOWTO</link> a kontaktujte nás.
+<ulink url="../../tech/win32-codec-howto">Win32 codec HOWTO</ulink>
+a kontaktujte nás.
</para></answer>
</qandaentry>
diff --git a/DOCS/xml/cs/install.xml b/DOCS/xml/cs/install.xml
index 9a69a5e899..d6a8ebb1ae 100644
--- a/DOCS/xml/cs/install.xml
+++ b/DOCS/xml/cs/install.xml
@@ -348,6 +348,146 @@ Menu Preferences NENÃ v souÄasnosti IMPLEMENTOVÃNO!
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+<sect1 id="codec-installation">
+<title>Codec installation</title>
+
+<!-- ********** -->
+
+<sect2 id="xvid">
+<title>Xvid</title>
+
+<para>
+<ulink url="http://www.xvid.org">Xvid</ulink> je free software MPEG-4 ASP
+kompatibilní video kodec, jenž má podporu pro dvouprůchodové enkódování a
+plnÄ› podporuje MPEG-4 ASP.
+Poznamenejme, že Xvid není nutný pro dekódování Xvidem enkódovaného videa.
+Jako výchozí je používán <systemitem class="library">libavcodec</systemitem>,
+jelikož poskytuje vyšší rychlost.
+</para>
+
+<procedure>
+<title>Instalace <systemitem class="library">Xvid</systemitem></title>
+<para>
+ Stejně jako většina svobodného software je dostupný ve dvou verzích:
+ <ulink url="http://www.xvid.org/downloads.html">oficiálně uvolněné verzi</ulink>
+ a verzi CVS.
+ V souÄasnosti je CVS verze obvykle dostateÄnÄ› stabilní pro použití, jelikož
+ většinou obsahuje opravy chyb, které zůstaly po vydání.
+ Zde uvádíme postup pro zprovoznění <systemitem class="library">Xvid</systemitem>
+ CVS v <application>MEncoder</application>:
+</para>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+</para></step>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+</para></step>
+<step><para>
+ <screen>cd xvidcore/build/generic</screen>
+</para></step>
+<step><para>
+ <screen>./bootstrap.sh</screen>
+</para></step>
+<step><para>
+ <screen>./configure</screen>
+ Zde můžete přidat nějaké volby (prostudujte si výstup příkazu
+ <command>./configure --help</command>).
+</para></step>
+<step><para>
+ <screen>make &amp;&amp; make install</screen>
+</para></step>
+<step><para>
+ Znovu zkompilujte <application>MPlayer</application> s volbami.
+</para></step>
+</procedure>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="x264">
+<title><systemitem class="library">x264</systemitem></title>
+
+<para>
+<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
+is a library for creating H.264 video.
+<application>MPlayer</application> sources are updated whenever
+an <systemitem class="library">x264</systemitem> API change
+occurs, so it is always suggested to use
+<application>MPlayer</application> from Subversion.
+</para>
+
+<para>
+If you have a GIT client installed, the latest x264
+sources can be gotten with this command:
+<screen>git clone git://git.videolan.org/x264.git</screen>
+
+Then build and install in the standard way:
+<screen>./configure &amp;&amp; make &amp;&amp; make install</screen>
+
+Now rerun <filename>./configure</filename> for
+<application>MPlayer</application> to pick up
+<systemitem class="library">x264</systemitem> support.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="aac">
+<title>Kodek AAC</title>
+
+<para>
+AAC (Advanced Audio Coding) je audio kodek, který lze obÄas nalézt v MOV a
+MP4 souborech. Open source dekodér jménem FAAD je k dispozici na
+<ulink url="http://www.audiocoding.com"/>.
+<application>MPlayer</application> obsahuje CVS obraz libfaad 2.1 beta,
+takže jej nemusíte stahovat dodateÄnÄ›.
+</para>
+
+<para>
+Pokud používáte gcc 3.2 které nedokáže zkompilovat naši zabudovanou FAAD,
+nebo chcete použít externí knihovnu z jiných důvodů, stáhněte si ji z
+<ulink url="http://www.audiocoding.com/modules/mydownloads/">download stránky</ulink>
+a předejte volbu <option>--enable-faad-external</option> skriptu
+<filename>./configure</filename>.
+Pro dekódování AAC souborů nepotÅ™ebujete celou faad2, libfaad staÄí.
+Zkompilujete ji takto:
+<screen>
+cd faad2/
+sh bootstrap
+./configure
+cd libfaad
+make
+make install
+</screen>
+Binárky na audiocoding.com nenajdete, ale můžete si je opatÅ™it v balíÄcích pro
+Debian z
+<ulink url="http://www.debian-multimedia.org/">domácí stránky Christiana Marillata</ulink>,
+Mandrake/Mandriva RPM z <ulink url="http://plf.zarb.org">P.L.F</ulink>
+a Fedora RPM ze stránek <ulink url="http://rpm.livna.org/">Livna</ulink>.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="amr">
+<title>AMR kodeky</title>
+
+<para>
+Adaptivní Multi-Rate kodek pro mluvené slovo je používán třetí generací (3G)
+mobilních telefonů.
+ReferenÄní implementace je dostupná od
+<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
+(zdarma pro osobní použití).
+Pro zapnutí podpory si stáhněte podpůrné knihovny pro
+<ulink url="http://www.penguin.cz/~utx/amr">AMR-NB a AMR-WB</ulink>
+a následujte instrukce na stránce. Potom znovu zkompilujte MPlayer.
+</para>
+</sect2>
+
+</sect1>
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
<sect1 id="rtc">
<title>RTC</title>
diff --git a/DOCS/xml/cs/mencoder.xml b/DOCS/xml/cs/mencoder.xml
index 5becf8bddf..26f479443a 100644
--- a/DOCS/xml/cs/mencoder.xml
+++ b/DOCS/xml/cs/mencoder.xml
@@ -753,7 +753,7 @@ tento atribut MPEG-4.
<para>
Tato vlastnost může být použita pouze s kodekem <systemitem>mpeg4</systemitem> z
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>u.
+<systemitem class="library">libavcodec</systemitem>u.
MÄ›jte na pamÄ›ti: aÄkoli
<application>MPlayer</application> korektně přehraje vytvořený soubor, ostatní
pÅ™ehrávaÄe použijí Å¡patný pomÄ›r stran.
diff --git a/DOCS/xml/cs/ports.xml b/DOCS/xml/cs/ports.xml
index aa7be4cb67..5e628d3fdd 100644
--- a/DOCS/xml/cs/ports.xml
+++ b/DOCS/xml/cs/ports.xml
@@ -339,34 +339,6 @@ nemůžete přehrávat DVD disky větší než 4 GB:
<!-- ********** -->
-<sect2 id="irix">
-<title>IRIX</title>
-
-<para>
-Můžete buÄ zkusit nainstalovat program GNU install a (pokud jste si ho
-nedali do globální cesty) odkázat na jeho umístění pomocí:
-<screen>
-./configure --with-install=<replaceable>/cesta/a/název/programu/install</replaceable>
-</screen>
-</para>
-
-<para>
-nebo můžete použít výchozí install dodávaný s IRIXem 6.5. V tom případě
-budete muset ruÄnÄ› upravit <filename>Makefile</filename>.
-Změňte následující řádek:
-<programlisting>
-$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-</programlisting>
-na:
-<programlisting>
-$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-</programlisting>
-a pokraÄujte kompilací a instalací.
-</para>
-</sect2>
-
-<!-- ********** -->
-
<sect2 id="hp-ux">
<title>HP-UX</title>
@@ -548,6 +520,23 @@ Messages in the GTK-2 interface will be broken then.<!--
</listitem>
</itemizedlist>
</sect2>
+
+<!-- ********** -->
+
+<sect2 id="qnx">
+<title>QNX</title>
+
+<para>
+Musíte si stáhnout a nainstalovat SDL pro QNX. Pak spusťte
+<application>MPlayer</application> s volbami <option>-vo sdl:driver=photon</option>
+a <option>-ao sdl:nto</option>, mělo by to být rychlé.
+</para>
+
+<para>
+Výstup <option>-vo x11</option> bude ještě pomalejší než na Linuxu,
+jelikož QNX má pouze X <emphasis>emulaci</emphasis>, která je velmi pomalá.
+</para>
+</sect2>
</sect1>
@@ -895,71 +884,4 @@ již nepracuje.
</sect2>
</sect1>
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="exotic_platforms">
-<title>Exotické platformy</title>
-
-<para>
-<application>MPlayer</application> běží na mnoha exotických platformách,
-ale většina platformně závislých změn z těchto systémů nebyla přidána zpět
-do hlavního zdrojového stromu.
-Pokyny k sestavení byste měli najít v dokumentaci pro daný systém.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="qnx">
-<title>QNX</title>
-
-<para>
-Musíte si stáhnout a nainstalovat SDL pro QNX. Pak spusťte
-<application>MPlayer</application> s volbami <option>-vo sdl:driver=photon</option>
-a <option>-ao sdl:nto</option>, mělo by to být rychlé.
-</para>
-
-<para>
-Výstup <option>-vo x11</option> bude ještě pomalejší než na Linuxu,
-jelikož QNX má pouze X <emphasis>emulaci</emphasis>, která je velmi pomalá.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amiga">
-<title>Amiga/MorphOS (GeekGadgets)</title>
-<para>
-Lidé z okruhu
-<ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
-tvoří souÄasné balíÄky <application>MPlayer</application> a
-<application>MEncoder</application>.
-</para>
-
-<para>
-Nicholas Det at Genesi vytvořil velký a výkonný port <application>MPlayer
-</application>u pro MorphOS. Naneštěstí je založen na verzi 0.90.
-</para>
-
-<para>
-Stáhněte si ji z <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
-<itemizedlist>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
- <application>MPlayer</application> 0.91 binary</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
- <application>MPlayer</application> 0.91 source</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
- <application>MEncoder</application> 1.0pre3 binary</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect2>
-</sect1>
-
</chapter>
diff --git a/DOCS/xml/de/codecs.xml b/DOCS/xml/de/codecs.xml
deleted file mode 100644
index a3d2995ee4..0000000000
--- a/DOCS/xml/de/codecs.xml
+++ /dev/null
@@ -1,686 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- in sync with r24082 -->
-<!-- missing cosmetic commit 21537 -->
-<chapter id="codecs">
- <title>Codecs</title>
-
- <sect1 id="video-codecs">
- <title>Videocodecs</title>
-
- <para>
- Die <ulink url="../../codecs-status.html">Codecstatustabelle</ulink> ist eine vollständige
- Liste aller unterstützten Codecs, die täglich neu erstellt wird.
- Einige Binärcodecs zum Gebrauch mit MPlayer sind im
- <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">Downloadbereich</ulink>
- unserer Homepage verfügbar.
- </para>
-
- <para>
- Die Allerwichtigsten:
- </para>
-
- <itemizedlist>
- <listitem><para>
- <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) und
- <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) Video
- </para></listitem>
- <listitem><para>
- Native Decoder für
- <emphasis role="bold">alle DivX-Varianten, 3ivX, Microsoft MPEG-4</emphasis>
- v1, v2 und andere MPEG-4 Varianten
- </para></listitem>
- <listitem><para>
- Nativer Decoder für <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>) und Win32 DLL Decoder
- für <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>), beide in Gebrauch in <filename>.wmv</filename>-Dateien
- </para></listitem>
- <listitem><para>
- Nativer <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> Decoder
- </para></listitem>
- <listitem><para>
- Nativer <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> Decoder
- </para></listitem>
- <listitem><para>
- <emphasis role="bold">3ivx</emphasis> v1, v2 Decoder
- </para></listitem>
- <listitem><para>
- Cinepak und <emphasis role="bold">Intel Indeo</emphasis> Codecs (3.1,3.2,4.1,5.0)
- </para></listitem>
- <listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 und andere Hardwareformate
- </para></listitem>
- <listitem><para>
- VIVO 1.0, 2.0, I263 und andere <emphasis role="bold">H.263(+)</emphasis>-Varianten
- </para></listitem>
- <listitem><para>
- FLI/FLC
- </para></listitem>
- <listitem><para>
- <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> von
- <systemitem class="library">libavcodec</systemitem> und
- <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> Codecs mittels der RealPlayer Bibliotheken
- </para></listitem>
- <listitem><para>
- Native Decoder für HuffYUV
- </para></listitem>
- <listitem><para>
- Verschiedene alte und simple RLE-ähnliche Formate
- </para></listitem>
- </itemizedlist>
-
- <para>
- Falls du einen Win32 Codec hast, der hier nicht aufgeführt ist und noch nicht unterstützt wird, lies bitte die
- <link linkend="codec-importing">Codec Importing HOWTO</link>
- und hilf uns, Unterstützung hinzuzufügen.
- </para>
-
-
- <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
- <title>FFmpeg/libavcodec</title>
-
- <para>
- <ulink url="http://ffmpeg.org">FFmpeg</ulink> enthält <systemitem class="library">libavcodec</systemitem>,
- die führende Open-Source-Bibliothek für Video und Audio. Sie ist in der Lage, die meisten
- Multimedia-Formate zu decodieren, normalerweise schneller als die Alternativen;
- möglicherweise wird auch noch Unterstützung für die anderen Formate hinzugefügt.
- Es ist der Standarddecoder für den Großteil der Codecs, die <application>MPlayer</application>
- unterstützt. Für manche Formate ist außerdem auch Encodierung mit Hilfe von
- <application>MEncoder</application> möglich.
- </para>
-
- <para>
- Für eine vollständige Liste unterstützter
- <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">Video-</ulink>
- und <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">Audio</ulink>codecs
- besuche bitte die FFmpeg-Homepage.
- </para>
-
- <para>
- <application>MPlayer</application> enthält <systemitem class="library">libavcodec</systemitem>.
- Es genügt, <filename>./configure</filename> laufen zu lassen und zu compilieren.
- </para>
-
- </sect2>
-
-
- <sect2 id="xvid">
- <title>Xvid</title>
-
- <para>
- <ulink url="http://www.xvid.org">Xvid</ulink> ist ein freier MPEG-4 ASP konformer
- Videocodec, der Encodierung in zwei Durchläufen und das ganze MPEG-4 ASP Spektrum
- unterstützt, was ihn wesentlich effizienter als den gut bekannten DivX-Codec macht.
- Er erreicht sehr gute Qualität und dank CPU-Optimierungen für die meisten modernen
- Prozessoren gute Performance.
- </para>
- <para>
- Es begann als Fork der Entwicklung des OpenDivX-Codecs.
- Dies geschah, als ProjectMayo OpenDivX zu Closed Source DivX4
- machte und die Leute, die an OpenDivX arbeiteten aber nicht zu ProjectMayo gehörten,
- verärgerte. Diese riefen dann Xvid ins Leben. Beide Projekte haben daher denselben Ursprung.
- </para>
-
- <para>
- Beachte, dass Xvid nicht benötigt wird, um mit Xvid encodiertes Video zu decodieren.
- In der Standardkonfiguration wird dafür <systemitem class="library">libavcodec</systemitem>
- benutzt, da er höhere Geschwindigkeit bietet.
- </para>
-
- <procedure>
- <title>Installation von <systemitem class="library">Xvid</systemitem></title>
- <para>
- Wie die meiste Open-Source-Software gibt es zwei verfügbare Varianten:
- <ulink url="http://www.xvid.org/downloads.html">offizielle Releases</ulink>
- und die CVS-Version.
- Die CVS-Version ist für die Benutzung normalerweise stabil genug, da es meistens
- Fehlerbehebungen für Bugs enthält, die im Release vorhanden sind.
- Hier also, was du zu tun hast, um <systemitem class="library">Xvid</systemitem>
- vom CVS mit <application>MEncoder</application> ans Laufen zu bringen
- (du benötigst mindestens <application>autoconf</application> 2.50,
- <application>automake</application> und <application>libtool</application>):
- </para>
- <step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
- </para></step>
- <step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
- </para></step>
- <step><para>
- <screen>cd xvidcore/build/generic</screen>
- </para></step>
- <step><para>
- <screen>./bootstrap.sh</screen>
- </para></step>
- <step><para>
- <screen>./configure</screen>
- Du musst möglicherweise ein paar Optionen hinzuzufügen (schaue dir
- die Ausgabe von <command>./configure --help</command> an).
- </para></step>
- <step><para>
- <screen>make &amp;&amp; make install</screen>
- </para></step>
- <step><para>
- Wenn du <option>--enable-divxcompat</option> angegeben hast,
- kopiere <filename>../../src/divx4.h</filename> nach
- <filename class="directory">/usr/local/include/</filename>.
- </para></step>
- <step><para>
- Compiliere <application>MPlayer</application> erneut mit
- <option>--with-xvidlibdir=<replaceable>/Pfad/zu/</replaceable>libxvidcore.a</option>
- <option>--with-xvidincdir=<replaceable>/Pfad/zu/</replaceable>xvid.h</option>.
- </para></step>
- </procedure>
- </sect2>
-
-
- <sect2 id="codec-x264">
- <title><systemitem class="library">x264</systemitem></title>
-
- <sect3 id="codec-x264-whatis">
- <title>Was ist <systemitem class="library">x264?</systemitem></title>
- <para>
- <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
- ist eine Bibliothek für die
- Erstellung von H.264-Videostreams.
- Es ist nicht 100% vollständig, hat momentan aber zumindest eine Art
- Unterstützung für die meisten H.264-Features, die Einfluß auf die Qualität haben.
- Es gibt außerdem viele fortgeschrittene Features in der H.264-Spezifikation,
- die mit Videoqualität per se nichts zu tun haben; viele davon sind in
- <systemitem class="library">x264</systemitem> nicht implementiert.
- </para>
-
- <itemizedlist>
- <title>Encoder-Features</title>
- <listitem><para>CAVLC/CABAC</para></listitem>
- <listitem><para>mehrere Referenzen</para></listitem>
- <listitem><para>
- Intra: alle Macroblock-Typen (16x16, 8x8, and 4x4 mit allen Vorhersagen)
- </para></listitem>
- <listitem><para>
- Inter P: Alle Partitionen (von 16x16 bis runter zu 4x4)
- </para></listitem>
- <listitem><para>
- Inter B: Partitionen von 16x16 runter zu 8x8 (inklusive SKIP/DIRECT)
- </para></listitem>
- <listitem><para>
- Bitratenkontrolle: konstanter Quantisierungsparameter, konstante Bitrate,
- einer oder mehrere Durchläufe mit durchschnittlicher Bitrate (optional VBV)
- </para></listitem>
- <listitem><para>Szenenwechselerkennung</para></listitem>
- <listitem><para>Adaptive Platzierung von B-Frames</para></listitem>
- <listitem><para>B-Frames als Referenzen / bieliebige Framereihenfolge</para></listitem>
- <listitem><para>8x8 und 4x4 adaptive räumliche Transformierung</para></listitem>
- <listitem><para>Verlustfreier Modus</para></listitem>
- <listitem><para>Benutzerdefinierte Quantisierungsmatrizen</para></listitem>
- <listitem><para>Parallele Encodierung mehrerer Scheiben</para></listitem>
- <listitem><para>Interlacing</para></listitem>
- </itemizedlist>
-
- </sect3>
-
- <sect3 id="codec-h264-whatis">
- <title>Was ist H.264?</title>
- <para>
- H.264 ist ein Name für einen neuen digitalen Videocodec, der von
- der ITU und MPEG zusammen entwickelt wurde.
- Etwas umständlicher kann man ihn auch "ISO/IEC 14496-10" oder "MPEG-4 Part 10"
- nennen. Häufiger wird er als "MPEG-4 AVC" oder einfach "AVC" bezeichnet.
- </para>
- <para>
- Wie auch immer du ihn nennst, H.264 ist es eventuell wert, ausprobiert
- zu werden, da er typischerweise die Qualität von MPEG-4 ASP bei 5%-30%
- Einsparung der Bitrate erreicht.
- Tatsächliche Ergebnisse werden sowohl vom Quellmaterial als auch dem
- Encoder abhängen.
- Die Gewinne durch die Benutzung von H.264 kommen nicht umsonst: Decodierung
- von H.264-Streams hat anscheinend heftige CPU- und Speicheranforderungen.
- Beispielsweise benötigt ein Athlon mit 1733 MHz für ein 1500kbps-H.264-Video
- in DVD-Auflösung um die 35% CPU-Leistung für die Decodierung.
- Im Vergleich dazu wird für einen 1500kbps MPEG-4 ASP Stream um die 10% CPU-Leistung gebraucht.
- Dies bedeutet, dass Decodierung von High-Definition-Streams für die
- meisten Benutzer außer Frage steht.
- Es bedeutet auch, dass sogar ein ordentlicher DVD-Rip auf Prozessoren
- langsamer als 2.0 GHz oder so ins Stocken geraten kann.
- </para>
- <para>
- Zumindest bei <systemitem class="library">x264</systemitem> sind die Anforderungen
- für die Encodierung nicht so viel schlimmer als das, was du von
- MPEG-4 ASP bereits kennst.
- Beispielsweise läuft eine DVD-Encodierung auf einem 1733 MHz Athlon bei
- etwa 5-15 fps.
- </para>
- <para>
- Dieses Dokument hat nicht die Absicht, die Details von H.264 zu erklären,
- wenn du aber an einer ausführlichen Übersicht interessiert bist, kannst du dir
- <ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>
- durchlesen.
- </para>
- </sect3>
-
- <sect3 id="codec-x264-playback">
- <title>Wie kann ich H.264-Videos mit <application>MPlayer</application> abspielen?</title>
- <para>
- <application>MPlayer</application> benutzt den H.264-Decoder von
- <systemitem class="library">libavcodec</systemitem>.
- <systemitem class="library">libavcodec</systemitem> hat minimal nutzbare
- H.264-Decodierung seit etwa Juli 2004, seitdem wurden jedoch große Änderungen
- und Verbesserungen implementiert, sowohl hinsichtlich mehr unterstützten Funktionen
- als auch CPU-Last.
- Um einfach sicher zu sein, ist es immer eine gute Idee, einen aktuellen
- Subversion-Checkout zu verwenden.
- </para>
- <para>
- Eine schnelle und einfache Methode, festzustellen, ob kürzlich Änderungen am
- H.264-Decoder von <systemitem class="library">libavcodec</systemitem> gemacht
- wurden, wirf einen Blick auf
- <ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">das Web-Interface des Subversion-Repository von FFmpeg</ulink>.
- </para>
- </sect3>
-
- <sect3 id="codec-x264-encode">
- <title>Wie kann ich Videos mit <application>MEncoder</application> und <systemitem class="library">x264</systemitem> encodieren?</title>
- <para>
- Wenn du den Subversion-Client installiert hast, erhältst du die aktuellen
- Sourcen mit folgendem Befehl:
- <screen>svn co svn://svn.videolan.org/x264/trunk x264</screen>
- <application>MPlayer</application>-Sourcen werden immer aktualisiert, wenn sich
- die API von <systemitem class="library">x264</systemitem> ändert, daher ist
- es immer gut, auch <application>MPlayer</application> von Subversion zu benutzen.
- Möglicherweise ändert sich das, wenn und falls es ein
- <systemitem class="library">x264</systemitem>-"Release" gibt.
- Bis dahin sollte <systemitem class="library">x264</systemitem>
- hinsichtlich der Programmierschnittstelle als sehr unstabil betrachtet werden.
- </para>
- <para>
- <systemitem class="library">x264</systemitem> wird gebaut und installiert
- nach Standardmethode:
- <screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
- Dies installiert libx264.a nach /usr/local/lib, und x264.h landet in
- /usr/local/include.
-
- Mit der <systemitem class="library">x264</systemitem>-Bibliothek und dem Header
- in den Standardverzeichnissen ist es leicht, <application>MPlayer</application>
- mit <systemitem class="library">x264</systemitem>-Unterstützung zu bauen.
- Führe die Standardformel aus:
- <screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
- Das <filename>./configure</filename>-Script wird automatisch erkennen, dass du die Bedingungen
- für <systemitem class="library">x264</systemitem> erfüllst.
- </para>
- </sect3>
- </sect2>
-</sect1>
-
-<!-- ********** -->
-
-<sect1 id="audio-codecs">
-
- <title>Audiocodecs</title>
- <itemizedlist>
- <title>Die allerwichtigsten Audiocodecs:</title>
- <listitem><para>
- MPEG layer 1/2/3 (MP1/2/3) Audio (<emphasis role="bold">nativer</emphasis>
- Decoder, mit MMX/SSE/3DNow! Optimierung)
- </para></listitem>
- <listitem><para>
- Windows Media Audio 7 und 8 (alias WMAv1 und WMAv2) (<emphasis role="bold">nativer</emphasis> Decoder, mit
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
- </para></listitem>
- <listitem><para>
- Windows Media Audio 9 (WMAv3) (unter Verwendung der DMO-DLL)
- </para></listitem>
- <listitem><para>
- AC3 Dolby Audio (<emphasis role="bold">nativer</emphasis> Decoder, mit
- MMX/SSE/3DNow! Optimierung)
- </para></listitem>
- <listitem><para>
- AC3-Passthrough unter Verwendung der Soundkartenhardware
- </para></listitem>
- <listitem><para>
- AAC
- </para></listitem>
- <listitem><para>
- Ogg Vorbis Audiocodec (<emphasis role="bold">native</emphasis> Bibliothek)
- </para></listitem>
- <listitem><para>
- RealAudio: DNET (AC3 mit niedriger Bitrate), Cook, Sipro and ATRAC3
- </para></listitem>
- <listitem><para>
- QuickTime: Qualcomm und QDesign Audio Decoder
- </para></listitem>
- <listitem><para>
- VIVO Audio (g723, Vivo Siren)
- </para></listitem>
- <listitem><para>
- Voxware Audio (unter Verwendung der DirectShow-DLL)
- </para></listitem>
- <listitem><para>
- alaw und ulaw, verschiedene gsm, adpcm und pcm Formate und andere einfache alte
- Audiocodecs
- </para></listitem>
- <listitem><para>
- Adaptive Multi-Rate (AMR) Sprachcodecs
- </para></listitem>
- </itemizedlist>
-
-
- <sect2 id="swac3">
- <title>Software-AC3-Decoder</title>
-
- <para>
- Das ist der Standarddecoder für Dateien, die AC3-Audio enthalten.
- </para>
-
- <para>
- Der AC3-Decoder kann Audio für zwei, vier oder sechs Lautsprecher ausgeben.
- Wenn er für sechs Lautsprecher konfiguriert wurde, stellt der Decoder dem
- Audiotreiber alle Kanäle separat zur Verfügung und erlaubt so volle
- "Surround"-Erfahrung ohne einen externen AC3 Decoder, der gebraucht wird,
- um hwac3 zu benutzen.
- </para>
-
- <para>
- Benutze die Option <option>-channels</option>, um die Anzahl der Kanäle
- anzugeben. Mit <option>-channels 2</option> wird Stereo-Klang erzeugt.
- Für eine 4-Kanal-Ausgabe (links vorne, rechts vorne, links Surround und
- rechts Surround) verwende <option>-channels 4</option>. In diesem
- Fall wird der Kanal Center gleichmäßig auf die vorderen Kanäle verteilt.
- <option>-channels 6</option> gibt alle AC3-Kanäle aus, wie sie codiert
- wurden - in der Reihenfolge links vorne, rechts vorne, links Surround, rechts
- Surround, Center und LFE.
- </para>
-
- <para>
- Standard sind zwei Ausgabekanäle.
- </para>
-
- <para>
- Um mehr als zwei Ausgabekanäle verwenden zu können, muss OSS verwendet werden,
- und die Soundkarte muss die entsprechende Anzahl an Kanälen mittels ioctl
- SNDCTL_DSP_CHANNELS unterstützen. Ein funktionierender Treiber ist emu10k1
- (wird für Soundblaster Live! Karten benutzt) seit August 2001
- (Neuere ALSA-Versionen sollten auch funktionieren).
- </para>
- </sect2>
-
-
- <sect2 id="hwac3">
- <title>Hardware-AC3-Decoder</title>
- <para>
- Benötigt wird eine AC3 fähige Soundkarte mit einem Digitalausgang (S/PDIF).
- Der Treiber der Karte muss das AFMT_AC3 Format korrekt unterstützen (wie
- z.B. C-Media). Verbinde dann den Hardware AC3 Decoder mit dem S/PDIF Ausgang
- und benutze <option>-ac hwac3</option>. Die Unterstützung ist experimentell,
- funktioniert aber z.B. mit C-Media Karten und Soundblaster Live! mit ALSA
- (aber nicht OSS) Treibern, sowie mit DXR3/Hollywood+ MPEG Decoder Karten.
- </para>
- </sect2>
-
-
- <sect2 id="libmad">
- <title>Unterstützung für <systemitem class="library">libmad</systemitem></title>
-
- <para>
- <ulink url="http://www.underbit.com/products/mad/"><systemitem class="library">libmad</systemitem></ulink> ist
- eine Integer-MPEG-Audiodecoder-Bibliothek für mehrere Plattformen, die intern mit
- 24-bittigem PCM arbeitet. Sie funktioniert nicht sehr gut mit beschädigten
- Dateien und hat manchmal Probleme mit Sprüngen (seeks), kann aber auf
- Platformen ohne FPU (z.B. <link linkend="arm">ARM</link>) schneller
- sein als <systemitem class="library">mp3lib</systemitem>.
- </para>
-
- <para>
- Wenn <systemitem class="library">libmad</systemitem> bei dir korrekt installiert ist, wird
- <filename>./configure</filename>
- dies bemerken, und Unterstützung für MPEG-Audiodecodierung via
- <systemitem class="library">libmad</systemitem> wird automatisch eingebaut.
- </para>
- </sect2>
-
- <sect2 id="hwmpa">
- <title>Hardware-MPEG-Audiodecoder</title>
-
- <para>
- Dieser Codec (ausgewählt durch <option>-ac hwmpa</option>) reicht
- MPEG-Audiopakete an Hardwaredecoder durch, wie sie z.B. auf
- voll ausgestatteten DVB-Karten und DXR2-Adaptern existieren.
- Es bringt nichts, ihn mit einem anderen Gerät (wie z.B. OSS und ALSA)
- zu verwenden - das führt lediglich zu Rauschen.
- </para>
- </sect2>
-
-
- <sect2 id="aac">
- <title>AAC Codec</title>
- <para>
- AAC (Advanced Audio Coding) ist ein Audiocodec, der vorwiegend
- in MOV- und MP4-Dateien vorkommt. Ein Open-Source-Decoder namens
- FAAD ist auf <ulink url="http://www.audiocoding.com"/>
- verfügbar. <application>MPlayer</application> enthält
- eine CVS Version von libfaad 2.1 beta, so dass es nicht extra
- installiert werden muss.
- </para>
-
- <para>
- Um die externe FAAD-Bibliothek verwenden zu können (z.B. um mit gcc 3.2
- compilieren zu können, der die interne Version nicht übersetzt), muss
- die Bibliothek von der
- <ulink url="http://www.audiocoding.com/modules/mydownloads/">Download Seite</ulink>
- heruntergeladen und installiert werden. Anschließend muss die Option
- <option>--enable-faad-external</option> an <filename>./configure</filename>
- übergeben werden, damit die externe Bibliothek erkannt wird.
- Es ist lediglich erforderlich, vorher libfaad zu installieren, und zwar so:
- <screen>
-cd faad2/
-sh bootstrap
-./configure
-cd libfaad
-make
-make install<!--
- --></screen>
- Binärpakete sind auf audiocoding.com nicht erhältlich, Debian-Pakete
- können aber mit (apt-)get von
- <ulink url="http://www.debian-multimedia.org/">Christian Marillat's Homepage</ulink>, Mandrake/Mandriva RPMs von
- <ulink url="http://plf.zarb.org">P.L.F</ulink> und RedHat RPMs
- von <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>
- heruntergeladen werden.
- </para>
- </sect2>
-
- <sect2 id="amr">
- <title>AMR Codecs</title>
- <para>
- Adaptive Multi-Rate Sprachcodec, wird in 3G (UMTS) Mobiltelephonen verwendet.
- Die Referenzimplementierung ist auf
- <ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
- erhältlich (frei - wie in Freibier - für private Benutzung).
- Um die Unterstützung zu aktiveren, lade die Bibliotheken für
- <ulink url="http://www.penguin.cz/~utx/amr">AMR-NB and AMR-WB</ulink>
- runter und installiere sie, indem du die Anweisungen auf dieser Seite befolgst.
- Compiliere MPlayer danach erneut.
- </para>
- <para>
- Für Unterstützung müssen die Codecs
- <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink>
- und
- <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>
- heruntergeladen und in dasselbe Verzeichnis wie
- <application>MPlayer</application> verschoben werden.
- Anschließend folgende Befehle ausführen:
- <screen>
-unzip 26104-610.zip
-unzip 26104-610_ANSI_C_source_code.zip
-mv c-code libavcodec/amr_float
-unzip 26204-600.zip
-unzip 26204-600_ANSI-C_source_code.zip
-mv c-code libavcodec/amrwb_float<!--
- --></screen>
- Befolge danach einfach das <link linkend="features">Standardvorgehen für die Compilierung</link> von
- <application>MPlayer</application>.
- </para>
- </sect2>
-
-</sect1>
-
-<!-- ********** -->
-
-<sect1 id="codec-importing">
- <title>HOWTO Win32-Codecs-Importierung</title>
-
- <!-- TODO: a short paragraph of text would be nice here... -->
-
- <sect2 id="vfw-codecs">
- <title>VFW-Codecs</title>
-
- <para>
- VFW (Video for Windows) ist die alte Video-API von Windows. Deren Codecs hat die
- Dateinamenerweiterung <filename>.DLL</filename> oder (selten) <filename>.DRV</filename>.
- Wenn <application>MPlayer</application> bei der Wiedergabe deines AVIs fehlschlägt
- mit einer Meldung wie:
- <screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
- ..bedeutet dies, dass dein AVI mit einem Codec encodiert ist, der den fourcc HFYU
- (HFYU = HuffYUV-Codec, DIV3 = DivX Low Motion, etc.) hat. Da du dies jetzt weißt,
- musst du herausfinden, welche DLL Windows lädt, um diese Datei abzuspielen. In
- unserem Fall enthält die <filename>system.ini</filename> diese Information in einer
- Zeile, die so aussieht:
- <programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
- </para>
-
- <para>
- Du benötigst also die Datei <filename>huffyuv.dll</filename>. Beachte, dass
- Audiocodecs mit dem MSACM-Präfix angegeben werden:
- <programlisting>msacm.l3acm=L3codeca.acm</programlisting>
- </para>
-
- <para>
- Dies ist der MP3-Codec. Da du nun alle nötigen Informationen hast
- (fourcc, Codecdatei, Beispiel-AVI), gib eine Anfrage für Codecunterstützung per
- Mail auf, und lade diese Dateien auf den FTP-Server hoch:
- <systemitem role="url">
- ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;Codecname&gt;</replaceable>/
- </systemitem>
- </para>
-
- <note><para>
- Suche nach dieser Information unter Windows NT/2000/XP in der Registry,
- suche also z.B. nach "VIDC.HFYU". Um herauszufinden, wie man das
- macht, schaue dir die folgende Methode zu DirectShow an.
- </para></note>
- </sect2>
-
-
- <sect2 id="dshow-codecs">
- <title>DirectShow-Codecs</title>
-
- <para>
- DirectShow ist die neuere Video-API, die noch schlechter ist als ihr Vorgänger.
- Dinge sind schwieriger geworden mit DirectShow, da
- <itemizedlist>
- <listitem><para>
- <filename>system.ini</filename> nicht die benötigten Informationen enthält,
- die statt dessen in der Registry gespeichert ist.
- </para></listitem>
- <listitem><para>
- wir die GUID des Codecs benötigen.
- </para></listitem>
- </itemizedlist>
- </para>
-
- <procedure>
- <title>Neue Methode:</title>
- <para>
- Benutzung von <application>Microsoft GraphEdit</application> (schnell)
- </para>
- <step><para>
- Beziehe <application>GraphEdit</application> entweder aus dem DirectX-SDK
- oder von <ulink url="http://doom9.net">doom9</ulink>.
- </para></step>
- <step><para>
- Starte <command>graphedit.exe</command>.
- </para></step>
- <step><para>
- Wähle aus dem Menü
- <menuchoice><guimenu>Graph</guimenu><guisubmenu>Insert Filters</guisubmenu></menuchoice>.
- </para></step>
- <step><para>
- Klappe den Eintrag <systemitem>DirectShow Filters</systemitem> aus.
- </para></step>
- <step><para>
- Wähle den richtigen Codecnamen und klappe den Eintrag aus.
- </para></step>
- <step><para>
- Schaue im Eintrag <systemitem>DisplayName</systemitem> nach dem Text in den
- geschweiften Klammern hinter dem Backslash und notiere ihn
- (fünf mit Bindestrich getrennte Blöcke, die GUID).
- </para></step>
- <step><para>
- Die Codecbinärdatei ist die Datei, die im Eintrag
- <systemitem>Filename</systemitem> angegeben wird.
- </para></step>
- </procedure>
-
- <note>
- <para>
- Wenn dort kein <systemitem>Filename</systemitem> ist und
- <systemitem>DisplayName</systemitem> etwas wie
- <systemitem>device:dmo</systemitem> enthält, handelt es sich um einen DMO-Codec.
- </para>
- </note>
-
- <procedure>
- <title>Alte Methode:</title>
- <para>
- Nimm einen tiefen Atemzug und beginne die Suche in der Registry...
- </para>
- <step><para>
- Starte <command>regedit</command>.
- </para></step>
- <step><para>
- Drücke <keycombo><keycap>Strg</keycap><keycap>F</keycap></keycombo>, deaktiviere die ersten beiden
- Checkboxen und aktiviere die dritte. Gib den fourcc des Codecs ein (z.B.
- <userinput>TM20</userinput>).
- </para></step>
- <step><para>
- Du solltest ein Feld sehen, das den Pfad und den Dateinamen (z.B.
- <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>) enthält.
- </para></step>
- <step><para>
- Da du jetzt die Datei hast, benötigen wir die GUID. Probiere erneut die
- Suche, nun aber nach dem Codecnamen, nicht dem fourcc. Dessen Name kann man
- herausfinden, indem man während der Wiedergabe mit Media Player den Eintrag von
- <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu>
- <guimenuitem>Advanced</guimenuitem></menuchoice> überprüft.
- Wenn dies nicht klappt, hast du Pech. Versuche raten (suche z.B. nach TrueMotion).
- </para></step>
- <step><para>
- Wenn die GUID gefunden wurde, solltest du das Feld <guilabel>FriendlyName</guilabel>
- und <guilabel>CLSID</guilabel> sehen. Notiere die 16-Byte-CLSID, das ist die
- GUID, die wir brauchen.
- </para></step>
- </procedure>
-
- <note>
- <para>
- Wenn die Suche fehlschlägt, probiere die Aktivierung aller Checkboxen. Es kann sein,
- dass du falsche Treffer erhältst, aber vielleicht hast du Glück...
- </para>
- </note>
-
- <para>
- Da du nun alle nötigen Informationen hast (fourcc, Codecdatei, Beispiel-AVI),
- gib eine Anfrage für Codecunterstützung per Mail auf, und lade diese Dateien
- auf den FTP-Server hoch:
- <systemitem role="url">
- ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&gt;Codecname&gt;</replaceable>/
- </systemitem>
- </para>
-
- <para>
- Wenn du einen Codec selbst hinzufügen möchtest, lies
- <ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
- </para>
-
- </sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/de/containers.xml b/DOCS/xml/de/containers.xml
deleted file mode 100644
index e40a86ebf8..0000000000
--- a/DOCS/xml/de/containers.xml
+++ /dev/null
@@ -1,532 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- in sync with r23538 -->
-<!-- missing cosmetic commit 21537 -->
-<chapter id="containers">
- <title>Containerformate</title>
-
- <para>
- Es ist wichtig, einen häufigen Fehler zu berichtigen. Wenn Leute eine
- Datei mit <filename>.AVI</filename>-Erweiterung sehen, denken
- sie sofort, es sei keine MPEG-Datei. Das ist nicht wahr. Zumindest
- nicht ganz. Im Gegensatz zur verbreiteten Ansicht
- <emphasis>kann</emphasis> solch eine Datei MPEG1-Video
- enthalten.
- </para>
-
- <para>
- Ein <emphasis role="bold">Codec</emphasis> ist nicht dasselbe wie ein
- <emphasis role="bold">Datei-/Containerformat</emphasis>.
- Beispiele für <emphasis role="bold">Video-Codecs</emphasis> sind:
- MPEG1, MPEG2, DivX, Indeo5, 3ivx. Beispiele für
- <emphasis role="bold">Dateiformate</emphasis> sind: MPG, AVI, ASF.
- </para>
-
- <para>
- Theoretisch kannst du ein OpenDivX-Video und MP3-Audio in einer
- <emphasis role="bold">.MPG</emphasis>-Datei vereinigen. Die meisten
- Player könnten es jedoch nicht abspielen, da sie MPEG1-Video und
- MP2-Audio erwarten (im Gegensatz zu
- <emphasis role="bold">AVI</emphasis> besitzt <emphasis role="bold">MPG</emphasis>
- nicht die nötigen Felder, die die Video- und Audio-Streams
- beschreiben). Oder du könntest ein MPEG1-Video in ein .AVI legen.
- <ulink url="http://ffmpeg.org/"><application>ffmpeg</application></ulink>
- und
- <link linkend="mencoder"><application>MEncoder</application></link> können
- solche Dateien erzeugen.
- </para>
-
-
- <sect1 id="video-formats">
- <title>Videoformate</title>
-
- <sect2 id="mpg-vob-dat">
- <title>MPEG-Dateien</title>
-
- <para>
- MPEG-Dateien treten in unterschiedlichen Erscheinungen auf:
- </para>
-
- <itemizedlist>
- <listitem>
- <para>
- MPG: Dies ist die <emphasis role="bold">grundlegende</emphasis>
- Form des MPEG-Dateiformates.
- Es enthält MPEG1-Video und MP2-(MPEG-1 Layer 2) oder selten MP1-Audio.
- </para>
- </listitem>
- <listitem>
- <para>
- DAT: Dies ist dasselbe Format wie MPG mit einer anderen
- Endung. Es wird auf <emphasis role="bold">Video-CD</emphasis>s benutzt.
- Auf Grund der Tatsache, wie VCDs erzeugt werden und wie Linux entworfen
- wurde, kann man die DAT-Dateien einer VCD weder abspielen noch kopieren.
- Du musst die Option <option>-vcd</option> zum Abspielen einer Video-CD
- verwenden.
- </para>
- </listitem>
- <listitem>
- <para>
- VOB: VOB ist das MPEG-Dateiformat bei <emphasis role="bold">DVD</emphasis>s.
- Es ist das gleiche wie MPG mit zusätzlicher Unterstützung für Untertitel
- oder nicht-MPEG-(AC3)-Audio. Es enthält MPEG-2-Video und normalerweise
- AC3-Audio, aber auch DTS, MP2 und unkomprimierte LPCMs sind erlaubt.
- <emphasis role="bold">Lies die <link linkend="dvd">DVD-Sektion</link>!</emphasis>
- </para>
- </listitem>
- <listitem>
- <para>
- TY: Dies ist ein TiVo MPEG-Stream. Er enthält gleichermaßen MPEG-PES-Daten
- für Audio- und Video-Streams wie auch extra Informationen wie geschlossene
- Titel. Der Container ist kein MPEG-Programmstream, sondern ein geschlossenes,
- von TiVo erzeugtes Format. Mehr Informationen zum TiVo-Streamformat
- findest Du auf der
- <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">TyStudio-Seite</ulink>.
- </para>
- </listitem>
- </itemizedlist>
-
- <para>
- Serien von Frames bilden unabhängige Gruppen in MPEG-Dateien. Dies
- bedeutet, dass du eine MPEG-Datei mit einem Standard-Dateitool (wie
- <command>dd</command> oder <command>cut</command>)
- schneiden und zusammenfügen kannst und dieses trotzdem vollständig
- funktionsfähig bleibt.
- </para>
-
- <para>
- Ein wichtiges Feature von MPGs ist, dass sie ein Feld besitzen, welches das
- Breiten-/Höhenverhältnis des Videostreams angibt. SVCDs haben zum
- Beispiel Video mit einer Auflösung von 480x480, und im Header ist dieses
- Feld auf 4:3 gesetzt. Also wird es als 640x480 abgespielt. AVI-Dateien fehlt
- dieses Feld oft, sodass diese während des Encodierens skaliert werden
- müssen oder die Option <option>-aspect</option> bei der Wiedergabe verwendet
- werden muss.
- </para>
- </sect2>
-
-
- <sect2 id="avi">
- <title>AVI-Dateien</title>
-
- <para>
- <emphasis role="bold">AVI (Audio Video Interleaved)</emphasis> ist ein
- von Microsoft entworfenes und weitverbeitetes Multifunktionsformat, das
- zur Zeit hauptsächlich für DivX- und DivX4-Videos verwendet wird. Es
- hat einige bekannte Nachteile, und ihm fehlen ein paar wichtige Features
- (zum Beispiel Streaming). Es unterstützt einen Videostream und 0 bis
- 99 Audiostreams. Die Dateien können bis zu 2 GB groß sein. Es existiert
- eine Erweiterung für größere Dateien, genannt <emphasis role="bold">OpenDML</emphasis>.
- Microsoft rät von der Verwendung dringend ab und propagiert ASF/WMV.
- Als ob das irgendwen kratzen würde.
- </para>
-
- <para>
- Es gibt einen Hack, der es AVI-Dateien erlaubt, Ogg Vorbis Audio-Streams zu
- enthalten, was sie aber auch inkompatibel zu Standard-AVIs macht.
- <application>MPlayer</application>
- unterstützt die Wiedergabe solcher Dateien. Eine Spulfunktion ist auch
- implementiert, jedoch wird diese stark von schlecht konvertierten Dateien mit
- verwirrenden Headern gestört. Leider schreibt der einzige Encodierer, der
- fähig ist, solche Dateien zu erzeugen (<application>NanDub</application>),
- solch problematische Header.
- </para>
-
- <note>
- <para>
- DV-Kameras können Raw-DV-Streams erzeugen, welche von DV-Aufnahmetools
- in zwei unterschiedliche Typen von AVI-Dateien konvertiert werden. Die
- AVI-Datei enthält dabei entweder separate Audio- und Video-Streams, die
- <application>MPlayer</application> wiedergeben kann, oder den unveränderten
- DV-Stream. An dessen Unterstützung wird gerade gearbeitet.
- </para>
- </note>
-
- <para>
- Es gibt 2 Arten von AVI-Dateien:
- <itemizedlist>
- <listitem>
- <para>
- <emphasis role="bold">Interleaved:</emphasis> Audio- und Videoinhalt
- werden paketweise ineinander geschachtelt. Die ist üblich, wird empfohlen
- und auch meist gemacht. Einige Tools erzeugen interleaved AVIs mit
- schlechter Synchronisation.
- <application>MPlayer</application> erkennt diese als interleaved, was
- zum Verlust von A/V-Synchronisation führen kann (evtl. erst beim Vor-/Zurückspulen).
- Diese Dateien sollten non-interleaved (mit der Option <option>-ni</option>)
- abgespielt werden.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">Non-interleaved:</emphasis> Als erstes kommt der
- ganze Videostream, dann der ganze Audiostream. Dies erfordert viel
- Suchen in der Datei, was die Wiedergabe vom Netzwerk oder von CDROM schwierig
- macht.
- </para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para>
- <application>MPlayer</application> unterstützt zwei Arten des Timings für
- AVI-Dateien:
- <itemizedlist>
- <listitem>
- <para>
- <emphasis role="bold">bps-basiert</emphasis>: Diese Methode basiert auf
- der Bitrate/Samplerate des Video-/Audiostreams. Diese Methode wird von den
- meisten Playern verwendet, inklusive
- <ulink url="http://avifile.sf.net">avifile</ulink>
- und <application>Windows Media Player</application>. Dateien mit kaputten
- Headern und Dateien, welche mit VBR-Audio aber nicht VBR-unterstützendem
- Encoder erstellt wurden, führen mit dieser Methode zu A/V-Desynchronisation
- (meistens beim Spulen).
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">interleaving-basiert</emphasis>: Diese Methode benutzt
- nicht mehr den Wert der Bitrate sondern die relative Position des
- Audio-Paketes zum aktuellen Video-Paket, was einige falsch codierte
- Dateien mit VBR-Audio abspielbar macht.
- </para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para>
- Jeglicher Audio- und Video-Codec ist erlaubt. Aber bedenke, dass VBR-Audio
- von den meisten Playern nicht gut unstützt wird. Das Dateiformat macht es
- möglich, VBR-Audio zu verwenden, aber die meisten Player erwarten CBR-Audio,
- weswegen VBR-Audio nicht funktioniert. VBR ist ungewöhnlich, und
- Microsofts Spezifikation zu AVI beschreibt nur CBR-Audio. Bedenke auch, dass
- die meisten AVI-Encoder/Multiplexer schlechte Dateien mit VBR-Audio erzeugen.
- Es gibt nur zwei Ausnahmen: <application>NanDub</application> und
- <link linkend="mencoder"><application>MEncoder</application></link>.
- </para>
- </sect2>
-
-
- <sect2 id="asf-wmv">
- <title>ASF/WMV-Dateien</title>
- <para>
- ASF (Active Streaming Format) kommt von Microsoft. Sie haben zwei Arten von
- ASF entwickelt, v1.0 und v2.0. v1.0 wird von ihren Media Tools
- (<application>Windows Media Player</application> und
- <application> Windows Media Encoder</application>) verwendet und ist streng
- geheim. v2.0 ist veröffentlicht und patentiert :). Natürlich sind sie
- unterschiedlich und besitzten überhaupt keine Gemeinsamkeiten (es ist nur
- ein weiteres Spiel mit den Gesetzen). <application>MPlayer</application>
- unterstützt nur v1.0, weil noch niemand v2.0 Dateien gesehen hat :).
- Beachte, dass .ASF-Dateien heute auch mit der Extension <filename>.WMA</filename>
- oder <filename>.WMV</filename> vorkommen.
- </para>
- </sect2>
-
-
- <sect2 id="mov">
- <title>QuickTime/MOV-Dateien</title>
-
- <para>
- Diese Formate sind von Apple entworfen und können jeden beliebigen Codec
- enthalten, CBR oder VBR. Normalerweise haben sie die Endung <filename>.QT</filename>
- oder <filename>.MOV</filename>.
- Seitdem die MPEG4-Gruppe QuickTime als das empfohlene Dateiformat für
- MPEG4 ausgewählt hat, kommen ihre .MOV-Dateien mit den Endungen
- <filename>.MPG</filename> oder <filename>.MP4</filename> daher.
- (Interessanterweise sind bei diesen Dateien die Video- und Audiostreams
- richtige MPG- und AAC-Dateien. Mit den den Optionen <option>-dumpvideo</option>
- und <option>-dumpaudio</option> kannst du sie sogar extrahieren).
- </para>
-
- </sect2>
-
-
- <sect2 id="vivo">
- <title>VIVO-Dateien</title>
-
- <para>
- <application>MPlayer</application> demuxt nun auch fröhlich VIVO-Dateiformate.
- Der grösste Nachteil des Formates ist, dass es keinen Index-Block besitzt,
- auch keine fixe Paketgröße oder Sync-Bytes. Die meisten Dateien
- besitzen nicht mal Keyframes, also vergiss das Spulen!
- </para>
-
- <para>
- Der Videocodec von VIVO/1.0-Datei ist Standard-<emphasis role="bold">h.263</emphasis>.
- Der Videocodec der VIVO/2.0 Dateien ist veränderter,
- nichtstandard-<emphasis role="bold">h.263</emphasis>. Bei
- Audio ist es dasselbe, es ist <emphasis role="bold">g.723</emphasis> (Standard)
- oder <emphasis role="bold">Vivo Siren</emphasis>.
- </para>
-
- </sect2>
-
-
- <sect2 id="fli">
- <title>FLI-Dateien</title>
- <para>
- <emphasis role="bold">FLI</emphasis> ist ein sehr altes vom
- <application>Autodesk Animator</application> benutztes Dateiformat.
- Es ist aber immer noch ein im Internet gebräuchliches Dateiformat für
- kurze Animationen. <application>MPlayer</application> demuxt und
- decodiert FLI-Filme und ist sogar fähig, in ihnen vor- und zurückzuspulen
- (nützlich, wenn man looping mit der Option <option>-loop</option> aktiviert
- hat). FLI-Dateien haben keine Keyframes, was zu verunstalteten Bildern kurz
- nach dem Spulen führt.
- </para>
- </sect2>
-
-
- <sect2 id="realmedia">
- <title>RealMedia-(RM)-Dateien</title>
-
- <para>
- Ja, <application>MPlayer</application> kann RealMedia-Dateien
- (<filename>.rm</filename>) lesen (demuxen).
- </para>
- </sect2>
-
-
- <sect2 id="nuppelvideo">
- <title>NuppelVideo-Dateien</title>
- <para>
- NuppelVideo
- ist, soweit ich weiss, ein TV-Aufnahmeprogramm. <application>MPlayer</application>
- kann dessen <filename>.NUV</filename>-Dateien (nur NuppelVideo 5.0) lesen.
- Diese Dateien können unkomprimierte YV12-, komprimierte YV12+RTJpeg-,
- komprimierte YV12-RTJpeg+lzo- und komprimierte YV12+lzo-Frames enthalten, welche
- <application>MPlayer</application>
- alle decodiert (und diese auch mit <application>MEncoder</application> zu
- MPEG4 (DivX)/etc!) <emphasis role="bold">encodiert</emphasis>).
- Spulen funktioniert.
- </para>
- </sect2>
-
-
- <sect2 id="yuv4mpeg">
- <title>yuv4mpeg-Dateien</title>
- <para>
- <ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink> ist ein
- Dateiformat, das von den <ulink url="http://mjpeg.sf.net">mjpegtools-Programmen</ulink>
- verwendet wird. Du kannst damit Video in diesem Format einlesen, produzieren,
- filtern oder encodieren. Das Dateiformat ist eigentlich eine Sequenz
- unkomprimierter YUV 4:2:0 Bilder.
- </para>
- </sect2>
-
-
- <sect2 id="film">
- <title>FILM-Dateien</title>
- <para>
- Dieses Format wird auf alten Sega Saturn CD-ROM-Spielen verwendet.
- </para>
- </sect2>
-
-
- <sect2 id="roq">
- <title>RoQ-Dateien</title>
- <para>
- RoQ-Dateien sind Multimedia-Dateien, welche in gewissen ID-Spielen wie
- Quake III und Return to castle Wolfenstein benutzt werden.
- </para>
- </sect2>
-
-
- <sect2 id="ogg">
- <title>OGG/OGM-Dateien</title>
- <para>
- Dies ist ein neues Dateiformat von
- <ulink url="http://www.xiph.org">Xiphophorus</ulink>. Es kann beliebige
- Video- und Audio-Codecs enthalten, sowohl CBR als auch VBR. Man benötigt
- dazu installierte <systemitem class="library">libogg</systemitem>- und
- <systemitem class="library">libvorbis</systemitem>-Bibliotheken vor
- der Kompilierung von <application>MPlayer</application>, um sie wiedergeben
- zu können.
- </para>
- </sect2>
-
-
- <sect2 id="sdp">
- <title>SDP-Dateien</title>
- <para>
- <ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> ist ein
- IETF-Standardformat, das Video- und/oder Audio-RTP-Streams beschreibt.
- (Dazu werden die
- "<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>"-Bibliotheken
- benötigt.)
- </para>
- </sect2>
-
-
- <sect2 id="pva">
- <title>PVA-Dateien</title>
- <para>
- PVA ist ein MPEG-ähnliches Format, das von verschiedenen Programmen
- benutzt wird, die bei DVB-TV-Karten mitgeliefert werden (z.B.
- <application>MultiDec</application>, <application>WinTV</application>
- unter Windows).
- </para>
- </sect2>
-
-
- <sect2 id="nsv">
- <title>NSV-Dateien</title>
- <para>
- NSV (NullSoft Video) ist das vom
- <application>Winamp</application>-Player zum Streamen von Audio und Video
- verwendete Dateiformat.
- Video ist VP3, VP5 oder VP6, Audio is MP3, AAC oder VLB.
- Die Nur-Audio-Version von NSV hat die Erweiterung <filename>.nsa</filename>.
- <application>MPlayer</application> kann beides abspielen, NSV-Streams und -Dateien.
- Beachte bitte, dass die meisten Dateien von der
- <ulink url="http://www.winamp.com">Winamp-Seite</ulink> VLB-Audio verwenden, welches
- noch nicht decodiert werden kann. Darüber hinaus benötigen Streams von dieser Seite
- einen extra Layer zum Extrahieren der Pakete, der immer noch auf seine Implementierung
- wartet (diese Dateien sind ohnehin nicht abspielbar, weil sie VLB-Audio verwenden).
- </para>
- </sect2>
-
-
- <sect2 id="matroska">
- <title>Matroska-Dateien</title>
- <para>
- Matroska ist ein offenes Containerformat.
- Lies mehr dazu auf der <ulink url="http://www.matroska.org/">offiziellen Site</ulink>.
- </para>
- </sect2>
-
-
- <sect2 id="nut">
- <title>NUT -Dateien</title>
- <para>
- NUT ist das von <application>MPlayer</application>- und
- <application>FFmpeg</application>-Leuten entwickelte Containerformat.
- Beide Projekte unterstützen es.
- Lies mehr dazu auf der <ulink url="http://www.nut.hu/">offiziellen Site</ulink>.
- </para>
- </sect2>
-
-
- <sect2 id="gif">
- <title>GIF-Dateien</title>
- <para>
- Das <emphasis role="bold">GIF</emphasis>-Format ist ein weit verbreitetes Format
- für Grafiken im Web. Es gibt zwei Versionen der GIF-Spezifikationen, GIF87a und
- GIF89a.
- Der größte Unterschied liegt darin, dass GIF89a Animationen erlaubt.
- <application>MPlayer</application> unterstützt beide Formate mit
- Hilfe der <systemitem class="library">libungif</systemitem>-Bibliothek oder
- einer anderen libgif-kompatiblen Bibliothek.
- Nicht-animierte GIFs werden als Ein-Bild-Videos dargestellt. (Mit den
- Optionen <option>-loop</option> und <option>-fixed-vo</option> können solche
- GIFs länger angezeigt werden.)
- </para>
-
- <para>
- Momentan unterstützt <application>MPlayer</application> das Spulen
- in GIF-Dateien nicht. Die einzelnen Bilder in GIF-Dateien haben nicht zwangsläufig
- die gleichen Dimensionen, und auch nicht eine feste Bildrate. Jedes Bild hat
- vielmehr seine eigenen Dimensionen und soll an einer bestimmten Position auf
- einem Bereich angezeigt werden, der selbst aber eine feste Größe hat.
- Die Bildrate wird von einem optionalen Block vor jedem Bild kontrolliert,
- der die Anzeigedauer des auf ihn folgenden Bildes in hundertstel Sekunden angibt.
- </para>
-
- <para>
- Standard-GIF-Dateien enthalten 24 Bit RGB-Bilder mit einer indizierten
- Palette, die höchstens bis 8 Bit geht. Die Bilder sind normalerweise
- mit dem LZW-Algorithmus komprimiert. Es gibt aber auch GIF-Encoder, die
- unkomprimierte Bilder erzeugen, um die Patentprobleme mit dem LZW-Algorithmus
- zu umgehen.
- </para>
-
- <para>
- Wenn bei deiner Distribution die <systemitem class="library">libungif</systemitem>
- nicht dabei ist, dann lade sie
- von der <ulink url="http://sourceforge.net/projects/libungif">libungif-Homepage</ulink>
- herunter. Detaillierte technische Informationen findest
- du in den
- <ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF89a-Spezifikationen</ulink>.
- </para>
- </sect2>
- </sect1>
-
- <!-- ********** -->
-
- <sect1 id="audio-formats">
- <title>Audioformate</title>
-
- <para>
- <application>MPlayer</application> ist ein <emphasis role="bold">Movie</emphasis>-
- und kein <emphasis role="bold">Media</emphasis>-Player.
- Er kann auch einige Audioformate wiedergeben (diese sind in der unteren
- Sektion beschrieben). Dies ist jedoch nicht die empfohlene Verwendung von
- <application>MPlayer</application>, du solltest besser
- <ulink url="http://www.xmms.org">XMMS</ulink> verwenden.
- </para>
-
- <sect2 id="mp3">
- <title>MP3-Dateien</title>
- <para>
- Du hast vielleicht Probleme mit der Wiedergabe bestimmter MP3-Dateien, die
- <application>MPlayer</application> fälschlicherweise als MPEGs erkennt und
- dementsprechend falsch oder gar nicht wiedergibt. Dies kann nicht gelöst
- werden, ohne die Unterstützung für einige kaputte MPEG-Dateien aufzugeben
- und wird deshalb bis auf weiteres so bleiben. Die Option
- <option>-demuxer</option>, welche in der Manpage beschrieben wird, könnte
- dir in diesen Fällen helfen.
- </para>
- </sect2>
-
- <sect2 id="ogg-vorbis">
- <title>OGG/OGM-Dateien (Vorbis)</title>
- <para>
- Benötigt richtig installierte
- <systemitem class="library">libogg</systemitem> und
- <systemitem class="library">libvorbis</systemitem>.
- </para>
- </sect2>
-
- <sect2 id="cdda">
- <title>CD-Audio</title>
- <para>
- <application>MPlayer</application> kann die Bibliotheken von
- <application>cdparanoia</application>
- benutzen, um CDDA-Dateien (Audio CD) wiederzugeben. Alle
- Features von <application>cdparanoia</application>
- aufzuzählen gehört nicht zu den Aufgaben dieser Dokumentation.
- </para>
-
- <para>
- Schau in der Manpage bei der Option <option>-cdda</option> nach, wie mit ihr
- Parameter an <application>cdparanoia</application> übergeben
- werden können.
- </para>
- </sect2>
-
- <sect2 id="xmms">
- <title>XMMS</title>
- <para>
- <application>MPlayer</application> kann <application>XMMS</application>-Inputplugins
- benutzen, um eine Vielzahl von Dateiformaten abzuspielen. Es gibt Plugins für
- SNES-Spielemusik, SID-Musik (vom guten alten Commodore 64), viele Amiga-Formate,
- .xm, .it, VQF, musepack, Bonk shorten und viele weitere. Du findest sie
- auf der Seite für
- <ulink url="http://www.xmms.org/plugins.php?category=input">XMMS-Inputplugins</ulink>.
- </para>
-
- <para>
- Um dieses Feature benutzen zu können, brauchst du <application>XMMS</application>
- und musst <application>MPlayer</application> mit
- <filename>./configure --enable-xmms</filename> compilieren.
- Funktioniert dies nicht, dann musst du eventuell die Pfade für die
- <application>XMMS</application>-Plugins und die
- <application>XMMS</application>-Bibliotheken explizit mit
- <option>--with-xmmsplugindir</option> und <option>--withxmmslibdir</option>
- angeben.
- </para>
- </sect2>
- </sect1>
-
-</chapter>
diff --git a/DOCS/xml/de/documentation.xml b/DOCS/xml/de/documentation.xml
index 1f079e5890..9f390b5032 100644
--- a/DOCS/xml/de/documentation.xml
+++ b/DOCS/xml/de/documentation.xml
@@ -120,7 +120,7 @@
<listitem>
<para>
Encodierung zu allen Codecs von FFmpegs
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ <systemitem class="library">libavcodec</systemitem>
</para>
</listitem>
<listitem>
@@ -214,16 +214,12 @@
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&containers.xml;
-&codecs.xml;
-&video.xml;
&tvinput.xml;
&radio.xml;
-
+&video.xml;
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
&skin.xml;
diff --git a/DOCS/xml/de/encoding-guide.xml b/DOCS/xml/de/encoding-guide.xml
index bf9a54cb29..c1bf564e77 100644
--- a/DOCS/xml/de/encoding-guide.xml
+++ b/DOCS/xml/de/encoding-guide.xml
@@ -2541,7 +2541,7 @@ vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224</screen>
Codecfamilie</title>
<para>
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ <systemitem class="library">libavcodec</systemitem>
stellt einfache Encodierung für eine Menge interessanter Video- und Audioformate
zur Verfügung.
Du kannst folgende Codecs encodieren (mehr oder weniger aktuell):
@@ -3191,7 +3191,7 @@ vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224</screen>
<sect2 id="custommatrices"><title>Maßgeschneiderte inter/intra-Matrizen</title>
<para>
- Mit diesem Feature von <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ Mit diesem Feature von <systemitem class="library">libavcodec</systemitem>
bist du in der Lage, eigene inter- (I-Frames/Keyframes) und intra-Matrizen
(P-Frames/predicted Frames) zu setzen. Es wird von vielen Codecs unterstützt:
<systemitem>mpeg1video</systemitem> und <systemitem>mpeg2video</systemitem>
diff --git a/DOCS/xml/de/faq.xml b/DOCS/xml/de/faq.xml
index b1cc88db52..fb61bf63db 100644
--- a/DOCS/xml/de/faq.xml
+++ b/DOCS/xml/de/faq.xml
@@ -295,9 +295,9 @@ _LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be define
<answer>
<para>
Überprüfe den <ulink url="../../codecs-status.html">Codec-Status</ulink>,
- wenn der deinen Codec nicht enthält, lies die
- <link linkend="codecs">Codec-Dokumentation</link>, vor allem die
- <link linkend="codec-importing">HOWTO Codec-Importierung</link> und kontaktiere uns.
+ wenn der deinen Codec nicht enthält, lies das
+ <ulink url="../../tech/win32-codec-howto">Win32 Codec HOWTO</ulink>
+ und kontaktiere uns.
</para>
</answer>
</qandaentry>
diff --git a/DOCS/xml/de/install.xml b/DOCS/xml/de/install.xml
index 458f7a00df..4f419d1f65 100644
--- a/DOCS/xml/de/install.xml
+++ b/DOCS/xml/de/install.xml
@@ -395,6 +395,154 @@ make install</screen>
</sect1>
<!-- ********** -->
+ <sect1 id="codec-installation">
+ <title>Codec Installation</title>
+
+ <sect2 id="xvid">
+ <title>Xvid</title>
+
+ <para>
+ <ulink url="http://www.xvid.org">Xvid</ulink> ist ein freier MPEG-4 ASP
+ konformer Videocodec. Beachte, dass Xvid nicht benötigt wird, um mit Xvid
+ encodiertes Video zu decodieren. In der Standardkonfiguration wird dafür
+ <systemitem class="library">libavcodec</systemitem> benutzt, da er höhere
+ Geschwindigkeit bietet.
+ </para>
+
+ <procedure>
+ <title>Installation von <systemitem class="library">Xvid</systemitem></title>
+ <para>
+ Wie die meiste Open-Source-Software gibt es zwei verfügbare Varianten:
+ <ulink url="http://www.xvid.org/downloads.html">offizielle Releases</ulink>
+ und die CVS-Version.
+ Die CVS-Version ist für die Benutzung normalerweise stabil genug, da es meistens
+ Fehlerbehebungen für Bugs enthält, die im Release vorhanden sind.
+ Hier also, was du zu tun hast, um <systemitem class="library">Xvid</systemitem>
+ vom CVS mit <application>MEncoder</application> ans Laufen zu bringen
+ (du benötigst mindestens <application>autoconf</application> 2.50,
+ <application>automake</application> und <application>libtool</application>):
+ </para>
+ <step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+ </para></step>
+ <step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+ </para></step>
+ <step><para>
+ <screen>cd xvidcore/build/generic</screen>
+ </para></step>
+ <step><para>
+ <screen>./bootstrap.sh</screen>
+ </para></step>
+ <step><para>
+ <screen>./configure</screen>
+ Du musst möglicherweise ein paar Optionen hinzuzufügen (schaue dir
+ die Ausgabe von <command>./configure --help</command> an).
+ </para></step>
+ <step><para>
+ <screen>make &amp;&amp; make install</screen>
+ </para></step>
+ </procedure>
+ </sect2>
+
+
+ <sect2 id="x264">
+ <title><systemitem class="library">x264</systemitem></title>
+ <para>
+ <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
+ ist eine Bibliothek für die Erstellung von H.264-Videostreams.
+ <application>MPlayer</application> Sourcen werden auf den neuesten Stand
+ gebracht wenn es an <systemitem class="library">x264</systemitem> API
+ Veränderungen gibt. Deswegen wird empfohlen
+ <application>MPlayer</application> aus dem Subversion zu benutzen.
+ </para>
+
+ <para>
+ Wenn du GIT installiert hast, können die aktuellen x264 Sourcen
+ mit dem folgen Befehl besorgt werden:
+ <screen>git clone git://git.videolan.org/x264.git</screen>
+
+ Bau und installier dann nach der Standardformel:
+ <screen>./configure &amp;&amp; make &amp;&amp; make install</screen>
+
+ Jetzt nochmal <filename>./configure</filename> ausführen, damit
+ <application>MPlayer</application> die Unterstützung für
+ <systemitem class="library">x264</systemitem> aktiviert.
+ </para>
+ </sect2>
+
+
+ <sect2 id="aac">
+ <title>AAC Codec</title>
+ <para>
+ AAC (Advanced Audio Coding) ist ein Audiocodec, der vorwiegend
+ in MOV- und MP4-Dateien vorkommt. Ein Open-Source-Decoder namens
+ FAAD ist auf <ulink url="http://www.audiocoding.com"/>
+ verfügbar. <application>MPlayer</application> enthält
+ eine CVS Version von libfaad 2.1 beta, so dass es nicht extra
+ installiert werden muss.
+ </para>
+
+ <para>
+ Um die externe FAAD-Bibliothek verwenden zu können (z.B. um mit gcc 3.2
+ compilieren zu können, der die interne Version nicht übersetzt), muss
+ die Bibliothek von der
+ <ulink url="http://www.audiocoding.com/modules/mydownloads/">Download Seite</ulink>
+ heruntergeladen und installiert werden. Anschließend muss die Option
+ <option>--enable-faad-external</option> an <filename>./configure</filename>
+ übergeben werden, damit die externe Bibliothek erkannt wird.
+ Es ist lediglich erforderlich, vorher libfaad zu installieren, und zwar so:
+ <screen>
+cd faad2/
+sh bootstrap
+./configure
+cd libfaad
+make
+make install<!--
+ --></screen>
+ Binärpakete sind auf audiocoding.com nicht erhältlich, Debian-Pakete
+ können aber mit (apt-)get von
+ <ulink url="http://www.debian-multimedia.org/">Christian Marillat's Homepage</ulink>, Mandrake/Mandriva RPMs von
+ <ulink url="http://plf.zarb.org">P.L.F</ulink> und RedHat RPMs
+ von <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>
+ heruntergeladen werden.
+ </para>
+ </sect2>
+
+ <sect2 id="amr">
+ <title>AMR Codecs</title>
+ <para>
+ Adaptive Multi-Rate Sprachcodec, wird in 3G (UMTS) Mobiltelephonen verwendet.
+ Die Referenzimplementierung ist auf
+ <ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
+ erhältlich (frei - wie in Freibier - für private Benutzung).
+ Um die Unterstützung zu aktiveren, lade die Bibliotheken für
+ <ulink url="http://www.penguin.cz/~utx/amr">AMR-NB and AMR-WB</ulink>
+ runter und installiere sie, indem du die Anweisungen auf dieser Seite befolgst.
+ Compiliere MPlayer danach erneut.
+ </para>
+ <para>
+ Für Unterstützung müssen die Codecs
+ <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink>
+ und
+ <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>
+ heruntergeladen und in dasselbe Verzeichnis wie
+ <application>MPlayer</application> verschoben werden.
+ Anschließend folgende Befehle ausführen:
+ <screen>
+unzip 26104-610.zip
+unzip 26104-610_ANSI_C_source_code.zip
+mv c-code libavcodec/amr_float
+unzip 26204-600.zip
+unzip 26204-600_ANSI-C_source_code.zip
+mv c-code libavcodec/amrwb_float<!--
+ --></screen>
+ Befolge danach einfach das <link linkend="features">Standardvorgehen für die Compilierung</link> von
+ <application>MPlayer</application>.
+ </para>
+ </sect2>
+
+ </sect1>
<sect1 id="rtc">
<title>RTC</title>
diff --git a/DOCS/xml/de/mencoder.xml b/DOCS/xml/de/mencoder.xml
index aa58d4ac87..299aa9f907 100644
--- a/DOCS/xml/de/mencoder.xml
+++ b/DOCS/xml/de/mencoder.xml
@@ -729,7 +729,7 @@ mencoder mf://<replaceable>@list.txt</replaceable> -mf w=800:h=600:fps=25:type=j
<para>
Dieses Feature kann nur mit dem <systemitem>mpeg4</systemitem>-Codec von
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ <systemitem class="library">libavcodec</systemitem>
verwendet werden. Vergiss nicht: Obwohl <application>MPlayer</application>
die erzeugte Datei korrekt abspielen wird, könnten andere Player das verkehrte
Seitenverhältnis benutzen.
diff --git a/DOCS/xml/de/ports.xml b/DOCS/xml/de/ports.xml
index d9bff519c4..c9638a8f02 100644
--- a/DOCS/xml/de/ports.xml
+++ b/DOCS/xml/de/ports.xml
@@ -311,26 +311,6 @@ MPlayer interrupted by signal 11 in module: init_audio_codec
</sect2>
- <sect2 id="irix">
- <title>IRIX</title>
- <para>
- Du kannst entweder versuchen, das GNU-Installationsprogramm zu installieren und dann
- (falls du es nicht in deinen globalen Path gelegt hast) auf den Standort zeigen mit:
- <screen>./configure --with-install=<replaceable>/path/and/name/of/install</replaceable></screen>
- </para>
-
- <para>
- Oder du kannst die mit IRIX 6.5 gelieferte Standard-Installation verwenden, falls
- du das <filename>Makefile</filename> ein bisschen von Hand editieren willst.
- Ändere die folgende Zeile von:
- <programlisting>$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1</programlisting>
- zu:
- <programlisting>$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/</programlisting>
- und fahre dann fort mit Compilierung und Installation.
- </para>
- </sect2>
-
-
<sect2 id="hp-ux">
<title>HP-UX</title>
<para>
@@ -510,6 +490,21 @@ Segmentation fault</screen>
</itemizedlist>
</sect2>
+
+ <sect2 id="qnx">
+ <title>QNX</title>
+ <para>
+ Du musst SDL für QNX herunterladen und installieren. Dann starte
+ <application>MPlayer</application> mit den Optionen
+ <option>-vo sdl:driver=photon</option> und <option>-ao sdl:nto</option>,
+ es sollte schnell laufen.
+ </para>
+
+ <para>
+ Der Output mit <option>-vo x11</option> wird etwas langsamer sein als unter Linux,
+ da QNX nur X-<emphasis>Emulation</emphasis> besitzt, was sehr langsam ist.
+ </para>
+ </sect2>
</sect1>
@@ -861,69 +856,4 @@ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main</screen>
</sect2>
</sect1>
- <sect1 id="exotic_platforms">
- <title>Exotische Plattformen</title>
-
- <para>
- <application>MPlayer</application> läuft auf einer Reihe exotischer Plattformen,
- aber die meisten der plattformspezifischen Änderungen dieser Systeme wurden nicht
- in den Hauptquellbaum zurückgemergt.
- Build-Instruktionen findest du in der System-spezifischen Dokumentation.
- </para>
-
- <sect2 id="qnx">
- <title>QNX</title>
- <para>
- Du musst SDL für QNX herunterladen und installieren. Dann starte
- <application>MPlayer</application> mit den Optionen
- <option>-vo sdl:driver=photon</option> und <option>-ao sdl:nto</option>,
- es sollte schnell laufen.
- </para>
-
- <para>
- Der Output mit <option>-vo x11</option> wird etwas langsamer sein als unter Linux,
- da QNX nur X-<emphasis>Emulation</emphasis> besitzt, was sehr langsam ist.
- </para>
- </sect2>
-
- <sect2 id="amiga">
- <title>Amiga/MorphOS (GeekGadgets)</title>
- <para>
- Die Leute drüben auf <ulink url="http://www.amigasoft.net"/>
- machen aktuelle <application>MPlayer</application>- und
- <application>MEncoder</application>-Packages.
- </para>
-
- <para>
- Nicholas Det bei Genesi hat eine große und starke Portierung des
- <application>MPlayer</application> für MorphOS gemacht. Traurig,
- dass sie auf der 0.90-Serie basiert.
- </para>
-
- <para>
- Hol sie dir von <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
- <application>MPlayer</application> 0.91 Binary</ulink>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
- <application>MPlayer</application> 0.91 Source</ulink>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
- <application>MEncoder</application> 1.0pre3 Binary</ulink>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </sect2>
- </sect1>
-
</chapter>
diff --git a/DOCS/xml/en/encoding-guide.xml b/DOCS/xml/en/encoding-guide.xml
index 5cf6d1a474..e5af2e3873 100644
--- a/DOCS/xml/en/encoding-guide.xml
+++ b/DOCS/xml/en/encoding-guide.xml
@@ -3815,7 +3815,7 @@ and development advancements, you may get very different results.
<systemitem class="library">x264</systemitem> is a free library for
encoding H.264/AVC video streams.
Before starting to encode, you need to
-<link linkend="codec-x264">set up <application>MEncoder</application> to support it</link>.
+<link linkend="x264">set up <application>MEncoder</application> to support it</link>.
</para>
<!-- ********** -->
diff --git a/DOCS/xml/en/faq.xml b/DOCS/xml/en/faq.xml
index 8ee90866c6..4381561ca0 100644
--- a/DOCS/xml/en/faq.xml
+++ b/DOCS/xml/en/faq.xml
@@ -230,18 +230,6 @@ and follow the instructions.
<qandaentry>
<question><para>
-I have problems playing files with the ... codec. Can I use them?
-</para></question>
-<answer><para>
-Check the <ulink url="../../codecs-status.html">codec status</ulink>,
-if it doesn't contain your codec, read the
-<ulink url="../../tech/win32-codec-howto">Win32 codec HOWTO</ulink>
-and contact us.
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
I get a core dump when trying to dump streams, what's wrong?
</para></question>
<answer><para>
@@ -396,27 +384,6 @@ edit <filename>config.h</filename> and replace
<qandaentry>
<question><para>
-I can't access the GUI menu. I press right click, but I can't
-access any menu items!
-</para></question>
-<answer><para>
-Are you using FVWM? Try the following:
-<orderedlist>
-<listitem><para>
- <menuchoice><guimenu>Start</guimenu><guisubmenu>Settings</guisubmenu>
- <guisubmenu>Configuration</guisubmenu>
- <guimenuitem>Base Configuration</guimenuitem></menuchoice>
-</para></listitem>
-<listitem><para>
- Set <systemitem>Use Applications position hints</systemitem>
- to <systemitem>Yes</systemitem>
-</para></listitem>
-</orderedlist>
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
How can I run <application>MPlayer</application> in the background?
</para></question>
<answer><para>
@@ -711,18 +678,6 @@ and upload the file to FTP.
<qandaentry>
<question><para>
-My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound
-too slow.
-When I use the <option>-nosound</option> option, everything is OK (but quiet).
-</para></question>
-<answer><para>
-Your machine is too slow or your sound card driver is broken. Consult the
-documentation to see if you can improve performance.
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
How can I use <application>dmix</application> with
<application>MPlayer</application>?
</para></question>
@@ -851,21 +806,6 @@ undertaking.
<qandaentry>
<question><para>
-I can't watch any recent DVDs from Sony Pictures/BMG.
-</para></question>
-<answer><para>
-This is normal; you've been ripped off and sold an intentionally defective disk.
-The only way to play these DVDs is to circumvent the bad blocks of the disk
-by using DVDnav instead of mpdvdkit2.
-You can do so by compiling <application>MPlayer</application> with DVDnav
-support and then replacing dvd:// by dvdnav:// on the command line.
-DVDnav is so far mutually exclusive with mpdvdkit2, so make sure you pass
-<option>--disable-mpdvdkit</option> to the configure script.
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
What about subtitles? Can <application>MPlayer</application> display them?
</para></question>
<answer><para>
@@ -1289,7 +1229,7 @@ Use <filename>avisubdump.c</filename> from the
<qandaentry>
<question><para>
-MPlayer won't...
+MEncoder won't...
</para></question>
<answer><para>
Have a look at the <filename class="directory">TOOLS</filename>
diff --git a/DOCS/xml/en/install.xml b/DOCS/xml/en/install.xml
index 257ca635c3..f8019fe3f9 100644
--- a/DOCS/xml/en/install.xml
+++ b/DOCS/xml/en/install.xml
@@ -403,7 +403,7 @@ default as it offers better speed.
<!-- ********** -->
-<sect2 id="codec-x264">
+<sect2 id="x264">
<title><systemitem class="library">x264</systemitem></title>
<para>
diff --git a/DOCS/xml/en/usage.xml b/DOCS/xml/en/usage.xml
index 9fc3cdac4e..bc573a25d7 100644
--- a/DOCS/xml/en/usage.xml
+++ b/DOCS/xml/en/usage.xml
@@ -494,18 +494,19 @@ change the default operation which is to skip the block described by each line.
</para>
</sect2>
</sect1>
+</chapter>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<sect1 id="advaudio" xreflabel="Advanced Audio">
-<title>Advanced audio</title>
+<chapter id="advaudio" xreflabel="Advanced Audio">
+<title>Advanced audio usage</title>
-<sect2 id="advaudio-surround">
+<sect1 id="advaudio-surround">
<title>Surround/Multichannel playback</title>
-<sect3 id="advaudio-surround-DVD">
+<sect2 id="advaudio-surround-DVD">
<title>DVDs</title>
<para>
@@ -524,10 +525,10 @@ quadraphonic playback the default, add this line:
<application>MPlayer</application> will then output audio in four channels when
all four channels are available.
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-surround-stereoinfour">
+<sect2 id="advaudio-surround-stereoinfour">
<title>Playing stereo files to four speakers</title>
<para>
@@ -538,10 +539,10 @@ See the section on
<link linkend="advaudio-channels-copying">channel copying</link> for an
explanation.
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-surround-passthrough">
+<sect2 id="advaudio-surround-passthrough">
<title>AC-3/DTS Passthrough</title>
<para>
@@ -594,10 +595,10 @@ playing a file that does not have AC-3 or DTS audio.
<application>MPlayer</application> will fall back anyway when an audio family
is specified.
</para>
-</sect3>
+</sect2>
-<sect3 id="hwmpa-surround-passthrough">
+<sect2 id="hwmpa-surround-passthrough">
<title>MPEG audio Passthrough</title>
<para>
@@ -613,10 +614,10 @@ without decoding it.
To use this codec:
<screen> mplayer -ac hwmpa </screen>
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-surround-matrix">
+<sect2 id="advaudio-surround-matrix">
<title>Matrix-encoded audio</title>
<para>
@@ -647,10 +648,10 @@ Good links:
</para></listitem>
</itemizedlist>
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-surround-hrtf">
+<sect2 id="advaudio-surround-hrtf">
<title>Surround emulation in headphones</title>
<para>
@@ -685,10 +686,10 @@ you have a file with a different sampling rate that you want to play using
mplayer <replaceable>filename</replaceable> -channels 6 -af resample=48000,hrtf
</screen>
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-surround-troubleshooting">
+<sect2 id="advaudio-surround-troubleshooting">
<title>Troubleshooting</title>
<para>
@@ -696,15 +697,15 @@ If you do not hear any sound out of your surround channels, check your mixer
settings with a mixer program such as <application>alsamixer</application>;
audio outputs are often muted and set to zero volume by default.
</para>
-</sect3>
</sect2>
+</sect1>
<!-- ********** -->
-<sect2 id="advaudio-channels">
+<sect1 id="advaudio-channels">
<title>Channel manipulation</title>
-<sect3 id="advaudio-channels-general">
+<sect2 id="advaudio-channels-general">
<title>General information</title>
<para>
@@ -773,10 +774,10 @@ The <option>channels</option> audio filter can be used to create or remove
channels and is useful for controlling the number of channels sent to the sound
card. See the following sections for more information on channel manipulation.
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-channels-mono">
+<sect2 id="advaudio-channels-mono">
<title>Playing mono with two speakers</title>
<para>
@@ -800,10 +801,10 @@ the right value. For example:
mplayer <replaceable>filename</replaceable> -af extrastereo=0,volume=5
</screen>
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-channels-copying">
+<sect2 id="advaudio-channels-copying">
<title>Channel copying/moving</title>
<para>
@@ -904,10 +905,10 @@ Combine all the suboptions to get:
mplayer <replaceable>filename</replaceable> -af channels=4:4:0:2:0:0:1:3:1:1
</screen>
</para>
-</sect3>
+</sect2>
-<sect3 id="advaudio-channels-mixing">
+<sect2 id="advaudio-channels-mixing">
<title>Channel mixing</title>
<para>
@@ -1074,12 +1075,12 @@ Combine all those options to get:
mplayer <replaceable>dvd://1</replaceable> -channels 6 -af pan=5:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0.5:0.5:0:0:0
</screen>
</para>
-</sect3>
</sect2>
+</sect1>
<!-- ********** -->
-<sect2 id="advaudio-volume">
+<sect1 id="advaudio-volume">
<title>Software Volume adjustment</title>
<para>
@@ -1121,6 +1122,5 @@ values, <option>volume</option> may need to clip the signal to avoid sending
your sound card data that is outside the allowable range; this will result in
distorted audio.
</para>
-</sect2>
</sect1>
</chapter>
diff --git a/DOCS/xml/es/Makefile b/DOCS/xml/es/Makefile
index e36fbfffa5..e18885f6df 100644
--- a/DOCS/xml/es/Makefile
+++ b/DOCS/xml/es/Makefile
@@ -2,7 +2,7 @@
#HTML_STYLESHEET = mystyle.css
# Change to yes to enable symlinking missing files to English master versions
-USE_SYMLINKS = no
+USE_SYMLINKS = yes
# Dependency information.
$(HTMLDIR)/index.html: $(wildcard *.xml)
diff --git a/DOCS/xml/es/codecs.xml b/DOCS/xml/es/codecs.xml
deleted file mode 100644
index cdba207592..0000000000
--- a/DOCS/xml/es/codecs.xml
+++ /dev/null
@@ -1,922 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with 1.35 -->
-<sect1 id="codecs">
-<title>Codecs soportados</title>
-
-<sect2 id="video-codecs">
-<title>Codecs de video</title>
-
-<para>
-Vea la <ulink url="../../codecs-status.html">tabla de estado de codec</ulink>
-para una lista completa, generada a diario. Hay unos pocos codecs disponibles
-para descarga desde nuestra página principal. Cójalos de nuestra
-<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">página de codecs</ulink>.
-</para>
-
-<para>
-Los más importantes por encima de todo son:
-</para>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">MPEG1</emphasis> (<emphasis role="bold">VCD</emphasis>) y
- <emphasis role="bold">MPEG2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
- </para></listitem>
-<listitem><para>
- decodificadores nativos para <emphasis role="bold">DivX ;-), OpenDivX (DivX4),
- DivX 5.01, 3ivX, Microsoft MPEG4</emphasis> v1, v2 y otras variantes de MPEG4
- </para></listitem>
-<listitem><para>
- decodificador nativo para <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>), y decodificador Win32 DLL
- para <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>), ambos usados en archivos <filename>.wmv</filename>
- </para></listitem>
-<listitem><para>
- decodificador <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> nativo
- </para></listitem>
-<listitem><para>
- decodificador <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> nativo
- </para></listitem>
-<listitem><para>
- decodificador <emphasis role="bold">3ivx</emphasis> v1, v2
- </para></listitem>
-<listitem><para>
- Codecs Cinepak y <emphasis role="bold">Intel Indeo</emphasis> (3.1,3.2,4.1,5.0)
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 y otros formatos de hardware
- </para></listitem>
-<listitem><para>
- VIVO 1.0, 2.0, I263 y otras variantes <emphasis role="bold">h263(+)</emphasis>
- </para></listitem>
-<listitem><para>
- FLI/FLC
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> de
- <systemitem class="library">libavcodec</systemitem>, y
- <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> usando
- bibliotecas RealPlayer
- </para></listitem>
-<listitem><para>
- decodificador nativo para HuffYUV
- </para></listitem>
-<listitem><para>
- Varios formatos antiguos simples tipo-RLE
- </para></listitem>
-</itemizedlist>
-
-<para>
-Si tiene un codec Win32 no listado aquí que no esté aún soportado,
-por favor lea el <link linkend="win32-codecs">COMO importar codec</link>
-y ayúdenos a añadir soporte para él.
-</para>
-
-
-<sect3 id="divx4-5">
-<title>DivX4/DivX5</title>
-
-<para>
-Esta sección contiene información acerca de los codecs DivX4 y DivX5 de
-<ulink url="http://www.projectmayo.com">Project Mayo</ulink>.
-La primera versión alpha disponible fue OpenDivX 4.0 alpha 47 y 48.
-Se incluyó soporte para él en <application>MPlayer</application> en el
-pasado, y construido por defecto. También se usa código de postprocesado
-para mejorar opcionalmente la calidad visual de las películas MPEG1/2.
-Ahora usamos el nuestro propio, para todos los tipos de archivos.
-</para>
-
-<para>
-La nueva generación de este codec se llama DivX4 y puede incluso decodificar
-películas hechas con el infame codec DivX! Además es mucho más rápido
-que las DLLs nativas Win32 DivX pero más lento que
-<systemitem class="library">libavcodec</systemitem>. Por eso su uso como
-decodificador <emphasis role="bold">no se recomienda</emphasis>. Sin
-embargo, es útil para codificar. Una desventaja de este codec es que no está
-disponible bajo una licencia de Código Abierto.
-</para>
-
-<para>
-DivX4 funciona de dos maneras:
-<variablelist>
-<varlistentry><term><option>-vc odivx</option></term>
-<listitem><para>
- Usa el codec en el estilo OpenDivX. En este caso produce imágenes YV12
- en su propio buffer, y <application>MPlayer</application> hace la conversión
- en el espacio de color vía libvo. (<emphasis role="bold">¡Rápido, recomendado!</emphasis>)
- </para></listitem>
-</varlistentry>
-<varlistentry><term><option>-vc divx4</option></term>
-<listitem><para>
- Usa la conversión en el espacio de color del codec. En este modo puede usar
- YUY2/UYVY, también. (<emphasis role="bold">LENTO</emphasis>)
- </para></listitem>
-</varlistentry>
-</variablelist>
-</para>
-
-<para>
-El método <option>-vc odivx</option> es normalmente rápido, debido al hecho
-de que transfiere los datos de imágenes en formato YV12 (YUV 4:2:0 planar),
-por eso requiere mucho menos ancho de banda en el bus. Para modos empaquetados
-en YUV (YUY2, UYVY) use el método <option>-vc divx4</option>. Para modos RGB la
-velocidad es la misma, difiere en función de su profundidad de color actual.
-<note>
-<para>
-Si su controlador <option>-vo</option> soporta renderizado directo, entonces
-<option>-vc divx4</option> puede ser más rápido, o incluso la solución más rápida
-de todas.
-</para>
-
-<para>
-La biblioteca de codec binario DivX4/5 puede descargarse desde
-<ulink url="http://avifile.sourceforge.net">avifile</ulink> o
-<ulink url="http://www.divx.com">divx.com</ulink>
-Desempaquételo, ejecute <filename>./install.sh</filename> como root y no olvide
-añadir <filename class="directory">/usr/local/lib</filename> a su
-<filename>/etc/ld.so.conf</filename> y ejecutar <command>ldconfig</command>.
-</para>
-
-<para>
-Obtenga la versión CVS de la biblioteca ANTIGUA OpenDivx del siguiente modo:
-</para>
-
-<procedure>
-<step><para>
-<screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot login</screen>
-</para></step>
-<step><para>
-<screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot co divxcore</screen>
-</para></step>
-<step><para>
-Esta biblioteca se une en un decodificador y codificador que tienen que ser
-compilados de forma separada. Para la Biblioteca decodificadora, símplemente
-escriba
-<screen>
-cd divxcore/decore/build/linux
-make
-cp libdivxdecore.so /usr/local/lib
-ln -s libdivxdecore.so /usr/local/lib/libdivxdecore.so.0
-cp ../../src/decore.h /usr/local/include
-</screen>
-</para></step>
-<step><para>
-Qué pena, para la biblioteca de codificación no hay un Makefile para Linux
-disponible, y el código optimizado para MMX solo funciona en Windows. Puede
-aún compilarla, a persar de todo, usando este
-<ulink url="ftp://ftp.mplayerhq.hu/MPlayer/contrib/divx-mf/Makefile">Makefile</ulink>.
-<screen>
-cd ../../../encore/build
-mkdir linux
-cd linux
-cp path/Makefile .
-make
-cp libdivxencore.so /usr/local/lib
-ln -s libdivxencore.so /usr/local/lib/libdivxencore.so.0
-cp ../../src/encore.h /usr/local/include
-</screen>
-</para></step>
-</procedure>
-
-<para>
-<application>MPlayer</application> autodetecta DivX4/DivX5 si está
-correctamente instalado, compile símplemente de la manera habitual. Si no
-lo detecta, puede que no esté instalado o configurado correctamente.
-</para>
-
-</note>
-</para>
-</sect3>
-
-
-<sect3 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
-<title>FFmpeg DivX/libavcodec</title>
-
-<para>
-<ulink url="http://ffmpeg.sourceforge.net">FFmpeg</ulink> contiene un paquete de
-codec <emphasis role="bold">de código abierto</emphasis> que es capaz de decodificar
-flujos con varios codecs de audio y video. ¡También ofrece una facilidad
-impresionante para codificar y una velocidad mayor que los codecs Win32 o las
-bibliotecas DivX.com DivX4/5!
-</para>
-
-<para>
-Contiene un montón de codecs bonitos, especialmente importantes son las
-variantes de MPEG4:
-DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). También es muy interesante
-el decodificador de WMA.
-</para>
-
-<para>
-El codec más reciente merecedor de créditos es el codec
-<emphasis role="bold">Sorenson 3</emphasis> (SVQ3). Es la primera implementación
-de código abierto. Es incluso más rápido que el original.
-¡Asegúrese de que prefiere éste antes que el codec binario!
-</para>
-
-<para>
-Para una lista completa de los codecs soportados visite la página de FFmpeg.
-Codecs soportados de <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
-y de <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink>.
-</para>
-
-<para>
-Si usa una liberación de <application>MPlayer</application> que tiene
-<systemitem class="library">libavcodec</systemitem>
-dentro del paquete, constrúyalo de la manera habitual. Si usa
-<application>MPlayer</application> desde CVS debe extraer
-<systemitem class="library">libavcodec</systemitem> desde
-el árbol CVS de FFmpeg ya que las liberaciones de FFmpeg son raras. El CVS es bastante
-estable y ofrece muchas características. Para ello haga lo siguiente:
-</para>
-
-<procedure>
-<step><para>
- <screen>cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login</screen>
- </para></step>
-<step><para>
- <screen>cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg</screen>
- </para></step>
-<step><para>
-
- Mueva el directorio <filename>libavcodec</filename> desde los fuentes
- de FFmpeg al raíz del árbol CVS de <application>MPlayer</application>.
- Debe quedar como ésto:
- <filename class="directory">>main/libavcodec</filename>
- </para><para>
- Hacer enlace simbólico <emphasis role="bold">no</emphasis> es suficiente,
- ¡debe copiarlo/moverlo!
- </para></step>
-<step><para>
- Si prefiere tener <systemitem class="library">libavcodec</systemitem>
- actualizado al mismo tiempo que actualiza el CVS de
- <application>MPlayer</application>, ponga la siguiente línea en
- su archivo <filename>main/CVS/Entries</filename>:
- <screen>D/libavcodec////</screen>
- </para></step>
-<step><para>
- Compile. <filename>configure</filename> debe detectar los problemas antes
- de la compilación.
- </para></step>
-</procedure>
-
-<note>
-<para>
-<application>MPlayer</application> desde CVS contiene un subdirectorio
-<filename>libavcodec</filename> pero éste ¡<emphasis role="bold">no</emphasis>
-contiene el código para <systemitem class="library">libavcodec</systemitem>!
-Debe seguir los pasos anteriores para obtener el código para esta biblioteca.
-</para>
-</note>
-
-<para>
-Con FFmpeg y mi Matrox G400, puedo ver hasta las peliculas DivX de mas alta
-resolución sin perder frames en mi K6-2 500.
-</para>
-</sect3>
-
-
-<sect3 id="xanim">
-<title>Codecs XAnim</title>
-
-
-<formalpara>
-<title>INSTALACIÓN Y USO</title>
-<para>
-<application>MPlayer</application> es capaz de usar los codecs XAnim para
-decodificar. Siga las instrucciones para habilitarlo:
-</para>
-</formalpara>
-
-<procedure>
-<step><para>
- Descargue los codecs que desee usar desde el
- <ulink url="http://xanim.va.pubnix.com">sitio de XAnim</ulink>.
- El codec de <emphasis role="bold">3ivx</emphasis> no está aquí, sino en el
- <ulink url="http://www.3ivx.com">sitio de 3ivx</ulink>.
- </para></step>
-<step><para>
- <emphasis role="bold">O</emphasis> descargue el paquete de codecs desde nuestra
- <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">página de codecs</ulink>
- </para></step>
-<step><para>
- Use la opción <option>--with-xanimlibdir</option> para decir a
- <filename>configure</filename> dónde encontrar los codecs de XAnim.
- Por defecto, él mira en
- <filename class="directory">/usr/local/lib/codecs</filename>,
- <filename class="directory">/usr/local/lib/xanim/mods</filename>,
- <filename class="directory">/usr/lib/xanim/mods</filename> y
- <filename class="directory">/usr/lib/xanim</filename>.
- Alternativamente puede establecer la variable de entorno
- <envar>XANIM_MOD_DIR</envar> hacia el directorio de los codecs de XAnim.
- </para></step>
-<step><para>
- Renombrar/crear enlaces a los archivos, corta lo relacionado con la
- arquitectura, porque tienen nombres de archivo como estos:
- <filename>vid_cvid.xa</filename>, <filename>vid_h263.xa</filename>,
- <filename>vid_iv50.xa</filename>
- </para></step>
-</procedure>
-
-<para>
-XAnim es la familia de codecs de video de <systemitem>xanim</systemitem>, puede
-que usted quiera usar la opción <option>-vfm xanim</option> para decir
-a <application>MPlayer</application> que lo use cuando sea posible.
-</para>
-
-<para>
-Los codecs probados incluyen: <emphasis role="bold">Indeo 3.2, 4.1, 5.0, CVID, 3ivX,
-h263.</emphasis>
-</para>
-</sect3>
-
-
-<sect3 id="vivo-video">
-<title>Video VIVO</title>
-<para>
-<application>MPlayer</application> puede reproducir videos Vivo (1.0 y 2.0). El mejor
-codec para los archivos 1.0 es el decodificador FFmpeg H263, puede usarlo con
-la opción <option>-vc ffh263</option>. Para archivos 2.0, use la biblioteca Win32
-a través de la opción <option>-vc vivo</option>. Si no proporciona opciones en la línea
-de órdenes <application>MPlayer</application> elige el mejor codec automáticamente.
-</para>
-</sect3>
-
-
-<sect3 id="mpeg12">
-<title>Video MPEG 1/2</title>
-<para>
-MPEG1 y MPEG2 son decodificados por la biblioteca nativa multiplataforma
-<systemitem class="library">libmpeg2</systemitem>, cuyo código fuente
-está incluido en <application>MPlayer</application>. Puede manejar archivos
-de video erróneos MPEG 1/2 cacheando la señal <systemitem>Signal 11</systemitem>
-(<systemitem>segmentation fault</systemitem>), y reinicializando rápidamente
-el codec, continuando exactamente por donde ocurrió este fallo. Esta técnica
-de recuperación no tiene una pérdida de velocidad notable.
-</para>
-</sect3>
-
-
-<sect3 id="msvideo1">
-<title>MS Video1</title>
-<para>
-Este es un codec muy antiguo y muy malo de Microsoft. En el pasado era
-decodificado con el codec Win32 <filename>msvidc32.dll</filename>, ahora
-tenemos nuestra propia implementación de código abierto
-(por <ulink url="mailto:melanson@pcisys.net">Mike Melanson</ulink>).
-</para>
-</sect3>
-
-
-<sect3 id="cinepak-cvid">
-<title>Cinepak CVID</title>
-<para>
-<application>MPlayer</application> usa su propio decodificador de código abierto,
-multiplataforma de Cinepak
-(por <ulink url="mailto:timf@csse.monash.edu.au">Dr. Tim Ferguson</ulink>)
-por defecto. Soporta salidas YUV, de modo que es posible escalar por hardware
-si el controlador de salida de video lo permite.
-</para>
-</sect3>
-
-
-<sect3 id="realvideo">
-<title>RealVideo</title>
-
-<para>
-<application>MPlayer</application> soporta la decodificación de todas las
-versiones de RealVideo:
-
-<itemizedlist>
-<listitem><para>
- RealVideo 1.0, 2.0 (fourcc RV10, RV20) - cod/decodificación soportada por
- <systemitem class="library">libavcodec</systemitem>
- </para></listitem>
-<listitem><para>
- RealVideo 3.0, 4.0 (fourcc RV30, RV40) - decodificación soportada por
- <emphasis role="bold">bibliotecas de RealPlayer</emphasis>
- </para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-Es recomendable descargar e instalar <application>RealPlayer8</application>
-o <application>RealONE</application>, porque <application>MPlayer</application>
-puede usar sus bibliotecas para decodificar archivos con video en RealVideo
-2.0 - 4.0. El script <filename>configure</filename> de <application>MPlayer</application>
-debe detectar las bibliotecas de <application>RealPlayer</application> en las
-localizaciones estándar de una instalación completa. Si no lo hace, diga
-a <filename>configure</filename> dónde buscar con la opción
-<option>--with-reallibdir</option>.
-</para>
-
-<para>
-Como segunda opción puede descargar los codecs desde
-<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</ulink>.
-Después de descargar el paquete de codecs de Real, extráigalo en el directorio
-<filename class="directory">/usr/local/lib/codecs</filename>, o puede especificar
-una ruta única con la opción <option>--with-reallibdir</option>.
-</para>
-
-<note><para>
-Las bibliotecas de <application>RealPlayer</application> actualmente
-<emphasis role="bold">solo funcionan con Linux, FreeBSD, NetBSD y Cygwin en las
-plataformas x86, Alpha and PowerPC (Linux/Alpha and Linux/PowerPC han sido
-probadas)</emphasis>.
-</para></note>
-</sect3>
-
-
-<sect3 id="xvid">
-<title>XviD</title>
-
-<para>
-<ulink url="http://www.xvid.org">XviD</ulink> es una derivación del desarrollo
-del codec OpenDivX. Esto ocurrió cuando ProjectMayo cambió OpenDivX a código
-cerrado DivX4 (ahora DivX5), y la gente del no-ProjectMayo que trabajaba
-en OpenDivX se cabreó, e inició XviD. Este es el motivo de que ambos proyectos
-tengan el mismo origen.
-
-<itemizedlist>
-<title>VENTAJAS</title>
-<listitem><para>
- código abierto
- </para></listitem>
-<listitem><para>
- su API es compatible con DivX5 añadiendo soporte para que sea más fácil
- </para></listitem>
-<listitem><para>
- soporte de codificación en 2-pasadas
- </para></listitem>
-<listitem><para>
- muy buena calidad codificando, más velocidad que DivX4 (puede optimizarlo
- para su equipo compilándolo)
- </para></listitem>
-</itemizedlist>
-
-<itemizedlist>
-<title>DESVENTAJAS</title>
-<listitem><para>
- actualmente no <emphasis role="bold">decodifica</emphasis> bien todos los
- archivos DivX/DivX4 (no hay problema porque
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
- puede reproducirlos)
- </para></listitem>
-<listitem><para>
- bajo desarrollo
- </para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>INSTALANDO XVID CVS</title>
-<para>
- Actualmente está disponible solo desde CVS. Aquí tiene instrucciones para
- descargarlo e instalarlo (necesita al menos autoconf 2.50, automake y libtool):
-</para>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
- </para></step>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
-</para></step>
-<step><para>
- <screen>cd xvidcore/build/generic</screen>
- </para></step>
-<step><para>
- <screen>./bootstrap.sh</screen>
- </para></step>
-<step><para>
- <screen>./configure</screen>
- Puede añadir algunas opciones (examine la salida de
- <screen>./configure --help</screen>).
- </para></step>
-<step><para>
- <screen>make &amp;&amp; make install</screen>
- </para></step>
-<step><para>
- Si ha especificado <option>--enable-divxcompat</option>,
- copie <filename>../../src/divx4.h</filename> a
- <filename class="directory">/usr/local/include/</filename>.
- </para></step>
-<step><para>
- Recompile <application>MPlayer</application> con
- <option>--with-xvidlibdir=<replaceable>/ruta/a/</replaceable>libxvidcore.a</option>
- <option>--with-xvidincdir=<replaceable>/ruta/a/</replaceable>xvid.h</option>
- </para></step>
-</procedure>
-</sect3>
-
-
-<sect3 id="sorenson">
-<title>Sorenson</title>
-
-<para>
-Sorenson es un codec de video desarrollado por Sorenson Media y licenciado
-a Apple quien lo distribuye con su <application>Reproductor QuickTime</application>.
-Actualmente se es capaz de decodificar todas las versiones de los archivos de
-video Sorenson con los siguientes decodificadores:
-</para>
-
-<itemizedlist>
-<listitem><para>
- Sorenson Video v1 (fourcc <emphasis>SVQ1</emphasis>) - decodificación soportada
- por <emphasis role="bold">codec nativo</emphasis>
- (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
- </para></listitem>
-<listitem><para>
- Sorenson Video v3 (fourcc <emphasis>SVQ3</emphasis>) - decodificación soportada
- por <emphasis role="bold">codec nativo</emphasis>
- (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
- </para></listitem>
-</itemizedlist>
-
-<procedure>
-<title>COMPILANDO <application>MPlayer</application> CON SOPORTE PARA BIBLIOTECAS DE QUICKTIME</title>
-<note><para>actualmente solo está soportado por plataformas Intel de 32bit.</para></note>
-<step><para>descargue <application>MPlayer</application> CVS</para></step>
-<step><para>descargue el paquete QuickTime DLL desde
-<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/>
-</para></step>
-<step><para>extraiga el paquete QuickTime DLL a su directorio de codecs Win32
-(por defecto: <filename class="directory">/usr/local/lib/codecs/</filename>)
-</para></step>
-<step><para>compile <application>MPlayer</application></para></step>
-</procedure>
-
-</sect3>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="audio-codecs">
-<title>Codecs de Audio</title>
-
-<itemizedlist>
-<title>Los codecs de audio más importantes por encima de todo:</title>
-<listitem><para>
- Audio MPEG layer 1/2/3 (MP1/2/3) (código <emphasis role="bold">nativo</emphasis>
- con optimización MMX/SSE/3DNow!)
- </para></listitem>
-<listitem><para>
- Windows Media Audio 7 y 8 (aka WMAv1 y WMAv2) (código
- <emphasis role="bold">nativo</emphasis>, con
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
- </para></listitem>
-<listitem><para>
- Windows Media Audio 9 (WMAv3) (usando DMO DLL)
- </para></listitem>
-<listitem><para>
- AC3 Dolby audio (código <emphasis role="bold">nativo</emphasis>, con optimización
- MMX/SSE/3DNow!)
- </para></listitem>
-<listitem><para>
- AC3 pasando a través de hardware de tarjeta de sonido
- </para></listitem>
-<listitem><para>
- AAC
- </para></listitem>
-<listitem><para>
- codec de audio Ogg Vorbis (biblioteca <emphasis role="bold">nativa</emphasis>)
- </para></listitem>
-<listitem><para>
- RealAudio: DNET (AC3 con baja tasa de bits), Cook, Sipro y ATRAC3
- </para></listitem>
-<listitem><para>
- QuickTime: codecs de audio Qualcomm y QDesign
- </para></listitem>
-<listitem><para>
- audio VIVO (g723, Vivo Siren)
- </para></listitem>
-<listitem><para>
- audio Voxware (usando DLL DirectShow)
- </para></listitem>
-<listitem><para>
- alaw y ulaw, varios formatos gsm, adpcm y pcm y otros codecs de audio simples viejos
- </para></listitem>
-</itemizedlist>
-
-
-<sect3 id="swac3">
-<title>Decodificación AC3 por software</title>
-
-<para>
-Este es el decodificador por defecto usado para archivos de audio con AC3.
-</para>
-
-<para>
-El decodificador AC3 puede crear mezclas de salida de audio para 2, 4, o 6
-altavoces. Cuando se configura para 6 altavoces, este decodificador provee salidas
-por separado para todos los canales AC3 al controlador de sonido, permitiendo
-una experiencia "sonido surround" completa sin requerir un decodificardor
-AC3 externo que use el codec hwac3.
-</para>
-
-<para>
-Use la opción <option>-channels</option> para elegir el número de canales
-de salida. Use <option>-channels 2</option> para una mezcla estéreo. Para
-una mezcla de 4 canales (salidas Delantero Izquierdo, Delantero Derecho,
-Surround Izquierdo y Surround Derecho), use <option>-channels 4</option>.
-En este caso, cualquier canal central será mezclado por igual en los
-canales frontales. <option>-channels 6</option> da salida a todos los
-canales AC3 que fueron codificados - en el orden Izquierdo, Derecho,
-Surround Izquierdo, Surround Derecho, Centro y LFE.
-</para>
-
-<para>
-El número de canales de salida por defecto es 2.
-</para>
-
-<para>
-Para usar más de 2 canales de salida, necesita usar OSS, y tener una
-tarjeta de sonido que soporte el número apropiado de canales via ioctl
-SNDCTL_DSP_CHANNELS. Un ejemplo de un controlador que lo soporte es
-emu10k1 (usado por tarjetas Soundblaster Live!) desde Agosto de 2001
-o posterior (ALSA CVS también se supone que funciona).
-</para>
-</sect3>
-
-
-<sect3 id="hwac3">
-<title>Decodificación AC3 por hardware</title>
-<para>
-Necesita una tarjeta de sonido capaz de usar AC3, con salida digital (SP/DIF).
-El controlador de la tarjeta debe soportar correctamente el formato AFMT_AC3
-(C-Media lo hace). Conecte su decodificador AC3 a la salida SP/DIF, y use la
-opción <option>-ac hwac3</option>. Es experimental pero se sabe que funciona
-con tarjetas C-Media y Soundblaster Live! + controladores ALSA (pero no con OSS)
-y tarjetas decodificadoras MPEG DXR3/Hollywood+.
-</para>
-</sect3>
-
-
-<sect3 id="libmad">
-<title>soporte libmad</title>
-
-<para>
-<ulink url="http://mad.sourceforge.net">libmad</ulink> es una biblioteca
-de decodificación de audio MPEG solo de enteros (internamente PCM de 24bit)
-multiplataforma. No maneja archivos en mal
-estado muy bien, y algunas veces tiene problemas en las búsquedas, pero puede
-tener más rendimiento en máquinas sin FPU (tales como <link linkend="arm">ARM</link>)
-que la mp3lib.
-</para>
-
-<para>
-Para activar el soporte, compile con la opción de configuración
-<option>--enable-mad</option>.
-</para>
-</sect3>
-
-
-<sect3 id="vivo-audio">
-<title>Audio VIVO</title>
-<para>
-El codec de audio usado en archivos VIVO depende de si se trata de un archivo
-VIVO/1.0 o VIVO/2.0. Los archivos VIVO/1.0 tienen audio
-<emphasis role="bold">g.723</emphasis>, y los archivos VIVO/2.0 tienen audio
-<emphasis role="bold">Vivo Siren</emphasis>. Ambos están soportados.
-</para>
-</sect3>
-
-
-<sect3 id="realaudio">
-<title>RealAudio</title>
-
-<para>
-<application>MPlayer</application> soporta la decodificación de casi todas las
-versiones de RealAudio:
-</para>
-
-<itemizedlist>
-<listitem><para>
- RealAudio DNET - decodificación soportada por
- <systemitem class="library">liba52</systemitem>
- </para></listitem>
-<listitem><para>
- RealAudio Cook/Sipro/ATRAC3 - decodificación soportada por
- <emphasis role="bold">bibliotecas RealPlayer</emphasis>
- </para></listitem>
-</itemizedlist>
-
-<para>
-Para saber cómo instalar las bibliotecas RealPlayer, vea la
-sección <link linkend="realmedia">formato de archivo RealMedia</link>.
-</para>
-</sect3>
-
-<sect3 id="qdesign">
-<title>Codecs QDesign</title>
-<para>
-Los flujos de audio QDesign (fourcc:<emphasis>QDMC, QDM2</emphasis>)
-se encuentran en los archivos MOV/QT. Ambas versiones de este codec pueden
-ser decodificadas con las bibliotecas de QuickTime. Para instrucciones acerca de la
-instalación vea por favor la sección
-<link linkend="sorenson">Sorenson video codec</link>.
-</para>
-</sect3>
-
-<sect3 id="qualcomm">
-<title>Codecs Qualcomm</title>
-<para>
-Los flujos de audio de Qualcomm (fourcc:<emphasis>Qclp</emphasis>)
-se encuentran en los archivos MOV/QT. Pueden ser decodificador con las
-blibliotecas de QuickTime. Para instrucciones acerca de la instalación
-vea por favor la sección
-<link linkend="sorenson">Sorenson video codec</link>.
-</para>
-</sect3>
-
-<sect3 id="aac">
-<title>Codec AAC</title>
-<para>
-AAC (Codificación Avanzada de Audio) es un codec de audio que algunas veces
-se encuentra en archivos MOV y MP4. Un decodificador llamado FAAD de código
-abierto está disponible en
-<ulink url="http://www.audiocoding.com"/>.
-<application>MPlayer</application> incluye libfaad 2.0RC1, por lo que no
-necesita obtenerlo por separado.
-</para>
-
-<para>
-Si usa gcc 3.2 y falla al compilar nuestro FAAD interno o desea usar la
-biblioteca externa por alguna otra razón, descargue la biblioteca desde la
-<ulink url="http://www.audiocoding.com/download.php">página de descargas</ulink>
-y pase la opción <option>--enable-external-faad</option> a <filename>configure</filename>.
-No necesita todo el faad2 para decodificar archivos AAC, libfaad es suficiente.
-Constrúyalo como sigue:
-<screen>cd faad2/
-chmod +x bootstrap
-./bootstrap
-./configure
-cd libfaad
-make
-make install
-</screen>
-No hay binarios disponibles en audiocoding.com, pero puede apetegetear paquetes Debian
-desde <ulink url="http://marillat.free.fr">la página personal de Christian Marillat</ulink>,
-paquetes RPM para Mandrake desde la <ulink url="http://plf.zarb.org">P.L.F.</ulink> y RPMs
-para Red Hat en <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>.
-</para>
-</sect3>
-
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="win32-codecs">
-<title>COMO importar codecs Win32</title>
-
-<!-- TODO: un pequeño párrafo de texto debe quedar bien aquí... -->
-
-<sect3 id="vfw-codecs">
-<title>Codecs VFW</title>
-
-<para>
-VFW (Video for Windows) es una API antigua para Windows. Sus codecs tienen
-la extensión <filename>.DLL</filename> o (rara vez) <filename>.DRV</filename>.
-Si <application>MPlayer</application> falla al reproducir su AVI con este tipo
-de mensaje:
-<screen>Codec de video DESCONOCIDO: HFYU (0x55594648)</screen>
-</para>
-
-<para>
-Esto significa que su AVI está codificado con un codec que tiene el código
-fourcc HFYU (HFYU = codec HuffYUV, DIV3 = DivX Low Motion, etc.). Ahora que
-ya sabe qué es esto, puede encontrar qué DLL's de Windows se cargan para
-reproducir estos archivos. En su caso, el <filename>system.ini</filename>
-contiene esa información en una línea similar a:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Necesita el archivo <filename>huffyuv.dll</filename>. Note que los codecs de
-audio son especificados por el prefijo MSACM:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-Éste es el codec MP3. Ahora que tiene toda la información necesaria
-(fourcc, archivo de codec, AVI ejemplo), envíe su petición de soporte
-de codec por correo, y suba esos archivos al sitio FTP:
-<systemitem role="url">
-ftp://upload.mplayerhq.hu/MPlayer/incoming/[nombrecodec]/
-</systemitem>
-</para>
-
-<note><para>En Windows NT/2000/XP busque esa información en el registro,
-p.e. busque &quot;VIDC.HFYU&quot;. Para saber cómo tiene que hacer eso,
-vea el antiguo método DirectShow más abajo.
-</para></note>
-</sect3>
-
-
-<sect3 id="dshow-codecs">
-<title>Codecs DirectShow</title>
-
-<para>
-DirectShow es la nueva API de Video, que es incluso peor que su predecesor.
-Las cosas son más difíciles con DirectShow, ya que
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> no contiene la información necesaria,
- en lugar de eso está guardada en el registro y
- </para></listitem>
-<listitem><para>
- se necesita el GUID del codec.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Nuevo Método:</title>
-<para>
-Usando <application>Microsoft GraphEdit</application> (rápido)
-</para>
-<step><para>
- Obtenga <application>GraphEdit</application> desde el SDK DirectX SDK o
- <ulink url="http://doom9.net">doom9</ulink>
- </para></step>
-<step><para>
- Inicie <command>graphedit.exe</command>.
- </para></step>
-<step><para>
- Desde el menú elija Graph -> Insert Filters.
- </para></step>
-<step><para>
- Expanda el objeto <systemitem>DirectShow Filters</systemitem>
- </para></step>
-<step><para>
- Seleccione el nombre del codec correcto y expanda la lista.
- </para></step>
-<step><para>
- En la entrada <systemitem>DisplayName</systemitem> busque el texto
- entre paréntesis después de la barra invertida y escriba (cinco bloques de
- campos delimitados por saltos, el GUID).
- </para></step>
-<step><para>
- El binario del codec es el archivo especificado en la entrada
- <systemitem>Filename</systemitem>.
- </para></step>
-</procedure>
-
-<note>
-<para>
-Si no hay <systemitem>Filename</systemitem> y
-<systemitem>DisplayName</systemitem> contiene algo como
-<systemitem>device:dmo</systemitem>, entonces es un codec-DMO.
-</para>
-</note>
-
-<procedure>
-<title>Antíguo Método:</title>
-<para>
-Respire hondo y comience a buscar en el registro...
-</para>
-<step><para>
- Inicie <command>regedit</command>.
- </para></step>
-<step><para>
- Pulse <keycap>Ctrl</keycap>+<keycap>F</keycap>, desactive las dos primeras
- casillas de verificación, y active la tercera. Escriba el fourcc del codec
- (p.e. <userinput>TM20</userinput>).
- </para></step>
-<step><para>
- Debe ver un campo que contiene la ruta y el nombre del archivo (p.e.
- <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
- </para></step>
-<step><para>
- Ahora que tiene el archivo, necesita el GUID. Pruebe a buscar de nuevo,
- pero ahora busque el nombre del codec, no el fourcc. Su nombre se puede
- obtener cuando Media Player está reproduciendo el archivo, consultando
- <guimenu>Archivo</guimenu> -&gt; <guisubmenu>Propiedades</guisubmenu> -&gt;
- <guimenuitem>Avanzado</guimenuitem>.
- Si no es así, la suerte no está de su lado. Pruebe la adivinación (p.e.
- busque por TrueMotion).
- </para></step>
-<step><para>
- Si encuentra el GUID debería ver unos campos <guilabel>FriendlyName</guilabel>
- y <guilabel>CLSID</guilabel>. Apunte el CLSID de 16 bytes, este es el
- GUID que necesitará.
- </para></step>
-</procedure>
-
-<note>
-<para>
-Si la búsqueda falla, pruebe a activar todas las casillas de verificación. Puede
-que encuentre coincidencias falsas, pero puede que tenga suerte...
-</para>
-</note>
-
-<para>
-Ahora que tiene toda la información necesaria (fourcc, GUID, archivo de codec,
-y AVI de ejemplo), envíe la petición de soporte del codec por correo, y suba los
-archivos al sitio FTP:
-<systemitem
-role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/[nombrecodec]/
-</systemitem>
-</para>
-</sect3>
-</sect2>
-</sect1>
diff --git a/DOCS/xml/es/documentation.xml b/DOCS/xml/es/documentation.xml
index 9972a5f0c4..4d96ff662f 100644
--- a/DOCS/xml/es/documentation.xml
+++ b/DOCS/xml/es/documentation.xml
@@ -19,7 +19,6 @@ para LINUX</title>
<year>2009</year>
<holder>MPlayer team</holder>
</copyright>
-<!--
<legalnotice>
<title>Licencia</title>
@@ -36,7 +35,6 @@ para LINUX</title>
junto a este programa; si no es así, escriba a la Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</para>
</legalnotice>
--->
</bookinfo>
@@ -118,7 +116,7 @@ sistema de plugin para la manipulación de vídeo.
</para></listitem>
<listitem><para>
Codificación a todos los codecs soportados por ffmpeg
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ <systemitem class="library">libavcodec</systemitem>
</para></listitem>
<listitem><para>
Codificación de vídeo desde un <emphasis role="bold">sintonizador de TV compatible con V4L</emphasis>
@@ -180,15 +178,15 @@ pueden ser distribuidos bajo los términos de la Licencia GNU General Public
License Version 2 (GPL v.2).
</para>
-&install.xml;
</chapter>
-
-&features.xml;
+&install.xml;
&usage.xml;
-&faq.xml;
&cd-dvd.xml;
+&tvinput.xml;
+&video.xml;
&ports.xml;
&mencoder.xml;
+&faq.xml;
&bugreports.xml;
&skin.xml;
diff --git a/DOCS/xml/es/faq.xml b/DOCS/xml/es/faq.xml
index a2b9af5213..9be0e9443b 100644
--- a/DOCS/xml/es/faq.xml
+++ b/DOCS/xml/es/faq.xml
@@ -292,9 +292,9 @@ Tengo problemas reproduciendo archivos con el codec .... ¿Puedo usarlo?
</para></question>
<answer><para>
Compruebe el <ulink url="../../codecs-status.html">estado del codec</ulink>,
-si no contiene su codec, lea la <link linkend="codecs">documentación de codecs</link>,
-especialmente el <link linkend="win32-codecs">COMO importar codecs</link> y contacte con
-nosotros.
+si no contiene su codec, lea el
+<ulink url="../../tech/win32-codec-howto">COMO importar codecs Win32</ulink>
+y contacte con nosotros.
</para></answer>
</qandaentry>
@@ -454,27 +454,6 @@ Está usando el controlador vo con un solo buffer (x11,xv). Con xv, use la opciÃ
<qandaentry>
<question><para>
-¿Qué es exactamente <systemitem class="library">libavcodec</systemitem>?
-</para></question>
-<answer><para>
-Consulte la sección
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
-¡Pero configure me dice <screen>Checking for libavcodec ... no</screen>!
-</para></question>
-<answer><para>
-Necesita obtener <systemitem class="library">libavcodec</systemitem> del CVS de FFmpeg.
-Lea las instrucciones en la sección
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
-</para></answer>
-</qandaentry>
-
-<qandaentry>
-<question><para>
¡La barra the tareas de Icewm sigue cubriendo la pelicula cuande se usa la funcion pantalla completa!
</para></question>
<answer><para>
diff --git a/DOCS/xml/es/features.xml b/DOCS/xml/es/features.xml
deleted file mode 100644
index 43d313bda3..0000000000
--- a/DOCS/xml/es/features.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with 1.3 -->
-<chapter id="features">
-<title>Características</title>
-
-&formats.xml;
-&codecs.xml;
-
-<sect1 id="devices">
-<title>Dispositivos de Salida</title>
-&video.xml;
-</sect1>
-
-&tvinput.xml;
-
-</chapter>
diff --git a/DOCS/xml/es/formats.xml b/DOCS/xml/es/formats.xml
deleted file mode 100644
index 7c295f7c63..0000000000
--- a/DOCS/xml/es/formats.xml
+++ /dev/null
@@ -1,494 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with 1.10 -->
-<sect1 id="formats">
-<title>Formatos soportados</title>
-
-<para>
-Es importante aclarar un error común. Cuando la gente ve un archivo con una
-extensión <filename>.AVI</filename>, inmediatamente llega a la conclusión
-de que no es un archivo MPEG. Esto no es cierto. Al menos no completamente.
-Contrariamente a lo que la gente cree, este tipo de archivo
-<emphasis>puede</emphasis> contener video MPEG1.
-</para>
-
-<para>
-Dése cuenta de que un <emphasis role="bold">codec</emphasis> no es lo mismo
-que un <emphasis role="bold">formato de archivo</emphasis>.
-Ejemplos de <emphasis role="bold">codecs</emphasis> de video son:
-MPEG1, MPEG2, DivX, Indeo5, 3ivx.
-Ejemplos de <emphasis role="bold">formatos</emphasis> de archivo son: MPG, AVI, ASF.
-</para>
-
-<para>
-En teoría, puede poner un video OpenDivX y audio MP3
-dentro de un <emphasis role="bold">archivo de formato MPG</emphasis>. Sin
-embargo, la mayoría de los reproductores no pueden reproducirlo, porque esperan
-video MPEG1 y audio MP2 (al contrario que los <emphasis role="bold">AVI</emphasis>,
-los <emphasis role="bold">MPG</emphasis> no tienen los campos necesarios para
-describir sus flujos de video y audio).
-O puede también poner video MPEG1 dentro de un archivo AVI.
-<ulink url="http://ffmpeg.sourceforge.net/">FFmpeg</ulink> y
-<link linkend="mencoder"><application>MEncoder</application></link> pueden
-crear estos archivos.
-</para>
-
-
-<sect2 id="video-formats">
-<title>Formatos de video</title>
-
-<sect3 id="mpg-vob-dat">
-<title>Archivos MPEG</title>
-
-<para>
-Los archivos MPEG vienen en diferentes formas:
-</para>
-
-<itemizedlist>
-<listitem><para>
- MPG: Esta es la forma más <emphasis role="bold">básica</emphasis> de
- los archivos de formato MPEG. Contiene video MPEG1, y audio MP2
- (MPEG-1 layer 2) o rara vez audio MP1.
- </para></listitem>
-<listitem><para>
- DAT: Este es exactamente el mismo formato que un MPG con la diferencia
- en la extensión. Es usado en <emphasis role="bold">Video CDs</emphasis>.
- Debido a la manera en la que se crean los VCDs y en la que Linux está
- diseñado, los archivos DAT no pueden ser reproducidos ni copiados
- desde VCDs como archivos regulares. Debe usar <option>vcd://</option>
- para reproducir un Video CD.
- </para></listitem>
-<listitem><para>
- VOB: Este es el formato de archivo MPEG en <emphasis role="bold">DVDs</emphasis>.
- Es el mismo que MPG, sumando la capacidad para contener subtítulos o audio
- no-MPEG (AC3). Contiene video codificado con MPEG2 y normalmente audio en
- AC3, pero DTS, MP2 y LPCM sin comprimir también está permitido.
- ¡<emphasis role="bold">Lea la sección de <link linkend="dvd">DVD</link></emphasis>!
- </para></listitem>
-</itemizedlist>
-
-<para>
-Series de marcos forman grupos independientes en archivos MPEG. Esto
-significa que puede cortar/unir un archivo MPEG con herramientas estándar
-de archivos (como <command>dd</command>, <command>cut</command>), y
-permanece completamente funcional.
-</para>
-
-<para>
-Una característica importante de los MPGs es que tienen un campo para
-describir la razón de aspecto del flujo de video dentro de sí mismos.
-Por ejemplo SVCDs tienen una resolución de video de 480x480, y en la
-cabecera este campo se establece a 4:3, para que puedan reproducirse
-a 640x480. Los archivos AVI no tienen este campo, por lo que deben
-ser reescalados durante la codificación o reproducidos con la opción
-<option>-aspect</option>.
-</para>
-</sect3>
-
-
-<sect3 id="avi">
-<title>Archivos AVI</title>
-
-<para>
-Diseñados por Microsoft,
-<emphasis role="bold">AVI (Audio Video Interleaved)</emphasis>
-es un formato amplio multipropósito actualmente usado por la mayoría de
-los videos DivX y DivX4. Tiene muchas desventajas y deficiencias conocidas
-(por ejemplo en streaming). Soporta solo un flujo de video y de 0 a 99 flujos
-de audio y puede ser de hasta 2GB de grande, pero existe una extensión que
-permite archivos más grandes llamada <emphasis role="bold">OpenDML</emphasis>.
-Microsoft actualmente intenta fuertemente que la gente deje de usar
-este formato y anima a usar ASF/WMV. Lo que no quiere nadie.
-</para>
-
-<para>
-Hay un hack que permite que los archivos AVI contengan flujos de audio
-en Ogg Vorbis, pero los hace incompatibles con los AVI estándar.
-<application>MPlayer</application> soporta la reproducción de este
-tipo de archivos. El posicionamiento también está implementado pero
-seriamente entrabado por archivos mal codificados con cabeceras confusas.
-Desafortunadamente el único codificador actualmente capaz de crear
-estos archivos, <application>NanDub</application>, tiene ese problema.
-</para>
-
-<note>
-<para>
-Las cámaras DV crean flujos DV crudos que las utilidades de grabación
-de DV convierten a dos tipos diferentes de archivos AVI. Los AVI entonces
-contienen flujos separados de audio y video que
-<application>MPlayer</application> puede reproducir o el flujo DV crudo
-para el que el soporte está siendo desarrollado.
-</para>
-</note>
-
-<para>
-Hay dos tipos de archivos AVI:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Interpolado:</emphasis> El contenido de audio y video
- es interpolado. Este es el uso estándar. Recomentado y mayormente usado.
- Algunas herramientas crean AVis interpolados con mala sincronización.
- <application>MPlayer</application> detecta estos como interpolados, y
- resulta en pérdida de sincronía A/V, probablemente en los posicionamientos.
- Estos archivos deben ser reproducidos como no-interpolados (con la
- opción <option>-ni</option>).
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">No-interpolado:</emphasis> Primero tiene el flujo
- de video completo, después el de audio completo. Por ello necesita un
- montón de posicionamientos, haciendo la reproducción desde la red o
- CD-ROM difícil.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-<application>MPlayer</application> soporta dos tipos de temporizaciones
-para archivos AVI:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">bps-based:</emphasis> Está basado en la tasa
- de bits/muestreo del flujo de video/audio. Este método es usado por
- la mayoría de los reproductores, incluyendo
- <ulink url="http://avifile.sourceforge.net">avifile</ulink>
- y <application>Windows Media Player</application>. Los archivos con
- cabecera en mal estado, y los archivos creados con audio en VBR pero
- no con un codificador VBR-compliant resultan en desincronización A/V
- con éste método (la mayoría de las veces en las búsquedas).
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">interleaving-based:</emphasis> No usa como valor
- de tasa de bits la de la cabecera, en lugar de eso usa una posición
- relativa de trozos de audio y video interpolados, creando archivos mal
- codificados con audio VBR reproducible.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-Cualquier codec de audio y de video está permitido, pero note que el audio
-en VBR no está muy bien soportado por la mayoría de los reproductores. El
-formato de archivo hace posible usar audio VBR, pero la mayoría de los
-reproductores esperan audio en CBR, y por eso fallan con VBR. VBR no es
-muy común y los AVI de Microsoft solo describen audio CBR. También he
-notado que la mayoría de los codificadores/multiplexores de AVI crean
-archivos mal cuando usan audio VBR. Solo hay dos excepciones:
-<application>NanDub</application> y
-<link linkend="mencoder"><application>MEncoder</application></link>.
-</para>
-</sect3>
-
-
-<sect3 id="asf-wmv">
-<title>Archivos ASF/WMV</title>
-<para>
-ASF (Active Streaming Format) viene de Microsoft. Han desarrollado dos
-variantes de ASF, v1.0 y v2.0. v1.0 se usa por sus herramientas de medios
-(<application>Windows Media Player</application> y
-<application>Windows Media Encoder</application>) y es muy secreto. v2.0
-está publicado y patentado :). Por supuesto son diferentes,
-no son nada compatibles (se trata de otro juego legal símplemente).
-<application>MPlayer</application> soporta solo v1.0, ya que nadie ha
-visto nunca archivos v2.0 :). Note que los archivos ASF hoy en día vienen
-con la extensión
-<filename>.WMA</filename> o <filename>.WMV</filename>.
-</para>
-</sect3>
-
-
-<sect3 id="qt-mov">
-<title>Archivos QuickTime/MOV</title>
-
-<para>
-Estos formatos han sido diseñados por Apple y pueden contener cualquier
-codec, CBR o VBR. Normalmente tienen extensión <filename>.QT</filename> o
-<filename>.MP4</filename>. Note que desde que el grupo MPEG4 eligió
-QuickTime como el formato de archivo recomendado para MPEG4, sus archivos
-MOV vienen con extensión <filename>.MPG</filename> o <filename>.MP4</filename>
-(Interesadamente los flujos de video y audio en estos archivos son archivos
-reales MPG y AAC. Puede incluso extraerlos con las opciones
-<option>-dumpvideo</option> y <option>-dumpaudio</option>.).
-</para>
-
-<note>
-<para>
-La mayoría de los archivos QuickTime usan video
-<emphasis role="bold">Sorenson</emphasis> y audio QDesign Music.
-Vea nuestra sección de codec sobre<link linkend="sorenson">Sorenson</link>.
-</para>
-</note>
-</sect3>
-
-
-<sect3 id="vivo">
-<title>Archivos VIVO</title>
-
-<para>
-<application>MPlayer</application> felizmente demultiplexa formatos de
-archivo VIVO. La gran desventaja de este formato es que no tiene un
-bloque de índice, no tiene un tamaño fijo de paquete o bytes de
-sincronización y la mayoría de los archivos incluso pierden marcos
-clave, ¡no olvide las búsquedas!
-</para>
-
-<para>
-El codec de video de los archivos VIVO/1.0 es
-<emphasis role="bold">h.263</emphasis> estándar.
-El codec de video de los achivos VIVO/2.0 es una versión
-<emphasis role="bold">h.263v2</emphasis> modificada y no estándar.
-El audio es igual, puede ser
-<emphasis role="bold">g.723 (estándar)</emphasis>, o
-<emphasis role="bold">Vivo Siren</emphasis>.
-</para>
-
-<para>
-Vea las secciones de
-<link linkend="vivo-video">codec de video VIVO</link> y
-<link linkend="vivo-audio">codec de audio VIVO</link>
-para instrucciones sobre la instalación.
-</para>
-</sect3>
-
-
-<sect3 id="fli">
-<title>Archivos FLI</title>
-<para>
-<emphasis role="bold">FLI</emphasis> es un formato de archivo muy antiguo
-usado por Autodesk Animator, pero es un formato de archivo común para
-animaciones pequeñas en la red.<application>MPlayer</application> demultiplexa
-y decodifica películas FLI y es incluso capaz de hacer búsquedas dentro
-(útil cuando hay bucles con la opción <option>-loop</option>). Los archivos
-FLI no tienen marcos clave, por lo que la imagen se puede estropear durante
-un corto lapso de tiempo después de una búsqueda.
-</para>
-</sect3>
-
-
-<sect3 id="realmedia">
-<title>Archivos RealMedia (RM)</title>
-
-<para>
-Sí, <application>MPlayer</application> puede leer (demultiplexar) archivos
-RealMedia (<filename>.rm</filename>). La búsqueda funciona, pero debe
-especificar la opción <option>-forceidx</option> (el formato soporta
-marcos clave). Aquí hay una lista de los codecs soportados de
-<link linkend="realvideo">RealVideo</link> y
-<link linkend="realaudio">RealAudio</link>.
-</para>
-</sect3>
-
-
-<sect3 id="nuppelvideo">
-<title>Archivos NuppelVideo</title>
-<para>
-<ulink url="http://mars.tuwien.ac.at/~roman/nuppelvideo">NuppelVideo</ulink>
-es una herramienta para grabar TV (AFAIK:). <application>MPlayer</application>
-puede leer sus archivos <filename>.NUV</filename> (solo NuppelVideo 5.0).
-Estos archivos pueden contener marcos o imágenes YV12 sin comprimir,
-YV12+RTJpeg comprimido, YV12 RTJpeg+lzo comprimido, y YV12+lzo comprimido.
-¡<application>MPlayer</application> los decodifica (y también
-<emphasis role="bold">codifica</emphasis> con <application>MEncoder</application>
-a DivX/etc!). La búsqueda funciona.
-</para>
-</sect3>
-
-
-<sect3 id="yuv4mpeg">
-<title>Archivos yuv4mpeg</title>
-<para>
-<ulink url="http://mjpeg.sourceforge.net">yuv4mpeg / yuv4mpeg2</ulink>
-es un formato de archivo usado por los
-<ulink url="http://mjpeg.sf.net">programas mjpegtools</ulink>.
-Puede grabar, producir, filtrar o codificar video en este formato usando
-esas herramientas. El formato de archivo es realmente una secuencia
-de imágenes YUV 4:2:0 sin comprimir.
-</para>
-</sect3>
-
-
-<sect3 id="film">
-<title>Películas FILM</title>
-<para>
-Este formato es usado en juegos en CD-ROM de Sega Saturn antiguos.
-</para>
-</sect3>
-
-
-<sect3 id="roq">
-<title>Archivos RoQ</title>
-<para>
-Los archivos RoQ son archivos multimedia usados en algunos juegos ID tales
-como Quake III y Return to Castle Wolfenstein.
-</para>
-</sect3>
-
-
-<sect3 id="ogg">
-<title>Archivos OGG/OGM</title>
-<para>
-Este es un nuevo formato de archivo de
-<ulink url="http://www.xiph.org">Xiphophorus</ulink>.
-Pueden contener cualquier codec de audio o video, CBR o VBR. Necesita
-<systemitem class="library">libogg</systemitem> y
-<systemitem class="library">libvorbis</systemitem> instalados antes
-de compilar <application>MPlayer</application> para poder reproducirlos.
-</para>
-</sect3>
-
-
-<sect3 id="sdp">
-<title>Archivos SDP</title>
-<para>
-<ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> es un
-formato estándar IETF para describir flujos de video y/o audio RTP.
-(Se requiere &quot;<ulink url="http://www.live555.com/mplayer/">LIVE.COM Streaming Media</ulink>&quot;.)
-</para>
-</sect3>
-
-
-<sect3 id="pva">
-<title>Archivos PVA</title>
-<para>
-PVA es un formato como-MPEG usado por programas de tarjetas de TV DVB (p.e.:
-<application>MultiDec</application>, <application>WinTV</application> bajo
-Windows).
-</para>
-
-<para>
-Las especificaciones de PVA pueden descargarse desde la siguiente dirección:
-<ulink url="http://www.technotrend.de/download/av_format_v1.pdf"/>
-</para>
-</sect3>
-
-
-<sect3 id="gif">
-<title>Archivos GIF</title>
-<para>
-El formato <emphasis role="bold">GIF</emphasis> es un formato común para
-gráficos para la web. Hay dos versiones de la especificación GIF, GIF87a y
-GIF89a. La principal diferencia es que GIF89a permite animación.
-<application>MPlayer</application> soporta ambos formatos usando
-<systemitem class="library">libungif</systemitem> u otra biblioteca
-compatible con libgif. Los GIFs no animagos son mostrados
-como marcos de video simples. (Use las opciones <option>-loop</option> y
-<option>-fixed-vo</option> para mostrarlas durante más tiempo.)
-</para>
-
-<para>
-<application>MPlayer</application> no soporta actualmente búsqueda en archivos
-GIF. Los archivos GIF no tienen necesariamente un tamaño de marco fijo, ni
-un número de imágenes por segundo fijo. En lugar de eso, cada imagen tiene un
-tamaño independiente y se supone que se posiciona en un lugar concreto dentro
-de un campo de tamaño-fijo. La tasa de bits por segundo es controlada por
-un bloque opcional antes de cada imágen que especifica el retardo de la
-siguiente imagen en centisegundos.
-</para>
-
-<para>
-Los archivos GIF estándar contienen marcos 24-bit RGB con como mucho una
-paleta 8-bit indexada. Estos marcos normalmente están comprimidos con LZW,
-aunque algunos codificadores de GIF producen marcos sin comprimir para
-evitar problemas de patentes con la compresión LZW.
-</para>
-
-<para>
-Si su distribución no viene con <systemitem class="library">libungif</systemitem>,
-descargue una copia desde
-<ulink url="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml">la
-página web de libungif</ulink>. Para información técnica detallada, consulte la
-<ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">especificación
-GIF89a</ulink>.
-</para>
-</sect3>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="audio-formats">
-<title>Formatos de audio</title>
-
-<para>
-<application>MPlayer</application> es un reproductor de
-<emphasis role="bold">películas</emphasis> y no de
-<emphasis role="bold">media</emphasis> , sin embargo puede reproducir
-algunos formatos de archivo de audio (los que están listados en las secciones
-que se encuentran más abajo). Esta no es una forma recomendada para usar
-<application>MPlayer</application>, mejor use
-<ulink url="http://www.xmms.org">XMMS</ulink>.
-</para>
-
-<sect3 id="mp3">
-<title>Archivos MP3</title>
-<para>
-Puede tener problemas reproduciendo algunos archivos MP3 que
-<application>MPlayer</application> puede detectar incorrectamente
-como MPEGs y reproducirlos de manera incorrecta o no reproducirlos.
-Esto no puede arreglarse sin soporte de saltos para algunos archivos
-en mal estado MPEG y por eso puede que esto siga así en el futuro
-predecible. La bandera <option>-demuxer</option> descrita en la página
-de manual puede ayudarle en estos casos.
-</para>
-</sect3>
-
-<sect3 id="wav">
-<title>Archivos WAV</title>
-<para>
-</para>
-</sect3>
-
-<sect3 id="ogg-vorbis">
-<title>Archivos OGG/OGM (Vorbis)</title>
-<para>
-Requiere
-<systemitem class="library">libogg</systemitem>
-<systemitem class="library">libvorbis</systemitem> bien instalados.
-</para>
-</sect3>
-
-<sect3 id="wma-asf">
-<title>Archivos WMA/ASF</title>
-<para>
-</para>
-</sect3>
-
-<sect3 id="mp4">
-<title>Archivos MP4</title>
-<para></para>
-</sect3>
-
-<sect3 id="cdda">
-<title>CD de audio</title>
-<para>
-<application>MPlayer</application> puede usar <application>cdparanoia</application>
-para reproducir CDDA (Audio CD). El objetivo de esta sección no es hacer una
-enumeración de las características de <application>cdparanoia</application>.
-</para>
-
-<para>
-Vea la opción <option>-cdda</option> en la página de manual para ver las opciones
-que puede pasar a <application>cdparanoia</application>.
-</para>
-</sect3>
-
-<sect3 id="xmms">
-<title>XMMS</title>
-<para>
-<application>MPlayer</application> puede usar los aditivos de entrada de
-<application>XMMS</application> para reproducir varios formatos de archivo.
-Hay aditivos para música de juegos SNES, música SID (de Commodore 64), algunos
-formatos de Amiga, .xm, .it, VQF, musepack, Bonk, shorten y muchos otros.
-Puede encontrarlos en
-<ulink url="http://www.xmms.org/plugins_input.html">La página de aditivos
-de entrada de XMMS</ulink>.
-</para>
-
-<para>
-Para usar ésta característica necesita tener<application>XMMS</application>
-y compilar <application>MPlayer</application> con
-<filename>./configure --enable-xmms</filename>.
-Si ésto no funciona, puede que sea necesario establecer la ruta de los
-aditivos de <application>XMMS</application> de manera explícita con las opciones
-<option>--with-xmmsplugindir</option> y <option>--with-xmmslibdir</option>.
-</para>
-</sect3>
-</sect2>
-</sect1>
diff --git a/DOCS/xml/es/install.xml b/DOCS/xml/es/install.xml
index 7414af9467..28a5d3eacd 100644
--- a/DOCS/xml/es/install.xml
+++ b/DOCS/xml/es/install.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- synced with 1.37 -->
-<sect1 id="install">
+<chapter id="install">
<title>Instalación</title>
<para>
@@ -24,7 +24,7 @@ núcleo 2.4.x es recomendado.
</para>
-<sect2 id="softreq">
+<sect1 id="softreq">
<title>Requerimientos de Software</title>
<itemizedlist>
@@ -102,319 +102,15 @@ núcleo 2.4.x es recomendado.
<listitem><para>
<emphasis role="bold">libsmb</emphasis> - opcional, para soporte Samba.
</para></listitem>
-</itemizedlist>
-</sect2>
-
-
-<sect2 id="seccion_codecs">
-<title>Codecs</title>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold"><systemitem class="library">libavcodec</systemitem></emphasis>:
- Este paquete de codecs es capaz de decodificar flujos de vídeo codificado en
- H263/MJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1/WMV2/SVQ1/SVQ3
- y decodificar flujo de audio WMA (Windows Media Audio) v1/v2, en múltiples
- plataformas. Es también reconocido como el más rápido para esta tarea. Vea
- la sección <link linkend="ffmpeg">FFmpeg</link> para más detalles. Características:
- <itemizedlist>
- <listitem><para>
- obtener la decodificación de formatos de vídeo mencionados arriba, en máquinas no-x86
- </para></listitem>
- <listitem><para>
- codificación con la mayoría de los codecs mencionados
- </para></listitem>
- <listitem><para>
- este codec es el <emphasis role="bold">más rápido disponible</emphasis> para
- DivX/3/4/5 y otros tipos de MPEG4. ¡Recomendado!
- </para></listitem>
- </itemizedlist>
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">codecs de Win32</emphasis>: Si planea usar
- <application>MPlayer</application> en arquitecturas x86, probablemente las
- necesite. Descargue los codecs de Win32 desde nuestra
- <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">página de codecs</ulink>
- e instalelos en <filename class="directory">/usr/lib/codecs</filename>
- <emphasis role="bold">ANTES</emphasis> de compilar <application>MPlayer</application>,
- de otra forma no se compilará soporte para Win32.
- <note><para>El proyecto avifile tiene una página similar de codecs, pero
- difiere de la nuestra, por lo tanto si quiere usar todos los codecs soportados,
- use nuestro paquete (no se preocupe, avifle funciona sin problemas con nuestro
- paquete).</para>
- </note>
- Características:
- <itemizedlist>
- <listitem><para>
- necesita esto si quiere reproducir o codificar por ejemplo películas
- guardadas con varios compresores de hardware, como tarjetas sintonizadoras,
- cámaras digitales (ejemplo: DV, ATI VCR, MJPEG)
- </para></listitem>
- <listitem><para>
- necesaria si quiere reproducir <emphasis role="bold">películas WMV9/WMA9</emphasis>.
- </para></listitem>
- <listitem><para>
- No es necesaria para el viejo formato AFS con vídeo MP41 o MP42 (aunque el
- audio VoxWare es frecuente en éstos archivos - que usa un codec de Win32), o
- WMV7. Tampoco se necesita para WMA (Windows Media Audio),
- <systemitem class="library">libavcodec</systemitem> tiene un decodificador
- de fuente abierta para eso.
- </para></listitem>
- </itemizedlist>
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">codecs de QuickTime</emphasis>: en plataformas x86 estos
- codecs pueden ser usados para decodificar RPZA y otros vídeos de QuickTime,
- y flujos de audio de QDesign. La instrucción para su instalación la puede encontrar
- en la sección <link linkend="sorenson">codec de vídeo Sorenson</link>.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">DivX4/DivX5</emphasis>: información acerca de este codec
- está disponible en la sección <link linkend="divx4-5">DivX4/DivX5</link>.
- Posiblemente no quiera este codec ya que
- <emphasis role="bold"><systemitem class="library">libavcodec</systemitem></emphasis>
- (ver más arriba) es más rápido y tiene mejor calidad que este, tanto para codificar
- como para decodificar. Características:
- <itemizedlist>
- <listitem><para>
- codificación en 1 o 2 pasadas con
- <link linkend="mencoder"><application>MEncoder</application></link>
- </para></listitem>
- <listitem><para>
- puede reproducir películas viejas en <emphasis role="bold">DivX3</emphasis>
- mucho más rápido que la DLL de Win32 ¡pero más lento que <emphasis role="bold">
- <systemitem class="library">libavcodec</systemitem></emphasis>!
- </para></listitem>
- <listitem><para>
- es de código cerrado, y solo la versión para x86 esta disponible.
- </para></listitem>
- </itemizedlist>
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">XviD</emphasis>: Alternativa de código abierto a la codificación de
- DivX4Linux. Características:
- <itemizedlist>
- <listitem><para>
- codificación en 1 o 2 pasadas con
- <link linkend="mencoder"><application>MEncoder</application></link>
- </para></listitem>
- <listitem><para>
- es de código abierto, entonces es multiplataforma.
- </para></listitem>
- <listitem><para>
- es aproximadamente 2 veces más rápido que DivX4 para codificar - la
- misma calidad
- </para></listitem>
- </itemizedlist>
- </para></listitem>
-<listitem><para>
- Los <emphasis role="bold"><link linkend="xanim">codecs de XAnim</link></emphasis>
- son los mejores (pantalla completa, zoom YUV por hardware) para decodificar
- películas <emphasis role="bold">3ivx</emphasis> e Indeo 3/4/5, y algunos
- otros formatos antiguos. Y son multiplataforma, por lo tanto la única manera de
- reproducir Indeo en plataformas no-x86 (bueno, aparte de usar XAnim:). Pero por
- ejemplo las películas Cinepak es mejor verlas con el decodificador propio de
- <application>MPlayer</application>.
- </para></listitem>
-<listitem><para>
- Para decodificación de audio <emphasis role="bold">Ogg Vorbis</emphasis>
- necesita instalar adecuadamente <systemitem class="library">libvorbis</systemitem>.
- Use paquetes deb/rpm si están disponibles, o compile desde la
- <ulink url="http://ogg.org/ogg/vorbis/download/vorbis_nightly_cvs.tgz">fuente</ulink>
- (esta es una versión comprimida del CVS de Vorbis actualizada todas las noches).
- </para></listitem>
-<listitem><para>
- <application>MPlayer</application> puede usar las librerías de RealPlayer 8
- o RealONE para reproducir archivos con vídeo <emphasis role="bold">RealVideo 2.0-4.0</emphasis>
- y audio Sipro/Cook. Vea la sección <link linkend="realmedia">formato de archivo RealMedia</link>
- para instrucciones de instalación y más información.
- </para></listitem>
-</itemizedlist>
-</sect2>
-
-
-<sect2 id="video-cards">
-<title>Placas de Vídeo</title>
-
-<para>
-Hay en general dos tipos de placas de vídeo. Un tipo (las placas más nuevas) tiene
-soporte de <emphasis role="bold">escalado por hardware y aceleración YUV</emphasis>,
-y las otras placas no.
-</para>
-
-
-<sect3 id="yuv-cards">
-<title>Placas YUV</title>
-
-<para>
-Pueden mostrar y escalar (zoom) la imagen a cualquier tamaño que entre en
-su memoria, con un <emphasis role="bold">bajo uso de CPU</emphasis> (aún
-cuando hagan zoom), por lo tanto la pantalla completa es agradable y muy rápida.
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Placas Matrox G200/G400/G450/G550</emphasis>: a pesar de
- que se provee un <link linkend="vidix">controlador Vidix</link>, es recomendado
- usar el módulo mga_vid en su lugar, porque funciona mucho mejor.
- Por favor vea la sección <link linkend="mga_vid">mga_vid</link> acerca de su
- instalación y uso. Es muy importante hacer estos pasos <emphasis>antes</emphasis>
- de compilar <application>MPlayer</application>, de otro modo no se dará soporte
- para mga_vid. También revise la sección
- <link linkend="tvout-mga-g400">Salida de TV Matrox</link>.
- <emphasis role="bold">Si no usa Linux</emphasis>, su única posibilidad
- es el controlador VIDIX: lea la sección <link linkend="vidix">VIDIX</link>.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">Placas 3Dfx Voodoo3/Banshee</emphasis>: por favor vea la
- sección <link linkend="tdfxfb">tdfxfb</link> para poder obtener una gran
- ganancia en velocidad. Es importante que siga esos pasos <emphasis role="bold">
- antes</emphasis> de compilar <application>MPlayer</application>, de otro modo
- no se dará soporte para 3Dfx. Vea también la sección <link linkend="tvout-voodoo">
- Salida de TV de 3Dfx</link>.
- Si usa X, use por lo menos <emphasis role="bold">4.2.0</emphasis>, ya que el
- controlador de Xv para 3Dfx andaba mal en versiones previas.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">Placas ATI</emphasis>: el controlador <link linkend="vidix">VIDIX</link>
- se provee para las siguientes placas:
- <emphasis role="bold">Radeon, Rage128, Mach64</emphasis> (Rage XL/Mobility, Xpert98).
- Vea también la sección de <link linkend="tvout-ati">placas ATI</link> de la documentación de
- salida de TV, para saber si la salida de TV de su placa de vídeo esta soportada en
- Linux/<application>MPlayer</application>.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">Placas S3</emphasis>: Los chips Savage y Virge/DX chips tiene
- aceleración por hardware. Use la versión más nueva posible de XFree86, los controladores
- viejos tienen problemas. Los chips Savage tiene problemas con el mostrado en YV12, vea
- la sección <link linkend="s3">S3 Xv</link> para más detalles. Las placas más viejas Trio
- no tienen soporte de hardware o el soporte es lento.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">Placas nVidia</emphasis>: pueden o no ser una buena elección para la
- reproducción de vídeo. Si no posee una placa GeForce2 (o más nueva), es poco probable que
- funcione sin problemas. <emphasis role="bold">El controlador incorporado de nVidia para XFree86
- no soporta aceleración YUV por hardware en todas las placas nVidia.</emphasis> Debe descargar
- los controladores de código cerrado de <ulink url="http://nvidia.com">nVidia.com</ulink>.
- Vea la sección sobre <link linkend="nvidia">controlador de Xv de nVidia</link> para detalles.
- Por favor, compruebe también la sección de
- <link linkend="tvout-nvidia">salida-TV de nVidia</link> si desea usar una TV.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">3DLabs GLINT R3 y Permedia3</emphasis>: se provee un controlador
- VIDIX (pm3_vid). Por favor vea la sección <link linkend="vidix">VIDIX</link> para
- más detalles.
- </para></listitem>
<listitem><para>
- <emphasis role="bold">Otras placas</emphasis>: ¿ninguna de las de arriba?
- <itemizedlist>
- <listitem><para>
- Pruebe si el controlador de XFree86 (y su placa) soportan aceleración
- por hardware. Vea la sección <link linkend="xv">Xv</link> para más detalles.
- </para></listitem>
- <listitem><para>
- Si no lo hace, entonces las características de vídeos de su placa no están
- soportadas en su sistema operativo :( Si el escalado por hardware funciona
- bajo Windows, no implica que funcionará bajo Linux o algún otro sistema operativo,
- depende de los controladores. Muchos fabricantes ni construyen controladores para
- Linux ni liberan las especificaciones de sus chips - por lo tanto anda sin suerte
- si esta usando una de sus placas. Vea <xref linkend="non-yuv-cards"/>.
- </para></listitem>
- </itemizedlist>
- </para></listitem>
-</itemizedlist>
-</para>
-</sect3>
-
-
-<sect3 id="non-yuv-cards" xreflabel="Placas sin YUV">
-<title>Placas sin YUV</title>
-<para>
-Se puede conseguir una reproducción a pantalla completa tanto activando
-el <emphasis role="bold">escalado por software</emphasis> (use la opción <option>-zoom</option> o <option>-vf</option>,
-pero le advierto: esto es lento), o cambiando a un modo de vídeo más chico, por ejemplo
-352x288. Si no posee aceleración YUV, este último método es lo recomendado.
-El cambio de modo de vídeo se activa usando la opción <option>-vm</option> y
-funciona con los siguientes controladores:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">usando</emphasis> XFree86: vea los detalles en las secciones del <link linkend="dga">controlador DGA</link> y
- <link linkend="x11">el controlador X11</link>. ¡DGA es lo más recomendado! Además,
- intente usar DGA a través de SDL, muchas veces es mejor.
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">sin usar</emphasis> XFree86: pruebe los controladores en el
- siguiente orden:
- <link linkend="vesa">vesa</link>,
- <link linkend="fbdev">fbdev</link>,
- <link linkend="svgalib">svgalib</link>,
- <link linkend="aalib">aalib</link>.
- </para></listitem>
-</itemizedlist>
-</para>
-</sect3>
-
-<!-- FIXME: find a more logical organization for this section -->
-<sect3 id="cirrus-logic-cards" xreflabel="Placas Cirrus-Logic">
-<title>Placas Cirrus-Logic</title>
-<itemizedlist>
-<listitem><para>
- GD 7548: incorporada y testeada en la serie de notebooks Compaq Armada 41xx.
- <itemizedlist>
- <listitem><para>
- XFree86 3: funciona en los modos 8/16 bpp. De todas maneras, el controlador es
- dramáticamente lento y defectuoso en 800x600@16bpp. <emphasis role="bold">
- Recomendado: 640x480@16bpp</emphasis>
- </para></listitem>
- <listitem><para>
- XFree86 4: el servidor X se congela apenas arranca a menos que la aceleración
- este desactivada, pero todo se vuelve más lento que en XFree86 3. No tiene soporte
- de XVideo.
- </para></listitem>
- <listitem><para>
- FBdev: el framebuffer puede ser activado con el controlador <systemitem>clgenfb</systemitem>
- del núcleo, aunque a mi me funcionó solo en 8bpp, por lo tanto inservible.
- La fuente de <systemitem>clgenfb</systemitem> tiene que ser extendido para el ID 7548 antes de ser compilado.
- </para></listitem>
- <listitem><para>
- VESA: la placa es solamente capaz de VBE 1.2, por lo tanto la salida VESA no puede ser usada.
- No puede ser usada con UniVBE para que funcione.
- </para></listitem>
- <listitem><para>
- SVGAlib: detecta un chip Cirrus más viejo. Es lento pero se puede usar con la opción
- <option>-bpp 8</option>.
- </para></listitem>
-</itemizedlist>
+ <emphasis role="bold"><ulink url="http://www.underbit.com/products/mad/">libmad</ulink></emphasis>
+ - opcional, para decodificación rápida de MP3 en plataformos sin FPU.
</para></listitem>
</itemizedlist>
-</sect3>
-</sect2>
-
-
-<sect2 id="sound-cards">
-<title>Placas de Sonido</title>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Soundblaster Live!</emphasis>: con esta placa puede usar
- 4 o 6 (<emphasis role="bold">5.1</emphasis>) canales de decodificación AC3 en lugar de
- 2. Lea la sección <link linkend="swac3">decodificación de AC3 por software</link>. ¡Para
- la transferencia AC3 por hardware <emphasis role="bold">debe</emphasis> usar ALSA 0.9 con
- emulación OSS!
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">C-Media con salida SP/DIF</emphasis>: transferencia AC3 por
- hardware es posible con estas placas, vea la sección
- <link linkend="hwac3">decodificación de AC3 por hardware</link>.
- </para></listitem>
-<listitem><para>
- Las características de <emphasis role="bold">otras placas</emphasis> no están soportadas
- en <application>MPlayer</application>.
- </para></listitem>
-</itemizedlist>
-</sect2>
+</sect1>
-<sect2 id="caracteristicas">
+<sect1 id="caracteristicas">
<title>Características</title>
<itemizedlist>
@@ -500,7 +196,6 @@ que lo use. Vea la sección <link linkend="subosd">Subtítulos y OSD</link>
para más detalles.
</para>
-</sect2>
</sect1>
<!-- ********** -->
@@ -895,6 +590,102 @@ completamente configurable por el usuario.
</sect2>
</sect1>
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+
+<sect1 id="codec-installation">
+<title>instalación de codecs</title>
+
+<!-- ********** -->
+
+<sect2 id="xvid">
+<title>XviD</title>
+
+<para>
+<ulink url="http://www.xvid.org">XviD</ulink> es una derivación del desarrollo
+del codec OpenDivX. Esto ocurrió cuando ProjectMayo cambió OpenDivX a código
+cerrado DivX4 (ahora DivX5), y la gente del no-ProjectMayo que trabajaba
+en OpenDivX se cabreó, e inició XviD. Este es el motivo de que ambos proyectos
+tengan el mismo origen.
+</para>
+
+<procedure>
+<title>INSTALANDO XVID CVS</title>
+<para>
+ Actualmente está disponible solo desde CVS. Aquí tiene instrucciones para
+ descargarlo e instalarlo (necesita al menos autoconf 2.50, automake y libtool):
+</para>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+ </para></step>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+</para></step>
+<step><para>
+ <screen>cd xvidcore/build/generic</screen>
+ </para></step>
+<step><para>
+ <screen>./bootstrap.sh</screen>
+ </para></step>
+<step><para>
+ <screen>./configure</screen>
+ Puede añadir algunas opciones (examine la salida de
+ <screen>./configure --help</screen>).
+ </para></step>
+<step><para>
+ <screen>make &amp;&amp; make install</screen>
+ </para></step>
+<step><para>
+ Si ha especificado <option>--enable-divxcompat</option>,
+ copie <filename>../../src/divx4.h</filename> a
+ <filename class="directory">/usr/local/include/</filename>.
+ </para></step>
+<step><para>
+ Recompile <application>MPlayer</application> con
+ <option>--with-xvidlibdir=<replaceable>/ruta/a/</replaceable>libxvidcore.a</option>
+ <option>--with-xvidincdir=<replaceable>/ruta/a/</replaceable>xvid.h</option>
+ </para></step>
+</procedure>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="aac">
+<title>AAC</title>
+<para>
+AAC (Codificación Avanzada de Audio) es un codec de audio que algunas veces
+se encuentra en archivos MOV y MP4. Un decodificador llamado FAAD de código
+abierto está disponible en
+<ulink url="http://www.audiocoding.com"/>.
+<application>MPlayer</application> incluye libfaad 2.0RC1, por lo que no
+necesita obtenerlo por separado.
+</para>
+
+<para>
+Si usa gcc 3.2 y falla al compilar nuestro FAAD interno o desea usar la
+biblioteca externa por alguna otra razón, descargue la biblioteca desde la
+<ulink url="http://www.audiocoding.com/download.php">página de descargas</ulink>
+y pase la opción <option>--enable-external-faad</option> a <filename>configure</filename>.
+No necesita todo el faad2 para decodificar archivos AAC, libfaad es suficiente.
+Constrúyalo como sigue:
+<screen>cd faad2/
+chmod +x bootstrap
+./bootstrap
+./configure
+cd libfaad
+make
+make install
+</screen>
+No hay binarios disponibles en audiocoding.com, pero puede apetegetear paquetes Debian
+desde <ulink url="http://marillat.free.fr">la página personal de Christian Marillat</ulink>,
+paquetes RPM para Mandrake desde la <ulink url="http://plf.zarb.org">P.L.F.</ulink> y RPMs
+para Red Hat en <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>.
+</para>
+</sect2>
+
+</sect1>
+
+
<!-- ********** -->
<sect1 id="rtc">
@@ -953,3 +744,5 @@ Es una manera fácil para cualquiera de convertirse en administrador.
</para></note>
</para>
</sect1>
+
+</chapter>
diff --git a/DOCS/xml/es/mencoder.xml b/DOCS/xml/es/mencoder.xml
index 05c9452923..30a98deb0e 100644
--- a/DOCS/xml/es/mencoder.xml
+++ b/DOCS/xml/es/mencoder.xml
@@ -110,7 +110,7 @@ mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o <replacea
<para>
<application>MEncoder</application> puede crear archivos con formato de salida
MPEG (MPEG-PS). Probablemente esto sea util con el codec <emphasis>mpeg1video</emphasis>
-de <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>,
+de <systemitem class="library">libavcodec</systemitem>,
porque los reproductores - excepto <application>MPlayer</application> - esperan
video MPEG1, y audio en MPEG1 layer 2 (MP2) en los archivos MPEG.
</para>
@@ -237,7 +237,7 @@ se describe <link linkend="menc-feat-fix-avi">más arriba</link>.
<systemitem class="library">libavcodec</systemitem></title>
<para>
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+<systemitem class="library">libavcodec</systemitem>
provee un montón de interesantes formatos de video y audio (actualmente sus codecs
de audio no están soportados). Puede codificar con los siguientes codecs
(más o menos actualizado):
@@ -492,7 +492,7 @@ ahí fuera que soporten esta característica de MPEG4, excepto <application>MPla
<para>
Esta característica puede ser usada solo con el codec
<systemitem>mpeg4</systemitem> de
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
+<systemitem class="library">libavcodec</systemitem>.
Tenga en mente: aunque <application>MPlayer</application> puede reproducir
correctamente el archivo creado, otros reproductores pueden usar una razón
de aspecto incorrecta.
@@ -515,7 +515,7 @@ Uso
<para>
Con ésta característica de
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> puede
+<systemitem class="library">libavcodec</systemitem> puede
personalizar las matrices inter (marcos-I/marcos clave) e intra (marcos-P/marcos
de predicción). Está soportado por muchos codecs:
<systemitem>mpeg1video</systemitem> y <systemitem>mpeg2video</systemitem>
diff --git a/DOCS/xml/es/ports.xml b/DOCS/xml/es/ports.xml
index 01ca72da3a..e168c21a6e 100644
--- a/DOCS/xml/es/ports.xml
+++ b/DOCS/xml/es/ports.xml
@@ -53,8 +53,8 @@ que funcionan desde
</para>
</sect2>
-<sect2 id="arm">
-<title>ARM</title>
+<sect2 id="arm_linux">
+<title>ARM Linux</title>
<para>
<application>MPlayer</application> funciona en PDAs con Linux en CPU ARM p.e.
Sharp Zaurus, Compaq Ipaq. La manera más facil de obtener
@@ -247,33 +247,18 @@ video.
</para>
</sect1>
-<sect1 id="irix">
-<title>Silicon Graphics Irix</title>
+<sect1 id="hpux">
+<title>HP UX</title>
<para>
-Puede probar a instalar el programa de instalación GNU, y (si no lo tiene
-en su ruta global) apuntar a donde esté con:
-<screen>./configure --with-install=<replaceable>/ruta/y/nombre/del/instalador</replaceable></screen>
+Martin Gansser mantiene un
+<ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">COMO</ulink>
+de mucho valor acerca de cómo compilar <application>MPlayer</application> en HP-UX. ¡Tiene
+incluso una sección de FAQ!
</para>
<para>
-O puede usar el instalador por defecto que viene con IRIX 6.5 y en ese
-caso debe editar el <filename>Makefile</filename> a mano un poquito.
-Cambie las dos siguientes líneas:
-<programlisting>
- $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-
- $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
-</programlisting>
-por:
-<programlisting>
- $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-
- $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
-</programlisting>
-Y entonces haga (desde el directorio de fuentes de
-<application>MPlayer</application>):
-<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
-y después continúe con la construcción e instalación.
+De todos modos, nuestro código crudo de <application>MPlayer</application> se usa para
+compilar en HP-UX sin problemas.
</para>
</sect1>
@@ -428,45 +413,4 @@ proyecto <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink>.
</sect1>
-<sect1 id="hpux">
-<title>HP UX</title>
-<para>
-Martin Gansser mantiene un
-<ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">COMO</ulink>
-de mucho valor acerca de cómo compilar <application>MPlayer</application> en HP-UX. ¡Tiene
-incluso una sección de FAQ!
-</para>
-
-<para>
-De todos modos, nuestro código crudo de <application>MPlayer</application> se usa para
-compilar en HP-UX sin problemas.
-</para>
-</sect1>
-
-<sect1 id="amiga">
-<title>Amiga/MorphOS (GeedGadgets)</title>
-<para>
-Nicholas Det en Genesi ha hecho una gran adaptación, potente, de <application>MPlayer</application>
-para MorphOS. Tristemente basado en la serie 0.90.
-</para>
-
-<para>
-Obténgalo desde <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
-<itemizedlist>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
-<application>MPlayer</application> 0.91 binario</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
-<application>MPlayer</application> 0.91 código fuente</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912">
-<application>MEncoder</application> 0.91 binario</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect1>
-
</chapter>
diff --git a/DOCS/xml/es/tvinput.xml b/DOCS/xml/es/tvinput.xml
index 5faecdd306..8f3c46f668 100644
--- a/DOCS/xml/es/tvinput.xml
+++ b/DOCS/xml/es/tvinput.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- synced with 1.10 -->
+<chapter id="tv">
+<title>TV</title>
+
<sect1 id="tv-input" xreflabel="Entrada de TV">
<title>Entrada de TV</title>
@@ -213,3 +216,5 @@ el promediado de pixels solo en dirección horizontal debido a limitaciones de h
</informalexample>
</sect2>
</sect1>
+
+</chapter>
diff --git a/DOCS/xml/es/video.xml b/DOCS/xml/es/video.xml
index 382da89776..0ecdff25c8 100644
--- a/DOCS/xml/es/video.xml
+++ b/DOCS/xml/es/video.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- synced with 1.51 -->
-<sect2 id="video-dev">
+<chapter id="video-dev">
<title>Dispositivos de salida de video</title>
-<sect3 id="mtrr">
+<sect1 id="mtrr">
<title>Configurando MTRR</title>
<para>
@@ -86,11 +86,11 @@ de 266MHz, stepping 0) no soportan MTRR, pero stepping 12's lo
soportan
(<command>cat /proc/cpuinfo</command> para comprobarlo).
</para>
-</sect3>
+</sect1>
-<sect3 id="output-trad">
+<sect1 id="output-trad">
<title>Salidas de video para tarjetas de video tradicionales</title>
-<sect4 id="xv">
+<sect2 id="xv">
<title>Xv</title>
<para>
@@ -165,7 +165,7 @@ screen #0
</orderedlist>
</para>
-<sect5 id="tdfx">
+<sect3 id="tdfx">
<title>Tarjetas 3dfx</title>
<para>
@@ -182,10 +182,10 @@ sección <link linkend="sdl">SDL</link> para más detalles.
¡<emphasis role="bold">O</emphasis>, pruebe el NUEVO controlador
<option>-vo tdfxfb</option>! Vea la sección <link linkend="tdfxfb">tdfxfb</link>.
</para>
-</sect5>
+</sect3>
-<sect5 id="s3">
+<sect3 id="s3">
<title>Tarjetas S3</title>
<para>
@@ -203,10 +203,10 @@ controlador nuevo, o pregunte de forma correcta en la lista de correo
mplayer-users por un controlador con soporte para MMX/3DNow.
</para>
</note>
-</sect5>
+</sect3>
-<sect5 id="nvidia">
+<sect3 id="nvidia">
<title>Tarjetas nVidia</title>
<para>
@@ -229,10 +229,10 @@ Sin embargo, <application>MPlayer</application> contiene un controlador
Actualmente está en estado beta, y tiene algunos problemas. Para más
información, vea la sección <link linkend="vidix-nvidia">nVidia VIDIX</link>.
</para>
-</sect5>
+</sect3>
-<sect5 id="ati">
+<sect3 id="ati">
<title>Tarjetas ATI</title>
<para>
@@ -250,10 +250,10 @@ puede felizmente obtener gráficos <emphasis role="bold">acelerados</emphasis>,
sin <emphasis role="bold">salida TV</emphasis>, y no se necesitan bibliotecas o X.
Lea la sección <link linkend="vidix">VIDIX</link>.
</para>
-</sect5>
+</sect3>
-<sect5 id="neomagic">
+<sect3 id="neomagic">
<title>Tarjetas NeoMagic</title>
<para>
@@ -282,10 +282,10 @@ Section "Device"
EndSection<!--
--></programlisting>
</para>
-</sect5>
+</sect3>
-<sect5 id="trident">
+<sect3 id="trident">
<title>Tarjetas Trident</title>
<para>
Si quiere usar xv con una tarjeta trident, sepa que no funciona con
@@ -298,22 +298,22 @@ Alternativamente, <application>MPlayer</application> contiene un controlador
<link linkend="vidix">VIDIX</link> para la tarjeta Cyberblade/i1.
</para>
-</sect5>
+</sect3>
-<sect5 id="kyro">
+<sect3 id="kyro">
<title>Tarjetas Kyro/PowerVR</title>
<para>
Si quiere usar Xv con una tarjeta basada en Kyro (por ejemplo Hercules
Prophet 4000XT), debe descargar los controladores desde
<ulink url="http://www.powervr.com/">el sitio de PowerVR</ulink>
</para>
-</sect5>
-</sect4>
+</sect3>
+</sect2>
<!-- ********** -->
-<sect4 id="dga">
+<sect2 id="dga">
<title>DGA</title>
<formalpara>
@@ -601,12 +601,12 @@ funciona bien con todos los controladores de chipsets para XFree existentes.
</para></listitem>
</itemizedlist>
-</sect4>
-<!--</sect3>-->
+</sect2>
+<!--</sect1>-->
<!-- ********** -->
-<sect4 id="sdl">
+<sect2 id="sdl">
<title>SDL</title>
<para>
@@ -696,10 +696,10 @@ en la (si está presente) banda negra.
¡NO USE SDL con GUI! El comportamiento no será el esperado.
</para></listitem>
</itemizedlist>
-</sect4>
+</sect2>
-<sect4 id="svgalib">
+<sect2 id="svgalib">
<title>SVGAlib</title>
<formalpara>
@@ -773,10 +773,10 @@ muestreo en mi equipo, porque el sonido no funcionaba a 44kHz:
Puede activar OSD y subtítulos solo con el filtro <option>expand</option>,
vea la página de manual para los parámetros concretos.
</para>
-</sect4>
+</sect2>
-<sect4 id="fbdev">
+<sect2 id="fbdev">
<title>Salida en framebuffer (FBdev)</title>
<para>
@@ -870,10 +870,10 @@ el framebuffer VESA, y no nos pida que funcione, porque no es una limitación
de <application>MPlayer</application>.
</para>
</note>
-</sect4>
+</sect2>
-<sect4 id="mga_vid">
+<sect2 id="mga_vid">
<title>Framebuffer de Matrox (mga_vid)</title>
<para>
@@ -947,10 +947,10 @@ para obtener informaión, por ejemplo mediante <screen>cat /dev/mga_vid</screen>
y puede se escrito para realizar cambios en el brillo:
<screen>echo "brightness=120" &gt; /dev/mga_vid</screen>
</para>
-</sect4>
+</sect2>
-<sect4 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
+<sect2 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
<title>Soporte 3Dfx YUV</title>
<para>
Este controlador usa el controlador framebuffer del kernel tdfx para
@@ -958,10 +958,10 @@ reproducir las películas con aceleración YUV. Necesita un kernel con
soporte tdfxfb, y recompilar con
<screen>./configure --enable-tdfxfb</screen>
</para>
-</sect4>
+</sect2>
-<sect4 id="opengl">
+<sect2 id="opengl">
<title>Salida OpenGL</title>
<para>
@@ -997,10 +997,10 @@ una variable de entorno (por lo menos con nVidia):
<command>export $__GL_SYNC_TO_VBLANK=1</command>
</para>
-</sect4>
+</sect2>
-<sect4 id="aalib">
+<sect2 id="aalib">
<title>AAlib - reproduciendo en modo texto</title>
<para>
@@ -1132,9 +1132,9 @@ el mejor modo.
Vea <ulink url="http://aa-project.sourceforge.net/tune"/> para más detalles
y ajustes.
</para>
-</sect4>
+</sect2>
-<sect4 id="caca">
+<sect2 id="caca">
<title><systemitem class="library">libcaca</systemitem> - Biblioteca de Arte AsCii
en color</title>
@@ -1225,10 +1225,10 @@ Use la opción <option>-framedrop</option> si su ordenador no es suficientemente
rápido para renderizar todos los marcos de imagen.
</para>
-</sect4>
+</sect2>
-<sect4 id="vesa">
+<sect2 id="vesa">
<title>VESA - salida en VESA BIOS</title>
<para>
@@ -1366,10 +1366,10 @@ No use este controlador con <emphasis role="bold">GCC 2.96</emphasis>!
lo inicia automáticamente durante el proceso POST.
</para></listitem>
</itemizedlist>
-</sect4>
+</sect2>
-<sect4 id="x11">
+<sect2 id="x11">
<title>X11</title>
<para>
@@ -1415,10 +1415,10 @@ Si no puede encontrar los modos que ha insertado, consule la salida de
XFree86. Algunos controladores no pueden usar pixelclocks bajos que son
necesarios para modos de video de baja resolución.
</para>
-</sect4>
+</sect2>
-<sect4 id="vidix">
+<sect2 id="vidix">
<title>VIDIX</title>
<formalpara>
@@ -1571,7 +1571,7 @@ puede usar un módulo especial del kernel, como esto:
</para></step>
</procedure>
-<sect5 id="vidix-ati">
+<sect3 id="vidix-ati">
<title>Tarjetas ATI</title>
<para>
Actualmente la mayoría de las tarjetas ATI están soportadas de manera nativa,
@@ -1584,9 +1584,9 @@ Hay dos binarios compilados: <filename>radeon_vid</filename> para Radeon y
o dejar que el sistema VIDIX pruebe automáticamente todos los controladores
disponibles.
</para>
-</sect5>
+</sect3>
-<sect5 id="vidix-mga">
+<sect3 id="vidix-mga">
<title>Tarjetas Matrox</title>
<para>
Hemos sido informados de que funcionan Matrox G200, G400, G450 y G550.
@@ -1596,9 +1596,9 @@ Hemos sido informados de que funcionan Matrox G200, G400, G450 y G550.
El controlador soporta ecualizadores de video y debe ser casi tan rápido como el
<link linkend="mga_vid">Matrox framebuffer</link>
</para>
-</sect5>
+</sect3>
-<sect5 id="vidix-trident">
+<sect3 id="vidix-trident">
<title>Tarjetas Trident</title>
<para>
Hay un controlador disponible para los chipset Trident Ciberblade/i1, que
@@ -1610,17 +1610,17 @@ El controlador ha sido escrito y es mantenido por,
<ulink url="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">Alastair M.
Robinson</ulink>.
</para>
-</sect5>
+</sect3>
-<sect5 id="vidix-3dlabs">
+<sect3 id="vidix-3dlabs">
<title>Tarjetas 3DLabs</title>
<para>
Aunque hay un controlador para los chips 3DLabs GLINT R3 y Permedia3, ninguno
ha sido probado, así que cualquier comentario o informe será bienvenido.
</para>
-</sect5>
+</sect3>
-<sect5 id="vidix-nvidia">
+<sect3 id="vidix-nvidia">
<title>Tarjetas nVidia</title>
<para>
Hay controladores para nVidia relativamente recientes, se sabe que funcionan bien
@@ -1663,9 +1663,9 @@ con otros.
<para>
¡Esperamos que nos informe!
</para>
-</sect5>
+</sect3>
-<sect5 id="vidix-sis">
+<sect3 id="vidix-sis">
<title>Tarjetas SiS</title>
<para>
Se trata de un código muy experimental, al igual que el nvidia_vid.
@@ -1679,10 +1679,10 @@ SiS de las placas base "Shuttle XPC")
<para>
¡Esperamos que nos informe!
</para>
-</sect5>
-</sect4>
+</sect3>
+</sect2>
-<sect4 id="directfb">
+<sect2 id="directfb">
<title>DirectFB</title>
<blockquote><para>
&quot;DirectFB es una biblioteca de gráficos que ha sido diseñada
@@ -1706,9 +1706,9 @@ de DirectFB en la línea de órdenes, usando la opción <option>-dfbopts</option
La capa de selección puede hacerse con el método de subdispositivo, p.e.:
<option>-vo directfb:2</option> (la capa -1 se usa por defecto: autodetectado)
</para>
-</sect4>
+</sect2>
-<sect4 id="dfbmga">
+<sect2 id="dfbmga">
<title>DirectFB/Matrox (dfbmga)</title>
<para>
Lea por favor la sección <link linkend="directfb">principal de DirectFB</link> para
@@ -1798,13 +1798,13 @@ necesita el parche <systemitem>surfacemanager</systemitem> de la URL de más arr
De todos modos se está trabajando para portar el código de CRTC2 a
<emphasis role="bold">mga_vid</emphasis>.
</para></note>
-</sect4>
-</sect3>
+</sect2>
+</sect1>
-<sect3 id="mpeg_decoders">
+<sect1 id="mpeg_decoders">
<title>Decodificadores MPEG</title>
-<sect4 id="dvb">
+<sect2 id="dvb">
<title>DVB salida y entrada</title>
<para>
<application>MPlayer</application> soporta tarjetas con el chipset Siemens DVB
@@ -2029,9 +2029,9 @@ las características nativas de OSD de las tarjetas DVB, así como una
reproducción más fluida de películas que no estén a 25fps y transcoding en
tiempo real entre MPEG2 y MPEG4 (descompresión parcial).
</para>
-</sect4>
+</sect2>
-<sect4 id="dxr2">
+<sect2 id="dxr2">
<title>DXR2</title>
<para><application>MPlayer</application> soporta reproducción acelerada por
hardware con la tarjeta Creative DXR2.</para>
@@ -2070,9 +2070,9 @@ aceptables.
</para>
<para>Por favor, vea la página de manual para ver las opciones disponibles.</para>
-</sect4>
+</sect2>
-<sect4 id="dxr3">
+<sect2 id="dxr3">
<title>DXR3/Hollywood+</title>
<para>
<application>MPlayer</application> soporta reproducción acelerada por hardware
@@ -2204,14 +2204,14 @@ de sonido.
</para></listitem>
</varlistentry>
</variablelist>
-</sect4>
+</sect2>
-</sect3>
+</sect1>
-<sect3 id="other">
+<sect1 id="other">
<title>Otro hardware de visualización</title>
-<sect4 id="zr">
+<sect2 id="zr">
<title>Zr</title>
<para>
@@ -2301,22 +2301,22 @@ sí va bien si <emphasis role="bold">PRIMERO</emphasis> inicia XawTV,
espera a que <application>MPlayer</application> termine y
<emphasis role="bold">DESPUÉS</emphasis> detiene XawTV.
</para>
-</sect4>
+</sect2>
-<sect4 id="blinkenlights">
+<sect2 id="blinkenlights">
<title>Blinkenlights</title>
<para>
Este controlador permite la reproducción usando el protocolo UDP Blinkenlinghts. Si no
sabe qué es <ulink url="http://www.blinkenlinghts.de/">Blinkenlinghts</ulink>
no necesita este controlador.
</para>
-</sect4>
-</sect3>
+</sect2>
+</sect1>
-<sect3 id="tvout">
+<sect1 id="tvout">
<title>Soporte de salida-TV</title>
-<sect4 id="tvout-mga-g400">
+<sect2 id="tvout-mga-g400">
<title>Tarjetas Matrox G400</title>
<para>
@@ -2457,9 +2457,9 @@ compuesto. La tierra es el quinto, sexto, séptimo, y decimoquinto contactos
(5, 6, 7, 15). (información proporcionada por Balázs Kerekes)
</para>
</formalpara>
-</sect4>
+</sect2>
-<sect4 id="tv-out_matrox_g450">
+<sect2 id="tv-out_matrox_g450">
<title>Tarjetas Matrox G450/G550</title>
<para>
El soporte para salida de TV en estas tarjetas ha sido introducido recientemente,
@@ -2484,10 +2484,10 @@ tiempo, como recomendamos actualmente para G400, vea la sección anterior.
El parche para el kernel necesario y un 'como' detallado es descargable desde
<ulink url="http://www.bglug.ca/matrox_tvout/"/>
</para>
-</sect4>
+</sect2>
-<sect4 id="tvout-ati">
+<sect2 id="tvout-ati">
<title>Tarjetas ATI</title>
<formalpara>
@@ -2530,17 +2530,17 @@ Lo único que necesita hacer - <emphasis role="bold">Tener el conector
de TV conectado antes de iniciar su PC</emphasis> porque la BIOS de video
se inicializa por sí misma solo una vez durante el proceso POST.
</para>
-</sect4>
+</sect2>
-<sect4 id="tvout-voodoo">
+<sect2 id="tvout-voodoo">
<title>Voodoo 3</title>
<para>
Consulte <ulink url="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">esta URL</ulink>.
</para>
-</sect4>
+</sect2>
-<sect4 id="tvout-nvidia">
+<sect2 id="tvout-nvidia">
<title>nVidia</title>
<para>
Lo primero, DEBE descargar los controladores de fuente-cerrada desde
@@ -2577,9 +2577,9 @@ EndSection
<para>
Por supuesto lo importante es la parte del TwinView.
</para>
-</sect4>
+</sect2>
-<sect4 id="tvout-neomagic">
+<sect2 id="tvout-neomagic">
<title>Neomagic</title>
<para>
Probado en un Toshiba Tecra 8000. Su chip de salida de TV es una cagada miserable.
@@ -2597,6 +2597,6 @@ Problemas conocidos: solo-VESA, limitación 1.33333, la imagen no está siempre
centrada, la película aparece en 4bpp cada 10 minutos, y se queda de esa forma.
Cuelgues frecuentes de hardware, problemas de representación en pantalla LCD.
</para>
-</sect4>
-</sect3>
</sect2>
+</sect1>
+</chapter>
diff --git a/DOCS/xml/fr/codecs.xml b/DOCS/xml/fr/codecs.xml
deleted file mode 100644
index 0743b3f21f..0000000000
--- a/DOCS/xml/fr/codecs.xml
+++ /dev/null
@@ -1,696 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r27102 -->
-<chapter id="codecs">
-<title>Codecs Supportés</title>
-
-<sect1 id="video-codecs">
-<title>Codecs vidéo</title>
-
-<para>
-La <ulink url="../../codecs-status.html">table d'état des codecs</ulink>
-est une liste complète, générée quotidiennement. Quelques codecs binaires à utiliser avec MPlayer
-sont disponibles dans la
-<ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">section téléchargement</ulink> de notre page web.
-</para>
-
-<para>
-Les plus importants d'entre eux&nbsp;:
-</para>
-
-<itemizedlist>
-<listitem><para>
- vidéo <emphasis role="bold">MPEG1</emphasis> (<emphasis role="bold">VCD</emphasis>)
- et <emphasis role="bold">MPEG2</emphasis> (<emphasis role="bold">DVD</emphasis>)
- </para></listitem>
-<listitem><para>
- décodeurs natifs pour <emphasis role="bold">toutes les versions de DivX
- 3ivX, MS MPEG4</emphasis> v1, v2 et autres variantes MPEG4
- </para></listitem>
-<listitem><para>
- décodeur natif pour <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>), et décodeur DLL Win32 pour
- <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>), utilisés tous les deux dans les fichiers
- <filename>.wmv</filename>
- </para></listitem>
-<listitem><para>
- décodeur <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> natif
- </para></listitem>
-<listitem><para>
- décodeur <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> natif
- </para></listitem>
-<listitem><para>
- décodeur <emphasis role="bold">3ivx</emphasis> v1, v2
- </para></listitem>
-<listitem><para>
- codecs Cinepak et <emphasis role="bold">Intel Indeo</emphasis> (3.1,3.2,4.1,5.0)
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 et autres formats matériels
- </para></listitem>
-<listitem><para>
- VIVO 1.0, 2.0, I263 et autres variantes <emphasis role="bold">H.263(+)</emphasis>
- </para></listitem>
-<listitem><para>
- FLI/FLC
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> de
- <systemitem class="library">libavcodec</systemitem>, et
- <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> en utilisant les
- librairies RealPlayer
- </para></listitem>
-<listitem><para>
- décodeur natif pour HuffYUV
- </para></listitem>
-<listitem><para>
- vieux formats simples de type RLE
- </para></listitem>
-</itemizedlist>
-
-<para>
-Si vous avez un codec Win32 non listé ici qui n'est pas encore
-supporté, veuillez lire <link linkend="codec-importing">Comment importer des codecs</link>
-et aidez-nous à en ajouter le support.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
-<title>FFmpeg/libavcodec</title>
-
-<para>
-<ulink url="http://ffmpeg.org">FFmpeg</ulink> contient
-<systemitem class="library">libavcodec</systemitem>, la bibliothèque de codecs
-audio et vidéo leader de l'open source.
-Elle est capable de décoder la plupart des formats multimédia (habituellement
-plus rapidement que les solutions alternatives) et ambitionne de toutes les
-décoder un jour.
-C'est le décodeur par défaut pour la majorité des codecs que
-<application>MPlayer</application> gère.
-L'encodage est aussi possible dans certains formats, et est géré par
-<application>MEncoder</application>.
-</para>
-
-<para>
-Pour avoir une liste complète des codecs
-<ulink url="http://ffmpeg.mplayerhq.hu/general.html#SEC6">video</ulink> et
-<ulink url="http://ffmpeg.mplayerhq.hu/general.html#SEC7">audio</ulink>
-supportés, veuillez vous reporter à la page web de FFmpeg.
-</para>
-
-<para>
-<application>MPlayer</application> contient
-<systemitem class="library">libavcodec</systemitem>.
-Lancez juste <filename>./configure</filename> et compilez.
- </para>
-</sect2>
-
-
-<!-- ********** -->
-
-<sect2 id="xvid">
-<title>Xvid</title>
-
-<para>
-<ulink url="http://www.xvid.org">Xvid</ulink> est un logiciel libre
-de codec video conforme au MPEG-4 ASP, qui possède des fonctionnalités
-d'encodage en 2 passes et un support complet du MPEG-4 ASP, rendant la chose
-beaucoup plus efficace que le bien connu codec DivX.
-Il donne une très bonne qualité video et obtient de bonnes performances grâce
-à de nombreuses optimisations pour les processeurs modernes.
-</para>
-<para>
-Cela a commencé comme un fork du codec OpenDivX.
-Quand ProjectMayo a transformé le projet libre OpenDivX en
-projet propriétaire DivX4, les personnes extérieures à
-ProjectMayo travaillant sur OpenDivX se sont fâchés, et ont démarré XviD.
-Les deux projets ont donc la même origine.
-</para>
-
-<para>
-Notez qu'Xvid n'est pas nécessaire pour décoder des vidéos encodée par Xvid.
-<systemitem class="library">libavcodec</systemitem> est utilisé par défaut parce qu'il
-offre une vitesse supérieure.
-</para>
-
-<procedure>
-<title>Installer <systemitem class="library">Xvid</systemitem></title>
-<para>
- Comme la plupart des logiciels open source, il est disponible en deux
-parfums&nbsp;:
- <ulink url="http://www.xvid.org/downloads.html">versions officielle</ulink>
- et la version CVS.
- La version CVS est habituellement suffisament stable pour être utilisée, puisqu'elle bénéficie des
- corrections de bogues existant dans les versions officielles.
- Voici qui doit être fait pour faire fonctionner la version CVS de
- <systemitem class="library">Xvid</systemitem>
- avec <application>MEncoder</application> (vous avez besoin au minimum de
- <application>autoconf</application> 2.50,
- <application>automake</application> et
-<application>libtool</application>)&nbsp;:
-</para>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
- </para></step>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
-</para></step>
-<step><para>
- <screen>cd xvidcore/build/generic</screen>
- </para></step>
-<step><para>
- <screen>./bootstrap.sh</screen>
- </para></step>
-<step><para>
- <screen>./configure</screen>
- Vous pouvez avoir à ajouter des options (examinez la sortie de
- <command>./configure --help</command>).
- </para></step>
-<step><para>
- <screen>make &amp;&amp; make install</screen>
- </para></step>
-<step><para>
- Si vous avez spécifié <option>--enable-divxcompat</option>,
- copiez <filename>../../src/divx4.h</filename> dans
- <filename class="directory">/usr/local/include/</filename>.
- </para></step>
-<step><para>
- Recompilez <application>MPlayer</application>.
- </para></step>
-</procedure>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="codec-x264">
-<title>x264</title>
-<sect3 id="codec-x264-whatis">
-<title>Qu'est ce que le x264?</title>
-<para>
- <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
- est une librairie pour créer des flux video H.264.
- Il n'est pas 100% achevé, mais actuellement il bénéficie d'un minimum de
- support pour la plupart des fonctionalités du H.264 qui impactent la qualité.
- Il y a aussi de nombreuses fonctionalités avancées des specifications de H.264
- qui n'ont rien avoir avec la qualité vidéo. La plupart d'entre elles ne sont pas encore
- implémentées dans le <systemitem class="library">x264</systemitem>.
-</para>
-
-<itemizedlist>
-<title>Fonctionnalités de l'encodeur</title>
- <listitem><para>CAVLC/CABAC</para></listitem>
- <listitem><para>Références multiples</para></listitem>
- <listitem><para>Intra&nbsp;: Tout les types de macrobloc (16x16, 8x8, et 4x4
-avec
- toutes les prédictions)</para></listitem>
- <listitem><para>Inter P&nbsp;: Toutes les partitions (de 16x16 jusqu'à
- 4x4)</para></listitem>
- <listitem><para>Inter B&nbsp;: Les partitions de 16x16 jusqu'à 8x8
- (incluant SKIP/DIRECT)</para></listitem>
- <listitem><para>Control Débit&nbsp;: quantificateur constant, débit
-constant,
- ABR simple ou multi-passe, VBV optionnel</para></listitem>
- <listitem><para>Détection de changement de scène</para></listitem>
- <listitem><para>Placement d'image B adaptatif</para></listitem>
- <listitem><para>images B commme références / ordre arbitraire d'image</para>
- </listitem>
- <listitem><para>8x8 et 4x4 transformation spaciale adaptative</para></listitem>
- <listitem><para>Mode sans perte</para></listitem>
- <listitem><para>Matrices de quantification personnalisées</para></listitem>
- <listitem><para>Encodage parallèle en multiples tranches</para></listitem>
- <listitem><para>Entrelacement</para></listitem>
-</itemizedlist>
-
-</sect3>
-
-<sect3 id="codec-h264-whatis">
-<title>Qu'est ce que le H.264?</title>
-<para>
- H.264 est un des noms pour le nouveau codec video numérique développé conjointement
- par l'ITU et le MPEG.
- Il peut être aussi correctement référencé avec les noms peu commodes de
- "ISO/IEC 14496-10" ou "MPEG-4 Part 10".
- Plus fréquement, on s'y réfère en tant que "MPEG-4 AVC" ou juste "AVC".
-</para>
-<para>
- Qu'importe la façon de l'appeler, H.264 peut valoir le coup d'être essayé
- parce qu'il peut typiquement donner une qualité équivalente au MPEG-4 ASP avec
- 5%-30% de débit en moins.
- Concrètement, le résultat dépendra de la source d'encodage et de l'efficacité
- de l'encodeur.
- Les gains apportés par H.264 ne sont pas gratuits&nbsp;: Décoder un flux
-H.264
- augmente considérablement les besoins en processeur et mémoire.
- Par exemple, sur un Athlon 1733 MHz, une vidéo H.264 en résolution DVD à 1500kbps
- demande environ 35% du processeur pour décoder.
- En comparaison, décoder un flux MPEG-4 ASP en résolution DVD à 1500kbps
- demande environ 10% du procésseur.
- Cela signifie que le décodage de flux haute-définition est quasiment hors de question
- pour la majorité des utilisateurs.
- Cela signifie aussi que même une vidéo en résolution DVD peut quelque fois être saccadé
- sur des processeurs plus lent que 2.0 GHz.
-</para>
-<para>
- Au moins avec <systemitem class="library">x264</systemitem>,
- les besoins lors de l'encodage ne sont pas bien pire que ce à quoi on est habitué
- avec le MPEG-4 ASP.
- Par exemple, sur un Athlon 1733 MHz un encodage DVD typique devrait tourner
- à 5-15fps.
-</para>
-<para>
- Ce document n'a pas pour but d'expliquer H.264 en détail,
- mais si vous êtes intéressé par une brêve vue d'ensemble, vous voudrez peut-être lire (en anglais)
- <ulink url="http://www.fastvdo.com/spie04/spie04-h264OverviewPaper.pdf">The
-H.264/AVC Advanced Video Coding Standard:
-Overview and Introduction to the Fidelity Range Extensions</ulink>.
-</para>
-</sect3>
-
-<sect3 id="codec-x264-playback">
-<title>Comment puis-je lire les vidéos H.264 avec <application>MPlayer</application>?</title>
-<para>
- <application>MPlayer</application> utilise le décodeur H264 de
- <systemitem class="library">libavcodec</systemitem>.
- <systemitem class="library">libavcodec</systemitem> a eu
- un décodeur H.264 un minimum utilisable aux environs de juillet 2004,
- cependant des changements et améliorations majeurs ont été implémentés depuis cette date,
- à la fois en terme de fonctionalités supportées et d'utilisation du processeur.
- Pour être sûr de soi, c'est toujours une bonne idée d'utiliser une version récente extraite
- du dépot Subversion.
-</para>
-<para>
- Si vous voulez une façon rapide et facile de savoir si il y a eu des
- changements récents au décodage H.264 de <systemitem class="library">libavcodec</systemitem>,
- vous devriez garder un oeil sur
- <ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">Interface Web du Subversion de FFmpeg</ulink>.
-</para>
-</sect3>
-
-<sect3 id="codec-x264-encode">
-<title>Comment puis-je encoder des vidéos avec <application>MEncoder</application> et
-<systemitem class="library">x264</systemitem>?</title>
-<para>
- Si vous avez un client GIT installé, les dernières sources de x264
- peuvent être récupérées avec cette commande&nbsp;:
- <screen>git clone git://git.videolan.org/x264.git</screen>
- Les sources de <application>MPlayer</application> sont mises à jour lorsque
- survient
- un changement de l'interface de programmation de <systemitem class="library">x264</systemitem>,
- donc il est toujours conseillé d'utiliser la version Subversion de
- <application>MPlayer</application>.
- Peut-être cette situtation changera quand et si une "release" de
- <systemitem class="library">x264</systemitem> survient.
- En attendant, <systemitem class="library">x264</systemitem> devra être
- considéré comme très instable, dans le sens où son interface de programmation
- est sujet à changement.
-</para>
-<para>
- <systemitem class="library">x264</systemitem> est construit et
- installé de façon standard&nbsp;:
- <screen>
- ./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
- Ceci installe libx264.a dans /usr/local/lib et x264.h est placé dans
- /usr/local/include.
-
- Avec la bibliothèque <systemitem class="library">x264</systemitem> et l'en-tête
- aux emplacements standards, construire
- <application>MPlayer</application> avec le support
- <systemitem class="library">x264</systemitem> est facile.
- il suffit de lancer le classique&nbsp;:
- <screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
- Le script <filename>./configure</filename> détectera automatiquement que vous satisfaisez
- aux conditions requises pour le <systemitem class="library">x264</systemitem>.
-</para>
-</sect3>
-</sect2>
-</sect1>
-
-<!-- ********** -->
-
-<sect1 id="audio-codecs">
-<title>Codecs audio</title>
-
-<itemizedlist>
-<title>Les plus importants d'entre eux&nbsp;:</title>
-<listitem><para>
- MPEG layer 1/2/3 (MP1/2/3) audio (code <emphasis role="bold">natif</emphasis>,
- avec optimisation MMX/SSE/3DNow!)
- </para></listitem>
-<listitem><para>
- Windows Media Audio 7 et 8 (alias WMAv1 et WMAv2) (code
- <emphasis role="bold">natif</emphasis>, avec
- <link linkend="ffmpeg">
- <systemitem class="library">libavcodec</systemitem>
- </link>)
- </para></listitem>
-<listitem><para>
- Windows Media Audio 9 (WMAv3) (en utilisant la DLL DMO)
- </para></listitem>
-<listitem><para>
- AC-3 Dolby audio (code <emphasis role="bold">natif</emphasis>, avec
- optimisation MMX/SSE/3DNow!)
- </para></listitem>
-<listitem><para>
- AC-3 par l'intermédiaire de la carte son
- </para></listitem>
-<listitem><para>
- AAC
- </para></listitem>
-<listitem><para>
- codec audio Ogg Vorbis (librairie <emphasis role="bold">native</emphasis>)
- </para></listitem>
-<listitem><para>
- RealAudio&nbsp;: DNET (AC-3 bas débit), Cook, Sipro et ATRAC3
- </para></listitem>
-<listitem><para>
- QuickTime&nbsp;: codecs audio Qualcomm et QDesign
- </para></listitem>
-<listitem><para>
- VIVO audio (g723, Vivo Siren)
- </para></listitem>
-<listitem><para>
- Voxware audio (en utilisant la DLL DirectShow)
- </para></listitem>
-<listitem><para>
- alaw et ulaw, formats divers gsm, adpcm, pcm et autres vieux codecs audio
- simples
- </para></listitem>
-<listitem><para>
- Adaptive Multi-Rate (AMR) codecs de voix
- </para></listitem>
-</itemizedlist>
-
-
-<sect2 id="swac3">
-<title>Décodage logiciel AC-3</title>
-
-<para>
-C'est le décodeur utilisé par défaut pour les fichiers avec de l'audio AC-3.
-</para>
-
-<para>
-Le décodeur AC-3 peut créer des sorties audio mixées pour 2, 4 ou 6 haut-parleurs.
-Quand il est configuré pour 6 haut-parleurs, ce décodeur fournit des sorties
-séparées pour tous les canaux AC-3 du pilote son, autorisant la pleine expérience
-du &quot;son surround&quot; sans le décodeur AC-3 externe requis pour l'usage du
-codec hwac3.
-</para>
-
-<para>
-Utilisez l'option <option>-channels</option> pour sélectionner le nombre de canaux
-de sortie. Utilisez <option>-channels 2</option> pour un mix stéréo. Pour un
-mix 4 canaux (Avant Gauche, Avant Droite, Surround Gauche et Surround Droit),
-utilisez<option>-channels 4</option>. Dans ce cas, un éventuel canal central
-sera mixé à part égale sur les canaux de devant. <option>-channels 6</option>
-sortira tous les canaux AC-3 tels qu'ils ont été encodés - dans l'ordre Gauche,
-Droite, Surround Gauche, Surround Droit, Centre et LFE.
-</para>
-
-<para>
-Le nombre de canaux par défaut est 2.
-</para>
-
-<para>
-Pour utiliser plus de 2 canaux de sortie, vous devrez utiliser OSS, et avoir
-une carte son qui supporte le nombre de canaux de sortie requis via le ioctl
-SNDCTL_DSP_CHANNELS. Un exemple de pilote approprié est emu10k1 (utilisé par
-la carte Soundblaster Live!) depuis Août 2001 ou un plus récent (Le CVS ALSA
-est également sensé fonctionner).
-</para>
-</sect2>
-
-
-<sect2 id="hwac3">
-<title>Décodage matériel AC-3</title>
-<para>
-Vous avez besoin d'une carte son gérant l'AC-3, avec une sortie numérique
-(S/PDIF). Le pilote de la carte doit supporter correctement le format AFMT_AC3
-(C-Media le fait). Connectez le décodeur AC-3 à la sortie S/PDIF, et utilisez
-l'option <option>-ac hwac3</option>. C'est expérimental mais cela fonctionne
-avec les cartes C-Media et Soundblaster Live! + le pilote ALSA (mais
-pas OSS) et DXR3/Hollywood + les cartes décodeurs MPEG.
-</para>
-</sect2>
-
-
-<sect2 id="libmad">
- <title>Support <systemitem class="library">libmad</systemitem></title>
-
-<para>
-<ulink url="http://www.underbit.com/products/mad/">
-<systemitem class="library">libmad</systemitem></ulink> est une librairie
-multi-plateforme de décodage MPEG audio en nombre entier (24&nbsp;bits PCM
-interne) uniquement.
-Elle ne gère pas très bien les fichiers endommagés, et elle a parfois des problèmes
-pour le déplacement, mais elle peut mieux se comporter que mp3lib sur des
-plateformes sans unité à virgule flottante (tel que <link linkend="arm">ARM</link>).
-</para>
-
-<para>
-Si vous avez une installation fonctionnelle de
-<systemitem class="library">libmad</systemitem>,
-<filename>./configure</filename>
-le signalera et compilera le support du décodage du son MPEG audio via
-<systemitem class="library">libmad</systemitem> automatiquement.
-</para>
-</sect2>
-
-<sect2 id="hwmpa">
-<title>Codec audio MPEG matériel</title>
-
-<para>
-Ce codec (sélectionné par <option>-ac hwmpa</option>) passe directement les paquets audio
-MPEG vers les décodeurs matériels, comme ceux trouvés dans les cartes
-DVB et les adaptateurs DXR2.
-Ne l'employez pas en combinaison avec n'importe quel autre dispositif de sortie
-audio (comme OSS et ALSA) qui n'est pas capable de le décoder (vous n'entendriez
-que du bruit blanc).
-</para>
-</sect2>
-
-
-<sect2 id="aac">
-<title>Codec AAC</title>
-<para>
-AAC (Advanced Audio Coding) est un codec parfois présent dans les fichiers MOV et MP4.
-Un décodeur open source appelé FAAD est disponible sur
-<ulink url="http://www.audiocoding.com"/>.
-<application>MPlayer</application> inclus la version CVS de libfaad 2.1 beta, vous n'avez donc pas
-à l'obtenir séparemment.
-</para>
-
-<para>
-Si vous utilisez gcc 3.2 qui ne peut pas compiler notre FAAD interne ou si vous
-voulez utiliser une librairie externe pour d'autres raisons, téléchargez la
-depuis la
-<ulink url="http://www.audiocoding.com/downloads.html">page de
-téléchargements</ulink>
-et passez <option>--enable-faad-external</option> à <filename>./configure</filename>.
-Vous n'avez pas besoin de tout faad2 pour décoder les fichiers AAC, libfaad suffit.
-Construisez comme ceci&nbsp;:
-<screen>
-cd faad2/
-sh bootstrap
-./configure
-cd libfaad
-make
-make install
-</screen>
-Les binaires ne sont pas disponibles sur audiocoding.com, mais vous pouvez
-obtenir les paquets Debian sur la
-<ulink url="http://www.debian-multimedia.org/">page web de Christian Marillat</ulink>,
-les RPMs Mandrake/Mandriva sur le <ulink url="http://plf.zarb.org">P.L.F</ulink> et les RPMS
-Fedora sur <ulink url="http://rpm.livna.org/">Livna</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amr">
-<title>codecs AMR</title>
-<para>
-Le codec de voix Adaptive Multi-Rate est utilisé dans les téléphones mobiles de
-troisième génération (3G).
-L'implémentation de référence est disponible depuis
-<ulink url="http://www.3gpp.org">Projet d'Association sur la 3ème Génération</ulink>
-(gratuit pour un usage privé).
-</para>
-<para>
- Pour activer le support, téléchargez et installez les bibliothèques pour
- <ulink url="http://www.penguin.cz/~utx/amr">AMR-NB et AMR-WB</ulink> en
- suivant les instructions de cette page. Ensuite, recompilez
- <application>MPlayer</application>.
-</para>
-</sect2>
-
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="codec-importing">
-<title>Comment importer les codecs Win32</title>
-
-<!-- TODO: a short paragraph of text would be nice here... -->
-
-<sect2 id="vfw-codecs">
-<title>codecs VFW</title>
-
-<para>
-VFW (Video for Windows) est une ancienne API vidéo pour windows. Ses codecs
-portent l'extension <filename>.DLL</filename> ou (rarement) <filename>.DRV</filename>.
-Si <application>MPlayer</application> n'arrive pas à lire votre AVI et
-renvoie&nbsp;:
-<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
-</para>
-
-<para>
-Cela signifie que votre AVI est encodé avec un codec qui a le HFYU fourcc (HFYU = codec
-HuffYUV, DIV3 = DivX Low Motion, etc...). Maintenant que vous savez cela, vous
-devez déterminer quelle DLL Windows utilise pour lire ce fichier. Dans votre
-cas, le fichier <filename>system.ini</filename> fournit cette information à
-une ligne comme&nbsp;:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Vous avez donc besoin du fichier <filename>huffyuv.dll</filename>. Notez
-que les codecs audio sont spécifiés par le préfixe MSACM&nbsp;:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-C'est le codec MP3. Maintenant que vous avez toutes les informations nécessaires
-(fourcc, fichier codec, fichier AVI). Demandez le support de votre codec par
-mail, et envoyez ces fichiers sur le site FTP&nbsp;:
-<systemitem role="url">
-ftp://upload.mplayerhq.hu/MPlayer/incoming/[nomcodec]/
-</systemitem>
-</para>
-
-<note><para>
-Sous Windows NT/2000/XP, cherchez cette info dans la base de registre, par exemple,
-cherchez &quot;VIDC.HFYU&quot;. Pour savoir comment faire, regardez l'ancienne
-méthode DirectShow ci-dessous.
-</para></note>
-</sect2>
-
-
-<sect2 id="dshow-codecs">
-<title>Codecs DirectShow</title>
-
-<para>
-DirectShow est la plus récente interface de programmation vidéo, encore pire
-que sa prédécesseur. Les choses sont encore plus difficiles avec DirectShow
-puisque
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> ne contient pas les informations nécessaires qui sont
- désormais placées dans la base de registre et
- </para></listitem>
-<listitem><para>
- nous avons besoin du GUID du codec.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Nouvelle Méthode&nbsp;:</title>
-<para>
-En utilisant <application>Microsoft GraphEdit</application> (rapide)
-</para>
-<step><para>
- Obtenez <application>GraphEdit</application> depuis le SDK DirectX ou sur
- <ulink url="http://doom9.net">doom9</ulink>.
- </para></step>
-<step><para>
- Exécutez <command>graphedit.exe</command>.
- </para></step>
-<step><para>
- Dans le menu sélectionnez Graph -> Insert Filters.
- </para></step>
-<step><para>
- Dépliez l'élément <systemitem>DirectShow Filters</systemitem>.
- </para></step>
-<step><para>
- Sélectionnez le bon nom de codec et dépliez l'élément.
- </para></step>
-<step><para>
- Dans l'entrée <systemitem>DisplayName</systemitem> regardez le texte entre
- accolades après le backslash et notez-le (cinq blocs délimités par des tirets,
- le GUID).
- </para></step>
-<step><para>
- Le binaire du codec est le fichier spécifié dans l'entrée
- <systemitem>Filename</systemitem>.
- </para></step>
-</procedure>
-
-<note>
-<para>
-Si il n'y a pas d'entrée <systemitem>Filename</systemitem> et que
-<systemitem>DisplayName</systemitem> contient quelque chose comme
-<systemitem>device:dmo</systemitem>, alors c'est un codec DMO.
-</para>
-</note>
-
-<procedure>
-<title>Ancienne Méthode&nbsp;:</title>
-<para>
-Respirez à fond et commencez à fouiller dans la base de registre...
-</para>
-<step><para>
- Lancez <command>regedit</command>.
- </para></step>
-<step><para>
- Pressez <keycap>Ctrl</keycap>+<keycap>F</keycap>, décochez les deux premières
- cases, et cochez la troisième. Entrez le fourcc du codec. (par ex.&nbsp;:
- <userinput>TM20</userinput>).
- </para></step>
-<step><para>
- Vous devriez trouver un champ contenant le chemin et le nom du fichier utilisé
- (par ex. <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
- </para></step>
-<step><para>
- Maintenant que nous avons le fichier, nous devons trouver son GUID. Cherchez
- désormais le nom du codec, pas son fourcc. Son nom peut être trouvé quand
- Media Player lit le fichier, en regardant dans
- <guimenu>File</guimenu> -&gt; <guisubmenu>Properties</guisubmenu> -&gt;
- <guimenuitem>Advanced</guimenuitem>.
- Si rien n'apparaît, pas de chance. Essayez de le deviner. (par ex.
- cherchez TrueMotion)
- </para></step>
-<step><para>
- Si le GUID apparaît dans la base de registre, vous devriez voir un champ
- <guilabel>FriendlyName</guilabel>
- et un champ <guilabel>CLSID</guilabel>.
- Copiez les 16 octets du CLSID, c'est le GUID dont nous avons besoin.
- </para></step>
-</procedure>
-
-<note>
-<para>
-Si la recherche échoue, cochez toutes les options de la fenêtre de recherche.
-Vous aurez des mauvaises occurrences, mais finirez par obtenir la bonne...
-</para>
-</note>
-
-<para>
-Nous avons désormais toutes les informations nécessaires (fourcc, GUID, fichier
-codec, fichier AVI), demandez le support de votre codec par mail, et envoyez
-ces fichiers sur le FTP&nbsp;:
-<systemitem
-role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/[nomcodec]/
-</systemitem>
-</para>
-
-<para>
-Si vous voulez ajouter un codec vous-même, lisez
-<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink> (en anglais).
-</para>
-
-</sect2>
-</sect1>
-</chapter>
diff --git a/DOCS/xml/fr/containers.xml b/DOCS/xml/fr/containers.xml
deleted file mode 100644
index 5af9c9ebb7..0000000000
--- a/DOCS/xml/fr/containers.xml
+++ /dev/null
@@ -1,520 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r27107 -->
-<chapter id="containers">
-<title>Conteneurs</title>
-
-<para>
-Il est important de clarifier une erreur commune. Quand les gens voient
-un fichier avec une extension <filename>.AVI</filename>, ils en concluent
-immédiatement qu'il ne s'agit pas d'un fichier MPEG. Ce n'est pas vrai.
-Du moins pas entièrement. Contrairement aux suppositions populaires, un
-tel fichier <emphasis>peut</emphasis> contenir de la vidéo MPEG-1.
-</para>
-
-<para>
-Vous voyez, un <emphasis role="bold">codec</emphasis> n'est pas la même chose qu'un
-<emphasis role="bold">format de conteneur</emphasis>.
-Exemples de <emphasis role="bold">codecs</emphasis> vidéo&nbsp;: MPEG-1,
-MPEG-2,
-MPEG-4 (DivX), Indeo5, 3ivx.
-Exemples de <emphasis role="bold">formats</emphasis> de conteneur&nbsp;: MPG,
-AVI, ASF.
-</para>
-
-<para>
-En théorie, vous pouvez placer une vidéo OpenDivX et de l'audio MP3 dans un
-<emphasis role="bold">conteneur MPG</emphasis>. Par contre, la plupart des lecteurs
-ne pourrons pas lire ce fichier car ils attendent de la vidéo MPEG-1 et de l'audio
-MP2 (contrairement à l'<emphasis role="bold">AVI</emphasis>, le
-<emphasis role="bold">MPG</emphasis> ne contient pas les champs nécessaires pour
-décrire ses flux vidéo et audio). Ou vous pouvez placer de la vidéo MPEG-1 dans
-un fichier AVI.
-<ulink url="http://ffmpeg.org/">FFmpeg</ulink> et
-<link linkend="mencoder"><application>MEncoder</application></link> peuvent créer ces fichiers.
-</para>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="video-formats">
-<title>Formats vidéo</title>
-
-<sect2 id="mpg-vob-dat">
-<title>Fichiers MPEG</title>
-
-<para>
-Les fichiers MPEG peuvent avoir des apparences différentes&nbsp;:
-</para>
-
-<itemizedlist>
-<listitem><para>
- MPG&nbsp;: C'est la forme la plus <emphasis role="bold">basique</emphasis>
- des formats de fichier MPEG. Il contient de la vidéo MPEG-1, et de l'audio
- MP2 (MPEG-1 layer 2) ou plus rarement MP1.
- </para></listitem>
-<listitem><para>
- DAT&nbsp;: C'est très exactement le même format que MPG mais avec une
- extension différente.
- Il est utilisé dans les <emphasis role="bold">Video CDs</emphasis>. A cause de
- la façon dont sont créés les VCDs et dont linux est conçu, les fichiers DAT ne
- peuvent être ni lus ni copiés depuis des VCDs en temps que fichiers réguliers.
- Vous devrez utiliser l'option <option>vcd://</option> pour lire un Video CD.
- </para></listitem>
-<listitem><para>
- VOB&nbsp;: C'est le format de fichier MPEG des
- <emphasis role="bold">DVDs</emphasis>.
- C'est le même que MPG, plus la capacité de contenir des sous-titres et de
- l'audio non-MPEG (AC-3). Il contient de la vidéo encodée en MPEG2 et généralement
- de l'audio AC-3, mais DTS, MP2 et LPCM non-compressé sont également autorisés.
- <emphasis role="bold">Lisez la section
- <link linkend="dvd">DVD</link></emphasis>!
- </para></listitem>
-<listitem><para>
- TY&nbsp;: C'est un flux TiVo MPEG. Il contient les données MPEG PES pour les
- flux audio et vidéo, ainsi que des informations en plus comme les closed
- captions (CC). Le conteneur n'est pas un flux de programme MPEG, mais un
- format fermé créé par TiVo. Pour plus d'informations sur le format de flux
- TiVo, veuillez vous référer à
- <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">
- la page TyStudio</ulink>.
- </para></listitem>
-</itemizedlist>
-
-<para>
-Les séries de trames forment des groupes indépendants dans les fichiers MPEG.
-Cela signifie que vous pouvez couper/joindre un fichier MPEG avec des outils
-fichiers standards (comme <command>dd</command>, <command>cut</command>), et il
-restera parfaitement lisible.
-</para>
-
-<para>
-Une fonction importante des MPGs est qu'ils ont un champ décrivant le rapport
-d'aspect du flux vidéo à l'interieur du flux. Par exemple les SVCDs ont une résolution
-de 480x480, et dans l'entête ce champ est fixé à 4:3, il est donc
-lu en 640x480. Les fichiers AVI n'ont souvent pas ce champ, ils doivent donc être
-redimensionnés durant l'encodage ou joués avec l'option <option>-aspect</option>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="avi">
-<title>Fichiers AVI</title>
-
-<para>
-Conçu par Microsoft, <emphasis role="bold">AVI (Audio Video Interleaved)</emphasis>
-est un format répandu et multi-usages actuellement utilisé par la plupart des vidéos
-MPEG-4 (DivX et DivX4). Il a de nombreux inconvénients et défauts (par exemple en streaming).
-Il supporte un flux vidéo et de 0 à 99 flux audio. La taille du fichier est limité
-à 2Go, mais il existe une extension permettant des fichiers plus gros appelée
-<emphasis role="bold">OpenDML</emphasis>. Actuellement Microsoft décourage fortement son utilisation au profit
-d' ASF/WMV.
-</para>
-
-<para>
-Il y a un hack qui permet aux fichiers AVI de contenir un flux audio Ogg Vorbis,
-mais qui les rend incompatibles avec le standard AVI.
-<application>MPlayer</application> peut lire ces fichiers. Le déplacement est
-aussi implémenté mais sévèrement gêné par les fichiers mal encodés avec des
-entêtes trompeuses. Malheureusement le seul encodeur capable actuellement de
-créer ces fichiers, <application>NanDub</application>, a ce problème.
-</para>
-
-<note>
-<para>
-Les caméras DV créent des flux DV bruts que les utilitaires de capture DV
-convertissent en deux types de fichiers AVI différents. L'AVI pourra ensuite
-contenir soit des flux audio et vidéo séparés que <application>MPlayer</application>
-peut lire, soit un flux DV brut pour lequel le support est en développement.
-</para>
-</note>
-
-<para>
-Il y a deux types de fichiers AVI&nbsp;:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Entrelacé&nbsp;:</emphasis> Les contenus audios et
- vidéos sont entrelacés. C'est l'utilisation standard. Recommandée et
- généralement utilisée.
- Certains outils créent des AVIs entrelacés avec une mauvaise synchro.
- <application>MPlayer</application> les détecte comme entrelacés, ce qui va
- enduire une perte de synchro A/V, probablement pendant un déplacement. Ces
- fichiers devraient être lu en tant que non-entrelacés (avec l'option <option>-ni</option>).
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">Non-entrelacé&nbsp;:</emphasis> D'abord vient le flux
- vidéo entier, puis le flux audio entier. Il a donc besoin de beaucoup de
- déplacements, rendant la lecture depuis le réseau ou un CD-ROM difficile.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-<application>MPlayer</application> supporte deux types de synchro pour les
-fichiers AVI&nbsp;:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">basé sur bps</emphasis>&nbsp;: Basé sur le
- bitrate/samplerate du flux video/audio. Cette méthode est utilisé dans la
- plupart des lecteurs, incluant
- <ulink url="http://avifile.sf.net">avifile</ulink>
- et <application>Windows Media Player</application>.
- Les fichiers avec des entêtes endommagées, et les fichiers créés avec de
- l'audio VBR mais pas avec un encodeur VBR-compliant auront une
- désynchronisation A/V avec cette méthode (la plupart du temps en se
- déplaçant).
- </para></listitem>
-<listitem><para>
- <emphasis role="bold">basé sur l'entrelacement</emphasis>&nbsp;: N'utilise
- pas le bitrate de l'entête, à la place utilise la position relative des
- morceaux d'audio et de vidéo entrelacés, rendant lisibles les fichiers mal
- encodés avec de l'audio VBR.
- </para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-N'importe quel codec audio et vidéo est autorisé, mais notez que l'audio VBR
-n'est pas très bien supporté par la plupart des lecteurs. Le format de fichier
-rend l'utilisation d'audio VBR possible, mais la plupart des lecteurs attendent
-de l'audio CBR, donc ils échouent avec VBR. VBR n'est pas très courant et les
-spécs AVI de Microsoft ne décrivent que l'audio CBR. La plupart des
-encodeurs /multiplexeurs créés de mauvais fichiers en utilisant l'audio VBR.
-Il n'y a que deux exceptions&nbsp;:
-<application>NanDub</application> et <link linkend="mencoder">MEncoder</link>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="asf-wmv">
-<title>Fichiers ASF/WMV</title>
-<para>
-ASF (Active Streaming Format) provient de Microsoft. Ils ont développé deux
-variantes de l'ASF, v1.0 et v2.0. v1.0 est utilisé par leurs outils multimédia
-(<application>Windows Media Player</application> et <application>Windows Media Encoder</application>)
-et sont très secrètes. v2.0 est publié et breveté :).
-Bien sûr elles diffèrent, il n'y a pas de compatibilité du tout (ce n'est juste
-qu'un autre nom légal).
-<application>MPlayer</application> ne supporte que la v1.0, car personne n'a vu de fichiers v2.0 :).
-Notez que les fichiers ASF portent maintenant l'extension
-<filename>.WMA</filename> ou <filename>.WMV</filename>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="mov">
-<title>Fichiers QuickTime/MOV</title>
-
-<para>
-Ces formats ont été conçus par Apple et peuvent contenir n'importe quel codec, CBR ou VBR.
-Ils ont généralement une extension <filename>.QT</filename> ou <filename>.MOV</filename>.
-Notez que depuis que le groupe MPEG4 a choisi QuickTime en tant que
-format recommandé pour le MPEG4, leurs fichiers MOV sont diffusés avec une
-extension <filename>.MPG</filename> ou <filename>.MP4</filename> (Au passage les
-flux vidéo et audio de ces fichiers sont de véritables fichiers MPG et AAC. Vous
-pouvez même les extraire avec les options <option>-dumpvideo</option> et
-<option>-dumpaudio</option>).
-</para>
-
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="vivo">
-<title>Fichiers VIVO</title>
-
-<para>
-<application>MPlayer</application> démuxe les fichiers VIVO avec plaisir.
-Le plus gros désavantage de ce format est qu'il n'a pas de bloc d'index, ni
-de taille de paquets fixe ou d'octet de synchro et la plupart des fichiers
-manquent même de trames clés, donc oubliez le déplacement !
-</para>
-
-<para>
-Le codec vidéo des fichiers VIVO/1.0 est le <emphasis role="bold">h.263</emphasis>
-standard. Le codec vidéo des fichiers VIVO/2.0 est un
-<emphasis role="bold">h.263v2</emphasis> modifié et non-standard. Même chose pour
-l'audio, qui peut être <emphasis role="bold">g.723 (standard)</emphasis>, ou
-<emphasis role="bold">Vivo Siren</emphasis>.
-</para>
-
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="fli">
-<title>Fichiers FLI</title>
-<para>
-<emphasis role="bold">FLI</emphasis> est un très ancien format de fichier
-utilisé par Autodesk Animator, mais c'est un format courant pour les animations
-courtes trouvées sur le net.
-<application>MPlayer</application> démuxe et décode les films FLI et est même
-capable de ce déplacer à l'intérieur (utile en utilisant l'option
-<option>-loop</option>). Les fichiers FLI n'ont pas de trame clé, donc l'image
-sera brouillée pendant un court instant après le déplacement.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="realmedia">
-<title>Fichiers RealMedia (RM)</title>
-
-<para>
-Oui, <application>MPlayer</application> peut lire (démuxer) les fichiers RealMedia
-(<filename>.rm</filename>).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nuppelvideo">
-<title>Fichiers NuppelVideo</title>
-<para>
-NuppelVideo
-est un outil de capture TV (d'après ce que j'en sais:). <application>MPlayer</application>
-peut lire ses fichiers <filename>.NUV</filename> (NuppelVideo 5.0 uniquement).
-Ces fichiers peuvent contenir des trames YV12 non-compressées, YV12+RTJpeg compressées,
-YV12 RTJpeg+lzo compressées, et YV12+lzo compressées.
-<application>MPlayer</application> les décode tous (et les <emphasis role="bold">encode</emphasis>
-également avec <application>MEncoder</application> en MPEG-4 (DivX)/etc!).
-Le déplacement fonctionne.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="yuv4mpeg">
-<title>Fichiers yuv4mpeg</title>
-<para>
-<ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink>
-est un format de fichier utilisé par les
-<ulink url="http://mjpeg.sf.net">programmes mjpegtools</ulink>.
-Vous pouvez grabber, produire, filtrer ou encoder de la vidéo dans ce format
-en utilisant ces outils. Le format de fichier est réellement une séquence
-d'images YUV 4:2:0 non-compressées.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="film">
-<title>Fichiers FILM</title>
-<para>
-Ce format est utilisé par les vieux jeux Sega Saturn CD-ROM.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="roq">
-<title>Fichiers RoQ</title>
-<para>
-Les fichiers RoQ sont des fichiers multimédia utilisés dans
-certains jeux ID comme Quake III et Return to Castle Wolfenstein.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg">
-<title>Fichiers OGG/OGM</title>
-<para>
- Ceci est un nouveau format de
- <ulink url="http://www.xiph.org">Xiph.Org Foundation</ulink>.
-Il peut contenir n'importe quel codec vidéo ou audio, CBR ou VBR. Vous aurez
-besoin d'installer <systemitem class="library">libogg</systemitem> et
-<systemitem class="library">libvorbis</systemitem> avant la compilation de
-<application>MPlayer</application> pour qu'il puisse les lire.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="sdp">
-<title>Fichiers SDP</title>
-<para>
-<ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> est un
-format IETF standard pour décrire les flux RTP video et/ou audio.
-(Les librairies &quot;<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>&quot;
-sont requises.)
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="pva">
-<title>Fichiers PVA</title>
-<para>
-PVA est un format semblable à MPEG utilisé dans les logiciels des cartes TV DVB
-(par ex.&nbsp;: <application>MultiDec</application>,
-<application>WinTV</application>
-sous Windows.)
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nsv">
-<title>Fichiers NSV</title>
-<para>
-NSV (NullSoft Video) est un format utilisé par le lecteur
-<application>Winamp</application> pour faire du stream audio et vidéo.
-La vidéo est en VP3, VP5 ou VP6, l'audio en MP3, AAC ou VLB.
-La version audio uniquement de NSV a une extension <filename>.nsa</filename>.
-<application>MPlayer</application> peut lire les deux types de flux et fichiers NSV.
-Veuillez noter que la plupart des fichiers du
-<ulink url="http://www.winamp.com">site de Winamp</ulink> utilisent de l'audio VLB,
-qui ne peut être décodé pour l'instant. De plus les flux de ce site nécessitent
-une couche suplémentaire de dépaquetage qui doit encore être implémentée (ces
-fichiers sont de toute façon illisibles car ils utilisent de l'audio VLB).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="matroska">
-<title>Fichiers Matroska</title>
-<para>
-Matroska est un format ouvert de conteneur.
-En lire plus sur le <ulink url="http://www.matroska.org/index.html.fr">site
-officiel</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nut">
-<title>fichiers NUT</title>
-<para>
-NUT est le format de conteneur developé par les membres de
-<application>MPlayer</application> et <application>FFmpeg</application>.
-Les deux projets le supportent.
-En lire plus sur le <ulink url="http://www.nut-container.org/">site
-officiel</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="gif">
-<title>Fichiers GIF</title>
-<para>
-Le format <emphasis role="bold">GIF</emphasis>est un format courant pour les
-graphismes web. Il y a deux versions des specs GIF, GIF87a et GIF89a. La
-principale différence est que le GIF89a autorise l'animation.
-<application>MPlayer</application> supporte les deux formats en utilisant
-<systemitem class="library">libungif</systemitem> ou une autre librairie
-compatible libgif.
-Les GIFs non-animés seront affichés comme des vidéos à simple trame.
-(Utilisez les options <option>-loop</option>
-et <option>-fixed-vo</option> pour les afficher plus longtemps).
-</para>
-
-<para>
-<application>MPlayer</application> ne supporte actuellement pas le déplacement
-dans les fichiers GIF. Les fichiers GIF n'ont pas nécessairement une taille de
-trame fixe, ni un débit fixe. De plus, chaque trame est de taille indépendante
-et, est sensée être positionnée à une certaine place dans un champ de taille fixe.
-Le débit est contrôlé par un bloc optionnel avant chaque trame qui spécifie le
-décalage de la prochaine trame en centièmes de seconde.
-</para>
-
-<para>
-Les fichiers GIF standard contiennent des trames 24-bit RGB avec au plus une
-palette 8 bits. Ces trames sont généralement compressées en LZW, bien que
-certains encodeurs GIF produisent des trames non-compressées pour éviter les
-problèmes de licence avec la compression LZW.
-</para>
-
-<para>
-Si votre distribution ne contient pas <systemitem class="library">libungif</systemitem>,
-téléchargez-en une copie depuis la
-<ulink url="http://sourceforge.net/projects/libungif">page de libungif
-</ulink>. Pour des informations techniques détaillées, regardez la
-<ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">spécification GIF89a</ulink>.
-</para>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-formats">
-<title>Formats Audio</title>
-
-<para>
-<application>MPlayer</application> est un lecteur de <emphasis role="bold">films</emphasis>
-et pas de <emphasis role="bold">media</emphasis>, bien qu'il puisse lire
-quelques formats audio (listés dans les sections ci-dessous). Ce n'est pas un
-usage recommandé de <application>MPlayer</application>, vous feriez mieux d'utiliser
-<ulink url="http://www.xmms.org">XMMS</ulink>.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="mp3">
-<title>Fichiers MP3</title>
-<para>
-Vous pouvez avoir des problèmes pour lire certains fichiers MP3 que
-<application>MPlayer</application> prends pour des MPEGs et ne joue pas
-correctement voir pas du tout. Ceci ne peut être réparé sans enlever le
-support de certains fichiers MPEG endommagés et donc restera ainsi pour
-un temps indéterminé. L'option <option>-demuxer</option> décrite dans la
-page de man pourrait vous aider dans ces cas-là.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg-vorbis">
-<title>Fichiers OGG/OGM (Vorbis)</title>
-<para>
-Requiert
-<systemitem class="library">libogg</systemitem> et
-<systemitem class="library">libvorbis</systemitem> correctement installés.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="cdda">
-<title>CD audio</title>
-<para>
-<application>MPlayer</application> peut utiliser <application>cdparanoia</application>
-pour lire des CDDA (Audio CD). Le but de cette section n'est pas d'énumérer les
-fonctions de <application>cdparanoia</application>.
-</para>
-
-<para>
-Voir la page de man pour les options à passer à <application>cdparanoia</application>
-via <option>-cdda</option>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xmms">
-<title>XMMS</title>
-<para>
-<application>MPlayer</application> peut utiliser les plugins d'entrée de
-<application>XMMS</application> pour jouer de nombreux formats de fichier.
-Il y a des plugins pour les thèmes de jeux SNES, les thèmes SID (du Commodore
-64), de nombreux formats Amiga, .xm, .it, VQF, musepack, Bonk, shorten et bien
-d'autres. Vous pouvez les trouver sur la
-<ulink url="http://www.xmms.org/plugins.php?category=input">page des plugins d'entrée XMMS</ulink>.
-</para>
-
-<para>
-Pour cette fonctionnalité vous devez avoir <application>XMMS</application>
-et compiler MPlayer avec <application>MPlayer</application> avec
-<filename>./configure --enable-xmms</filename>.
-</para>
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/fr/documentation.xml b/DOCS/xml/fr/documentation.xml
index b2670828f7..09284e7adf 100644
--- a/DOCS/xml/fr/documentation.xml
+++ b/DOCS/xml/fr/documentation.xml
@@ -118,7 +118,7 @@ audio PCM/MP3/MP3 VBR.
et de décodeurs de <application>MPlayer</application></para></listitem>
<listitem><para>
Encodage dans tous les codecs
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> de FFmpeg
+ <systemitem class="library">libavcodec</systemitem> de FFmpeg
</para></listitem>
<listitem><para>
Encodage vidéo depuis les tuners TV compatibles V4L
@@ -174,16 +174,12 @@ peuvent être distribués selon les termes de la GNU General Public License Vers
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&containers.xml;
-&codecs.xml;
-&video.xml;
&tvinput.xml;
&radio.xml;
-
+&video.xml;
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
&skin.xml;
diff --git a/DOCS/xml/fr/encoding-guide.xml b/DOCS/xml/fr/encoding-guide.xml
index cd29dea7bf..4210f5b081 100644
--- a/DOCS/xml/fr/encoding-guide.xml
+++ b/DOCS/xml/fr/encoding-guide.xml
@@ -2329,7 +2329,7 @@ mplayer <replaceable>fichier_source.vob</replaceable> -aid 129 -dumpaudio -dumpf
<title>Encodage avec la famille de codec <systemitem class="library">libavcodec</systemitem></title>
<para>
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+<systemitem class="library">libavcodec</systemitem>
fournit un encodage simple pour plusieurs formats vidéos et audio intéressants.
Vous pouvez encoder vers les codecs suivant
(la liste suivante est plus ou moins à jour)&nbsp;:
@@ -2957,7 +2957,7 @@ meilleure.
<para>
Grâce à cette fonctionnalité de
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+<systemitem class="library">libavcodec</systemitem>
vous pouvez rentrer des matrices personnalisées inter (image I ou images clé) et intra
(image P ou image prédite). De nombreux codecs le supportent - on rapporte que
<systemitem>mpeg1video</systemitem> et <systemitem>mpeg2video</systemitem> fonctionnent avec.
@@ -3695,7 +3695,7 @@ résultats&thinsp;?</title>
<para>
<systemitem class="library">x264</systemitem> est une librairie libre pour
encoder des flux vidéo H.264/AVC.
- Avant de commencer à encoder, vous avez besoin de <link linkend="codec-x264-encode">
+ Avant de commencer à encoder, vous avez besoin de <link linkend="x264">
paramétrer <application>MEncoder</application> pour qu'il le supporte</link>.
</para>
diff --git a/DOCS/xml/fr/faq.xml b/DOCS/xml/fr/faq.xml
index b0f1f91a84..e738f3a7e3 100644
--- a/DOCS/xml/fr/faq.xml
+++ b/DOCS/xml/fr/faq.xml
@@ -219,8 +219,9 @@ J'ai des problèmes pour lire les fichiers avec le codec ... . Puis-je l'utilise
</para></question>
<answer><para>
Regardez l'<ulink url="../../codecs-status.html">état des codecs</ulink>,
-si il ne contient pas votre codec, lisez la <link linkend="codecs">documentation des codecs</link>,
-surtout le <link linkend="codec-importing">HOWTO importation des codecs</link> et contactez-nous.
+si il ne contient pas votre codec, lisez le
+<ulink url="../../tech/win32-codec-howto">HOWTO importation des codecs Win32</ulink>
+ et contactez-nous.
</para></answer>
</qandaentry>
diff --git a/DOCS/xml/fr/install.xml b/DOCS/xml/fr/install.xml
index de4bd501e0..49098aeb0f 100644
--- a/DOCS/xml/fr/install.xml
+++ b/DOCS/xml/fr/install.xml
@@ -336,6 +336,142 @@ Le menu des préférences n'est PAS IMPLÉMENTÉ pour l'instant!
<!-- ********** -->
+<sect1 id="codec-installation">
+<title>Installation Codec</title>
+
+<sect2 id="xvid">
+<title>Xvid</title>
+
+<para>
+<ulink url="http://www.xvid.org">Xvid</ulink> est un logiciel libre
+de codec video conforme au MPEG-4 ASP. Notez qu'Xvid n'est pas nécessaire
+pour décoder des vidéos encodée par Xvid.
+<systemitem class="library">libavcodec</systemitem> est utilisé par défaut
+parce qu'il offre une vitesse supérieure.
+</para>
+
+<procedure>
+<title>Installer <systemitem class="library">Xvid</systemitem></title>
+<para>
+ Comme la plupart des logiciels open source, il est disponible en deux
+parfums&nbsp;:
+ <ulink url="http://www.xvid.org/downloads.html">versions officielle</ulink>
+ et la version CVS.
+ La version CVS est habituellement suffisament stable pour être utilisée,
+ puisqu'elle bénéficie des corrections de bogues existant dans les versions
+ officielles.
+ Voici qui doit être fait pour faire fonctionner la version CVS de
+ <systemitem class="library">Xvid</systemitem>
+ avec <application>MEncoder</application>&nbsp;:
+</para>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+ </para></step>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+</para></step>
+<step><para>
+ <screen>cd xvidcore/build/generic</screen>
+ </para></step>
+<step><para>
+ <screen>./bootstrap.sh</screen>
+ </para></step>
+<step><para>
+ <screen>./configure</screen>
+ Vous pouvez avoir à ajouter des options (examinez la sortie de
+ <command>./configure --help</command>).
+ </para></step>
+<step><para>
+ <screen>make &amp;&amp; make install</screen>
+ </para></step>
+<step><para>
+ Si vous avez spécifié <option>--enable-divxcompat</option>,
+ copiez <filename>../../src/divx4.h</filename> dans
+ <filename class="directory">/usr/local/include/</filename>.
+ </para></step>
+<step><para>
+ Recompilez <application>MPlayer</application>.
+ </para></step>
+</procedure>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="x264">
+<title>x264</title>
+
+<para>
+<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
+is a library for creating H.264 video.
+<application>MPlayer</application> sources are updated whenever
+an <systemitem class="library">x264</systemitem> API change
+occurs, so it is always suggested to use
+<application>MPlayer</application> from Subversion.
+</para>
+
+<para>
+If you have a GIT client installed, the latest x264
+sources can be gotten with this command:
+<screen>git clone git://git.videolan.org/x264.git</screen>
+
+Then build and install in the standard way:
+<screen>./configure &amp;&amp; make &amp;&amp; make install</screen>
+
+Now rerun <filename>./configure</filename> for
+<application>MPlayer</application> to pick up
+<systemitem class="library">x264</systemitem> support.
+</para>
+</sect2>
+<!-- ********** -->
+
+<sect2 id="aac">
+<title>Codec AAC</title>
+<para>
+Un décodeur open source appelé FAAD est disponible sur
+<ulink url="http://www.audiocoding.com/downloads.html"/>.
+<application>MPlayer</application> inclus une copie, vous n'avez donc pas
+à l'obtenir séparemment.
+Si vous voulez utiliser une librairie externe, passez
+<option>--enable-faad-external</option> à <filename>./configure</filename>.
+Vous n'avez pas besoin de tout faad2 pour décoder les fichiers AAC, libfaad suffit.
+Construisez comme ceci&nbsp;:
+<screen>
+cd faad2/
+sh bootstrap
+./configure
+cd libfaad
+make
+make install
+</screen>
+Les binaires ne sont pas disponibles sur audiocoding.com, mais vous pouvez
+obtenir les paquets Debian sur la
+<ulink url="http://www.debian-multimedia.org/">page web de Christian Marillat</ulink>,
+les RPMs Mandrake/Mandriva sur le <ulink url="http://plf.zarb.org">P.L.F</ulink> et les RPMS
+Fedora sur <ulink url="http://rpm.livna.org/">Livna</ulink>.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="amr">
+<title>codecs AMR</title>
+<para>
+Le codec de voix Adaptive Multi-Rate est utilisé dans les téléphones mobiles de
+troisième génération (3G).
+L'implémentation de référence est disponible depuis
+<ulink url="http://www.3gpp.org">Projet d'Association sur la 3ème Génération</ulink>
+(gratuit pour un usage privé).
+</para>
+<para>
+ Pour activer le support, téléchargez et installez les bibliothèques pour
+ <ulink url="http://www.penguin.cz/~utx/amr">AMR-NB et AMR-WB</ulink> en
+ suivant les instructions de cette page. Ensuite, recompilez
+ <application>MPlayer</application>.
+</para>
+</sect2>
+</sect1>
+
+<!-- ********** -->
<sect1 id="rtc">
<title>RTC</title>
diff --git a/DOCS/xml/fr/mencoder.xml b/DOCS/xml/fr/mencoder.xml
index aa53ea2c90..25a9ac4e0b 100644
--- a/DOCS/xml/fr/mencoder.xml
+++ b/DOCS/xml/fr/mencoder.xml
@@ -799,7 +799,7 @@ Excepté <application>MPlayer</application>.
<para>
Cette fonction ne peut être utilisée qu'avec le codec
<systemitem>mpeg4</systemitem> de
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
+<systemitem class="library">libavcodec</systemitem>.
Gardez bien à l'esprit que même si
<application>MPlayer</application>
lit correctement le fichier créé, les autres lecteurs sont susceptibles d'utiliser un mauvais ratio.
diff --git a/DOCS/xml/fr/ports.xml b/DOCS/xml/fr/ports.xml
index 003715afe9..d52dfc872c 100644
--- a/DOCS/xml/fr/ports.xml
+++ b/DOCS/xml/fr/ports.xml
@@ -349,36 +349,6 @@ Le problème hsfs peut être résolu en installant le patch 109764-04 (sparc)
<!-- ********** -->
-<sect2 id="irix">
-<title>IRIX</title>
-
-<para>
-Vous pouvez soit essayer d'installer le programme d'installation GNU, et
-(si vous ne l'avez pas mis dans votre chemin par défaut) précisez ensuite
-l'endroit où il est:
-<screen>
- ./configure --with-install=<replaceable>/chemin/et/nom/de/l'installation</replaceable>
-</screen>
-</para>
-
-<para>
-Soit vous pouvez utilisez l'installation par défaut livrée avec IRIX 6.5,
-auquel cas vous devrez éditer le <filename>Makefile</filename>
-manuellement.
-Changez la ligne suivante :
-<programlisting>
- $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-</programlisting>
-par:
-<programlisting>
- $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-</programlisting>
-Finalement, lancez la construction et l'installation.
-</para>
-</sect2>
-
-<!-- ********** -->
-
<sect2 id="hp-ux">
<title>HP UX</title>
@@ -574,6 +544,24 @@ $ ./configure --charset=noconv
</listitem>
</itemizedlist>
</sect2>
+
+<!-- ********** -->
+
+<sect2 id="qnx">
+<title>QNX</title>
+
+<para>
+Vous aurez besoin de télécharger et installer SDL pour QNX. Puis de lancer
+<application>MPlayer</application> avec les options <option>-vo sdl:driver=photon</option> et
+<option>-ao sdl:nto</option>, cela devrait être rapide.
+</para>
+
+<para>
+La sortie de <option>-vo x11</option> sera encore plus lente que sous Linux,
+étant donné que QNX n'a qu'une <emphasis>émulation</emphasis> X, qui est
+très lente.
+</para>
+</sect2>
</sect1>
@@ -899,73 +887,4 @@ du tout en fonction.
</sect2>
</sect1>
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="exotic_platforms">
-<title>Plateformes Exotiques</title>
-
-<para>
-<application>MPlayer</application> se lance sur bon nombre de plateformes exotiques,
-mais la plupart des changements spécifiques à ces systèmes n'ont pas été
-mergé dans l'arbre des sources officielles de <application>MPlayer</application>.
-Pour les instructions de build vous devriez vous référer à la documentation
-spécifique du système.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="qnx">
-<title>QNX</title>
-
-<para>
-Vous aurez besoin de télécharger et installer SDL pour QNX. Puis de lancer
-<application>MPlayer</application> avec les options <option>-vo sdl:driver=photon</option> et
-<option>-ao sdl:nto</option>, cela devrait être rapide.
-</para>
-
-<para>
-La sortie de <option>-vo x11</option> sera encore plus lente que sous Linux,
-étant donné que QNX n'a qu'une <emphasis>émulation</emphasis> X, qui est
-très lente.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amiga">
-<title>Amiga/MorphOS (GeekGadgets)</title>
-<para>
-Les gens de chez <ulink url="http://www.amigasoft.net">www.amigasoft.net</ulink>
-font des paquetages actualisés pour <application>MPlayer</application> et
-<application>MEncoder</application>.
-</para>
-
-<para>
-Nicholas Det de Genesi a réalisé un gros et puissant portage de
-<application>MPlayer</application> pour MorphOS.
-Malheureusement, il est basé sur la série 0.90.
-</para>
-
-<para>
-Téléchargez-le sur <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
-<itemizedlist>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
-Binaire de <application>MPlayer</application> 0.91</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
-Source de <application>MPlayer</application> 0.91</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
-Binaire de <application>MEncoder</application> 1.0pre3</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect2>
-</sect1>
-
</chapter>
diff --git a/DOCS/xml/hu/documentation.xml b/DOCS/xml/hu/documentation.xml
index 5a9e562e26..bf356292c0 100644
--- a/DOCS/xml/hu/documentation.xml
+++ b/DOCS/xml/hu/documentation.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r28247 -->
+<!-- synced with r28266 -->
<bookinfo id="toc">
<title><application>MPlayer</application> - The Movie Player</title>
diff --git a/DOCS/xml/hu/install.xml b/DOCS/xml/hu/install.xml
index 4785480d7d..88386b6875 100644
--- a/DOCS/xml/hu/install.xml
+++ b/DOCS/xml/hu/install.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r28148 -->
+<!-- synced with r28422 -->
<chapter id="install">
<title>Telepítés</title>
@@ -25,13 +25,21 @@ a dokumentációt és megtalálod a válaszokat.
<itemizedlist>
<listitem><para>
- <emphasis role="bold">binutils</emphasis> - a javasolt verzió a
- <emphasis role="bold">2.11.x</emphasis>.
+ <emphasis role="bold">POSIX rendszer</emphasis> - Egy POSIX-kompatibilis
+ shell-re és POSIX-kompatibilis rendszer eszközökre, pl. grep, sed, awk, stb.
+ lesz szükséged a path-odban.
</para></listitem>
<listitem><para>
- <emphasis role="bold">gcc</emphasis> - a javasolt verziók a 2.95
- és 3.4+. A 2.96 és 3.0.x tudvalevőleg hibás kódot generálnak, a 3.1-nek és a 3.2-nek is
- vannak problémái, a 3.3-nak kisebb hibái. PowerPC-n használj 4.x+ verziót.
+ <emphasis role="bold">GNU make</emphasis> 3.81 vagy újabb
+</para></listitem>
+<listitem><para>
+ <emphasis role="bold">binutils</emphasis> - GNU binutils 2.11 vagy újabb
+ biztosan működik.
+</para></listitem>
+<listitem><para>
+ <emphasis role="bold">fordító</emphasis> - Mi leginkább gcc-t használunk,
+ a javasolt verziók x86-on a 2.95 és 3.4+. PowerPC-n használj 4.x+-ot.
+ icc 10.1+ is működik.
</para></listitem>
<listitem><para>
<emphasis role="bold">Xorg/XFree86</emphasis> - a javasolt verzió a
@@ -42,9 +50,6 @@ a dokumentációt és megtalálod a válaszokat.
működik nélküle is.
</para></listitem>
<listitem><para>
- <emphasis role="bold">GNU make</emphasis> 3.81
-</para></listitem>
-<listitem><para>
<emphasis role="bold">FreeType</emphasis> 2.0.9 vagy későbbi szükséges,
valamint egy betűtípus is az OSD-hez és a feliratokhoz.
</para></listitem>
diff --git a/DOCS/xml/hu/ports.xml b/DOCS/xml/hu/ports.xml
index 82ff527396..18452fbaaf 100644
--- a/DOCS/xml/hu/ports.xml
+++ b/DOCS/xml/hu/ports.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r28148 -->
+<!-- synced with r28432 -->
<chapter id="ports" xreflabel="Ports">
<title>Portok</title>
-<sect1 id="linux">
-<title>Linux</title>
-
<para>
-Az elsődleges fejlesztési platform a Linux x86-on, ennek ellenére az
-<application>MPlayer</application> számos más Linux által támogatott architektúrán
-fut.
-Bináris csomagok számos forrásból elérhetőek, de ezek közül <emphasis role="bold">
-egyik sem támogatott a fejlesztők által</emphasis>, ezért ha bármi gond adódik velük,
-akkor a bináris csomag készítőjével kell felvenni a kapcsolatot, nem pedig velünk.
+Az <application>MPlayer</application> bináris csomagjai számos forrásból elérhetőek.
+Van egy listánk a számos rendszerhez elkészített
+<ulink url="http://www.mplayerhq.hu/design7/projects.html#unofficial_packages">nem hivatalos csomagokról</ulink>
+a weboldalunkon.
+Azonban <emphasis role="bold">ezen csomagok közül egyikhez sem nyújtunk támogatást</emphasis>.
+A problémáidat a szerzőknek jelezd, ne nekünk.
</para>
+<sect1 id="linux">
+<title>Linux</title>
+
<!-- ********** -->
<sect2 id="debian">
@@ -45,13 +45,6 @@ A forrás fa kitakarításához add ki a következő parancsot:
Rendszergazdaként a szokásos módszerrel telepíthető a <filename>.deb</filename> csomag:
<screen>dpkg -i ../mplayer_<replaceable>verziószám</replaceable>.deb</screen>
</para>
-
-<para>
-Christian Marillat már régóta készít nem-hivatalos Debian csomagokat
-az <application>MPlayerből</application>, <application>MEncoderből</application> és
-a bináris codec csomagokból, melyek akár az apt-get segítségével is telepíthetők
-<ulink url="http://www.debian-multimedia.org/">a weboldaláról</ulink>.
-</para>
</sect2>
<!-- ********** -->
@@ -60,25 +53,17 @@ a bináris codec csomagokból, melyek akár az apt-get segítségével is telepÃ
<title>RedHat csomagolás</title>
<para>
-Dominik Mierzejewski tartja karban az <application>MPlayer</application>
-hivatalos RPM csomagjait a Fedora-hoz és CentOS/RHEL-hez. Elérhetőek
-a <ulink url="http://rpmfusion.org/">RPMFusion repository</ulink>-ban.
-</para>
+Az RPM csomag elkészítéséhez add ki a következő parancsot az
+<application>MPlayer</application> forrás könyvtárában:
-<para>
-A Mandrake/Mandriva RPM csomagok a
-<ulink url="http://plf.zarb.org/">P.L.F.</ulink> oldalán találhatóak.
-A SUSE régen az <application>MPlayer</application> egy csonkított verzióját tartalmazta,
-de az utóbbi kiadásokból már kiszedték. SuSE-val működő csomagok a
-<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>
-oldalon találhatóak.
+<screen>FIXME: megfelelő parancs beszúrása</screen>
</para>
</sect2>
<!-- ********** -->
-<sect2 id="arm">
-<title>ARM</title>
+<sect2 id="arm_linux">
+<title>ARM Linux</title>
<para>
Az <application>MPlayer</application> működik ARM CPU-val rendelkező PDA-kon is,
@@ -111,11 +96,6 @@ egyszerűbben fordíthatóak le, mint a mi nyers forrásaink.
</para>
<para>
-A fordításhoz szükséged lesz GNU make-ra (gmake, mivel a natív BSD make más
-szintaxist használ) és a binutils valamelyik frissebb verziójára.
-</para>
-
-<para>
Ha az <application>MPlayer</application> nem találja a
<filename>/dev/cdrom</filename>-ot vagy a <filename>/dev/dvd</filename>-t,
csinálj egy symlinket:
@@ -189,6 +169,13 @@ fordítás.
<title>Solaris</title>
<para>
+A Solarisnak még mindig rossz, POSIX-inkompatibilis rendszer eszközei és shell-je
+van az alapértelmezett helyeken. Amíg nem tesznek egy bölcs lépést a számítástechnikai
+kőkorszak leváltására, addig a <filename>/usr/xpg4/bin</filename> könyvtárat
+hozzá kell adnod a <systemitem>PATH</systemitem>-hoz.
+</para>
+
+<para>
Az <application>MPlayer</application> Solaris 2.6 vagy újabb rendszereken működik.
A SUN audió vezérlőjét a <option>-ao sun</option> kapcsolóval használhatod.
</para>
@@ -224,16 +211,6 @@ is.
</itemizedlist>
<para>
-A fordításhoz GNU <application>make</application>-re lesz szükséged
-(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), natív
-Solaris make nem jó. Egy tipikus hiba, ha mégis azzal probálkozol:
-<screen>
-% /usr/ccs/bin/make
-make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
-</screen>
-</para>
-
-<para>
Solaris SPARC-on GNU C/C++ fordító is kell; az nem számít, hogy
assemblerrel vagy nélküle van.
</para>
@@ -338,34 +315,6 @@ hogy le tudsz játszani 4 GB-nál nagyobb DVD lemezt:
<!-- ********** -->
-<sect2 id="irix">
-<title>IRIX</title>
-
-<para>
-A GNU install programot kell feltelepítened, és (ha nem tetted bele a globális
-path-ba) megadni a helyét:
-<screen>
-./configure --with-install=<replaceable>/eleresi/ut/es/install_neve</replaceable>
-</screen>
-</para>
-
-<para>
-Lehet az alap IRIX 6.5-ös install-t is használni, de ebben az esetben
-a <filename>Makefile</filename> egy kis kézi átírásra szorul. A következő
-sort kell átírni:
-<programlisting>
-$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-</programlisting>
-erre:
-<programlisting>
-$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-</programlisting>
-ezután símán fordíts és telepíts.
-</para>
-</sect2>
-
-<!-- ********** -->
-
<sect2 id="hp-ux">
<title>HP-UX</title>
@@ -377,8 +326,8 @@ egyből kész programot kapsz. A következő információk a HOGYAN-ból lettek
</para>
<para>
-GCC 3.4.0 vagy későbbire lesz szükséged, GNU make 3.80 vagy újabb és SDL 1.2.7 vagy
-újabb. A HP cc nem tud működő programot fordítani, a korábbi GCC verziók pedig hibásak.
+GCC 3.4.0 vagy későbbire lesz szükséged és SDL 1.2.7 vagy újabb. A HP cc nem
+tud működő programot fordítani, a korábbi GCC verziók pedig hibásak.
Az OpenGL funkcionalításhoz telepítened kel a Mesa-t és így a gl és gl2 videó kimeneti
vezérlőknek működniük kell, bár nagyon lassúak is lehetnek a CPU sebességétől függően.
@@ -489,14 +438,6 @@ vagy ha POWER5-ön forgatsz, GCC 4.0 szükséges.
</para>
<para>
-Győződj meg róla, hogy a GNU make-et használod
-(<filename>/opt/freeware/bin/gmake</filename>) az
-<application>MPlayer</application> forgatásához, mivel problémákba
-fogsz ütközni, ha a <filename>/usr/ccs/bin/make</filename>
-fájlt használod.
-</para>
-
-<para>
A CPU detektálás még fejlesztés alatt áll.
A következő architektúrákat teszteltük:
</para>
@@ -549,6 +490,23 @@ Messages in the GTK-2 interface will be broken then.<!--
</listitem>
</itemizedlist>
</sect2>
+
+<!-- ********** -->
+
+<sect2 id="qnx">
+<title>QNX</title>
+
+<para>
+Le kell töltened és telepítened kell az SDL-t a QNX-re. Majd futtasd az
+<application>MPlayer</application>t a <option>-vo sdl:driver=photon</option>
+és <option>-ao sdl:nto</option> kapcsolókkal, így gyors lesz.
+</para>
+
+<para>
+A <option>-vo x11</option> kimenet még lassabb lesz, mint Linux-on,
+mivel a QNX-nek csak X <emphasis>emulációja</emphasis> van, ami nagyon lassú.
+</para>
+</sect2>
</sect1>
@@ -695,11 +653,9 @@ használatával kapcsolatos utasítások és fájlok megtalálhatóak a
<title><application>MinGW</application></title>
<para>
-A <application>MinGW</application> egy olyan verziójának telepítése,
-ami le tudja fordítani az <application>MPlayer</application>t, régebben eléggé
-trükkös volt, de most már simán megy. Csak telepítsd a <application>MinGW</application>
-3.1.0 vagy későbbi és az MSYS 1.0.9 vagy későbbi verzóját és az MSYS telepítés utáni
-beállító programjának mondd meg, hogy telepítve van a <application>MinGW</application>.
+A <application>MinGW</application> 3.1.0 vagy későbbi és az MSYS 1.0.9 vagy későbbi
+verziójára lesz szükséged. Az MSYS postinstall-jának mondd meg, hogy telepítve van
+a <application>MinGW</application>.
</para>
<para>
@@ -882,71 +838,4 @@ már.
</sect2>
</sect1>
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="exotic_platforms">
-<title>Egzotikus platformok</title>
-
-<para>
-Az <application>MPlayer</application> számos egzotikus platformon fut,
-de a platform-specifikus változtatások nagy része nem lett beleolvasztva
-a fő forrás fába.
-A fordítási leíráshoz nézd meg a rendszer-specifikus dokumentációt.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="qnx">
-<title>QNX</title>
-
-<para>
-Le kell töltened és telepítened kell az SDL-t a QNX-re. Majd futtasd az
-<application>MPlayer</application>t a <option>-vo sdl:driver=photon</option>
-és <option>-ao sdl:nto</option> kapcsolókkal, így gyors lesz.
-</para>
-
-<para>
-A <option>-vo x11</option> kimenet még lassabb lesz, mint Linux-on,
-mivel a QNX-nek csak X <emphasis>emulációja</emphasis> van, ami nagyon lassú.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amiga">
-<title>Amiga/MorphOS (GeekGadgets)</title>
-<para>
-Az emberek a
-<ulink url="http://www.amigasoft.net">www.amigasoft.net</ulink>-nél
-készítettek csomagokat az aktuális <application>MPlayer</application>ből
-és <application>MEncoder</application>ből.
-</para>
-
-<para>
-Nicholas Det (Genesi) sikeresen átültette az <application>MPlayer</application>t
-MorphOS alá. Sajnálatos módon csak a 0.90-es széria van kész.
-</para>
-
-<para>
-Letölthető a <ulink url="http://www.morphzone.org/">MorphZone</ulink>-ról:
-<itemizedlist>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
- <application>MPlayer</application> 0.91 bináris</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
- <application>MPlayer</application> 0.91 forrás</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
- <application>MEncoder</application> 1.0pre3 bináris</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect2>
-</sect1>
-
</chapter>
diff --git a/DOCS/xml/it/codecs.xml b/DOCS/xml/it/codecs.xml
deleted file mode 100644
index 81ac7131a6..0000000000
--- a/DOCS/xml/it/codecs.xml
+++ /dev/null
@@ -1,264 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r27852 -->
-<chapter id="codecs">
-<title>Codec</title>
-
-<para>
-La <ulink url="../../codecs-status.html">tabella di stato dei codec</ulink> è
-un elenco completo di tutti i codec supportati, aggiornata giornalmente.
-Nella <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">sezione download</ulink>
-del nostro sito sono disponibili alcuni codec binari da usare con MPlayer.
-</para>
-
-<para>
-Se hai un codec Win32 che non è ancora supportato, leggi per favore
-l'HOWTO sull'<link linkend="codec-importing">importazione codec</link>
-ed aiutaci ad aggiungerne il decodificatore relativo.
-</para>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-codecs">
-<title>Codec audio</title>
-
-
-<sect2 id="swac3">
-<title>Decodifica software AC-3</title>
-
-<para>
-Questo è il decodificatore di default usato per file con audio AC-3.
-</para>
-
-<para>
-Il decodificatore AC-3 può creare mix audio in uscita per 2, 4, o 6
-altoparlanti.
-Quando è configurato per 6 altoparlanti, questo decodificatore fornisce uscite
-separate di tutti i canali AC-3 verso il driver audio, permettendo un'esperienza
-completa "surround sound" senza il decodificatore esterno AC-3 richiesto per
-usare il codec hwac3.
-</para>
-
-<para>
-Usa l'opzione <option>-channels</option> per impostare il numero dei canali di
-uscita. Usa <option>-channels 2</option> per un sottomissaggio stereo. Per un
-sottomissaggio a 4 canali (uscite Frontale sinistro, Frontale destro, Surround
-sinistro, Surround destro), usa <option>-channels 4</option>. In questo caso,
-un qualsiasi canale centrale verrà miscelato in parti uguali nei canali
-frontali.
-<option>-channels 6</option> farà uscire tutti i canali AC-3 così come sono
-stati codificati - nell'ordine, sinistro, destro, Surround sinistro, Surround
-destro, centrale e LFE.
-</para>
-
-<para>
-Il numero di default dei canali di uscita è 2.
-</para>
-
-<para>
-Per usare più di 2 canali, ti servirà OSS, e avere una scheda audio che
-supporti l'appropriato numero di canali di uscita attraverso l'ioctl
-SNDCTL_DSP_CHANNELS. Un esempio di un diver utilizzabile è emu10k1
-(usato dalle schede Soundblaster Live!) dall'agosto 2001 o dopo (anche il CVS
-ALSA si suppone funzioni).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwac3">
-<title>Decodifica hardware AC-3</title>
-
-<para>
-Ti serve una scheda audio capace di decodificare AC-3, con uscita digitale
-(S/PDIF). Il driver della scheda deve supportare correttamente il formato
-AFMT_AC3 (C-Media lo fa). Collega il tuo decodificatore AC-3 all'uscita S/PDIF,
-e usa l'opzione <option>-ac hwac3</option>. E' sperimentale ma si sa che
-funziona con schede C-Media e driver Soundblaster Live! + ALSA (ma non OSS) e
-schede di decodifica MPEG DXR3/Hollywood+.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwmpa">
-<title>Codec hardware audio MPEG</title>
-
-<para>
-This codec (selected by <option>-ac hwmpa</option>) passes through MPEG audio
-packets to hardware decoders, such as the ones found in full-featured DVB cards
-and DXR2 adapters.
-Don't use it in combination with any other audio output device
-(such as OSS and ALSA) that isn't able to decode it (you will hear
-only white noise).
-Questo codec (selezionato con <option>-ac hwmpa</option>) trasferisce
-direttamente i pacchetti audio MPEG ai decodificatori audio, come quelli che si
-trovano nelle schede DVB full-option e negli adattatori DXR2.
-Non usarlo in combinazione con alcun altro dispositivo di uscita audio
-(come OSS o ALSA) che non sia capace di decodificarlo (sentirai solo rumore
-bianco).
-</para>
-</sect2>
-
-
-</sect1>
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="codec-importing">
-<title>HOWTO sull'importazione dei codec Win32</title>
-
-<!-- TODO: a short paragraph of text would be nice here... -->
-
-<sect2 id="vfw-codecs">
-<title>Codec VFW</title>
-
-<para>
-VFW (Video for Windows) sono le vecchie API Video per Windows. I loro codec
-hanno un'estensione <filename>.DLL</filename> o (raramente)
-<filename>.DRV</filename>. Se <application>MPlayer</application> non riesce a
-riprodurre il tuo AVI emettendo un messaggio del tipo:
-<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
-significa che il tuo AVI è codificato con un codec che ha HFYU come fourcc
-(HFYU = HuffYUV codec, DIV3 = DivX Low Motion, etc.). Ora che lo sai, devi
-scoprire quale DLL di Windows viene caricata per riprodurre quel file. Nel
-nostro caso il <filename>system.ini</filename> contiene questa informazione in
-una riga siffatta:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Perciò ti serve il file <filename>huffyuv.dll</filename>. Nota che i codec
-audio vengono specificati con il prefisso MSACM:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-Questo è il codec MP3. Ora che hai tutte le informazioni necessarie
-(fourcc, file del codec, AVI di esempio), invia via mail la tua richiesta di
-supporto per il codec, e carica questi file sul sito FTP:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;nomecodec&gt;</replaceable>/</systemitem>
-</para>
-
-<note><para>
-In Windows NT/2000/XP cerca queste informazioni nel registro,
-per es. cerca "VIDC.HFYU". Per scoprire come farlo, guarda il vecchio metodo
-per DirectShow più sotto.
-</para></note>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="dshow-codecs">
-<title>Codec DirectShow</title>
-
-<para>
-DirectShow sono le API Video più recenti, che sono ancora peggio delle
-precedenti. Le cose sono più difficili con le DirectShow, dato che
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> non contiene le informazioni che servono,
- sono invece scritte nel registro e
-</para></listitem>
-<listitem><para>
- bisogna sapere il GUID del codec.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Nuovo Metodo:</title>
-<para>
-Usando <application>Microsoft GraphEdit</application> (veloce)
-</para>
-<step><para>
- Ottieni <application>GraphEdit</application> o dall'SDK delle DirectX o da
- <ulink url="http://doom9.net">doom9</ulink>.
-</para></step>
-<step><para>
- Avvia <command>graphedit.exe</command>.
-</para></step>
-<step><para>
- Dal menu scegli
- <!-- TODO: mettere le vodi del menu dalla versione it di graphedit -->
- <menuchoice><guimenu>Graph</guimenu>
- <guisubmenu>Insert Filters</guisubmenu></menuchoice>.
-</para></step>
-<step><para>
- Espandi <systemitem>DirectShow Filters</systemitem>.
-</para></step>
-<step><para>
- Seleziona il nome giusto del codec e espandilo.
-</para></step>
-<step><para>
- Nella voce <systemitem>DisplayName</systemitem> guarda il testo tra
- parentesi graffe dopo il backslash e segnatelo (cinque blocchi separati da
- trattini, il GUID).
-</para></step>
-<step><para>
- Il codec binario è il file specificato nella voce
- <systemitem>Filename</systemitem>.
-</para></step>
-</procedure>
-
-<note><para>
-Se non c'è alcun <systemitem>Filename</systemitem> e
-<systemitem>DisplayName</systemitem> contiene qualcosa del tipo
-<systemitem>device:dmo</systemitem>, allora è un codec DMO.
-</para></note>
-
-<procedure>
-<title>Vecchio Method:</title>
-<para>
-Fai un grosso respiro e inizia a cercare nel registro...
-</para>
-<step><para>
- Avvia <command>regedit</command>.
-</para></step>
-<step><para>
- Premi <keycombo><keycap>Ctrl</keycap><keycap>T</keycap></keycombo>, disabilita
- le prime due opzioni, e abilita la terza. Scrivi il fourcc del codec (per es.
- <userinput>TM20</userinput>).
-</para></step>
-<step><para>
- Dovresti trovare un campo che contiene il percorso e il nome del file
- (per es. <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
-</para></step>
-<step><para>
- Ora che sai il file, ci serve il GUID. Prova a fare di nuovo la ricerca, ma
- ora cerca il nome del codec, e non più il fourcc. Il suo nome si può
- scoprire quando Media Player sta riproducendo il file, controllando
- <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu>
- <guimenuitem>Advanced</guimenuitem></menuchoice>.
- Se non c'è, sei sfortunato. Prova ad indovinarlo (per es. cerca TrueMotion).
-</para></step>
-<step><para>
- Se trovi il GUID, dovresti trovare un campo
- "<guilabel>FriendlyName</guilabel>" e un "<guilabel>CLSID</guilabel>".
- Segnati il CLSID di 16 caratteri, questo è il GUID che ci serve.
-</para></step>
-</procedure>
-
-<note><para>
-Se la ricerca fallisce, prova ad abilitare tutte le opzioni. Puoi avere dei
-falsi positivi, ma potresti essere fortunato...
-</para></note>
-
-<para>
-Ora che hai tutte le informazioni necessarie (fourcc, GUID, file del codec, AVI
-di esempio), invia via mail la tua richiesta di supporto per il codec, e carica
-questi file sul sito FTP:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;nomecodec&gt;</replaceable>/</systemitem>
-</para>
-
-<para>
-Se ti garba aggiungere un codec per conto tuo, leggi
-<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
-</para>
-
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/it/documentation.xml b/DOCS/xml/it/documentation.xml
index 73bd3a45ef..24d7c8034f 100644
--- a/DOCS/xml/it/documentation.xml
+++ b/DOCS/xml/it/documentation.xml
@@ -171,15 +171,12 @@ possono esser distribuiti nei termini della GNU General Public License Version 2
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&codecs.xml;
-&video.xml;
&tvinput.xml;
&radio.xml;
-
+&video.xml;
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
&skin.xml;
diff --git a/DOCS/xml/it/encoding-guide.xml b/DOCS/xml/it/encoding-guide.xml
index 6adebf4869..1c6850fd99 100644
--- a/DOCS/xml/it/encoding-guide.xml
+++ b/DOCS/xml/it/encoding-guide.xml
@@ -3578,7 +3578,7 @@ and development advancements, you may get very different results.
<systemitem class="library">x264</systemitem> is a free library for
encoding H.264/AVC video streams.
Before starting to encode, you need to
-<link linkend="codec-x264">set up <application>MEncoder</application> to support it</link>.
+<link linkend="x264">set up <application>MEncoder</application> to support it</link>.
</para>
<!-- ********** -->
diff --git a/DOCS/xml/it/faq.xml b/DOCS/xml/it/faq.xml
index d657417a14..bb30693a60 100644
--- a/DOCS/xml/it/faq.xml
+++ b/DOCS/xml/it/faq.xml
@@ -236,9 +236,8 @@ Ho dei problemi a leggere dei file col codec ... . Posso usarli?
<answer><para>
Controlla la
<ulink url="../../codecs-status.html">tabella di stato dei codec</ulink>, se
-non contiene il tuo codec, leggi la
-<link linkend="codecs">documentazione sui codec</link>, in particolare
-l'HOWTO sull'<link linkend="codec-importing">importazione codec</link> e
+non contiene il tuo codec, leggi
+l'HOWTO sull'<ulink url="../../tech/win32-codec-howto">importazione codec Win32</ulink> e
contattaci.
</para></answer>
</qandaentry>
diff --git a/DOCS/xml/it/install.xml b/DOCS/xml/it/install.xml
index 8ee94c052f..c548a2e3cd 100644
--- a/DOCS/xml/it/install.xml
+++ b/DOCS/xml/it/install.xml
@@ -407,7 +407,7 @@ codificato in Xvid. Viene usata di default
<!-- ********** -->
-<sect2 id="codec-x264">
+<sect2 id="x264">
<title><systemitem class="library">x264</systemitem></title>
<para>
diff --git a/DOCS/xml/pl/bugreports.xml b/DOCS/xml/pl/bugreports.xml
index 63e8a622fc..5f71aefe87 100644
--- a/DOCS/xml/pl/bugreports.xml
+++ b/DOCS/xml/pl/bugreports.xml
@@ -160,7 +160,7 @@ z Subversion</emphasis> do zgłaszania błędów. Dotyczy to głównie pakietów
<application>MPlayera</application>. Instrukcje dotyczÄ…ce Subversion znajdujÄ… siÄ™
na dole <ulink url="http://www.mplayerhq.hu/dload.html">tej strony</ulink>
lub w pliku README. Jeżeli problem dalej występuje prosimy sprawdzić listę
-<link linkend="bugs">znanych błędów</link> i resztę dokumentacji. Jeżeli problem
+znanych błędów i resztę dokumentacji. Jeżeli problem
nie jest znany lub rozwiązany przez naszą dokumentację prosimy zgłosić błąd.
</para>
diff --git a/DOCS/xml/pl/bugs.xml b/DOCS/xml/pl/bugs.xml
deleted file mode 100644
index 9db2e98c72..0000000000
--- a/DOCS/xml/pl/bugs.xml
+++ /dev/null
@@ -1,226 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r21686 -->
-<!-- Opiekun: Cobra -->
-
-<appendix id="bugs">
-<title>Znane błędy</title>
-
-
-<sect1 id="bugs-special">
-<title>Specjalne systemowe/specyficzne dla procesora błędy/problemy</title>
-
-<itemizedlist>
-<listitem>
- <para>SIGILL (sygnał 4) na P3 przy jądrze 2.2.x:</para>
- <para>Problem: jądro 2.2.x nie ma prawidłowej (działającej) obsługi SSE</para>
- <para>RozwiÄ…zanie: aktualizacja jÄ…dra do 2.4.x</para>
- <para>Obejście: <command>./configure --disable-sse</command></para>
-</listitem>
-
-<listitem>
- <para>Ogólny SIGILL (sygnał 4):</para>
- <para>
- Problem: skompilowałeś i próbowałeś uruchomić
- <application>MPlayera</application> na dwóch różnych maszynach
- (np. skompilowałeś na P3, a próbowałeś uruchomić na Celeronie)
- </para>
- <para>
- RozwiÄ…zanie: kompiluj <application>MPlayera</application> na tej samej
- maszynie, na której chcesz go używać!
- </para>
- <para>
- Obejście: Możesz o tym wszystkim zapomnieć, jeśli skonfigurujesz
- <application>MPlayera</application> z opcjÄ…
- <option>--enable-runtime-cpudetection</option> lub możesz wyłączyć
- pewnie zestawy instrukcji procesora za pomocÄ… odpowiednich opcji
- (np. <option>--disable-mmx</option>, <option>--disable-3dnow</option>, itd.).
- </para>
-</listitem>
-
-<listitem>
- <para>Zwisy podczas zapisywania strumieni:</para>
- <para>Problem: zrzut pamięci</para>
- <para>Rozwiązanie: Nie panikuj. Upewnij się, że wiesz, gdzie jest ręcznik.</para>
-</listitem>
-</itemizedlist>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="bugs-audio">
-<title>Różne problemy z synchronizacją A-V i dźwiękiem</title>
-
-<sect2 id="bugs-delay-all">
-<title>Ogólne opóźnienie audio lub "dławiący się" dźwięk (występuje przy
- wszystkich lub wielu plikach)</title>
-
-<itemizedlist>
-<listitem><para>
- najczęściej: zepsuty sterownik dźwięku! - spróbuj użyć innych sterowników, np.
- emulacji OSS ALSA za pomocą opcji <option>-ao oss</option>. Spróbuj także
- <option>-ao sdl</option>. Opcje te czasem pomagają. Jeśli Twój plik odtwarza
- się bez problemów z opcją <option>-nosound</option>, to możesz być pewien, że
- to wina karty dźwiękowej lub jej sterownika.
-</para></listitem>
-
-<listitem>
- <para>problemy z buforem audio (źle wykryty rozmiar bufora)</para>
- <para>
- Obejście: opcja <application>MPlayera</application> <option>-abs</option>
- </para>
-</listitem>
-
-<listitem><para>
- problemy z częstotliwością próbkowania - być może Twoja karta nie obsługuje
- częstotliwości próbkowania użytych w Twoich plikach - spróbuj filtru resample
- (<option>-af resample=...</option>)
-</para></listitem>
-
-<listitem>
- <para>powolna maszyna (procesor lub karta graficzna)</para>
- <para>
- spróbuj opcji <option>-vo null</option>, jeśli odtwarza dobrze, oznacza to,
- że masz zbyt wolną kartę graficzną lub jej sterownik
- </para>
- <para>
- Obejście: kup szybszą kartę lub poczytaj tę dokumentację by dowiedzieć się
- jak przyspieszyć odtwarzanie
- </para>
- <para>Spróbuj również opcji<option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-delay-specific">
-<title>Opóźnienia/desynchronizacja dźwięku specyficzne dla jednego lub kilku plików</title>
-
-<itemizedlist>
-<listitem>
- <para>zły plik</para>
- <para>
- Obejścia:
- <itemizedlist>
- <listitem>
- <para>
- opcje <option>-ni</option> lub <option>-nobps</option>
- (dla plików bez przeplotu lub uszkodzonych)
- </para>
- <para>i/lub</para>
- </listitem>
- <listitem>
- <para>
- opcja <option>-mc 0</option>
- (wymagana dla plików ze złym przeplotem dźwięku VBR)
- </para>
- <para>i/lub</para>
- </listitem>
- <listitem>
- <para>
- opcja <option>-delay</option> lub klawisze <keycap>+</keycap>/<keycap>-</keycap>
- w trakcie odtwarzania do regulacji opóźnienia
- </para>
- </listitem>
- </itemizedlist>
- Jeśli żadne z wymienionych rozwiązań nie przynoszą efektu, przyślij nam plik, a
- my to sprawdzimy (i naprawimy).
- </para>
-</listitem>
-
-<listitem>
- <para>Twoja karta dźwiękowa nie obsługuje próbkowania 48kHz</para>
- <para>
- Obejście: kup lepszą kartę... lub spróbuj zmniejszyć liczbę klatek na sekundę
- o 10% (używając opcji <option>-fps 27</option> dla filmu o 30 klatkach
- na sekundę) lub użyj filtru resample
- </para>
-</listitem>
-
-<listitem>
- <para>
- powolna maszyna (jeśli A-V nie jest w okolicach 0 i ostatnia liczba w
- statusie zwiększa się)
- </para>
- <para>Obejście: opcja <option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nosound">
-<title>Zupełny brak dźwięku</title>
-
-<itemizedlist>
-<listitem>
- <para>Twój plik używa nieobsługiwanego kodeka audio</para>
- <para>Rozwiązanie: poczytaj dokumentację i pomóż nam dodać jego obsługę</para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nopicture">
-<title>Zupełny brak obrazu (jedynie puste, szare lub zielone okno)</title>
-
-<itemizedlist>
-<listitem>
- <para>Twój plik używa nieobsługiwanego kodeka video</para>
- <para>Rozwiązanie: poczytaj dokumentację i pomóż nam dodać jego obsługę</para>
-</listitem>
-
-<listitem>
- <para>
- automatycznie wybrany kodek nie potrafi dekodować pliku, spróbuj użyć innego
- za pomocÄ… opcji <option>-vc</option> lub <option>-vfm</option>
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-video">
-<title>Problemy z wyjściem video</title>
-
-<para>
-Pierwsza uwaga: opcje <option>-fs -vm</option> i <option>-zoom</option> nie sÄ…
-obsługiwane przez wszystkie sterowniki. Dodatkowo, nie wszystkie sterowniki
-obsługują sprzętowe skalowanie/powiększanie.
-</para>
-
-<formalpara>
-<title>Migotanie OSD/napisów</title>
-<para>
-<itemizedlist>
-<listitem><para>
- sterownik x11: przykro nam, ale nie da się tego teraz naprawić
-</para></listitem>
-<listitem><para>
- sterownik xv: użyj opcji <option>-double</option>
-</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-<formalpara>
-<title>Zielony obraz przy użyciu mga_vid
- (<option>-vo mga</option> / <option>-vo xmga</option>)</title>
-<para>
-<itemizedlist>
-<listitem><para>
- mga_vid źle wykrył ilość pamięci RAM na Twojej karcie, przeładuj
- go używając opcji <option>mga_ram_size</option>.
-</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-</sect2>
-</sect1>
-
-</appendix>
diff --git a/DOCS/xml/pl/codecs.xml b/DOCS/xml/pl/codecs.xml
deleted file mode 100644
index 4944d8659e..0000000000
--- a/DOCS/xml/pl/codecs.xml
+++ /dev/null
@@ -1,718 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r21748 -->
-<!-- Opiekun: Boski -->
-<chapter id="codecs">
-<title>Obsługiwane kodeki</title>
-
-<sect1 id="video-codecs">
-<title>Kodeki video</title>
-
-<para>
-Zajrzyj do
-<ulink url="../../codecs-status.html">tabeli stanu kodeków</ulink>, żeby
-zobaczyć kompletną, codziennie generowaną listę. Niektóre
-kodeki są dostępne do pobrania z naszej strony domowej. Ściągniesz je ze
-<ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">strony z kodekami</ulink>.
-</para>
-
-<para>
-Najważniejsze ze wszystkich:
-</para>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) i
- <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
-</para></listitem>
-<listitem><para>
- natywne dekodery dla <emphasis role="bold">wszystkich wariantów DivX,
- 3ivX, Microsoft MPEG-4</emphasis> v1, v2 i innych rodzajów MPEG-4
-</para></listitem>
-<listitem><para>
- natywne dekodery dla <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>) i dekodery Win32 DLL
- dla <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>).
- Oba używane w plikach <filename>.wmv</filename>
-</para></listitem>
-<listitem><para>
- natywny dekoder <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis>
-</para></listitem>
-<listitem><para>
- natywny dekoder <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis>
-</para></listitem>
-<listitem><para>
- dekoder <emphasis role="bold">3ivX</emphasis> w wersji 1 i 2
-</para></listitem>
-<listitem><para>
- Kodeki Cinepak i <emphasis role="bold">Intel Indeo</emphasis>
- (3.1,3.2,4.1,5.0)
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 i inne formaty
- sprzętowe
-</para></listitem>
-<listitem><para>
- VIVO 1.0, 2.0, I263 i inne warianty
- <emphasis role="bold">H.263(+)</emphasis>
-</para></listitem>
-<listitem><para>
- FLI/FLC
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">RealVideo 1.0 i 2.0</emphasis> przy użyciu
- <systemitem class="library">libavcodec</systemitem> i kodeki
- <emphasis role="bold">RealVideo 3.0 i 4.0</emphasis> używające bibliotek
- RealPlayer
-</para></listitem>
-<listitem><para>
- natywny dekoder HuffYUV
-</para></listitem>
-<listitem><para>
- Różne stare proste formaty podobne do RLE
-</para></listitem>
-</itemizedlist>
-
-<para>
-Jeżeli masz niewymienione tutaj kodeki Win32, które nie są jeszcze
-obsługiwane, zajrzyj do działu
-<link linkend="codec-importing">importowanie kodeków Win32-HOWTO</link>
-i pomóż nam dodać ich obsługę.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
-<title>FFmpeg/libavcodec</title>
-
-<para>
-<ulink url="http://ffmpeg.org">FFmpeg</ulink> zawiera
-<systemitem class="library">libavcodec</systemitem>, wiodącą bibliotekę kodeków
-audio i video mającą otwarte źródła.
-Może ona dekodować większość formatów multimedialnych, zazwyczaj z większą
-prędkością niż alternatywy, a docelowo chce obsługiwać je wszystkie.
-Jest to domyślny dekoder dla większości kodeków obsługiwanych przez
-<application>MPlayera</application>.
-Kodowanie do niektórych formatów również jest możliwe i obsługiwane przez
-<application>MEncodera</application>.
-</para>
-
-<para>
-Pełną listę obsługiwanych kodeków
-<ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
-i <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink>
-znajdziesz na stronie FFmpeg.
-</para>
-
-<para>
-<application>MPlayer</application> zawiera
-<systemitem class="library">libavcodec</systemitem>.
-Po prostu uruchom <filename>./configure</filename> i kompiluj.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xvid">
-<title>Xvid</title>
-
-<para>
-<ulink url="http://www.xvid.org">Xvid</ulink> jest wolnym, kompatybilnym
-z MPEG-4 ASP, kodekiem video z możliwościami kodowania dwuprzebiegowego
-i pełną obsługą MPEG-4 ASP, dlatego jest dużo bardziej efektywny niż dobrze
-znany kodek DivX.
-ÅÄ…czy bardzo dobrÄ… jakość video i dobre osiÄ…gi dziÄ™ki optymalizacjami kodu dla
-większości nowoczesnych procesorów.
-</para>
-
-<para>
-Zaczął się jako odłam kodeka OpenDivX.
-Stało się to gdy ProjectMajo zmienił OpenDivX na zamknięte DivX4.
-W rezultacie tej decyzji rozeźleni ludzie spoza ProjectMayo,
-którzy pracowali nad OpenDivX, rozpoczęli projekt Xvid. Tak więc oba projekty
-majÄ… to samo pochodzenie.
-</para>
-
-<para>
-Zauważ, że Xvid nie jest konieczny do odtwarzania video zakodowanego przy
-pomocy Xvid. Domyślnie używana jest biblioteka
-<systemitem class="library">libavcodec</systemitem>, bo jest szybsza.
-</para>
-
-<procedure>
-<title>Instalacja <systemitem class="library">Xvid</systemitem></title>
-<para>
- Jak większość otwartego oporgramowania dostępny jest w dwóch wersjach:
- <ulink url="http://www.xvid.org/downloads.html">oficjalnych wydań</ulink>
- i wersji CVS.
- Wersja CVS jest zazwyczaj wystarczająco stablina by jej używać, jako że
- zazwyczaj ma poprawki do błędów występujących w wydaniach.
- Tak należy nakłonić <systemitem class="library">Xvid</systemitem> CVS do
- pracy z <application>MEncoderem</application> (będziesz potrzebował
- przenajmniej <application>autoconf</application> 2.50,
- <application>automake</application> i <application>libtool</application>):
-</para>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
-</para></step>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
-</para></step>
-<step><para>
- <screen>cd xvidcore/build/generic</screen>
-</para></step>
-<step><para>
- <screen>./bootstrap.sh</screen>
-</para></step>
-<step><para>
- <screen>./configure</screen>
- Możesz potrzebować dodać jakieś opcje (przejrzyj wyjście
- polecenia <command>./configure --help</command>)
-</para></step>
-<step><para>
- <screen>make &amp;&amp; make install</screen>
-</para></step>
-<step><para>
- Jeżeli użyłeś opcji <option>--enable-divxcompat</option>,
- skopiuj <filename>../../src/divx4.h</filename> do
- <filename class="directory">/usr/local/include/</filename>.
-</para></step>
-<step><para>
- Przekompiluj <application>MPlayera</application> z opcjami
- <option>--with-xvidlibdir=<replaceable>/ścieżka/do/</replaceable>libxvidcore.a</option>
- <option>--with-xvidincdir=<replaceable>/ścieżka/do/</replaceable>xvid.h</option>.
-</para></step>
-</procedure>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="codec-x264">
-<title><systemitem class="library">x264</systemitem></title>
-
-<sect3 id="codec-x264-whatis">
-<title>Co to jest <systemitem class="library">x264</systemitem>?</title>
-
-<para>
-<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
-jest biblioteką służącą do tworzenia strumieni video H.264.
-Nie jest w 100% ukończona, ale ma przynajmniej pewną obsługę większości
-mających wpływ na jakość możliwości H.264.
-Jest też wiele zaawansowanych możliwości w specyfikacji H.264, które nie mają
-nic wspólnego z jakością jako taką; wiele z nich jeszcze nie jest
-zaimplementowanych w <systemitem class="library">x264</systemitem>.
-</para>
-
-<itemizedlist>
-<title>Możliwości kodera</title>
- <listitem><para>CAVLC/CABAC</para></listitem>
- <listitem><para>Wielokrotne referencje</para></listitem>
- <listitem><para>
- Intra: wszystkie typy makrobloków (16x16, 8x8 i 4x4 z wszystkimi predykcjami)
- </para></listitem>
- <listitem><para>
- Inter P: wszystkie podziały (od 16x16 aż do 4x4)
- </para></listitem>
- <listitem><para>
- Inter B: podziały od 16x16 do 8x8 (włączając SKIP/DIRECT)
- </para></listitem>
- <listitem><para>
- Kontrola tempa: stały kwantyzator, stały bitrate,
- jedno- albo wieloprzebiegowe ABR, opcjonalne VBV
- </para></listitem>
- <listitem><para>Wykrywanie zmian scen</para></listitem>
- <listitem><para>Adaptatywne umieszczanie klatek B</para></listitem>
- <listitem><para>
- Referencyjne klatki B / dowolna kolejność ramek
- </para></listitem>
- <listitem><para>
- adaptywna transformacja przestrzenna 8x8 i 4x4
- </para></listitem>
- <listitem><para>tryb bezstratny</para></listitem>
- <listitem><para>WÅ‚asne matryce kwantyzacji</para></listitem>
- <listitem><para>Równoległe kodowanie wielu fragmentów</para></listitem>
- <listitem><para>Przeplot</para></listitem>
-</itemizedlist>
-</sect3>
-
-
-<sect3 id="codec-h264-whatis">
-<title>Co to jest H.264</title>
-
-<para>
-H.264 jedną z nazw nowego kodeka video opracowanego wspólnie przez ITU
-i MPEG.
-Może też być prawidłowo nazywany okropnymi nazwami "ISO/IEC 14496-10" lub
-"MPEG-4 Part 10". Częściej jest nazywany "MPEG-4 AVC" albo po prostu "AVC".
-</para>
-
-<para>
-Jakkolwiek go nie nazywać, H.264 może być wart wypróbowania ponieważ
-zazwyczaj może dorównać jakością MPEG-4 ASP z mniejszą o 5%-30% objętością.
-Dokładne wyniki zależą od materiału źródłowego i kodera.
-Zyski z używania H.264 nie są za darmo: Dekodowanie strumieni H.264 mają
-duże wymagania obliczeniowe i pamięciowe.
-Na przykład, na Athlonie 1733 MHz, film H.264 w rozdzielczości DVD 1500kbps
-wymaga do zdekodowania około 35% CPU.
-Dla porównania, dekodowanie strumienia MPEG-4 ASP w rozdzielczości DVD
-1500kbps wymaga około 10% CPU.
-Oznacza to że dekodowanie wysokiej jakości strumieni jest prawie nie do
-pomyślenia dla zwykłych użytkowników.
-Oznacza to również że dobry DVD rip może się czasami zacinać na procesorach
-wolniejszych niż jakieś 2.0 GHz.
-</para>
-
-<para>
-Jeśli używasz <systemitem class="library">x264</systemitem>,
-wymagania kodowania nie są o wiele większe niż te, do których przywykliśmy
-przy MPEG-4 ASP.
-Na przykład, na Athlonie 1733 MHz typowe kodowanie DVD będzie działać z 5-15fps.
-</para>
-
-<para>
-Ten dokument nie ma wyjaśniać szczegółów H.264, ale jeśli jesteś
-zainteresowany niewielkim wstępem możesz chcieć przeczytać
-<ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-playback">
-<title>Jak mogę odtwarzać filmy H.264 używając <application>MPlayera</application></title>
-
-<para>
-<application>MPlayer</application> używa dekodera H.264 z
-<systemitem class="library">libavcodec</systemitem>.
-<systemitem class="library">libavcodec</systemitem> miało choć trochę zdatny
-do użytku dekoder H.264 od około czerwca 2004, ale od tego czasu wprowadzono
-wiele zmian i poprawek, zarówno pod względem obsługiwanej funkcjonalności
-jak i zużycia CPU.
-Na wszelki wypadek lepiej jest używać najnowszej wersji z Subversion.
-</para>
-
-<para>
-Jeśli chcesz szybki i łatwy sposób na sprawdzenie czy były ostatnio zmiany
-w obsłudze H.264 w <systemitem class="library">libavcodec</systemitem>,
-możesz patrzeć na
-<ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">interfejs sieciowy repozytorium SVN FFmpega</ulink>
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-encode">
-<title>Jak mogę kodować filmy używając <application>MEncodera</application>
- i <systemitem class="library">x264</systemitem>?</title>
-
-<para>
-Jeśli masz zainstalowanego klienta subversion, możesz uzyskać najnowsze
-źródła x264 tym poleceniem:
-<screen>svn co svn://svn.videolan.org/x264/trunk x264</screen>
-Źródła <application>MPlayera</application> są aktualizowane, gdy tylko
-zmieni się API <systemitem class="library">x264</systemitem>, więc zalecane
-jest także używanie <application>MPlayera</application> z Subversion.
-Być może sytuacja się zmieni jeśli i gdy nastąpi "wydanie"
-<systemitem class="library">x264</systemitem>.
-W międzyczasie <systemitem class="library">x264</systemitem> powinna być
-uważana za niestabilną, w tym sensie że jej interface programistyczny może
-się zmienić.
-</para>
-
-<para>
-<systemitem class="library">x264</systemitem> buduje siÄ™ i instaluje
-w sposób standardowy:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-To zainstaluje libx264.a w /usr/local/lib oraz x264.h w /usr/local/include.
-Gdy biblioteka i nagłówki <systemitem class="library">x264</systemitem> są
-już w standardowych miejscach, budowanie <application>MPlayera</application>
-z obsługą <systemitem class="library">x264</systemitem> jest proste.
-Uruchom standardowe:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-Skrypt konfiguracyjny wykryje że spełniłeś wymagania do obsługi
-<systemitem class="library">x264</systemitem>.
-</para>
-</sect3>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-codecs">
-<title>Kodeki audio</title>
-
-<itemizedlist>
-<title>Najważniejsze ze wszystkich kodeków audio:</title>
-<listitem><para>
- MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">natywny</emphasis>
- kod, z optymalizacjÄ… dla MMX/SSE/3DNow!)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 7 i 8 (AKA WMAv1 i WMAv2)
- (<emphasis role="bold">natywny</emphasis> kod, z
- <link linkend="ffmpeg"> <systemitem class="library">libavcodec</systemitem></link>)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 9 (WMAv3) (poprzez DLL DMO)
-</para></listitem>
-<listitem><para>
- AC3 Dolby audio (<emphasis role="bold">natywny</emphasis> kod, z
- optymalizacjÄ… MMX/SSE/3DNow!)
-</para></listitem>
-<listitem><para>
- przetwarzanie AC3 przez kartę dźwiękową
-</para></listitem>
-<listitem><para>
- AAC
-</para></listitem>
-<listitem><para>
- kodek Ogg Vorbis audio (<emphasis role="bold">natywna</emphasis> biblioteka)
-</para></listitem>
-<listitem><para>
- RealAudio: DNET (AC3 z niskim bitratem), Cook, Sipro i ATRAC3
-</para></listitem>
-<listitem><para>
- QuickTime: kodeki Qualcomm i QDesign
-</para></listitem>
-<listitem><para>
- VIVO audio (g723, Vivo Siren)
-</para></listitem>
-<listitem><para>
- Voxware audio (poprzez DirectShow DLL)
-</para></listitem>
-<listitem><para>
- formaty alaw i ulaw, różne gsm, adpcm i pcm i inne stare, proste kodeki
- audio
-</para></listitem>
-<listitem><para>
- kodeki mowy Adaptive Multi-Rate (AMR)
-</para></listitem>
-</itemizedlist>
-
-<!-- ********** -->
-
-<sect2 id="swac3">
-<title>Programowe dekodowanie AC3</title>
-
-<para>
-To jest domyślny dekoder używany przez pliki z dźwiękiem AC3.
-</para>
-
-<para>
-Dekoder AC3 może wytworzyć wyjście audio zmiksowane dla 2, 4 lub 6 głośników.
-Kiedy skonfigurowany jest dla 6 głośników, dekoder dostarcza do sterownika
-karty dźwiękowej osobne wyjście dla każdego kanału AC3, pozwalając doświadczyć
-pełnego "dźwięku przestrzennego" bez potrzeby użycia zewnętrznego dekodera AC3
-wymaganego przez kodek hwac3.
-</para>
-
-<para>
-Użyj opcji <option>-channels</option> aby wybrać liczbę wyjściowych kanałów.
-Użyj <option>-channels 2</option> do uzyskania dźwięku stereo. Dla
-czterokanałowego dźwięku (wyjścia Lewe Przednie, Prawe Przednie, Lewe Surround
-i Prawe Surround), użyj <option>-channels 4</option>. W tym przypadku,
-wszystkie centralne kanały zostaną zmiksowane do odpowiadających im przednich
-kanałów. Natomiast <option>-channels 6</option> wyprodukuje wszystkie kanały
-AC3 tak jak zostały zakodowane - w kolejności Lewy, Prawy, Lewy Surround, Prawy
-Surround, Centralny i LFE.
-</para>
-
-<para>
-Domyślną liczbą kanałów wyjściowych jest 2.
-</para>
-
-<para>
-Aby użyć więcej niż dwóch wyjściowych kanałów, będziesz potrzebował
-OSS i karty dźwiękowej obsługującej odpowiednią ilość wyjściowych
-kanałów poprzez SNDCTL_DSP_CHANNELS ioctl. Przykładem odpowiedniego sterownika
-jest emu10k1 (używany przez karty Soundblaster Live!) z sierpnia 2001 roku,
-albo nowszy (przypuszczalnie działa także ALSA CVS).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwac3">
-<title>Sprzętowe dekodowanie AC3</title>
-
-<para>
-Potrzebna jest karta obsługująca AC3, z cyfrowym wyjściem (S/PDIF). Sterownik
-musi prawidłowo obsługiwać format AFMT_AC3 (robi to C-Media). Podłącz swój
-dekoder AC3 do wyjścia S/PDIF i użyj opcji <option>-ac hwac3</option>.
-Rozwiązanie to jest ciągle w fazie testów, ale wiadomo, że działa z kartami
-C-Media i Soundblaster Live! + sterowniki ALSA (ale nie z OSS) i kartami
-dekodujÄ…cymi DXR3/Hollywood+ MPEG.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="libmad">
-<title>Obsługa <systemitem class="library">libmad</systemitem></title>
-
-<para>
-<ulink url="http://www.underbit.com/products/mad/"><systemitem class="library">libmad</systemitem></ulink>
-jest wieloplatformową, stałoprzecinkową (wewnętrznie 24-bitowe PCM) biblioteką
-dekodującą dźwięk MPEG.
-Nie odtwarza zbyt dobrze uszkodzonych plików i czasami ma problemy
-z przewijaniem, ale na platformach bez jednostki zmiennoprzecinkowej (FPU),
-czyli na przykład <link linkend="arm">ARM</link>,
-może mieć lepszą wydajność niż mp3lib.
-</para>
-
-<para>
-Jeśli masz prawidłowo zainstalowaną bibliotekę
-<systemitem class="library">libmad</systemitem>, <filename>./configure</filename>
-zauważy to i automatycznie zostanie zbudowana obsługa dekodowania dźwięku MPEG
-przy użyciu <systemitem class="library">libmad</systemitem>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwmpa">
-<title>Sprzętowy kodek MPEG audio</title>
-
-<para>
-Ten kodek (wybierany poprzez <option>-ac hwmpa</option>) przepuszcza pakiety
-MPEG audio do sprzętowego dekodera takiego, jak ten, który można
-znaleźć w pełni wyposażonych kartach DVB i adapterach DXR2.
-Nie używaj ich w połączeniu z żadnymi innymi wyjściowymi
-urządzeniami audio (np. OSS i ALSA), bo nie będzie to działało
-(będziesz słyszeć tylko szum).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="aac">
-<title>Kodek AAC</title>
-
-<para>
-AAC (Advanced Audio Coding) jest kodekiem audio spotykanym czasami w plikach
-MOV i MP4. Otwarty dekoder nazywany FAAD dostępny jest na stronie
-<ulink url="http://www.audiocoding.com"/>.
-<application>MPlayer</application> zawiera migawkÄ™ CVS z
-libfaad 2.1beta, więc nie musisz ściągać go oddzielnie.
-</para>
-
-<para>
-Jeżeli używasz gcc 3.2, który ma kłopoty z kompilacją wbudowanej wersji
-FAAD lub chcesz z jakichś powodów użyć zewnętrznej biblioteki,
-ściągnij ją z
-<ulink url="http://www.audiocoding.com/modules/mydownloads/">tej strony</ulink>
-i dodaj opcjÄ™ <option>--enable-external-faad</option> do
-<filename>./configure</filename>. Nie potrzebujesz całego faad2 do dekodowanie
-plików AAC. Wystarczy użyć samej biblioteki libfaad. Zbudujesz ją w następujący
-sposób
-<screen>
-cd faad2/
-sh bootstrap
-./configure
-cd libfaad
-make
-make install
-</screen>
-Wersje binarne nie są dostępne na stronie audiocoding.com, ale możesz
-ściągnąć (apt-getem) Debianowe paczki ze
-<ulink url="http://www.debian-multimedia.org/">strony domowej Christiana Marillata</ulink>,
-RPM-y dla Mandrake/Mandriva ze strony <ulink url="http://plf.zarb.org">P.L.F</ulink>,
-a RPM-y dla Fedory z <ulink url="http://rpm.livna.org/">Livna</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amr">
-<title>Kodeki AMR</title>
-
-<para>
-Kodeki mowy Adaptive Multi-Rate są używane w telefonii komórkowej
-trzeciej generacji (3G).
-Opis implementacji udostępniany jest przez
-<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
-(za darmo dla osób prywatnych).
-</para>
-
-<para>
-Żeby uaktywnić obsługę kodeków, pobierz źródła kodeków
-<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink> i
-<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>,
-umieść je w katalogu do którego rozpakowałeś źródła
-<application>MPlayera</application> i wpisz następujące komendy:
-<screen>
-unzip 26104-610.zip
-unzip 26104-610_ANSI_C_source_code.zip
-mv c-code libavcodec/amr_float
-unzip 26204-600.zip
-unzip 26204-600_ANSI-C_source_code.zip
-mv c-code libavcodec/amrwb_float
-</screen>
-Gdy już to zrobisz, kontynuuj <link linkend="features">budowanie</link>
-<application>MPlayera</application> tak, jak zwykle.
-</para>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="codec-importing">
-<title>Importowanie kodeków Win32-HOWTO</title>
-
-<sect2 id="vfw-codecs">
-<title>Kodeki VFW</title>
-
-<para>
-VFW (Video for Windows) jest starym API Video pod Windows. Jego kodeki majÄ…
-rozszerzenie <filename>.DLL</filename> albo (rzadziej)
-<filename>.DRV</filename>. Jeżeli <application>MPlayer</application> odmawia
-odtwarzania plików AVI z komunikatem typu
-<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
-oznacza to, że twój plik AVI jest zakodowany z użyciem kodeka, który korzysta
-z fourcc HFYU (HFYU = kodek HuffYUV, DIV3 = DivX Low Motion, itd.;
-fourcc-unikalny, czteroliterowy identyfikator kodeka znajdujący się najczęściej
-w nagłówkach plików AVI-przyp. tłumacz). Kiedy już to wiesz, musisz odzukać
-DLL'a, który jest ładowany przez Windows w celu odtworzenia tego pliku.
-W naszym przypadku plik <filename>system.ini</filename> zawiera tÄ™ informacjÄ™
-w następującej linii:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Zatem potrzebujesz pliku <filename>huffyuv.dll</filename>. Zauważ, że kodeki
-audio sÄ… oznaczane za pomocÄ… prefiksu MSACM:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-Jest to kodek MP3. Teraz powinieneś mieć wszystkie niezbędne informacje
-(fourcc, plik z kodekiem, przykładowy plik AVI). Umieść swoją prośbę o obsługę
-kodeka za pomocą poczty elektronicznej i wyślij ww. pliki na poniższy
-serwer FTP:
-<systemitem role="url">
-ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;nazwakodeka&gt;</replaceable>/
-</systemitem>
-</para>
-
-<note><para> W systemach Windows NT/2000/XP szukaj powyższych informacji
-w rejestrze, np. szukaj wyrażenia "VIDC.HFYU". Aby dowiedzieć się jak
-to zrobić, spójrz niżej na starą metodę DirectShow.
-</para></note>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="dshow-codecs">
-<title>Kodeki DirectShow</title>
-
-<para>
-DirectShow jest nowszym API Video, które jest nawet gorsze od swojego
-poprzednika. Sprawa ma się gorzej z DirectShow, ponieważ:
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> nie zawiera wymaganych informacji,
- zamiast tego sÄ… one przechowywane w rejestrze.
-</para></listitem>
-<listitem><para>
- Z tego powodu wymagane jest GUID kodeka.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Nowa metoda:</title>
-<para>
-Używając <application>Microsoft GraphEdit</application> (szybki sposób)
-</para>
-<step><para>
- Pobierz <application>GraphEdit</application> z dowolnego DirectX SDK, albo z
- <ulink url="http://doom9.net">doom9</ulink>
-</para></step>
-<step><para>
- Uruchom <command>graphedit.exe</command>.
-</para></step>
-<step><para>
- Z menu wybierz
- <menuchoice><guimenu>Graph</guimenu>
- <guisubmenu>Insert Filters</guisubmenu></menuchoice>.
-</para></step>
-<step><para>
- Rozwiń listę <systemitem>DirectShow Filters</systemitem>
-</para></step>
-<step><para>
- Wybierz właściwy kodek i rozwiń go.
-</para></step>
-<step><para>
- We wpisie <systemitem>DisplayName</systemitem> spójrz na tekst w
- nawiasach klamrowych po znaku "backslash" i zapisz go (pięć bloków
- oddzielonych kreskami, GUID).
-</para></step>
-<step><para>
- Binariami kodeka jest plik określony w polu <systemitem>Filename</systemitem>.
-</para></step>
-</procedure>
-
-<note><para>
-Jeżeli nie ma pola <systemitem>Filename</systemitem>, a
-<systemitem>DisplayName</systemitem> zawiera coÅ› w stylu
-<systemitem>device:dmo</systemitem>, to jest to kodek DMO.
-</para></note>
-
-<procedure>
-<title>Stara Metoda:</title>
-<para>
-Weź głęboki oddech i zacznij przeszukiwanie rejestru...
-</para>
-<step><para>
- Uruchom <command>regedit</command>.
-</para></step>
-<step><para>
- Naciśnij <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo>,
- odznacz dwa pierwsze pola (checkboxes) i zaznacz trzecie. Wpisz fourcc kodeka
- (np. <userinput>TM20</userinput>).
-</para></step>
-<step><para>
- Powinieneś zobaczyć pole zawierające ścieżkę i nazwę pliku (np.
- <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
-</para></step>
-<step><para>
- Gdy odnalazłeś już plik, potrzebny będzie GUID. Spróbuj ponownego
- wyszukiwania, ale tym razem wpisz nazwÄ™ kodeka, a nie jego fourcc. Jego nazwÄ™
- można sprawdzić, kiedy Media Player odtwarza plik, odszukując ją w
- <menuchoice><guimenu>Plik</guimenu> <guisubmenu>Opcje</guisubmenu>
- <guimenuitem>Zaawansowane</guimenuitem></menuchoice>.
- Jeżeli jej tam nie będzie, to masz pecha. Spróbuj odgadnąć nazwę (np. spróbuj
- wyszukać "TrueMotion").
-</para></step>
-<step><para>
- Jeżeli GUID został odnaleziony, powinieneś ujrzeć pola
- <guilabel>FriendlyName</guilabel> i <guilabel>CLSID</guilabel>. Zapisz
- szesnastobajtowy CLSID będący GUIDem, którego potrzebujemy.
-</para></step>
-</procedure>
-
-<note><para>
-Jeżeli wyszukiwanie się nie powiedzie, spróbuj zaznaczyć wszystkie pola
-(checkboxes). Prawdopodobnie dostaniesz fałszywe trafienia, ale być może
-będziesz miał szczęście...
-</para></note>
-
-<para>
-Teraz, kiedy masz już wszystkie niezbędne informacje (fourcc, GUID, plik
-z kodekiem, przykładowy plik AVI), umieść swoją prośbę o obsługę kodeka
-za pomocą poczty elektronicznej i wyślij ww. pliki na poniższy serwer FTP:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;nazwakodeka&gt;</replaceable>/</systemitem>
-</para>
-
-<para>
-Jeżeli chcesz samodzielnie dodać obsługę kodeka, przeczytaj
-<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">
-DOCS/tech/codecs.conf.txt</ulink> (tylko po angielsku - przyp. tłum.).
-</para>
-
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/pl/containers.xml b/DOCS/xml/pl/containers.xml
deleted file mode 100644
index 59baebd7ea..0000000000
--- a/DOCS/xml/pl/containers.xml
+++ /dev/null
@@ -1,537 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r21741 -->
-<!-- Opiekun: Cobra -->
-<chapter id="formats">
-<title>Kontenery</title>
-
-<para>
-Na początek ważne jest wyjaśnienie pewnego często popełnianego błędu.
-Kiedy ludzie widzÄ… plik o rozszerzeniu <filename>.AVI</filename>,
-automatycznie stwierdzają, że to nie jest plik MPEG. Nie jest to prawda.
-Przynajmniej niezupełnie. W przeciwieństwie do popularnego stwierdzenia,
-plik taki <emphasis>może</emphasis> zawierać video MPEG-1.
-</para>
-
-<para>
-Widzisz, <emphasis role="bold">kodek</emphasis> to nie to samo, co
-<emphasis role="bold">format kontenerów</emphasis>.
-Przykłady <emphasis role="bold">kodeków</emphasis> video: MPEG-1, MPEG-2,
-MPEG-4 (DivX), Indeo5, 3vix.
-Przykłady <emphasis role="bold">kontenerów</emphasis> plików: MPG, AVI, ASF.
-</para>
-
-<para>
-W teorii, możesz umieścić video OpenDivX i dźwięk MP3 w
-<emphasis role="bold">kontenerze MPG</emphasis>. Większość odtwarzaczy
-nie będzie jednak w stanie go odtworzyć, gdyż spodziewają się obrazu MPEG-1 i
-dźwięku MP2 (w przeciwieństwie do <emphasis role="bold">AVI</emphasis>,
-<emphasis role="bold">MPG</emphasis> nie ma odpowiednich pól do opisu jego
-strumieni audio i video). Możesz również umieścić video MPEG-1 w pliku
-AVI. <ulink url="http://ffmpeg.org/">FFmpeg</ulink> i
-<link linkend="mencoder"><application>MEncoder</application></link> potrafiÄ…
-tworzyć takie pliki.
-</para>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="video-formats">
-<title>Formaty video</title>
-
-<sect2 id="mpg-vob-dat">
-<title>Pliki MPEG</title>
-
-<para>
-Pliki MPEG spotykamy w różnych odmianach:
-</para>
-
-<itemizedlist>
-<listitem><para>
- MPG: To jest najbardziej <emphasis role="bold">podstawowa</emphasis> forma
- plików MPEG. Zawiera video MPEG-1 i audio MP2 (MPEG-1 warstwa 2) lub rzadziej
- MP1.
-</para></listitem>
-<listitem><para>
- DAT: To dokładnie ten sam format, co MPG, tylko z innym rozszerzeniem. Jest
- on używany na płytach <emphasis role="bold">Video CD</emphasis>. W związku
- ze sposobem tworzenia płyt VCD i struktury Linuksa, pliki DAT nie mogą być
- odtwarzane ani kopiowane z VCD jak zwykłe pliki. Musisz użyć opcji
- <option>vcd://</option> by odtworzyć Video CD.
-</para></listitem>
-<listitem><para>
- VOB: To format pliku MPEG na płytach <emphasis role="bold">DVD</emphasis>.
- Jest to to samo, co MPG, plus możliwość umieszczenia w nim napisów lub
- dźwięku nie-MPEG (AC3). Zawiera zakodowany strumień obrazu MPEG-2 i przeważnie
- dźwięk AC3, lecz dozwolone są także DTS, MP2 i nieskompresowane LPCM.
- <emphasis role="bold">Przejrzyj sekcjÄ™ <link linkend="dvd">DVD</link></emphasis>!
-</para></listitem>
-<listitem><para>
- TY: To jest strumień TiVo MPEG. Zawiera on dane MPEG PES strumieni audio
- i video, oraz dodatkowe informacje jak napisy Closed Caption. Ten format nie
- jest strumieniem programu MPEG, ale zamkniętym formatem stworzonym przez
- TiVo. Więcej informacji o formacie strumienia TiVo można uzyskać na
- <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">
- stronie TyStudio</ulink>.
-</para></listitem>
-</itemizedlist>
-
-<para>
-Serie klatek tworzą niezależne grupy w plikach MPEG. To oznacza, że możesz
-ciąć/łączyć plik MPEG za pomocą zwykłych narzędzi plikowych (typu
-<command>dd</command>, <command>cut</command>) i pozostaje on całkowicie
-funkcjonalny.
-</para>
-
-<para>
-Jedną ważną cechą plików MPG jest to, że zawierają pole opisujące stosunek
-szerokości do wysokości obrazu. Na przykład pliki SVCD zawierają obraz
-o rozdzielczości 480x480, a w nagłówku pole to jest ustawione na 4:3, więc
-odtwarzane są w 640x480. W plikach AVI często brakuje tego pola, więc muszą być
-skalowane w trakcie kodowania lub odtwarzane z opcjÄ… <option>-aspect</option>
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="avi">
-<title>Pliki AVI</title>
-
-<para>
-Zaprojektowane przez Microsoft <emphasis role="bold">pliki AVI
-(Audio Video Interleaved)</emphasis> to szeroko stosowany wielofunkcyjny format
-aktualnie używany głównie dla video MPEG-4 (DivX i DivX4). Ma on wiele wad i
-niedociągnięć (np. przy strumieniowaniu). Obsługuje jeden strumień video i od 0
-do 99 strumieni audio i może mieć co najwyżej 2 GB, lecz istnieje rozszerzenie,
-zwane <emphasis role="bold">OpenDML</emphasis>, które pozwala na osiągnięcie
-większych plików.
-Aktualnie Microsoft usilnie zniechęca do stosowania AVI i zaleca ASF/WMV.
-Nie żeby to kogoś obchodziło...
-</para>
-
-<para>
-Istnieje hack, który pozwala plikom AVI zawierać strumień audio Ogg Vorbis,
-ale powoduje to ich niekompatybilność ze zwykłymi AVI.
-<application>MPlayer</application> obsługuje odtwarzanie takich plików.
-Skoki są również zaimplementowane, lecz poważnie ograniczone poprzez
-źle zakodowane pliki z pomieszanymi nagłówkami.
-Niestety jedyny program, który potrafi tworzyć takie pliki -
-<application>NanDub</application> - ma z tym problem.
-</para>
-
-<note><para>
-Kamery DV tworzą surowe strumienie DV, które są konwertowane przez narzędzia
-do zgrywania DV do dwóch różnych typów plików AVI. Pliki te zawierają wtedy
-albo osobne strumienie audio i video, które <application>MPlayer</application>
-potrafi odtwarzać lub surowy strumień DV, którego obsługa jest w trakcie
-rozwoju.
-</para></note>
-
-<para>
-Istnieją dwa typy plików AVI:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">Z przeplotem:</emphasis> Zawartość audio i video jest
- przepleciona. Jest to standardowy typ - zalecany i przeważnie używany.
- Niektóre narzędzia tworzą przeplatane pliki AVI ze złą synchronizacją.
- <application>MPlayer</application> wykrywa je jako przeplatane, ale powoduje
- to utratę synchronizacji A/V (najczęściej przy skokach). Pliki te powinny
- być odtwarzane jako bez przeplotu (opcja <option>-ni</option>).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">Bez przeplotu:</emphasis> Najpierw umieszczony jest
- cały strumień video, a potem cały strumień audio. Wymaga to więc dużo
- "chodzenia" po pliku, co powoduje, że trudno jest je odtwarzać z sieci lub z
- CD-ROMów.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-<application>MPlayer</application> obsługuje dwie metody synchronizacji
-dla plików AVI:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">oparte na bps (bitach na sekundÄ™):</emphasis> Oparta
- jest na liczbie bitów/próbek na sekundę strumieni audio/video. Metoda ta jest
- stosowana przez większość odtwarzaczy, włączając w to
- <ulink url="http://avifile.sf.net">avifile</ulink> oraz
- <application>Windows Media Player</application>. Pliki z uszkodzonymi
- nagłówkami i pliki z dźwiękiem VBR (Variable Bitrate - zmienne
- tempo bitowe) utworzone za pomocÄ… niekompatybilnego z VBR programu kodujÄ…cego
- spowodują desynchronizację A/V przy tej metodzie (głównie przy skokach).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">oparte na przeplocie:</emphasis> Nie korzysta z
- informacji o tempie bitowym z nagłówka, lecz zamiast tego używa względnej
- pozycji przeplecionych fragmentów audio i video, dzięki czemu źle zakodowane
- pliki z dźwiękiem VBR można normalnie odtwarzać.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-Każdy kodek video i audio jest dozwolony, lecz należy zauważyć, że dźwięk
-VBR nie jest zbyt dobrze obsługiwany przez większość odtwarzaczy. Format pliku
-co prawda pozwala na użycie dźwięku VBR, lecz większość odtwarzaczy spodziewa
-się dźwięku CBR (Constant Bitrate - stałe tempo bitowe), przez co
-zawiodÄ… przy VBR. VBR nie jest powszechny i specyfikacja AVI Microsoftu opisuje
-jedynie CBR. Zauważyłem również, że większość enkoderów/multiplekserów AVI
-tworzy złe pliki z dźwiękiem VBR. Istnieją jedynie dwa wyjątki potwierdzające
-tę regułę:
-<application><application>NanDub</application></application> oraz
-<link linkend="mencoder"><application>MEncoder</application></link>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="asf-wmv">
-<title>Pliki ASF/WMV</title>
-
-<para>
-ASF (Active Streaming Format - Aktywny Format Strumieniowania) pochodzi z
-Microsoftu. Stworzyli oni dwa warianty ASF: v1.0 i v2.0. v1.0 jest używana
-przez ich narzędzia medialne (<application>Windows Media Player</application>
-oraz <application>Windows Media Encoder</application>) i jest bardzo tajna.
-v2.0 jest opublikowana i opatentowana :). Oczywiście różnią się one znacząco i
-nie ma pomiędzy nimi żadnej kompatybilności (kolejna zagrywka legalistyczna).
-<application>MPlayer</application> obsługuje jedynie v1.0, gdyż nikt jeszcze nie
-widział żadnego pliku v2.0 :). Zauważ, że dzisiejsze pliki ASF mają rozszerzenia
-<filename>.WMA</filename> lub <filename>.WMV</filename>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="mov">
-<title>Pliki QuickTime/MOV</title>
-
-<para>
-Formaty te zostały zaprojektowane przez Apple i mogą zawierać dowolny kodek,
-CBR lub VBR. Mają przeważnie rozszerzenie <filename>.QT</filename> lub
-<filename>.MOV</filename>. Warto zauważyć, że grupa MPEG-4 wybrała QuickTime
-jako zalecany format pliku dla MPEG-4, a ich pliki MOV majÄ… rozszerzenie
-<filename>.MPG</filename> lub <filename>.MP4</filename> (interesujące jest to, że
-strumienie w tych plikach to w rzeczywistości pliki MPG i AAC. Możesz nawet je
-wyciągnąć za pomocą opcji <option>-dumpvideo</option> oraz
-<option>-dumpaudio</option>).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="vivo">
-<title>Pliki VIVO</title>
-
-<para>
-<application>MPlayer</application> szczęśliwie demultipleksuje pliki VIVO.
-Największą niedogodnością formatu jest to, że nie ma on bloku indeksu
-ani stałego rozmiaru pakietu czy bajtów synchronizacji, a większość plików
-nie ma nawet klatek kluczowych, więc zapomnij o skakaniu po filmie!
-</para>
-
-<para>
-Kodek video plików VIVO/1.0 to standardowy <emphasis role="bold">h.263</emphasis>.
-Kodek video plików VIVO/2.0 to zmodyfikowany, niestandardowy
-<emphasis role="bold">h.263v2</emphasis>. Dźwięk jest ten sam i może to być
-<emphasis role="bold">g.723 (standardowy)</emphasis> lub
-<emphasis role="bold">Vivo Siren</emphasis>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="fli">
-<title>Pliki FLI</title>
-
-<para>
-<emphasis role="bold">FLI</emphasis> jest bardzo starym formatem używanym przez
-Autodesk Animator,
-lecz jest to powszechnie stosowany w sieci format do krótkich animacji.
-<application>MPlayer</application> demultipleksuje i dekoduje pliki FLI i
-potrafi nawet po nich skakać (użyteczne przy zapętlaniu za pomocą opcji
-<option>-loop</option>). Pliki FLI nie zawierają klatek kluczowych, więc obraz
-będzie trochę zaśmiecony przez krótką chwilę po skoku.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="realmedia">
-<title>Pliki RealMedia (RM)</title>
-
-<para>
-Tak, <application>MPlayer</application> potrafi czytać (demultipleksować)
-pliki RealMedia (<filename>.rm</filename>).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nuppelvideo">
-<title>Pliki NuppelVideo</title>
-
-<para>
-<ulink url="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/">NuppelVideo</ulink>
-jest narzędziem do zgrywania TV (AFAIK :). <application>MPlayer</application>
-potrafi czytać jego pliki <filename>.NUV</filename> (tylko NuppelVideo 5.0).
-Pliki te mogą zawierać klatki: nieskompresowane YV12, skompresowane YV12+RTJpeg,
-skompresowane YV12 RTJpeg+lzo i skompresowane YV12+lzo.
-<application>MPlayer</application> dekoduje je (a nawet
-<emphasis role="bold">koduje</emphasis> za pomocÄ…
-<application>MEncodera</application> do MPEG-4 (DivX) itp!) wszystkie.
-Działają również skoki.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="yuv4mpeg">
-<title>Pliki yuv4mpeg</title>
-
-<para>
-<ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink>
-to format plików stosowany przez
-<ulink url="http://mjpeg.sf.net">programy mjpegtools</ulink>.
-Możesz zgrywać, produkować, filtrować lub kodować video w tym formacie za pomocą
-tych narzędzi. Format ten jest w rzeczywistości sekwencją nieskompresowanych
-obrazów YUV 4:2:0.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="film">
-<title>Pliki FILM</title>
-
-<para>
-Format ten jest używany przez stare gry CD-ROM na Sega Saturn.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="roq">
-<title>Pliki RoQ</title>
-
-<para>
-Pliki RoQ to pliki multimedialne używane w niektórych grach ID, np.
-Quake III czy Return to Castle Wolfenstein.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg">
-<title>Pliki OGG/OGM</title>
-
-<para>
-Jest to nowy format plików z <ulink url="http://www.xiph.org">Xiphophorus</ulink>.
-Może zawierać dowolne kodeki audio i video, CBR lub VBR. Będziesz potrzebował
-zainstalowanych bibliotek <systemitem class="library">libogg</systemitem>
-oraz <systemitem class="library">libvorbis</systemitem> zanim skompilujesz
-<application>MPlayera</application> by móc go odtwarzać.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="sdp">
-<title>Pliki SDP</title>
-
-<para>
-<ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink>
-to format opisu strumieni RTP audio lub video będący standardem IETF.
-(Wymagane jest "<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>".)
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="pva">
-<title>Pliki PVA</title>
-
-<para>
-PVA to format MPEGo-podobny używany przez oprogramowanie kart DVB (np.:
-<application>MultiDec</application> lub <application>WinTV</application> pod
-Windows).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nsv">
-<title>Pliki NSV</title>
-
-<para>
-NSV (NullSoft Video) jest formatem plików używanym przez odtwarzacz
-<application>Winamp</application> do strumieniowania audio i video.
-Video to VP3, VP5 lub VP6, audio to MP3, AAC lub VLB.
-Wersja tylko-audio NSV ma rozszerzenie <filename>.nsa</filename>.
-<application>MPlayer</application> potrafi odtwarzać zarówno strumienie, jak i pliki NSV.
-Proszę zauważyć, że większość plików ze
-<ulink url="http://www.winamp.com">strony Winamp'a</ulink> korzysta z audio VLB, które
-jeszcze nie jest dekodowane przez <application>MPlayera</application>. Oprócz tego
-strumienie z tej strony potrzebują dodatkowej warstwy depakietowania, która nie jest
-jeszcze zaimplementowana (plików tych i tak nie da się odtworzyć ze względu na
-audio VLB).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="matroska">
-<title>Pliki matroska</title>
-
-<para>
-Matroska jest otwartym formatem przechowywania.
-Więcej informacji na
-<ulink url="http://www.matroska.org/">oficjalnej stronie</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nut">
-<title>Pliki NUT</title>
-
-<para>
-NUT jest formatem przechowywania opracowanym przez ludzi
-z <application>MPlayera</application> i <application>FFmpeg</application>.
-Oba projekty go obsługują.
-Więcej informacji na
-<ulink url="http://www.nut.hu/">oficjalnej stronie</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="gif">
-<title>Pliki GIF</title>
-
-<para>
-Format <emphasis role="bold">GIF</emphasis> jest powszechnym formatem zapisu
-grafiki sieciowej. IstniejÄ… dwie wersje specyfikacji GIF: GIF87a oraz GIF89a.
-Główną różnicą jest to, że GIF89a pozwala na animację.
-<application>MPlayer</application> obsługuje oba formaty plików za pomocą
-biblioteki <systemitem class="library">libungif</systemitem>
-lub innej, kompatybilnej z libgif biblioteki. Nieanimowane GIFy są wyświetlane
-jako filmy o pojedynczej klatce. (Użyj opcji <option>-loop</option> oraz
-<option>-fixed-vo</option> by wyświetlić je dłużej.)
-</para>
-
-<para>
-<application>MPlayer</application> obecnie nie pozwala na skoki w plikach GIF.
-Pliki GIF bowiem niekoniecznie muszą mieć stałego rozmiaru klatki, ani stałej
-prędkości odtwarzania. Raczej każda klatka jest niezależnego rozmiaru i ma
-zostać umiejscowiona w odpowiednim miejscu na polu o ustalonym rozmiarze.
-Prędkość odtwarzania jest kontrolowana za pomocą opcjonalnego bloku przed
-każdą klatką, która ustala opóźnienie kolejnej klatki w setnych sekundy.
-</para>
-
-<para>
-Standardowe pliki GIF zawierają 24-bitowe klatki RGB z co najwyżej 8-bitową
-indeksowaną paletą. Klatki te są przeważnie kompresowane za pomocą LZW, lecz
-niektóre kodery produkują nieskompresowane klatki by uniknąć problemów
-patentowych w zwiÄ…zku z kompresjÄ… LZW.
-</para>
-
-<para>
-Jeśli Twoja dystrybucja nie zawiera biblioteki
-<systemitem class="library">libungif</systemitem>, pobierz jÄ… ze
-<ulink url="http://sourceforge.net/projects/libungif">strony domowej libungif</ulink>.
-By uzyskać szczegółowe informacje techniczne, zajrzyj do
-<ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">specyfikacji GIF89a</ulink>.
-</para>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-formats">
-<title>Formaty audio</title>
-
-<para>
-<application>MPlayer</application> jest odtwarzaczem
-<emphasis role="bold">filmów</emphasis>, a nie
-<emphasis role="bold">mediów</emphasis>. Potrafi jednak odtwarzać niektóre pliki
-audio (są one wymienione w sekcjach poniżej).
-Nie jest to jednak zalecane zastosowanie <application>MPlayera</application>.
-Powinieneś raczej użyć <ulink url="http://www.xmms.org">XMMSa</ulink>.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="mp3">
-<title>Pliki MP3</title>
-
-<para>
-Możesz mieć pewne problemy przy odtwarzaniu niektórych plików
-MP3, które <application>MPlayer</application> błędnie rozpozna jako
-MPEG i odtworzy je nieprawidłowo lub nie odtworzy ich wcale. Nie da się
-tego naprawić bez porzucenia odtwarzania uszkodzonych plików
-MPEG i tak prawdopodobnie zostanie w najbliższej przyszłości. Opcja
-<option>-demuxer</option> opisana na stronie man może pomóc Ci w takich
-przypadkach.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg-vorbis">
-<title>Pliki OGG/OGM (Vorbis)</title>
-
-<para>
-Wymaga poprawnie zainstalowanych bibliotek
-<systemitem class="library">libogg</systemitem> i
-<systemitem class="library">libvorbis</systemitem>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="cdda">
-<title>CD audio</title>
-
-<para>
-<application>MPlayer</application> potrafi korzystać z programu
-<application>cdparanoia</application> do odtwarzania CDDA (Audio CD). Sekcja
-ta nie zawiera spisu możliwości programu <application>cdparanoia</application>.
-</para>
-
-<para>
-Zajrzyj do strony man i przeczytaj opis opcji <option>-cdda</option>, która może
-zostać wykorzystana do przekazania opcji do programu
-<application>cdparanoia</application>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xmms">
-<title>XMMS</title>
-
-<para>
-<application>MPlayer</application> potrafi korzystać z wtyczek wejścia z
-programu <application>XMMS</application> do odtwarzania wielu formatów. Istnieją
-wtyczki do muzyczek z gier na SNES, muzyczek SID (z Commodore 64), wielu
-formatów Amigi, .xm, .it, VQF, musepack, Bonk, shorten i wielu innych. Możesz
-znaleźć je na <ulink url="http://www.xmms.org/plugins.php?category=input">Stronie
-wtyczek wejściowych do XMMS</ulink>.
-</para>
-
-<para>
-Do obsługi tej możliwości musisz mieć <application>XMMSa</application> i
-skompilować <application>MPlayera</application> za pomocą
-<filename>./configure --enable-xmms</filename>. Jeśli to nie zadziała, być może
-musisz ustawić ścieżki do wtyczek i bibliotek <application>XMMSa</application>
-ręcznie za pomocą opcji konfiguracji <option>--with-xmmsplugindir</option> i
-<option>--with-xmmslibdir</option>
-</para>
-</sect2>
-</sect1>
-
-</chapter>
diff --git a/DOCS/xml/pl/documentation.xml b/DOCS/xml/pl/documentation.xml
index 212263233b..d13e7e0d7c 100644
--- a/DOCS/xml/pl/documentation.xml
+++ b/DOCS/xml/pl/documentation.xml
@@ -121,8 +121,7 @@ oraz audio <emphasis role="bold">PCM/MP3/VBR MP3</emphasis>.
</para></listitem>
<listitem><para>
Kodowanie na wszystkie kodeki
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
- z ffmpeg.
+ <systemitem class="library">libavcodec</systemitem> z ffmpeg.
</para></listitem>
<listitem><para>
Kodowanie obrazu z <emphasis role="bold">tunerów kompatybilnych z V4L</emphasis>
@@ -190,17 +189,12 @@ mogą być rozprowadzane zgodnie z warunkami GNU General Public License Version
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&containers.xml;
-&codecs.xml;
-&video.xml;
&tvinput.xml;
&radio.xml;
-
+&video.xml;
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
-&bugs.xml;
&skin.xml;
diff --git a/DOCS/xml/pl/encoding-guide.xml b/DOCS/xml/pl/encoding-guide.xml
index 8f83921cda..a7eb7ad9c5 100644
--- a/DOCS/xml/pl/encoding-guide.xml
+++ b/DOCS/xml/pl/encoding-guide.xml
@@ -3772,7 +3772,7 @@ and development advancements, you may get very different results.
<systemitem class="library">x264</systemitem> is a free library for
encoding H.264/AVC video streams.
Before starting to encode, you need to
-<link linkend="codec-x264">set up <application>MEncoder</application> to support it</link>.
+<link linkend="x264">set up <application>MEncoder</application> to support it</link>.
</para>
<!-- ********** -->
diff --git a/DOCS/xml/pl/faq.xml b/DOCS/xml/pl/faq.xml
index c3a69b29ad..7d6aa57cb4 100644
--- a/DOCS/xml/pl/faq.xml
+++ b/DOCS/xml/pl/faq.xml
@@ -239,8 +239,7 @@ Mam problemy z odtwarzaniem plików przy użyciu kodeka ... Czy mogę ich używa
<answer><para>
Sprawdź <ulink url="../../codecs-status.html">status kodeków</ulink>,
jeżeli nie zawiera on Twojego kodeka przeczytaj
-<link linkend="codecs">dokumentację kodeków</link>, a w szczególności
-<link linkend="codec-importing">HOWTO importowania kodeków</link>
+<ulink url="../../tech/win32-codec-howto">HOWTO importowania kodeków Win32</ulink>
i skontaktuj siÄ™ z nami.
</para></answer>
</qandaentry>
diff --git a/DOCS/xml/pl/install.xml b/DOCS/xml/pl/install.xml
index 3e82c822c1..1ae2ca0d1b 100644
--- a/DOCS/xml/pl/install.xml
+++ b/DOCS/xml/pl/install.xml
@@ -376,6 +376,164 @@ Menu Ustawienia nie jest jeszcze ZAIMPLEMENTOWANE!
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+<sect1 id="codec-installation">
+<title>Codec installation</title>
+
+<!-- ********** -->
+
+<sect2 id="xvid">
+<title>Xvid</title>
+
+<para>
+<ulink url="http://www.xvid.org">Xvid</ulink> jest wolnym, kompatybilnym
+z MPEG-4 ASP, kodekiem video z możliwościami kodowania dwuprzebiegowego
+i pełną obsługą MPEG-4 ASP.
+Zauważ, że Xvid nie jest konieczny do odtwarzania video zakodowanego przy
+pomocy Xvid. Domyślnie używana jest biblioteka
+<systemitem class="library">libavcodec</systemitem>, bo jest szybsza.
+</para>
+
+<procedure>
+<title>Instalacja <systemitem class="library">Xvid</systemitem></title>
+<para>
+ Jak większość otwartego oporgramowania dostępny jest w dwóch wersjach:
+ <ulink url="http://www.xvid.org/downloads.html">oficjalnych wydań</ulink>
+ i wersji CVS.
+ Wersja CVS jest zazwyczaj wystarczająco stablina by jej używać, jako że
+ zazwyczaj ma poprawki do błędów występujących w wydaniach.
+ Tak należy nakłonić <systemitem class="library">Xvid</systemitem> CVS do
+ pracy z <application>MEncoderem</application> (będziesz potrzebował
+ przenajmniej <application>autoconf</application> 2.50,
+ <application>automake</application> i <application>libtool</application>):
+</para>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+</para></step>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+</para></step>
+<step><para>
+ <screen>cd xvidcore/build/generic</screen>
+</para></step>
+<step><para>
+ <screen>./bootstrap.sh</screen>
+</para></step>
+<step><para>
+ <screen>./configure</screen>
+ Możesz potrzebować dodać jakieś opcje (przejrzyj wyjście
+ polecenia <command>./configure --help</command>)
+</para></step>
+<step><para>
+ <screen>make &amp;&amp; make install</screen>
+</para></step>
+<step><para>
+ Przekompiluj <application>MPlayera</application>.
+</para></step>
+</procedure>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="x264">
+<title><systemitem class="library">x264</systemitem></title>
+
+<para>
+<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
+is a library for creating H.264 video.
+<application>MPlayer</application> sources are updated whenever
+an <systemitem class="library">x264</systemitem> API change
+occurs, so it is always suggested to use
+<application>MPlayer</application> from Subversion.
+</para>
+
+<para>
+If you have a GIT client installed, the latest x264
+sources can be gotten with this command:
+<screen>git clone git://git.videolan.org/x264.git</screen>
+
+Then build and install in the standard way:
+<screen>./configure &amp;&amp; make &amp;&amp; make install</screen>
+
+Now rerun <filename>./configure</filename> for
+<application>MPlayer</application> to pick up
+<systemitem class="library">x264</systemitem> support.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="aac">
+<title>Kodek AAC</title>
+
+<para>
+AAC (Advanced Audio Coding) jest kodekiem audio spotykanym czasami w plikach
+MOV i MP4. Otwarty dekoder nazywany FAAD dostępny jest na stronie
+<ulink url="http://www.audiocoding.com"/>.
+<application>MPlayer</application> zawiera migawkÄ™ CVS z
+libfaad 2.1beta, więc nie musisz ściągać go oddzielnie.
+</para>
+
+<para>
+Jeżeli używasz gcc 3.2, który ma kłopoty z kompilacją wbudowanej wersji
+FAAD lub chcesz z jakichś powodów użyć zewnętrznej biblioteki,
+ściągnij ją z
+<ulink url="http://www.audiocoding.com/modules/mydownloads/">tej strony</ulink>
+i dodaj opcjÄ™ <option>--enable-external-faad</option> do
+<filename>./configure</filename>. Nie potrzebujesz całego faad2 do dekodowanie
+plików AAC. Wystarczy użyć samej biblioteki libfaad. Zbudujesz ją w następujący
+sposób
+<screen>
+cd faad2/
+sh bootstrap
+./configure
+cd libfaad
+make
+make install
+</screen>
+Wersje binarne nie są dostępne na stronie audiocoding.com, ale możesz
+ściągnąć (apt-getem) Debianowe paczki ze
+<ulink url="http://www.debian-multimedia.org/">strony domowej Christiana Marillata</ulink>,
+RPM-y dla Mandrake/Mandriva ze strony <ulink url="http://plf.zarb.org">P.L.F</ulink>,
+a RPM-y dla Fedory z <ulink url="http://rpm.livna.org/">Livna</ulink>.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="amr">
+<title>Kodeki AMR</title>
+
+<para>
+Kodeki mowy Adaptive Multi-Rate są używane w telefonii komórkowej
+trzeciej generacji (3G).
+Opis implementacji udostępniany jest przez
+<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
+(za darmo dla osób prywatnych).
+</para>
+
+<para>
+Żeby uaktywnić obsługę kodeków, pobierz źródła kodeków
+<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink> i
+<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>,
+umieść je w katalogu do którego rozpakowałeś źródła
+<application>MPlayera</application> i wpisz następujące komendy:
+<screen>
+unzip 26104-610.zip
+unzip 26104-610_ANSI_C_source_code.zip
+mv c-code libavcodec/amr_float
+unzip 26204-600.zip
+unzip 26204-600_ANSI-C_source_code.zip
+mv c-code libavcodec/amrwb_float
+</screen>
+Gdy już to zrobisz, kontynuuj <link linkend="features">budowanie</link>
+<application>MPlayera</application> tak, jak zwykle.
+</para>
+</sect2>
+</sect1>
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+
<sect1 id="rtc">
<title>RTC</title>
diff --git a/DOCS/xml/pl/mencoder.xml b/DOCS/xml/pl/mencoder.xml
index c2e91525dc..bf29ccf3f0 100644
--- a/DOCS/xml/pl/mencoder.xml
+++ b/DOCS/xml/pl/mencoder.xml
@@ -741,7 +741,7 @@ Niestety, istnieje tylko kilka odtwarzaczy video, pomijajÄ…c
<para>
Możliwość ta może być jedynie używana z kodekiem <systemitem>mpeg4</systemitem>
z biblioteki
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
+<systemitem class="library">libavcodec</systemitem>.
Pamiętaj: chociaż <application>MPlayer</application> poprawnie odtworzy
stworzone pliki, inne odtwarzacze mogą użyć złych proporcji obrazu
(aspect ratio).
diff --git a/DOCS/xml/pl/ports.xml b/DOCS/xml/pl/ports.xml
index 07593072fe..1495a0394d 100644
--- a/DOCS/xml/pl/ports.xml
+++ b/DOCS/xml/pl/ports.xml
@@ -302,36 +302,6 @@ Problem może być rozwiązany przy pomocy łatki 109764-04 (sparc) / 109765-04
</itemizedlist>
</sect2>
-<sect2 id="irix">
-<title>IRIX</title>
-<para>
-Możesz albo spróbować zainstalować program GNU install i (jeżeli nie
-umieściłeś go w globalnej ścieżce) wskazać go przez:
-<screen>./configure --with-install=
-<replaceable>/ścieżka/i/nazwa/programu/instalacyjnego</replaceable></screen>
-</para>
-
-<para>
-Albo użyć domyślnego programu instalacyjnego dostarczonego z IRIX 6.5, w tym
-wypadku należy ręcznie zmodyfikować plik <filename>Makefile</filename> w
-kilku miejscach. Zmień poniższe dwie linijki:
-<programlisting>
- $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-
- $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
-</programlisting>
-na:
-<programlisting>
- $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-
- $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
-</programlisting>
-A potem wykonaj (w katalogu źródłowym <application>MPlayera</application>):
-<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
-i dalej skompiluj i zainstaluj.
-</para>
-</sect2>
-
<sect2 id="hp-ux">
<title>HP-UX</title>
<para>
@@ -528,6 +498,22 @@ Oznacza to, że <emphasis role="bold">AIX 5.2 i 5.3 nie potrafią aktualnie uży
</itemizedlist>
</sect2>
+
+<sect2 id="qnx">
+<title>QNX</title>
+<para>
+Będziesz musiał ściągnąć bibliotekę SDL dla QNX i zainstalować ją. Wtedy
+uruchom <application>MPlayera</application> z opcjÄ…
+<option>-vo sdl:driver=photon</option>
+i <option>-ao sdl:nto</option>, powinno działać szybko.
+</para>
+
+<para>
+Wyjście <option>-vo x11</option> będzie nawet wolniejsze niż na Linuksie,
+ponieważ QNX ma tylko <emphasis>emulację</emphasis> X'ów, która jest bardzo
+wolna.
+</para>
+</sect2>
</sect1>
<sect1 id="windows">
@@ -857,63 +843,4 @@ stary projekt dla <application>Xcode</application> 1.x już nie działa.
</sect2>
</sect1>
-<sect1 id="exotic_platforms">
-<title>Egzotyczne Platformy</title>
-
-<para>
-<application>MPlayer</application> dziła na wielu egzotycznych platfromach, ale
-większość zmian dla konkretnych platform nie trafiła do głównego drzewa ze źródłami
-programu.
-Instrukcji co do budowy szukaj w dokumentacji do określonych systemów.
-</para>
-
-<sect2 id="qnx">
-<title>QNX</title>
-<para>
-Będziesz musiał ściągnąć bibliotekę SDL dla QNX i zainstalować ją. Wtedy
-uruchom <application>MPlayera</application> z opcjÄ…
-<option>-vo sdl:driver=photon</option>
-i <option>-ao sdl:nto</option>, powinno działać szybko.
-</para>
-
-<para>
-Wyjście <option>-vo x11</option> będzie nawet wolniejsze niż na Linuksie,
-ponieważ QNX ma tylko <emphasis>emulację</emphasis> X'ów, która jest bardzo
-wolna.
-</para>
-</sect2>
-
-<sect2 id="amiga">
-<title>Amiga/MorphOS (GeekGadgets)</title>
-<para>
-Ludzie z <ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
-tworzÄ… aktualne paczki z <application>MPlayerem</application> i
-<application>MEncoderem</application>.
-</para>
-
-<para>
-Nicholas Det at Genesi stworzył potężny port <application>MPlayera
-</application> dla MorphOS. Niestety oparty jest on o seriÄ™ 0.90.
-</para>
-
-<para>
-Pobierz go z <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
-<itemizedlist>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
-pakiet binarny <application>MPlayer</application> 0.91</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
-źródła <application>MPlayera</application> 0.91</ulink>
-</para></listitem>
-<listitem><para>
-<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
-pakiet binarny <application>MEncodera</application> 1.0pre3</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect2>
-</sect1>
-
</chapter>
diff --git a/DOCS/xml/ru/bugreports.xml b/DOCS/xml/ru/bugreports.xml
index 963fcec4d4..471e62383e 100644
--- a/DOCS/xml/ru/bugreports.xml
+++ b/DOCS/xml/ru/bugreports.xml
@@ -148,7 +148,7 @@ svn update -r {"2004-08-23 15:17:25"}
инÑтрукции по Subversion внизу
<ulink url="http://www.mplayerhq.hu/dload.html">Ñтой Ñтраницы</ulink>
или в README. ЕÑли Ñто не помогло, пожалуйÑта, обратитеÑÑŒ к ÑпиÑку
-<link linkend="bugs">извеÑтных ошибок</link> и оÑтальной документации. ЕÑли
+извеÑтных ошибок и оÑтальной документации. ЕÑли
Ваша проблема не извеÑтна или не решаетÑÑ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ наших инÑтрукций,
пожалуйÑта, Ñообщите об ошибке.
</para>
diff --git a/DOCS/xml/ru/bugs.xml b/DOCS/xml/ru/bugs.xml
deleted file mode 100644
index 85fefa9678..0000000000
--- a/DOCS/xml/ru/bugs.xml
+++ /dev/null
@@ -1,218 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r23516 -->
-<appendix id="bugs">
-<title>ИзвеÑтные проблемы</title>
-
-<sect1 id="bugs-special">
-<title>ОÑобые ÑиÑтемно/CPU-Ñпецифичные ошибки/проблемы</title>
-<itemizedlist>
-<listitem>
- <para>SIGILL (Ñигнал 4) на P3, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ 2.2.x Ñдра:</para>
- <para>Проблема: в Ñдрах 2.2.x нет надлежащей (работающей) поддержки SSE</para>
- <para>Решение: обновите Ñдро до верÑий 2.4.x</para>
- <para>Обход: <command>./configure --disable-sse</command></para>
-</listitem>
-
-<listitem>
- <para>ПовÑемеÑтный SIGILL (Ñигнал 4):</para>
- <para>
- Проблема: Ð’Ñ‹ Ñкомпилировали и запуÑтили <application>MPlayer</application> на
- разных машинах (например Ñкомпилировали на P3 и запуÑкаете на Celeron)
- </para>
- <para>
- Решение: Ñкомпилируйте <application>MPlayer</application> на той же машине,
- где Ð’Ñ‹ будете его иÑпользовать!
- </para>
- <para>
- Обход: Ð’Ñ‹ можете забыть обо вÑём Ñтом, Ñконфигурировав <application>MPlayer</application>
- Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹ <option>--enable-runtime-cpudetection</option> или отключив отдельные наборы
- инÑтрукций процеÑÑора Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ более ÑпецифичеÑких опций, например,
- <option>--disable-mmx</option>, <option>--disable-3dnow</option> и т.п..
- </para>
-</listitem>
-
-<listitem>
- <para>Фатальные ошибки при дампе потоков:</para>
- <para>Проблема: дамп Ñдра</para>
- <para>Решение: Ðе паникуйте. УбедитеÑÑŒ, что знаете где Ваше полотенце.</para>
-</listitem>
-</itemizedlist>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="bugs-audio">
-<title>Различные проблемы A-V Ñинхронизации и прочие аудио проблемы</title>
-
-<sect2 id="bugs-delay-all">
-<title>ÐžÐ±Ñ‰Ð°Ñ Ð·Ð°Ð´ÐµÑ€Ð¶ÐºÐ° аудио или прерывиÑтый звук
-(ÑущеÑтвует Ñо вÑеми или многими файлами)</title>
-
-<itemizedlist>
-<listitem><para>
- наиболее общее: плохой аудио драйвер! - попробуйте иÑпользовать другой драйвер,
- попробуйте ALSA OSS ÑмулÑцию, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ <option>-ao oss</option>, также
- попробуйте <option>-ao sdl</option>, иногда Ñто помогает. ЕÑли Ваш файл хорошо
- проигрываетÑÑ Ñ <option>-nosound</option>, Ð’Ñ‹ можете быть уверены: Ñто проблема
- Вашей звуковой карты (драйвера).
-</para></listitem>
-
-<listitem>
- <para>проблемы аудио буфера (размер буфера определÑетÑÑ Ð½ÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð¾)</para>
- <para>
- Обход: Ð¾Ð¿Ñ†Ð¸Ñ <application>MPlayer</application> <option>-abs</option>
- </para>
-</listitem>
-
-<listitem><para>
- проблема чаÑтоты диÑкретизации - может быть Ваша карта не поддерживает чаÑтоту
- диÑкретизации, иÑпользуемую в Ваших файлах - попробуйте фильтр Ð´Ð»Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ
- чаÑтоты диÑкретизации (<option>-af resample=...</option>)
-</para></listitem>
-
-<listitem>
- <para>Ð¼ÐµÐ´Ð»ÐµÐ½Ð½Ð°Ñ Ð¼Ð°ÑˆÐ¸Ð½Ð° (CPU или VGA)</para>
- <para>
- попробуйте Ñ <option>-vo null</option>, еÑли так проигрываетÑÑ Ñ…Ð¾Ñ€Ð¾ÑˆÐ¾, то
- у Ð’Ð°Ñ Ð¼ÐµÐ´Ð»ÐµÐ½Ð½Ñ‹Ðµ VGA карта/драйвер
- </para>
- <para>
- Обход: купите более быÑтрую карту или читайте документацию о том, как
- уÑкорить работу
- </para>
- <para>Также попробуйте <option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-delay-specific">
-<title>Ðудио задержка/раÑÑинхронизациÑ, ÑÐ¿ÐµÑ†Ð¸Ñ„Ð¸Ñ‡Ð½Ð°Ñ Ð´Ð»Ñ Ð¾Ð´Ð½Ð¾Ð³Ð¾ или неÑкольких
-файлов</title>
-<itemizedlist>
-<listitem>
- <para>плохой файл</para>
- <para>
- Обход:
- <itemizedlist>
- <listitem>
- <para>
- опции <option>-ni</option> или <option>-nobps</option> option (длÑ
- неÑлоёных или плохих файлов)
- </para>
- <para>и/или</para>
- </listitem>
-
- <listitem>
- <para>
- <option>-mc 0</option>
- (требуетÑÑ Ð´Ð»Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð² Ñ Ð¿Ð»Ð¾Ñ…Ð¾ Ñлоёным VBR аудио)
- </para>
- <para>и/или</para>
- </listitem>
-
- <listitem>
- <para>
- <option>-delay</option> или кнопки <keycap>+</keycap>/<keycap>-</keycap>
- во Ð²Ñ€ÐµÐ¼Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð¿Ð¾Ð´Ñтройки задержки
- </para>
- </listitem>
- </itemizedlist>
- ЕÑли ничто из Ñтого не помогает, пожалуйÑта, закачайте нам файл, мы выполним проверку
- (и внеÑём иÑправлениÑ).
- </para>
-</listitem>
-<listitem>
- <para>Ваша Ð·Ð²ÑƒÐºÐ¾Ð²Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð° не поддерживает воÑпроизведение на 48 кГц </para>
- <para>
- Обход: купите лучшую звуковую карту... или попытайтеÑÑŒ уменьшить fps на
- 10% (иÑпользуйте <option>-fps 27</option> Ð´Ð»Ñ 30 fps фильмов), или иÑпользуйте
- фильтр Ð´Ð»Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ñ‡Ð°Ñтоты диÑкретизации
- </para>
-</listitem>
-
-<listitem>
- <para>
- Ð¼ÐµÐ´Ð»ÐµÐ½Ð½Ð°Ñ Ð¼Ð°ÑˆÐ¸Ð½Ð° (еÑли A-V не около 0, и поÑледнее чиÑло в Ñтроке ÑтатуÑа
- увеличиваетÑÑ)
- </para>
- <para>Обход: <option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nosound">
-<title>Вообще нет звука</title>
-<itemizedlist>
-<listitem>
- <para>Ваш файл иÑпользует неподдерживаемый аудиокодек</para>
- <para>
- Решение: прочтите документацию и помогите нам добавить поддержку Ð´Ð»Ñ Ð½ÐµÐ³Ð¾
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nopicture">
-<title>Вообще нет Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ (только проÑтое Ñерое/зелёное окно)</title>
-<itemizedlist>
-<listitem>
- <para>Ваш файл иÑпользует неподдерживаемый видеокодек</para>
- <para>
- Решение: прочтите документацию и помогите нам добавить поддержку Ð´Ð»Ñ Ð½ÐµÐ³Ð¾
- </para>
-</listitem>
-
-<listitem>
- <para>
- автоматичеÑки выбранный кодек не может декодировать файл, попробуйте выбрать
- другой, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¾Ð¿Ñ†Ð¸Ð¸ <option>-vc</option> или <option>-vfm</option>
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-video">
-<title>Проблемы вывода видео</title>
-<para>
-Во-первых, заметьте, что опции <option>-fs</option>, <option>-vm</option> и <option>-zoom</option>
-не вÑеми драйверами поддерживаютÑÑ. Вдобавок, не вÑе драйвера поддерживают аппаратное
-маÑштабирование.
-</para>
-
-<formalpara>
-<title>Мерцание OSD/Ñубтитров</title>
-<para>
-<itemizedlist>
- <listitem><para>x11 драйвер: извините, он не может быть ÑÐµÐ¹Ñ‡Ð°Ñ Ð¸Ñправлен</para></listitem>
- <listitem><para>xv драйвер: иÑпользуйте опцию <option>-double</option></para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-<formalpara>
-<title>зелёное изображение при иÑпользовании mga_vid
- (<option>-vo mga</option> / <option>-vo xmga</option>)</title>
-<para>
-<itemizedlist>
-<listitem><para>
- mga_vid неправильно определÑет размер памÑти на Вашей видео карте,
- перезагрузите модуль, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¾Ð¿Ñ†Ð¸ÑŽ <option>mga_ram_size</option>
-</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-</sect2>
-</sect1>
-
-</appendix>
diff --git a/DOCS/xml/ru/codecs.xml b/DOCS/xml/ru/codecs.xml
deleted file mode 100644
index c8f6b1e627..0000000000
--- a/DOCS/xml/ru/codecs.xml
+++ /dev/null
@@ -1,683 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r26729 -->
-<chapter id="codecs">
-<title>Поддерживаемые кодеки</title>
-
-<sect1 id="video-codecs">
-<title>Видео кодеки</title>
-
-<para>
-<ulink url="../../codecs-status.html">Таблица ÑтатуÑа кодеков</ulink> Ñодержит
-полный, ежедневно обновлÑющийÑÑ ÑпиÑок вÑех поддерживаемых кодеков. Ðекоторые
-бинарные кодеки, которые можно иÑпользовать в MPlayer, доÑтупны
-в <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">разделе закачки</ulink>
-нашего Ñайта.
-</para>
-
-<para>
-Ðаиболее важные кодеки:
-</para>
-
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">MPEG1</emphasis> (<emphasis role="bold">VCD</emphasis>) и
- <emphasis role="bold">MPEG2</emphasis> (<emphasis role="bold">DVD</emphasis>) видео
-</para></listitem>
-<listitem><para>
- "родные" декодеры Ð´Ð»Ñ <emphasis role="bold">вÑех вариантов DivX,
- 3ivX, Microsoft MPEG-4</emphasis> v1, v2 и других вариантов MPEG-4.
-</para></listitem>
-<listitem><para>
- "родной" декодер Ð´Ð»Ñ <emphasis role="bold">Windows Media Video 7/8</emphasis>
- (<emphasis role="bold">WMV1/WMV2</emphasis>), и Win32 DLL декодер
- Ð´Ð»Ñ <emphasis role="bold">Windows Media Video 9</emphasis>
- (<emphasis role="bold">WMV3</emphasis>), оба иÑпользуютÑÑ Ð² <filename>.wmv
- </filename> файлах
-</para></listitem>
-<listitem><para>
- "родной" <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> декодер
-</para></listitem>
-<listitem><para>
- "родной" <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> декодер
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">3ivx</emphasis> v1, v2 декодер
-</para></listitem>
-<listitem><para>
- Cinepak и <emphasis role="bold">Intel Indeo</emphasis> кодеки (3.1,3.2,4.1,5.0)
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 и другие аппаратные
- форматы
-</para></listitem>
-<listitem><para>
- VIVO 1.0, 2.0, I263 и другие <emphasis role="bold">h263(+)</emphasis> варианты
-</para></listitem>
-<listitem><para>
- FLI/FLC
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">RealVideo 1.0 &amp; 2.0 </emphasis> из
- <systemitem class="library">libavcodec</systemitem>, и
- <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> кодеки, иÑпользуÑ
- библиотеки RealPlayer
-</para></listitem>
-<listitem><para>
- "родной" декодер Ð´Ð»Ñ HuffYUV
-</para></listitem>
-<listitem><para>
- Различные Ñтарые, проÑтые, похожие на RLE форматы
-</para></listitem>
-</itemizedlist>
-
-<para>
-ЕÑли у Ð’Ð°Ñ ÐµÑÑ‚ÑŒ не упомÑнутый здеÑÑŒ Win32 кодек, который ещё не поддерживаетÑÑ,
-пожалуйÑта, прочтите <link linkend="codec-importing">Как добавить кодек</link>
-и помогите нам добавить Ð´Ð»Ñ Ð½ÐµÐ³Ð¾ поддержку.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
-<title>FFmpeg/libavcodec</title>
-
-<para>
-<ulink url="http://ffmpeg.sourceforge.net">FFmpeg</ulink> Ñодержит
-<systemitem class="library">libavcodec</systemitem> - ведущую библиотеку аудио
-и видео кодеков Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¼ иÑходным кодом. Она ÑпоÑобна декодировать
-большинÑтво мультимедиа форматов, обычно быÑтрее альтернатив, и периодичеÑки
-добавлÑетÑÑ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° оÑтавшихÑÑ. Это декодер по-умолчанию Ð´Ð»Ñ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ð½Ñтва
-кодеков, поддерживаемых
-<application>MPlayer</application>. Кодирование также возможно Ð´Ð»Ñ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ñ… форматов и
-поддерживаетÑÑ Ð² <application>Mencoder</application>.
-</para>
-
-<para>
-Полный ÑпиÑок поддерживаемых
-<ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC19">видео</ulink>
-и <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC20">аудио</ulink> кодеков
-доÑтупен на домашней Ñтранице FFmpeg.
-</para>
-
-<para>
-<application>MPlayer</application>
-Ñодержит <systemitem class="library">libavcodec</systemitem>.
-ПроÑто запуÑтите <filename>./configure</filename> и компилируйте как обычно.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xvid">
-<title>Xvid</title>
-
-<para>
-<ulink url="http://www.xvid.org">Xvid</ulink> Ñвободный, MPEG-4 ASP ÑовмеÑтимый
-видео кодек, оÑобенноÑÑ‚Ñми которого ÑвлÑÑŽÑ‚ÑÑ Ð´Ð²ÑƒÑ…Ð¿Ñ€Ð¾Ñ…Ð¾Ð´Ð½Ð¾Ðµ кодирование и
-Ð¿Ð¾Ð»Ð½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° MPEG-4 ASP, Ð´ÐµÐ»Ð°ÑŽÑ‰Ð°Ñ ÐµÐ³Ð¾ намного более Ñффективным, чем
-хорошо извеÑтный DivX. Он предоÑтавлÑет видео отменного качеÑтва и хорошую
-производительноÑÑ‚ÑŒ, в Ñилу оптимизаций под большинÑтво Ñовременных процеÑÑоров.
-</para>
-
-<para>
-Он началÑÑ ÐºÐ°Ðº ответвление OpenDivX кодека. Это произошло, когда ProjectMayo
-Ñделал иÑходный код OpenDivX
-закрытым DivX4, и разработчики OpenDivX не из ProjectMayo
-разозлилиÑÑŒ, и взÑлиÑÑŒ за Xvid. ПоÑтому у обоих проектов общие корни.
-</para>
-
-<para>
-Имейте в виду, что Xvid не нужен Ð´Ð»Ñ Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Xvid-кодированного видео.
-<systemitem class="library">libavcodec</systemitem> иÑпользуетÑÑ Ð¿Ð¾-умолчанию,
-Ñ‚.к. обеÑпечивает более выÑокую ÑкороÑÑ‚ÑŒ.
-</para>
-
-<procedure>
-<title>УÑтановка <systemitem class="library">Xvid</systemitem></title>
-
-<para>
- Как и большинÑтво ПО Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¼ иÑходным кодом, он доÑтупен как в виде
- <ulink url="http://www.xvid.org/downloads.html">официальных релизов</ulink>,
- так и в виде CVS верÑии.
- Как правило, CVS верÑÐ¸Ñ Ð´Ð¾Ñтаточно Ñтабильна Ð´Ð»Ñ Ð¸ÑпользованиÑ, Ñ‚.к. в большинÑтве
- Ñлучаев ее оÑобенноÑтью ÑвлÑетÑÑ Ð¾Ñ‚ÑутÑтвие ошибок, приÑутÑтвующих в релизах.
- Далее опиÑываетÑÑ ÐºÐ°Ðº заÑтавить работать
- <systemitem class="library">Xvid</systemitem> CVS Ñ <application>MEncoder</application>'ом
- (необходимы, как минимум,
- <application>autoconf</application> 2.50,
- <application>automake</application> и <application>libtool</application>):
-</para>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
-</para></step>
-<step><para>
- <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
-</para></step>
-<step><para>
- <screen>cd xvidcore/build/generic</screen>
-</para></step>
-<step><para>
- <screen>./bootstrap.sh</screen>
-</para></step>
-<step><para>
- <screen>./configure</screen>
- Вам может потребоватьÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ некоторые опции (поÑмотрите вывод
- <command>./configure --help</command>).
-</para></step>
-<step><para>
- <screen>make &amp;&amp; make install</screen>
-</para></step>
-<step><para>
- ЕÑли Ð’Ñ‹ указали <option>--enable-divxcompat</option>,
- Ñкопируйте <filename>../../src/divx4.h</filename> в
- <filename class="directory">/usr/local/include/</filename>.
-</para></step>
-<step><para>
- Перекомпилируйте <application>MPlayer</application> Ñ
- <option>--with-xvidlibdir=<replaceable>/path/to/</replaceable>libxvidcore.a</option>
- <option>--with-xvidincdir=<replaceable>/path/to/</replaceable>xvid.h</option>.
-</para></step>
-</procedure>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="codec-x264">
-<title><systemitem class="library">x264</systemitem></title>
-
-<sect3 id="codec-x264-whatis">
-<title>Что такое <systemitem class="library">x264</systemitem>?</title>
-<para>
-<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink> -
-Ñто библиотека Ð´Ð»Ñ ÑозданиÑ
-видеопотоков H.264. Она не завершена на 100%, но,
-поддерживает большинÑтва возможноÑтей H.264, влиÑющих на качеÑтво.
-Ð’ Ñпецификации H.264 приÑутÑтвует множеÑтво дополнительных возможноÑтей,
-которые Ñами по Ñебе никак не влиÑÑŽÑ‚ на качеÑтво видео и до Ñих в
-<systemitem class="library">x264</systemitem> не реализованы.
-</para>
-
-<itemizedlist>
-<title>возможноÑти кодера</title>
- <listitem><para>
- CAVLC/CABAC (КонтекÑтнозавиÑимое адаптивное бинарное арифметичеÑкое
- кодирование / КонтеÑтнозавиÑимое адаптивное кодирование Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ длиной)
- </para></listitem>
- <listitem><para>Кадры Ñ Ð½ÐµÑколькими ÑÑылками</para></listitem>
- <listitem><para>
- Базовые (I-) кадры: вÑе типы макроблоков (16x16, 8x8 и 4x4 Ñо вÑеми
- видами предÑказаниÑ)
- </para></listitem>
- <listitem><para>
- ПредÑказуемые (P-) кадры: вÑе Ð´Ñ€Ð¾Ð±Ð»ÐµÐ½Ð¸Ñ (от 16x16 до 4x4)
- </para></listitem>
- <listitem><para>
- Двунаправленные (B-) кадры: Ð´Ñ€Ð¾Ð±Ð»ÐµÐ½Ð¸Ñ Ð¾Ñ‚ 16x16 до 8x8 (Ð²ÐºÐ»ÑŽÑ‡Ð°Ñ SKIP/DIRECT)
- </para></listitem>
- <listitem><para>
- Управление потоком: поÑтоÑнный квантователь, поÑтоÑнный битпоток,
- одинарный или многопроходный ABR, опциональный VBV
- </para></listitem>
- <listitem><para>Обнаружение уÑÐµÑ‡ÐµÐ½Ð¸Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ</para></listitem>
- <listitem><para>Ðдаптивное раÑположение B-кадров</para></listitem>
- <listitem><para>
- B-кадры как ÑÑылки или в произвольном раÑположении кадров
- </para></listitem>
- <listitem><para>Ðдаптивные проÑтранÑтвенные Ð¿Ñ€ÐµÐ¾Ð±Ñ€Ð°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ 8x8 и 4x4</para></listitem>
- <listitem><para>Режим ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð±ÐµÐ· потерь</para></listitem>
- <listitem><para>ВозможноÑÑ‚ÑŒ Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»ÑŒÑких матриц квантованиÑ</para></listitem>
- <listitem><para>Параллельное кодирование разных блоков</para></listitem>
- <listitem><para>ИнтерлейÑинг</para></listitem>
-</itemizedlist>
-</sect3>
-
-<sect3 id="codec-h264-whatis">
-<title>Что такое H.264?</title>
-<para>
-H.264 - Ñто одно из названий нового цифрового кодека, ÑовмеÑтно
-разрабатываемого ITU и MPEG. ÐÐ°Ð·Ð²Ð°Ð½Ð¸Ñ "ISO/IEC 14496-10" или
-"MPEG-4 Part 10" тоже ÑвлÑÑŽÑ‚ÑÑ ÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ñ‹Ð¼Ð¸, но чаще его
-называют "MPEG-4 AVC" или проÑто "AVC".
-</para>
-
-<para>
-Как его ни называй, но H.264 Ñтоит попробовать, поÑкольку он
-дает то же качеÑтво, что и MPEG-4 ASP, но при битрейте меньшем
-на 5%-30%. Конкретный результат завиÑит как от иÑходного
-материала, так и от кодировщика. Выигрыш не даетÑÑ Ð¿Ñ€Ð¾Ñто так:
-декодирование потока H.264, похоже, имеет ÑущеÑтвенно повышенные требованиÑ
-к CPU и памÑти. Ð’ чаÑтноÑти, на 1733 MHz Athlon декодирование
-H.264 потока в 1500кбит/Ñ Ñ DVD-разрешением иÑпользует около 35% CPU.
-Ð”Ð»Ñ ÑравнениÑ, декодирование 1500кбит/Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° MPEG4-ASP Ñ
-DVD-разрешением требует около 10% CPU. Это означает, что длÑ
-большинÑтва пользователей практичеÑки не может быть и речи о декодировании
-потоков выÑокого разрешениÑ.
-Также Ñто значит, что даже Ñкромный DVD рип может Ð²Ñ€ÐµÐ¼Ñ Ð¾Ñ‚ времени
-заикатьÑÑ Ð½Ð° процеÑÑорах Ñлабее 2.0 GHz или около того.
-</para>
-
-<para>
-По крайней мере, Ñ <systemitem class="library">x264</systemitem>
-Ñ‚Ñ€ÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ð´Ð»Ñ ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ Ñлишком велики по Ñравнению Ñ MPEG4-ASP.
-Ð’ чаÑтноÑти, на 1733 MHz Athlon кодирование обичного DVD будет идти Ñо
-ÑкороÑтью 5-15 fps.
-</para>
-
-<para>
-ОбъÑÑнÑÑ‚ÑŒ вÑе тонкоÑти H.264 не ÑвлÑетÑÑ Ñ†ÐµÐ»ÑŒÑŽ Ñтого документа, но еÑли
-Ð²Ð°Ñ Ð¸Ð½Ñ‚ÐµÑ€ÐµÑует краткий обзор, вы можете прочеÑÑ‚ÑŒ
-<ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-playback">
-<title>Как мне поÑмотреть H.264 при помощи <application>MPlayer</application>?</title>
-<para>
-<application>MPlayer</application> иÑпользует H.264 декодер библиотеки
-<systemitem class="library">libavcodec</systemitem>.
-<systemitem class="library">libavcodec</systemitem> получила мало-мальÑки
-пригодную Ð´Ð»Ñ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ‚ÑŒ Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ H.264 где-то в июле 2004,
-однако, Ñ Ñ‚Ð¾Ð³Ð¾ времени было внеÑено множеÑтво Ñерьезных изменений и улучшений,
-как Ñ Ñ‚Ð¾Ñ‡ÐºÐ¸ Ð·Ñ€ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶Ð¸Ð²Ð°ÐµÐ¼Ñ‹Ñ… функциональных возможноÑтей, так и улучшенного
-иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ CPU.
-Ð”Ð»Ñ Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð½Ð¾Ñти: иÑпользование Ñвежей верÑии Subversion - вÑегда Ñ…Ð¾Ñ€Ð¾ÑˆÐ°Ñ Ð¸Ð´ÐµÑ.
-</para>
-
-<para>
-ЕÑли нужен быÑтрый и проÑтой ÑпоÑоб узнать какие Ñвежие изменениÑ, отноÑÑщиеÑÑ Ðº H.264,
-были Ñделаны в <systemitem class="library">libavcodec</systemitem>, Вам Ñледует
-иметь ввиду
-<ulink url="http://mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/h264.c?cvsroot=FFMpeg">Веб-Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ðº репозиторию FFmpeg Subversion</ulink>.
-</para>
-</sect3>
-
-
-<sect3 id="codec-x264-encode">
-<title>Как кодировать видео, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ <application>MEncoder</application> и <systemitem class="library">x264</systemitem>?</title>
-<para>
-ЕÑли у Ð²Ð°Ñ ÑƒÑтановлен клиент GIT, поÑледнюю верÑию x264
-можно загрузить Ñледующей командой:
-<screen>git clone git://git.videolan.org/x264.git</screen>
-ИÑходный код <application>MPlayer</application> обновлÑетÑÑ
-вÑÑкий раз при изменении API <systemitem class="library">x264</systemitem>,
-так что предлагаетÑÑ Ð¸Ñпользовать Subversion верÑию
-<application>MPlayer</application>'а.
-возможно, ÑÐ¸Ñ‚ÑƒÐ°Ñ†Ð¸Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸Ñ‚ÑÑ Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð¾Ð¼ "релиза"
-<systemitem class="library">x264</systemitem> (еÑли он будет).
-Ð’ данный момент <systemitem class="library">x264</systemitem> Ñледует
-раÑÑматривать как не ÑовÑем Ñтабильный, в Ñвете поÑтоÑнного изменениÑ
-интерфейÑа программированиÑ.
-</para>
-<para>
-<systemitem class="library">x264</systemitem> ÑобираетÑÑ Ð¸ уÑтанавливаетÑÑ
-как обычно:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-Это уÑтановит libx264.a в /usr/local/lib, а x264.h - в /usr/local/include.
-Сборка <application>MPlayer</application> при уÑтановленных в Ñтандартные
-каталоги библиотеке и заголовочном файле <systemitem class="library">x264</systemitem>
-очень проÑта.
-ПроÑто запуÑтите Ñтандартное:
-<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
-Скрипт <filename>./configure</filename> Ñам определит, выполнены ли необходимые Ñ‚Ñ€ÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ð´Ð»Ñ
-<systemitem class="library">x264</systemitem>.
-</para>
-</sect3>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-codecs">
-<title>Ðудио кодеки</title>
-
-<itemizedlist>
-<title>Ðаиболее важными аудио кодеками Ñреди вÑех ÑвлÑÑŽÑ‚ÑÑ:</title>
-<listitem><para>
- MPEG layer 1/2/3 (MP1/2/3) аудио (<emphasis role="bold">родной</emphasis>
- код, Ñ MMX/SSE/3DNow! оптимизацией)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 7 и 8 (они же WMAv1 и WMAv2) (<emphasis role="bold">родной</emphasis> код, Ñ
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
-</para></listitem>
-<listitem><para>
- Windows Media Audio 9 (WMAv3) (иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ DMO DLL)
-</para></listitem>
-<listitem><para>
- AC-3 Dolby аудио (<emphasis role="bold">родной</emphasis> код, Ñ
- MMX/SSE/3DNow! оптимизацией)
-</para></listitem>
-<listitem><para>
- AC-3 пропуÑкаемый через звуковое оборудование
-</para></listitem>
-<listitem><para>
- AAC
-</para></listitem>
-<listitem><para>
- Ogg Vorbis аудио кодек (<emphasis role="bold">роднаÑ</emphasis> библиотека)
-</para></listitem>
-<listitem><para>
- RealAudio: DNET (AC-3 Ñ Ð½Ð¸Ð·ÐºÐ¸Ð¼ битпотоком), Cook, Sipro и ATRAC3
-</para></listitem>
-<listitem><para>
- QuickTime: Qualcomm и QDesign аудио кодеки
-</para></listitem>
-<listitem><para>
- VIVO аудио (g723, Vivo Siren)
-</para></listitem>
-<listitem><para>
- Voxware аудио (иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ DirectShow DLL)
-</para></listitem>
-<listitem><para>
- alaw и ulaw, различные gsm, adpcm и pcm форматы и другие проÑтые Ñтарые аудио
- кодеки
-</para></listitem>
-<listitem><para>
- Adaptive Multi-Rate (AMR) речевые кодеки
-</para></listitem>
-</itemizedlist>
-
-
-<!-- ********** -->
-
-<sect2 id="swac3">
-<title>Программное декодирование AC-3</title>
-
-<para>
-Это декодер, иÑпользуемый, по умолчанию, Ð´Ð»Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð² Ñ AC-3 аудио
-</para>
-
-<para>
-Декодер AC-3 может Ñоздавать аудио вывод микшированный Ð´Ð»Ñ 2, 4 или 6 колонок.
-Будучи Ñконфигурированным Ð´Ð»Ñ 6 колонок, Ñтот декодер предоÑтавлÑет раздельный
-вывод вÑех AC-3 каналов звуковому драйверу, позволÑÑ Ð¿Ð¾Ð»ÑƒÑ‡Ð¸Ñ‚ÑŒ "звук вокруг"
-без внешнего AC-3 декодера, необходимого Ð´Ð»Ñ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ hwac3 кодека.
-</para>
-
-<para>
-ИÑпользуйте опцию <option>-channels</option>, чтобы выбрать количеÑтво каналов
-при выводе. ИÑпользуйте <option>-channels 2</option> Ð´Ð»Ñ Ð¼Ð¸ÐºÑˆÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð´Ð¾ Ñтерео.
-Ð”Ð»Ñ Ð¼Ð¸ÐºÑˆÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð´Ð¾ 4 каналов (Левый Передний, Правый Передний, Левый Задний и
-Правый Задний выводы),
-иÑпользуйте <option>-channels 4</option>. Ð’ Ñтом Ñлучае вÑе центральные каналы
-будут равномерно Ñмикшированы до ÑƒÑ€Ð¾Ð²Ð½Ñ Ð¿ÐµÑ€ÐµÐ´Ð½Ð¸Ñ… каналов. <option>-channels 6</option> будет
-выводить вÑе AC-3 каналы так, как они закодированы - по порÑдку:
-Левый, Правый, Левый Задний, Правый Задний, Центральный и Сабвуфер.
-</para>
-
-<para>
-КоличеÑтво каналов по умолчанию - 2.
-</para>
-
-<para>
-Чтобы иÑпользовать более 2 каналов, Вам нужно иÑпользовать OSS, и обладать
-карточкой, поддерживающей необходимое количеÑтво каналов через ioctl
-SNDCTL_DSP_CHANNELS. Примером подходÑщего драйвера ÑвлÑетÑÑ emu10k1
-(иÑпользуетÑÑ Ð´Ð»Ñ Soundblaster Live! карточек) авгуÑта 2001'го или новее
-(ALSA CVS тоже должен работать).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="hwac3">
-<title>Ðппаратное декодирование AC-3</title>
-<para>
-Вам нужна AC-3 ÑовмеÑÑ‚Ð¸Ð¼Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð° Ñ Ñ†Ð¸Ñ„Ñ€Ð¾Ð²Ñ‹Ð¼ (S/PDIF) выводом. Драйвер карты
-должен должным образом поддерживать AFMT_AC3 формат (например C-Media).
-ПодÑоедините AC-3 декодер к S/PDIF выводу и иÑпользуйте опцию <option>-ac
-hwac3</option>. Это ÑкÑÐ¿ÐµÑ€Ð¸Ð¼ÐµÐ½Ñ‚Ð°Ð»ÑŒÐ½Ð°Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ‚ÑŒ, но извеÑтно, что Ñто работает Ñ
-C-Media картами и Soundblaster Live! + ALSA (но не OSS) драйверами и
-картами MPEG Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ DXR3/Hollywood+.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="libmad">
-<title>Поддержка <systemitem class="library">libmad</systemitem></title>
-
-<para>
-<ulink url="http://mad.sourceforge.net"><systemitem
-class="library">libmad</systemitem></ulink> - Ñто многоплатформеннаÑ,
-целочиÑÐ»ÐµÐ½Ð½Ð°Ñ (внутренне 24'битный PCM)
-библиотека Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ MPEG аудио. Она не очень хорошо обрабатывает битые
-файлы и иногда у неё бывают проблемы Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÑ‰ÐµÐ½Ð¸ÐµÐ¼ по файлу, но она
-может быть производительнее <systemitem class="library">mp3lib</systemitem>
-на платформах без FPU (таких как <link linkend="arm">ARM</link>).
-</para>
-
-<para>
-ЕÑли <systemitem class="library">libmad</systemitem> у Ð²Ð°Ñ ÑƒÑтановлена,
-<filename>./configure</filename> Ñообщит об Ñтом,
-и поддержка Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ MPEG аудио Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ
-<systemitem class="library">libmad</systemitem> будет включена автоматичеÑки.
-</para>
-</sect2>
-
-
-<!-- ********** -->
-
-<sect2 id="hwmpa">
-<title>Ðппаратный MPEG аудио кодек</title>
-
-<para>
-Этот кодек (выбираемый по <option>-ac hwmpa</option>) передает вÑе аудио пакеты MPEG аппаратным
-декодерам, таким как уÑтановленные в полнофункциональных DVB картах и DXR2 адаптерах.
-Ðе иÑпользуйте его Ñ Ð´Ñ€ÑƒÐ³Ð¸Ð¼Ð¸ драйверами вывода звука (такими как OSS и ALSA), которые
-не ÑпоÑобны аппаратно декодировать (вы уÑлышите только белый шум).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="aac">
-<title>AAC кодек</title>
-<para>
-AAC (Advanced Audio Coding) - Ñто кодек, иногда обнаруживаемый в MOV и MP4
-файлах. Декодер Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¼ иÑходным кодом, называемый FAAD, доÑтупен Ñ
-<ulink url="http://www.audiocoding.com"/>.
-<application>MPlayer</application> включает в ÑÐµÐ±Ñ CVS верÑию libfaad 2.1 beta, поÑтому
-Вам ничего не нужно дополнительно Ñкачивать.
-</para>
-
-<para>
-ЕÑли Ð’Ñ‹ иÑпользуете gcc 3.2, который не может Ñкомпилировать вÑтроенный FAAD,
-или проÑто хотите иÑпользовать внешнюю библиотеку, Ñкачаете её Ñ
-<ulink url="http://www.audiocoding.com/download.php">Ñтраницы загрузок</ulink>
-и укажите <filename>./configure</filename> <option>--enable-faad-external</option>.
-Вам не нужен веÑÑŒ faad2, чтобы декодировать AAC файлы, доÑтаточно libfaad.
-Вот как Ð’Ñ‹ можете её Ñобрать:
-<screen>
-cd faad2/
-sh bootstrap
-./configure
-cd libfaad
-make
-make install
-</screen>
-Бинарники отÑутÑтвуют на audiocoding.com, но вы можете Ñкачать (apt-get) Debian
-пакеты Ñ <ulink url="http://marillat.free.fr">домашней Ñтраницы Christian Marillat</ulink>,
-Mandrake RPM'ники Ñ <ulink url="http://plf.zarb.org">P.L.F</ulink> и RedHat RPM'ники
-Ñ <ulink url="http://rpm.livna.org/">Livna</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amr">
-<title>AMR кодеки</title>
-<para>
-Речевой кодек Adaptive Multi-Rate иÑпользуетÑÑ Ð² мобильных телефонах третьего Ð¿Ð¾ÐºÐ¾Ð»ÐµÐ½Ð¸Ñ (3G).
-
-ИÑÑ…Ð¾Ð´Ð½Ð°Ñ Ñ€ÐµÐ°Ð»Ð¸Ð·Ð°Ñ†Ð¸Ñ Ð´Ð¾Ñтупна Ñ
-<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
-(беÑплатна Ð´Ð»Ñ Ð»Ð¸Ñ‡Ð½Ð¾Ð³Ð¾ иÑпользованиÑ).
-Чтобы включить поддержку, Ñкачайте и уÑтановите библиотеки поддержки длÑ
-<ulink url="http://www.penguin.cz/~utx/amr">AMR-NB и AMR-WB</ulink>, ÑледуÑ
-инÑтрукциÑм на указанной Ñтранице.
-</para>
-</sect2>
-
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="codec-importing">
-<title>КÐК извлечь кодек из Win32</title>
-
-<!-- TODO: a short paragraph of text would be nice here... -->
-
-<sect2 id="vfw-codecs">
-<title>VFW кодеки</title>
-
-<para>
-VFW (Video for Windows[Видео Ð´Ð»Ñ Windows]) - Ñто Ñтарые Видео API Ð´Ð»Ñ Windows.
-У Ñтих кодеков раÑÑˆÐ¸Ñ€ÐµÐ½Ð¸Ñ <filename>.DLL</filename> или (реже) <filename>.DRV</filename>.
-ЕÑли <application>MPlayer</application> не может проигрывать Ваш
-AVI Ñ Ñ‚Ð°ÐºÐ¾Ð³Ð¾ рода Ñообщением:
-<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
-Это значит, что Ваш AVI закодирован кодеком Ñ fourcc HFYU
-(HFYU = HuffYUV кодек, DIV3 = DivX Low Motion, и Ñ‚.п.). Теперь, когда Ð’Ñ‹ Ñто
-знаете, Ð’Ñ‹ должны найти DLL, которую Windows загружает Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð¸Ð³Ñ€Ñ‹Ð²Ð°Ð½Ð¸Ñ Ñтого
-файла. Ð’ нашем Ñлучае, в файле <filename>system.ini</filename> еÑÑ‚ÑŒ Ñта
-информациÑ, в Ñтой Ñтроке:
-<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
-</para>
-
-<para>
-Значит, Вам нужен файл <filename>huffyuv.dll</filename>. Заметьте, что аудио
-кодеки иÑпользуют Ð¿Ñ€ÐµÑ„Ð¸ÐºÑ MSACM:
-<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
-</para>
-
-<para>
-Это MP3 кодек. Теперь у Ð’Ð°Ñ ÐµÑÑ‚ÑŒ вÑÑ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼Ð°Ñ Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ (fourcc, файл Ñ
-кодеком, пример AVI), предÑтавьте на раÑÑмотрение Ð·Ð°Ð¿Ñ€Ð¾Ñ Ð¾ поддержке Вашего
-кодека по почте и загрузите Ñти файлы на FTP Ñайт:
-<systemitem role="url">
-ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;codecname&gt;</replaceable>/
-</systemitem>
-</para>
-
-<note><para>
-Под Windows NT/2000/XP ищите Ñту информацию в рееÑтре, например,
-ищите "VIDC.HFYU". Чтобы узнать, как Ñто делать, Ñм. ниже Ñтарый
-метод DirectShow.
-</para></note>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="dshow-codecs">
-<title>DirectShow кодеки</title>
-
-<para>
-DirectShow - Ñто более новый Video API, которые даже хуже, чем его предшеÑтвенник.
-Ð’Ñе Ñложнее Ñ DirectShow, поÑкольку
-<itemizedlist>
-<listitem><para>
- <filename>system.ini</filename> не Ñодержит необходимую информацию, вмеÑто
- Ñтого она хранитÑÑ Ð² рееÑтре и
-</para></listitem>
-<listitem><para>
- нам нужен GUID Ñтого кодека.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<procedure>
-<title>Ðовый Метод:</title>
-<para>
-ИÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ <application>Microsoft GraphEdit</application> (быÑтро)
-</para>
-<step><para>
- Получите <application>GraphEdit</application> или из DirectX SDK или
- <ulink url="http://doom9.net">doom9</ulink>.
-</para></step>
-<step><para>
- ЗапуÑтите <command>graphedit.exe</command>.
-</para></step>
-<step><para>
- В меню выберите
- <menuchoice><guimenu>Graph</guimenu>
- <guisubmenu>Insert Filters</guisubmenu></menuchoice>.
-</para></step>
-<step><para>
- Щёлкните <systemitem>DirectShow Filters</systemitem>.
-</para></step>
-<step><para>
- Выберите нужное Ð¸Ð¼Ñ ÐºÐ¾Ð´ÐµÐºÐ° и щёлкните по нему.
-</para></step>
-<step><para>
- Ð’ поле <systemitem>DisplayName</systemitem> обратите внимание на текÑÑ‚ в
- фигурных Ñкобках поÑле обратного ÑлÑша и выпишете их (пÑÑ‚ÑŒ разделённых
- дефиÑами блоков, GUID).
-</para></step>
-<step><para>
- Бинарный файл кодека - Ñто файл, указанный в поле <systemitem>Filename</systemitem>.
-</para></step>
-</procedure>
-
-<note><para>
-ЕÑли там нет <systemitem>Filename</systemitem> и
-<systemitem>DisplayName</systemitem> Ñодержит что-то в духе
-<systemitem>device:dmo</systemitem>, то Ñто - DMO-Кодек.
-</para></note>
-
-<procedure>
-<title>Старый метод:</title>
-<para>
-Сделайте глубокий вдох и начните иÑкать в рееÑтре...
-</para>
-<step><para>
- ЗапуÑтите <command>regedit</command>.
-</para></step>
-<step><para>
- Ðажмите <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo>, отключите
- первые две галочки и включите третью. Ðаберите fourcc Вашего кодека
- (например, <userinput>TM20</userinput>).
-</para></step>
-<step><para>
- Ð’Ñ‹ должны увидеть поле, Ñодержащее путь и Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð° (например,
- <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
-</para></step>
-<step><para>
- Теперь, когда у Ð’Ð°Ñ ÐµÑÑ‚ÑŒ файл, нам нужен GUID. Попробуйте поиÑкать Ñнова,
- но теперь ищите Ð¸Ð¼Ñ ÐºÐ¾Ð´ÐµÐºÐ°, а не fourcc. Это Ð¸Ð¼Ñ Ð¼Ð¾Ð¶ÐµÑ‚ быть получено,
- когда Media Player проигрывает файл, проверив
- <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu>
- <guimenuitem>Advanced</guimenuitem></menuchoice>.
- ЕÑли нет, Вам не повезло. Попробуйте угадать (например, ищите TrueMotion).
-</para></step>
-<step><para>
- ЕÑли GUID найден, Ð’Ñ‹ должны видеть Ð¿Ð¾Ð»Ñ <guilabel>FriendlyName</guilabel>
- и <guilabel>CLSID</guilabel>. Выпишите 16-ти байтовый CLSID, Ñто GUID, который
- нам нужен.
-</para></step>
-</procedure>
-
-<note><para>
-ЕÑли поиÑк не удаётÑÑ, попробуйте включить вÑе галочки. Ð’Ñ‹ можете получить
-ложные значениÑ, но Вам может повеÑти...
-</para></note>
-
-<para>
-Теперь у Ð’Ð°Ñ ÐµÑÑ‚ÑŒ вÑÑ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼Ð°Ñ Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ (fourcc, GUID, файл Ñ ÐºÐ¾Ð´ÐµÐºÐ¾Ð¼,
-пример AVI), предÑтавьте на раÑÑмотрение Ð·Ð°Ð¿Ñ€Ð¾Ñ Ð¾ поддержке Вашего кодека по
-почте и загрузите Ñти файлы на FTP Ñайт:
-<systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable>&lt;codecname&gt;</replaceable>/</systemitem>
-</para>
-
-<para>
-ЕÑли вы хотите добавить кодек ÑамоÑтоÑтельно, прочтите
-<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
-</para>
-</sect2>
-</sect1>
-</chapter>
diff --git a/DOCS/xml/ru/containers.xml b/DOCS/xml/ru/containers.xml
deleted file mode 100644
index d5e6d68887..0000000000
--- a/DOCS/xml/ru/containers.xml
+++ /dev/null
@@ -1,510 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r24056 -->
-<chapter id="containers">
-<title>Поддерживаемые форматы</title>
-
-<para>
-Важно разъÑÑнить одну общую ошибку. Когда люди видÑÑ‚ файл Ñ Ñ€Ð°Ñширением
-<filename>.AVI</filename>, они немедленно заключают, что Ñто - не MPEG файл.
-Это не так. Во вÑÑком Ñлучае не вÑегда. Супротив популÑрному мнению
-такой файл <emphasis>может</emphasis> Ñодержать MPEG видео.
-</para>
-
-<para>
-Как видите, <emphasis role="bold">кодек</emphasis> &mdash; Ñто не то же Ñамое,
-что и <emphasis role="bold">формат файла</emphasis>.
-Примеры видео <emphasis role="bold">кодеков</emphasis>: MPEG1, MPEG2, MPEG4 (DivX), Indeo5, 3ivx.
-Примеры видео <emphasis role="bold">форматов</emphasis>: MPG, AVI, ASF.
-</para>
-
-<para>
-Ð’ теории, Ð’Ñ‹ можете помеÑтить OpenDivX видео и MP3 аудио
-в <emphasis role="bold">файл MPG формата</emphasis>. ХотÑ, большинÑтво
-плееров не Ñмогут Ñто проиграть, поÑкольку они ожидают MPEG1 видео и
-MP2 аудио (в отличие от
-<emphasis role="bold">AVI</emphasis>, в <emphasis role="bold">MPG</emphasis>
-нет нужных полей Ð´Ð»Ñ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ ÐµÐ³Ð¾ видео и аудио потоков).
-Или Ð’Ñ‹ можете помеÑтить MPEG1 видео в AVI файл.
-<ulink url="http://ffmpeg.sourceforge.net/">FFmpeg</ulink> и
-<link linkend="mencoder"><application>MEncoder</application></link> могут Ñоздавать Ñти файлы.
-</para>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="video-formats">
-<title>Видео форматы</title>
-
-<sect2 id="mpg-vob-dat">
-<title>MPEG файлы</title>
-
-<para>
-MPEG файлы бывают различных разновидноÑтей:
-</para>
-
-<itemizedlist>
-<listitem><para>
- MPG: Это наиболее <emphasis role="bold">оÑновнаÑ</emphasis> форма файлов
- формата MPEG. Она Ñодержит MPEG1 видео, и MP2 (MPEG-1 layer 2) или реже
- MP1 аудио.
-</para></listitem>
-<listitem><para>
- DAT: Это почти такой же формат, как MPG, только Ñ Ð´Ñ€ÑƒÐ³Ð¸Ð¼ раÑширением. Он
- иÑпользуетÑÑ Ð½Ð° <emphasis role="bold">Video CD</emphasis>. Из-за метода,
- которым ÑоздаютÑÑ VCD и дизайна Linux'а, DAT файлы не могут проигрыватьÑÑ Ð¸
- копироватьÑÑ Ñ VCD, как обычные файлы. Ð”Ð»Ñ Ð¿Ñ€Ð¾Ð¸Ð³Ñ€Ñ‹Ð²Ð°Ð½Ð¸Ñ Video CD Ð’Ñ‹ должны
- иÑпользовать <option>vcd://</option>.
-</para></listitem>
-<listitem><para>
- VOB: Это формат MPEG файлов на <emphasis role="bold">DVD'шниках</emphasis>.
- Это такой же формат, как и MPG, Ð¿Ð»ÑŽÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑ‚ÑŒ Ñодержать Ñубтитры и
- не-MPEG (AC-3) аудио. Он Ñодержит кодированное MPEG2 видео и обычно AC-3
- аудио, но DTS, MP2 и не запакованный LPCM тоже возможны. <emphasis role="bold">
- Читайте Ñекцию <link linkend="dvd">DVD</link></emphasis>!
-</para></listitem>
-<listitem><para>
- TY: Это TiVo MPEG поток. Он Ñодержит как MPEG PES данные аудио и видео потоков,
- так и дополнительную информацию вроде Ñубтитров. Формат файла -
- Ñто не программный поток MPEG (MPEG program stream), а некий закрытый формат,
- Ñозданный TiVo. Более побдробно о формате TiVo можно прочитать
- на <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">
- Ñтранице TyStudio</ulink>.
-</para></listitem>
-</itemizedlist>
-
-<para>
-Серии кадров незавиÑимо группируютÑÑ Ð² MPEG файлах. Это значит, что Ð’Ñ‹ можете
-разрезать/ÑоединÑÑ‚ÑŒ MPEG фалы Ñтандартными файловыми ÑредÑтвами (такими, как
-<command>dd</command>, <command>cut</command>), и он оÑтаётÑÑ Ð¿Ð¾Ð»Ð½Ð¾Ñтью функциональным.
-</para>
-
-<para>
-Одно из оÑновных преимущеÑтв MPG'ов Ñто то, что в них еÑÑ‚ÑŒ поле,
-опиÑывающее Ñоотношение Ñторон видео потока. Ðапример, на SVCD ÑодержитÑÑ
-видео разрешением 480x480, и заголовок уÑтановил его(поле) в 4:3, поÑтому Ñто
-будет проигрыватьÑÑ Ð½Ð° 640x480. Ð’ AVI файлах такого Ð¿Ð¾Ð»Ñ Ð½ÐµÑ‚, поÑтому они должны
-быть маÑштабированы при кодировании или проигрыватьÑÑ Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹
-<option>-aspect</option>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="avi">
-<title>AVI файлы</title>
-
-<para>
-Разработанный Microsoft'ом
-<emphasis role="bold">AVI (Audio Video Interleaved [Ðудио Видео 'Слоёные'])</emphasis> -
-Ñто широко раÑпроÑтранённый многоцелевой формат, в наÑтоÑщий момент чаще вÑего
-применÑемый Ð´Ð»Ñ MPEG4 (DivX и DivX4) видео.
-У него много извеÑтных недоÑтатков и недочётов (например в потоках). Он
-поддерживает 1 видео поток и от 0 до 99 аудио потоков и может быть не
-более 2 Гб, Ñ…Ð¾Ñ‚Ñ ÑущеÑтвует раÑширение<emphasis role="bold">OpenDML</emphasis>,
-допуÑкающее большие файлы. Ð’ наÑтоÑщий момент Microsoft Ñильно отговаривает от
-его Ð¿Ñ€Ð¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð¸ Ñоветует иÑпользовать ASF/WMV. Ðикого Ñто не волнует.
-</para>
-
-<para>
-СущеÑтвует хак[hack], позволÑющий AVI файлам Ñодержать Ogg Vorbis аудио
-потоки, но делает их неÑовмеÑтимыми Ñо Ñтандартными AVI.
-<application>MPlayer</application> поддерживает воÑпроизведение таких файлов.
-Перемещение также оÑущеÑтвлено, но затруднено плохо закодированными файлами
-Ñ Ð·Ð°Ð¿ÑƒÑ‚Ð°Ð½Ð½Ñ‹Ð¼Ð¸ заголовками. К Ñожалению, Ñта проблема проÑвлÑетÑÑ Ñƒ
-единÑтвенного кодировщика, ÑпоÑобного Ñоздавать такие файлы -
-<application>NanDub</application>.
-</para>
-
-<note><para>
-DV камеры Ñоздают Ñырые DV потоки, которые ÑредÑтва DV захвата превращают
-в AVI файлы двух типов. AVI'шники либо будут Ñодержать разделённые аудио и видео
-потоки, которые <application>MPlayer</application> может воÑпроизводить, или
-Ñырой DV поток, поддержка которого находитÑÑ Ð² Ñтадии разработки.
-</para></note>
-
-<para>
-СущеÑтвует два клаÑÑа AVI файлов:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">'Слоёные'[Interleaved]:</emphasis> Ðудио и видео
- Ñодержимое 'переплетаетÑÑ'. Это Ñтандартное применение. Рекомендовано и
- иÑпользуетÑÑ Ñ‡Ð°Ñ‰Ðµ вÑего. Ðекоторые программы Ñоздают Ñлоёные AVI'шники
- Ñ Ð¿Ð»Ð¾Ñ…Ð¾Ð¹ Ñинхронизацией. <application>MPlayer</application>
- определÑет Ñто как Ñлоёный файл, и затем терÑет A/V Ñинхронизацию,
- вероÑтно при перемещении по файлу. Такие файлы должны проигрыватьÑÑ ÐºÐ°Ðº
- не Ñлоёные (Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹ <option>-ni</option>).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">Ðе Ñлоёные:</emphasis> Сначала идёт веÑÑŒ видео поток,
- затем веÑÑŒ аудио поток. Это требует огромного количеÑтва перемещений по файлу,
- что делает проигрывание таких файлов по Ñети или Ñ CD-ROM затруднительным.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-<application>MPlayer</application> поддерживает два типа Ñинхронизации длÑ
-AVI файлов:
-<itemizedlist>
-<listitem><para>
- <emphasis role="bold">оÑнованный на bps[битпотоке]:</emphasis> Он оÑнован на
- битпотоке/потоке ÑÑмплов Ð´Ð»Ñ Ð²Ð¸Ð´ÐµÐ¾/аудио потоков. Этот метод применÑетÑÑ
- большинÑтвом плееров, включаÑ
- <ulink url="http://avifile.sourceforge.net">avifile</ulink> и
- <application>Windows Media Player</application>. Файлы Ñ Ð¸Ñпорченными
- заголовками и файлы Ñозданные Ñ VBR аудио в не VBR-ÑовмеÑтимом кодировщике
- приведут к A/V раÑÑинхронизации при иÑпользовании Ñтого метода (по большей
- чаÑти при перемещении по фильму).
-</para></listitem>
-<listitem><para>
- <emphasis role="bold">оÑнованный на ÑлоёноÑти:</emphasis> Он не иÑпользует
- значение битпотока из заголовка, вмеÑто Ñтого иÑпользуетÑÑ Ð¾Ñ‚Ð½Ð¾ÑительнаÑ
- Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ñ Ñлоёных куÑков аудио и видео, что делает воÑпроизводимыми
- плохо закодированные Ñ VBR аудио.
-</para></listitem>
-</itemizedlist>
-</para>
-
-<para>
-ДопуÑтимы любые аудио и видео кодеки, но заметьте, что VBR аудио не очень
-хорошо поддерживаетÑÑ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ð½Ñтвом плееров. Формат файла делает возможным
-иÑпользование VBR аудио, но многие плееры ожидают CBR, поÑтому они
-выходÑÑ‚ из ÑÑ‚Ñ€Ð¾Ñ Ñ VBR. VBR редко вÑтречаетÑÑ Ð¸ Microsoft'овÑкие AVI
-Ñпецификации опиÑывают только CBR аудио. Я также заметил, что большинÑтво
-кодировщиков Ñоздают плохие файлы при иÑпользовании VBR аудио. ИзвеÑтно
-только два иÑключениÑ: <application>NanDub</application> и
-<link linkend="mencoder"><application>MEncoder</application></link>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="asf-wmv">
-<title>ASF/WMV файлы</title>
-<para>
-ASF (Active Streaming Format) иÑходит от Microsoft. Они разработали два варианта
-ASF, v1.0 и v2.0. v1.0 иÑпользуетÑÑ Ð¸Ñ… медиа ÑредÑтвами
-(<application>Windows Media Player</application> и
-<application>Windows Media Encoder</application>)
-и Ñильно заÑекречены. v2.0 опубликована и запатентована :). Конечно они
-различаютÑÑ, ÑовÑем нет никакой ÑовмеÑтимоÑти (Ñто проÑто Ð´Ñ€ÑƒÐ³Ð°Ñ Ð¿Ñ€Ð°Ð²Ð¾Ð²Ð°Ñ Ð¸Ð³Ñ€Ð°).
-<application>MPlayer</application> поддерживает только v1.0, поÑкольку никто
-никогда не видел v2.0 файлов :). Заметьте, что ASF файлы теперь поÑвлÑÑŽÑ‚ÑÑ
-Ñ Ñ€Ð°ÑширениÑми <filename>.WMA</filename> или <filename>.WMV</filename>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="qt-mov">
-<title>QuickTime/MOV файлы</title>
-
-<para>
-Эти форматы файлов были разработаны в Apple и могут Ñодержать любой кодек,
-CBR или VBR. Обычно у них раÑширение <filename>.QT</filename> или
-<filename>.MOV</filename>. Заметьте, что поÑкольку MPEG4 Group выбрала
-QuickTime в качеÑтве рекомендованного формата Ð´Ð»Ñ MPEG4, их MOV файлы
-идут Ñ Ñ€Ð°Ñширением <filename>.MPG</filename> или <filename>.MP4</filename>
-(ИнтереÑно, что видео и аудио потоки в Ñтих файлах - наÑтоÑщие
-MPG и AAC файлы. Ð’Ñ‹ даже можете извлечь их, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¾Ð¿Ñ†Ð¸Ð¸
-<option>-dumpvideo</option> и <option>-dumpaudio</option>.).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="vivo">
-<title>VIVO файлы</title>
-
-<para>
-<application>MPlayer</application> уÑпешно демультиплекÑирует VIVO форматы
-файлов. Огромный недоÑтаток Ñтого формата заключаетÑÑ Ð² том, что в нем нет
-ни индекÑных блоков, ни фикÑированного размера пакетов или байтов Ñинхронизации
-и в большинÑтве файлов нет даже ключевых кадров[keyframes], так что забудьте
-о перемещении по файлу!
-</para>
-
-<para>
-Видео кодек в VIVO/1.0 файлах - Ñто Ñтандартный <emphasis role="bold">h.263</emphasis>.
-Видео кодек в VIVO/2.0 файлах - Ñто модифицированный, неÑтандартный
-<emphasis role="bold">h.263v2</emphasis>. Ðудио в обоих форматах одинаковое, Ñто может быть
-<emphasis role="bold">g.723 (Ñтандарт)</emphasis>, или
-<emphasis role="bold">Vivo Siren</emphasis>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="fli">
-<title>FLI файлы</title>
-<para>
-<emphasis role="bold">FLI</emphasis> Ñто очень Ñтарый формат, иÑпользуемый
-Autodesk Animator, но Ñто типичный формат Ð´Ð»Ñ ÐºÐ¾Ñ€Ð¾Ñ‚ÐºÐ¸Ñ… анимационных роликов в Ñети.
-<application>MPlayer</application> демультиплекÑирует и декодирует FLI фильмы
-и даже ÑпоÑобен перемещатьÑÑ Ð² Ñтих файлах (полезно при цикличном проигрывании
-Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹ <option>-loop</option>). Во FLI файлах нет ключевых кадров[keyframes],
-поÑтому некоторое Ð²Ñ€ÐµÐ¼Ñ Ð¿Ð¾Ñле Ð¿ÐµÑ€ÐµÐ¼ÐµÑ‰ÐµÐ½Ð¸Ñ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° будет "грÑзной".
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="realmedia">
-<title>RealMedia (RM) файлы</title>
-
-<para>
-Да, <application>MPlayer</application> может читать (демультиплекÑировать)
-RealMedia (<filename>.rm</filename>) файлы.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nuppelvideo">
-<title>NuppelVideo файлы</title>
-<para>
-NuppelVideo -
-Ñто ÑредÑтво захвата Ñ Ð¢Ð’ (AFAIK:). <application>MPlayer</application> может
-читать его <filename>.NUV</filename> файлы (только NuppelVideo 5.0). Эти файлы
-могут Ñодержать неÑжатые YV12, YV12+Ñжатые RTJpeg, YV12 Ñжатые RTJpeg+lzo и
-YV12 + Ñжатые lzo кадры. <application>MPlayer</application> декодирует (и также
-<emphasis role="bold">кодирует</emphasis> <application>MEncoder
-</application>'ом в MPEG4 (DivX) и Ñ‚. д.!) вÑе Ñто. Перемещение работает.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="yuv4mpeg">
-<title>yuv4mpeg файлы</title>
-<para>
-<ulink url="http://mjpeg.sourceforge.net">yuv4mpeg / yuv4mpeg2</ulink>
-Ñто формат файлов, иÑпользуемых в
-<ulink url="http://mjpeg.sf.net">программах mjpegtools</ulink>.
-Ð’Ñ‹ можете захватывать, изготовлÑÑ‚ÑŒ, отфильтровывать или кодировать видео в Ñтот
-формат, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ñти ÑредÑтва. Ð’ дейÑтвительноÑти формат файла -
-поÑледовательноÑÑ‚ÑŒ неÑжатых YUV 4:2:0 кадров.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="film">
-<title>FILM фильмы</title>
-<para>
-Этот формат иÑпользуетÑÑ Ð² Ñтарых Sega Saturn CD-ROM играх.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="roq">
-<title>RoQ файлы</title>
-<para>
-RoQ файлы - Ñто мультимедийные файлы иÑпользуемые в некоторых ID играх,
-например Quake III и Return to Castle Wolfenstein.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg">
-<title>OGG/OGM файлы</title>
-<para>
-Это новый формат файлов от <ulink url="http://www.xiph.org">Xiphophorus</ulink>.
-Он может Ñодержать любой видео или аудио кодек, CBR или VBR. Вам понадобÑÑ‚ÑÑ,
-чтобы <systemitem class="library">libogg</systemitem> и
-<systemitem class="library">libvorbis</systemitem> были уÑтановлены до компилÑции
-<application>MPlayer</application>'а, чтобы иметь возможноÑÑ‚ÑŒ проигрывать Ñти файлы.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="sdp">
-<title>SDP файлы</title>
-<para>
-<ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> - Ñто
-IETF Ñтандартный формат Ð´Ð»Ñ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ Ð²Ð¸Ð´ÐµÐ¾ и аудио RTP потоков.
-(требуетÑÑ "<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>".)
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="pva">
-<title>PVA файлы</title>
-<para>
-PVA - Ñто похожий на MPEG формат, иÑпользуемый в программах DVB TV карт (например:
-<application>MultiDec</application>, <application>WinTV</application> под Windows.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nsv">
-<title>NSV files</title>
-<para>
-NSV (NullSoft Video) &mdash; Ñто формат файла, иÑпользуемый
-<application>Winamp</application>'ом Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ¾Ð²Ð¾Ð³Ð¾ аудио и видео.
-Видео бывает VP3, VP5 или VP6, а аудио &mdash; MP3, AAC или VLB.
-ВерÑии NSV, в которых только аудио, имеют раÑширение <filename>.nsa</filename>.
-<application>MPlayer</application> воÑпроизводит как NSV потоки,
-так и файлы. ПожалуйÑта, заметьте, что Ð±Ð¾Ð»ÑŒÑˆÐ°Ñ Ñ‡Ð°ÑÑ‚ÑŒ файлов Ñ
-<ulink url="http://www.winamp.com">Ñайта Winamp</ulink> иÑпользует VLB аудио,
-которое ещё не может декодироватьÑÑ. Более того, Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ¾Ð² Ñ Ñтого Ñайта
-необходим ещё один уровень депакетизации, который ещё нужно напиÑать (Ñти
-файлы вÑÑ‘ равно невозможно проиграть, поÑкольку они иÑпользуют VLB аудио).
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="matroska">
-<title>Файлы Matroska</title>
-<para>
-Matroska Ñто открытый формат файла.
-подробнее читайте на <ulink url="http://www.matroska.org/">официальном Ñайте</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="nut">
-<title>NUT файлы</title>
-<para>
-NUT Ñто формат файла, разработанный ребÑтами из <application>MPlayer</application> и
-<application>FFmpeg</application>. Оба проекта поддерживают его.
-ПодробноÑти читайте на <ulink url="http://www.nut.hu/">официальном Ñайте</ulink>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="gif">
-<title>GIF файлы</title>
-<para>
-<emphasis role="bold">GIF</emphasis> формат - Ñто типичный формат Ð´Ð»Ñ Ð²ÐµÐ±
-графики. СущеÑтвуют 2 верÑии Ñпецификаций GIF, GIF87a и GIF89a. ОÑновнаÑ
-разница заключаетÑÑ Ð² том, что GIF89a допуÑкает анимацию.
-<application>MPlayer</application> поддерживает
-оба формата, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ <systemitem class="library">libungif</systemitem> или
-другую libgif-ÑовмеÑтимую библиотеку. Ðе анимированные GIF'Ñ‹ будут показыватьÑÑ
-как однокадровое видео. (ИÑпользуйте опции <option>-loop</option> и
-<option>-fixed-vo</option>, чтобы показать их подольше.)
-</para>
-
-<para>
-Ð’ наÑтоÑщий момент <application>MPlayer</application> не поддерживает
-перемещение внутри GIF файлов. У GIF файлов не обÑзательно фикÑированный размер
-кадра или фикÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð°Ñ Ñ‡Ð°Ñтота кадров. Ðаоборот, у каждого кадра Ñвой
-ÑобÑтвенный размер и должен выводитьÑÑ Ð² некотором поле фикÑированного размера.
-ЧаÑтота кадров контролируетÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ð¼ блоком перед каждым кадром,
-который определÑет задержку перед Ñледующим кадром в Ñотых долÑÑ… Ñекунды.
-</para>
-
-<para>
-Стандартные GIF файлы Ñодержат 24-битные RGB кадры Ñ Ð½Ðµ более чем 8-битовой
-индекÑированной палитрой. Кадры обычно Ñжаты по LZW алгоритму, Ñ…Ð¾Ñ‚Ñ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ðµ
-GIF кодировщики Ñоздают неÑжатые кадры, чтобы избежать проблем Ñ Ð¿Ð°Ñ‚ÐµÐ½Ñ‚Ð¾Ð¼ на
-LZW Ñжатие.
-</para>
-
-<para>
-ЕÑли в Вашем диÑтрибутиве нет <systemitem class="library">libungif</systemitem>,
-Ñкачайте копию на
-<ulink url="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml">
-домашней Ñтранице libungif</ulink>. ТехничеÑкие подробноÑти Ñм. в
-<ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF89a
-ÑпецификациÑÑ…</ulink>.
-</para>
-</sect2>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="audio-formats">
-<title>Ðудио форматы</title>
-
-<para>
-<application>MPlayer</application> - Ñто проигрыватель
-<emphasis role="bold">фильмов</emphasis>, а не
-<emphasis role="bold">медиа</emphasis> плеер, Ñ…Ð¾Ñ‚Ñ Ð¾Ð½ может проигрывать
-некоторые форматы аудио файлов (они перечиÑлены ниже). Это не ÑвлÑетÑÑ Ñ€ÐµÐºÐ¾Ð¼ÐµÐ½Ð´ÑƒÐµÐ¼Ñ‹Ð¼
-применением <application>MPlayer</application>'а, Вам лучше иÑпользовать <ulink
-url="http://www.xmms.org">XMMS</ulink>.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="mp3">
-<title>MP3 файлы</title>
-<para>
-У Ð’Ð°Ñ Ð¼Ð¾Ð³ÑƒÑ‚ возникнуть проблемы при проигрывании некоторых MP3 файлов, которые
-<application>MPlayer</application> будет неверно определÑÑ‚ÑŒ, как MPEG'и и
-проигрывать неправильно или вообще никак. Это не может быть иÑправлено без
-потери поддержки некоторых плохих MPEG файлов и поÑтому вÑÑ‘ оÑтанетÑÑ ÐºÐ°Ðº еÑÑ‚ÑŒ
-в обозримом будущем. ÐžÐ¿Ñ†Ð¸Ñ <option>-demuxer</option>, опиÑÐ°Ð½Ð½Ð°Ñ Ð½Ð° man Ñтранице,
-может Вам помочь в Ñтом Ñлучае.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="ogg-vorbis">
-<title>OGG/OGM файлы (Vorbis)</title>
-<para>
-ТребуютÑÑ Ð¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð¾ уÑтановленные
-<systemitem class="library">libogg</systemitem> и
-<systemitem class="library">libvorbis</systemitem>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="cdda">
-<title>CD аудио</title>
-<para>
-<application>MPlayer</application> может иÑпользовать <application>cdparanoia
-</application>(библиотеку) Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð¸Ð³Ñ€Ñ‹Ð²Ð°Ð½Ð¸Ñ CDDA (Audio CD[Ðудио CD]).
-Ð’ задачи Ñтого раздела не входит опиÑание возможноÑтей библиотеки
-<application>cdparanoia</application>.
-</para>
-
-<para>
-См. на man Ñтранице опиÑание опции <option>-cdda</option>, ÐºÐ¾Ñ‚Ð¾Ñ€Ð°Ñ Ð¼Ð¾Ð¶ÐµÑ‚
-иÑпользоватьÑÑ Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐ´Ð°Ñ‡Ð¸ параметров в библиотеку
-<application>cdparanoia</application>.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="xmms">
-<title>XMMS</title>
-
-<para>
-<application>MPlayer</application> может иÑпользовать
-<application>XMMS</application>
-раÑÑˆÐ¸Ñ€ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð°<!-- звучит жутковато, но Ñто - перевод из XMMS :) -->, чтобы
-проигрывать множеÑтво форматов файлов. СущеÑтвуют раÑÑˆÐ¸Ñ€ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð¸Ð³Ñ€Ñ‹Ð²Ð°Ð½Ð¸Ñ
-мелодий из SNES игр, SID мелодий (из Commodore 64), множеÑтва Amiga форматов,
-.xm, .it, VQF, musepack, Bonk, shorten и множеÑтва других. Ð’Ñе Ñто Ð’Ñ‹ можете
-отыÑкать на <ulink url="http://www.xmms.org/plugins_input.html">Ñтранице
-раÑширений XMMS Ð´Ð»Ñ Ð²Ð²Ð¾Ð´Ð°</ulink>.
-</para>
-
-<para>
-Ð”Ð»Ñ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ñтих возможноÑтей Вам нужно уÑтановить <application>XMMS
-</application> и Ñкомпилировать <application>MPlayer</application> c ÑоответÑтвующей опцией:
-<filename>./configure --enable-xmms</filename>. ЕÑли Ñто не работает, Вам
-может понадобитьÑÑ Ð½Ð°Ñтроить пути к библиотеке и раÑширениÑм непоÑредÑтвенно,
-иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¾Ð¿Ñ†Ð¸Ð¸ <option>--with-xmmsplugindir</option> и <option>
---with-xmmslibdir</option>.
-</para>
-</sect2>
-</sect1>
-</chapter>
diff --git a/DOCS/xml/ru/documentation.xml b/DOCS/xml/ru/documentation.xml
index 4687da9cdc..f67545bc5e 100644
--- a/DOCS/xml/ru/documentation.xml
+++ b/DOCS/xml/ru/documentation.xml
@@ -118,7 +118,7 @@ windows media player. Даже AVI файлы без индекÑа ÑвлÑÑŽÑ‚
</para></listitem>
<listitem><para>
кодирование во вÑе кодеки FFmpeg'овÑкой библиотеки
- <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+ <systemitem class="library">libavcodec</systemitem>
</para></listitem>
<listitem><para>
кодирование видео Ñ <emphasis role="bold">V4L ÑовмеÑтимых TV тюнеров
@@ -181,19 +181,12 @@ Public License Version 2.
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
-
-&containers.xml;
-&codecs.xml;
-
&tvinput.xml;
&radio.xml;
-
&video.xml;
-
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
-&bugs.xml;
&skin.xml;
diff --git a/DOCS/xml/ru/encoding-guide.xml b/DOCS/xml/ru/encoding-guide.xml
index 3bbe16a418..1f8024fcc3 100644
--- a/DOCS/xml/ru/encoding-guide.xml
+++ b/DOCS/xml/ru/encoding-guide.xml
@@ -2581,7 +2581,7 @@ mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001
</title>
<para>
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
+<systemitem class="library">libavcodec</systemitem>
предоÑтавлÑет возможноÑÑ‚ÑŒ проÑтого ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð² множеÑтво интереÑных видео и
аудио форматов. Ð’Ñ‹ можете кодировать Ñледующими кодеками (более или менее
Ñвежий ÑпиÑок):
@@ -3221,8 +3221,7 @@ mencoder dvd://2 -o title2.avi -oac lavc -lavcopts acodec=ac3 -ovc copy
<para>
С Ñтой возможноÑтью
-<link linkend="ffmpeg"><systemitem
-class="library">libavcodec</systemitem></link>,
+<systemitem class="library">libavcodec</systemitem>,
Ð’Ñ‹ можете уÑтановить неÑтандартные inter (I-кадры/ключевые) и intra
(P-кадры/предÑказанные) матрицы. Это поддерживаетÑÑ Ð¼Ð½Ð¾Ð³Ð¸Ð¼Ð¸ кодеками:
В <systemitem>mpeg1video</systemitem> и <systemitem>mpeg2video</systemitem>
@@ -3957,7 +3956,7 @@ Xvid поддерживает профили ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ñ‡ÐµÑ€ÐµÐ· Ð
<para>
<systemitem class="library">x264</systemitem> &mdash; Ñто ÑÐ²Ð¾Ð±Ð¾Ð´Ð½Ð°Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñ‚ÐµÐºÐ° длÑ
ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ H.264/AVC видео потоков.
-Перед началом ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð’Ñ‹ должны <link linkend="codec-x264-encode">
+Перед началом ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð’Ñ‹ должны <link linkend="x264">
наÑтроить <application>MEncoder</application> Ð´Ð»Ñ ÐµÐ³Ð¾ поддержки</link>.
</para>
diff --git a/DOCS/xml/ru/faq.xml b/DOCS/xml/ru/faq.xml
index e2a52eaf70..0a2f588fb4 100644
--- a/DOCS/xml/ru/faq.xml
+++ b/DOCS/xml/ru/faq.xml
@@ -225,8 +225,8 @@ _LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be define
</para></question>
<answer><para>
Проверьте <ulink url="../../codecs-status.html">ÑоÑтоÑние кодеков</ulink>,
-еÑли его там нет, то прочтите <link linkend="codecs">документацию на кодеки</link>,
-оÑобенно <link linkend="codec-importing">HOWTO по импортированию кодеков</link>, и
+еÑли его там нет, то прочтите
+<ulink url="../../tech/win32-codec-howto">HOWTO по импортированию кодеков</ulink>, и
ÑвÑжитеÑÑŒ Ñ Ð½Ð°Ð¼Ð¸.
</para></answer>
</qandaentry>
diff --git a/DOCS/xml/ru/install.xml b/DOCS/xml/ru/install.xml
index 6e3caef50f..d3018a5e49 100644
--- a/DOCS/xml/ru/install.xml
+++ b/DOCS/xml/ru/install.xml
@@ -351,6 +351,143 @@ ln -s <replaceable>$PREFIX/mplayer/arial-24</replaceable> $PREFIX/mplayer/font
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+<sect1 id="codec-installation">
+<title>Codec installation</title>
+
+<!-- ********** -->
+
+<sect2 id="xvid">
+<title>Xvid</title>
+
+<para>
+<ulink url="http://www.xvid.org">Xvid</ulink> Ñвободный, MPEG-4 ASP ÑовмеÑтимый
+видео кодек, оÑобенноÑÑ‚Ñми которого ÑвлÑÑŽÑ‚ÑÑ Ð´Ð²ÑƒÑ…Ð¿Ñ€Ð¾Ñ…Ð¾Ð´Ð½Ð¾Ðµ кодирование и
+Ð¿Ð¾Ð»Ð½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° MPEG-4 ASP.
+Имейте в виду, что Xvid не нужен Ð´Ð»Ñ Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Xvid-кодированного видео.
+<systemitem class="library">libavcodec</systemitem> иÑпользуетÑÑ Ð¿Ð¾-умолчанию,
+Ñ‚.к. обеÑпечивает более выÑокую ÑкороÑÑ‚ÑŒ.
+</para>
+
+<procedure>
+<title>УÑтановка <systemitem class="library">Xvid</systemitem></title>
+
+<para>
+ Как и большинÑтво ПО Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¼ иÑходным кодом, он доÑтупен как в виде
+ <ulink url="http://www.xvid.org/downloads.html">официальных релизов</ulink>,
+ так и в виде CVS верÑии.
+ Как правило, CVS верÑÐ¸Ñ Ð´Ð¾Ñтаточно Ñтабильна Ð´Ð»Ñ Ð¸ÑпользованиÑ, Ñ‚.к. в большинÑтве
+ Ñлучаев ее оÑобенноÑтью ÑвлÑетÑÑ Ð¾Ñ‚ÑутÑтвие ошибок, приÑутÑтвующих в релизах.
+ Далее опиÑываетÑÑ ÐºÐ°Ðº заÑтавить работать
+ <systemitem class="library">Xvid</systemitem> CVS Ñ <application>MEncoder</application>:
+</para>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
+</para></step>
+<step><para>
+ <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
+</para></step>
+<step><para>
+ <screen>cd xvidcore/build/generic</screen>
+</para></step>
+<step><para>
+ <screen>./bootstrap.sh</screen>
+</para></step>
+<step><para>
+ <screen>./configure</screen>
+ Вам может потребоватьÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ некоторые опции (поÑмотрите вывод
+ <command>./configure --help</command>).
+</para></step>
+<step><para>
+ <screen>make &amp;&amp; make install</screen>
+</para></step>
+<step><para>
+ Перекомпилируйте <application>MPlayer</application>.
+</para></step>
+</procedure>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="x264">
+<title><systemitem class="library">x264</systemitem></title>
+
+<para>
+<ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink>
+is a library for creating H.264 video.
+<application>MPlayer</application> sources are updated whenever
+an <systemitem class="library">x264</systemitem> API change
+occurs, so it is always suggested to use
+<application>MPlayer</application> from Subversion.
+</para>
+
+<para>
+If you have a GIT client installed, the latest x264
+sources can be gotten with this command:
+<screen>git clone git://git.videolan.org/x264.git</screen>
+
+Then build and install in the standard way:
+<screen>./configure &amp;&amp; make &amp;&amp; make install</screen>
+
+Now rerun <filename>./configure</filename> for
+<application>MPlayer</application> to pick up
+<systemitem class="library">x264</systemitem> support.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="aac">
+<title>AAC кодек</title>
+<para>
+AAC (Advanced Audio Coding) - Ñто кодек, иногда обнаруживаемый в MOV и MP4
+файлах. Декодер Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ñ‹Ð¼ иÑходным кодом, называемый FAAD, доÑтупен Ñ
+<ulink url="http://www.audiocoding.com"/>.
+<application>MPlayer</application> включает в ÑÐµÐ±Ñ CVS верÑию libfaad 2.1 beta, поÑтому
+Вам ничего не нужно дополнительно Ñкачивать.
+</para>
+
+<para>
+ЕÑли Ð’Ñ‹ иÑпользуете gcc 3.2, который не может Ñкомпилировать вÑтроенный FAAD,
+или проÑто хотите иÑпользовать внешнюю библиотеку, Ñкачаете её Ñ
+<ulink url="http://www.audiocoding.com/download.php">Ñтраницы загрузок</ulink>
+и укажите <filename>./configure</filename> <option>--enable-faad-external</option>.
+Вам не нужен веÑÑŒ faad2, чтобы декодировать AAC файлы, доÑтаточно libfaad.
+Вот как Ð’Ñ‹ можете её Ñобрать:
+<screen>
+cd faad2/
+sh bootstrap
+./configure
+cd libfaad
+make
+make install
+</screen>
+Бинарники отÑутÑтвуют на audiocoding.com, но вы можете Ñкачать (apt-get) Debian
+пакеты Ñ <ulink url="http://marillat.free.fr">домашней Ñтраницы Christian Marillat</ulink>,
+Mandrake RPM'ники Ñ <ulink url="http://plf.zarb.org">P.L.F</ulink> и RedHat RPM'ники
+Ñ <ulink url="http://rpm.livna.org/">Livna</ulink>.
+</para>
+</sect2>
+
+<!-- ********** -->
+
+<sect2 id="amr">
+<title>AMR кодеки</title>
+<para>
+Речевой кодек Adaptive Multi-Rate иÑпользуетÑÑ Ð² мобильных телефонах третьего Ð¿Ð¾ÐºÐ¾Ð»ÐµÐ½Ð¸Ñ (3G).
+
+ИÑÑ…Ð¾Ð´Ð½Ð°Ñ Ñ€ÐµÐ°Ð»Ð¸Ð·Ð°Ñ†Ð¸Ñ Ð´Ð¾Ñтупна Ñ
+<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
+(беÑплатна Ð´Ð»Ñ Ð»Ð¸Ñ‡Ð½Ð¾Ð³Ð¾ иÑпользованиÑ).
+Чтобы включить поддержку, Ñкачайте и уÑтановите библиотеки поддержки длÑ
+<ulink url="http://www.penguin.cz/~utx/amr">AMR-NB и AMR-WB</ulink>, ÑледуÑ
+инÑтрукциÑм на указанной Ñтранице.
+</para>
+</sect2>
+
+</sect1>
+
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<sect1 id="rtc">
<title>RTC</title>
diff --git a/DOCS/xml/ru/mencoder.xml b/DOCS/xml/ru/mencoder.xml
index 7140e63413..c21afccac8 100644
--- a/DOCS/xml/ru/mencoder.xml
+++ b/DOCS/xml/ru/mencoder.xml
@@ -738,7 +738,7 @@ MPEG-4 имеет уникальную возможноÑÑ‚ÑŒ: видео пот
<para>
Эта возможноÑÑ‚ÑŒ может иÑпользоватьÑÑ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ñ
-<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'овÑким
+<systemitem class="library">libavcodec</systemitem>'овÑким
<systemitem>mpeg4</systemitem> кодеком. Имейте в виду: хотÑ
<application>MPlayer</application> корректно воÑпроизведет файл, другие
проигрыватели могут иÑпользовать неверные пропорции.
diff --git a/DOCS/xml/ru/ports.xml b/DOCS/xml/ru/ports.xml
index 65f5566fb8..266b3a155d 100644
--- a/DOCS/xml/ru/ports.xml
+++ b/DOCS/xml/ru/ports.xml
@@ -329,35 +329,6 @@ MPlayer interrupted by signal 11 in module: init_audio_codec
<!-- ********** -->
-<sect2 id="irix">
-<title>IRIX</title>
-
-<para>
-Ð’Ñ‹ либо можете попробовать уÑтановить программу GNU install, и (еÑли Ð’Ñ‹
-не помеÑтили её в Ваш глобальный путь), укажите на её меÑтонахождение:
-<screen>
-./configure --with-install=<replaceable>/путь/к/и/имÑ/уÑтановки</replaceable>
-</screen>
-</para>
-
-<para>
-Либо Ð’Ñ‹ можете иÑпользовать Ñтандартную программу install, поÑтавлÑемую вмеÑте
-Ñ IRIX 6.5, но в Ñтом Ñлучае Ð’Ñ‹ должны будете вручную немножко подправить
-<filename>Makefile</filename>.
-ПоменÑйте Ñледующую Ñтроку:
-<programlisting>
-$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
-</programlisting>
-на:
-<programlisting>
-$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
-</programlisting>
-И затем проÑто Ñоберите и уÑтановите MPlayer.
-</para>
-</sect2>
-
-<!-- ********** -->
-
<sect2 id="hp-ux">
<title>HP-UX</title>
@@ -544,6 +515,23 @@ Messages in the GTK-2 interface will be broken then.<!--
</listitem>
</itemizedlist>
</sect2>
+
+
+<!-- ********** -->
+
+<sect2 id="qnx">
+<title>QNX</title>
+<para>
+Вам нужно Ñкачать и уÑтановить SDL Ð´Ð»Ñ QNX. Затем запуÑтите
+<application>MPlayer</application> Ñ Ð¾Ð¿Ñ†Ð¸Ñми <option>-vo sdl:photon</option>
+и <option>-ao sdl:nto</option>, и вÑе будет работать быÑтро.
+</para>
+
+<para>
+Вывод <option>-vo x11</option> будет ещё медленнее, чем под Linux, поÑкольку под
+QNX X'Ñ‹ <emphasis>ÑмулируютÑÑ</emphasis>, что ОЧЕÐЬ медленно.
+</para>
+</sect2>
</sect1>
@@ -879,70 +867,6 @@ MPlayer_source_directory
</para>
</sect2>
</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="exotic_platforms">
-<title>Exotic Platforms</title>
-
-<para>
-<application>MPlayer</application> работает на некоторых ÑкзотичеÑких платформах, но
-большинÑтво платформно-Ñпецифичных изменений Ð´Ð»Ñ Ñтих ÑиÑтем не были внеÑены обратно
-в оÑновное дерево иÑходных кодов. За инÑтрукциÑми по Ñборке придетÑÑ Ð¾Ð±Ñ€Ð°Ñ‚Ð¸Ñ‚ÑŒÑÑ Ðº
-документации, Ñпецифичной Ð´Ð»Ñ ÑиÑтемы.
-</para>
-
-<!-- ********** -->
-
-<sect2 id="qnx">
-<title>QNX</title>
-<para>
-Вам нужно Ñкачать и уÑтановить SDL Ð´Ð»Ñ QNX. Затем запуÑтите
-<application>MPlayer</application> Ñ Ð¾Ð¿Ñ†Ð¸Ñми <option>-vo sdl:photon</option>
-и <option>-ao sdl:nto</option>, и вÑе будет работать быÑтро.
-</para>
-
-<para>
-Вывод <option>-vo x11</option> будет ещё медленнее, чем под Linux, поÑкольку под
-QNX X'Ñ‹ <emphasis>ÑмулируютÑÑ</emphasis>, что ОЧЕÐЬ медленно.
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="amiga">
-<title>Amiga/MorphOS (GeekGadgets)</title>
-<para>
-Люди Ñ <ulink url="http://www.amigasoft.net">www.amigasoft.net</ulink>
-Ñделали пакеты текущих <application>MPlayer</application> и
-<application>MEncoder</application>.
-</para>
-<para>
-Nicholas Det at Genesi Ñделал большой и значительный порт <application>MPlayer
-</application>'а под MorphOS. К Ñожалению, он оÑнован на Ñерии 0.90.
-</para>
-
-<para>
-Получите их Ñ <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
-<itemizedlist>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
- <application>MPlayer</application> 0.91 бинарник</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
- <application>MPlayer</application> 0.91 иÑходный код</ulink>
-</para></listitem>
-<listitem><para>
- <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
- <application>MEncoder</application> 1.0pre3 бинарник</ulink>
-</para></listitem>
-</itemizedlist>
-</para>
-</sect2>
-</sect1>
</chapter>
diff --git a/DOCS/xml/zh_CN/bugreports.xml b/DOCS/xml/zh_CN/bugreports.xml
index d8b4522d62..00960d2ee6 100644
--- a/DOCS/xml/zh_CN/bugreports.xml
+++ b/DOCS/xml/zh_CN/bugreports.xml
@@ -137,7 +137,7 @@ svn update -r {"2004-08-23 15:17:25"}
这包括<application>MPlayer</application>的二进制包。
Subversion的指令å¯åœ¨
<ulink url="http://www.mplayerhq.hu/dload.html">此页</ulink>底部查找,或在
-README文件中。如果这未能æ供帮助,请查询<link linkend="bugs">已知错误</link>
+README文件中。如果这未能æ供帮助,请查询 已知错误
列表以åŠå…¶åŽæ–‡æ¡£ã€‚
如果你的问题是未知的或在我们的指示下未能解决,请报告此错误。
</para>
diff --git a/DOCS/xml/zh_CN/bugs.xml b/DOCS/xml/zh_CN/bugs.xml
deleted file mode 100644
index ee6d6443ef..0000000000
--- a/DOCS/xml/zh_CN/bugs.xml
+++ /dev/null
@@ -1,211 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r21537 -->
-<appendix id="bugs">
-<title>已知错误</title>
-
-<sect1 id="bugs-special">
-<title>对于特定系统/CPU的错误/问题</title>
-
-<itemizedlist>
-<listitem>
- <para>在P3 2.2.x内核中的SIGILL (ä¿¡å·4):</para>
- <para>问题:2.2.x内核没有很好的(正常工作的)SSE支æŒ</para>
- <para>解决方法:把内核å‡çº§è‡³2.4.x</para>
- <para>替代办法: <command>./configure --disable-sse</command></para>
-</listitem>
-
-<listitem>
- <para>通用SIGILL(ä¿¡å·4):</para>
- <para>
- 问题:你在ä¸åŒçš„机器上编译并è¿è¡Œ<application>MPlayer</application>(例如在
- P3的机器上编译在Celeron的机器上è¿è¡Œï¼‰
- </para>
- <para>
- 解决方法:在åŒä¸€æœºå™¨ä¸Šç¼–译并使用<application>MPlayer</application>ï¼
- </para>
- <para>
- 替代办法:你也å¯ä»¥ä¸ç®¡è¿™äº›ï¼Œåœ¨configure的时候使用<option>--enable-runtime-cpudetection</option>
- 选项或者你å¯ä»¥ç”¨æ›´ç‰¹å®šçš„选项ç¦ç”¨ç‰¹æ®Šçš„CPU指令集(åƒ<option>--disable-mmx</option>,
- <option>--disable-3dnow</option>等等)。
- </para>
-</listitem>
-
-<listitem>
- <para>转存媒体æµçš„时候崩溃:</para>
- <para>问题:core输出</para>
- <para>解决方法:ä¸è¦æŠ±æ€¨ã€‚确定你知é“自己的毛巾在什么地方。</para>
-</listitem>
-</itemizedlist>
-</sect1>
-
-
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-
-
-<sect1 id="bugs-audio">
-<title>å„ç§å„样的音视频åˆæˆåŠå…¶ä»–音频问题</title>
-
-<sect2 id="bugs-delay-all">
-<title>æ™®é性的饮å“延迟或声音抖动(在所有或很多文件中存在)</title>
-
-<itemizedlist>
-<listitem><para>
- 最普é情况:有错误的声å¡é©±åŠ¨ï¼- å°½é‡ç”¨å…¶ä»–驱动,å°è¯•ä½¿ç”¨<option>-ao oss</option>
- çš„ALSA OSS模拟,以åŠå°è¯•<option>-ao sdl</option>,有时这会æ供帮助。如果你的
- 在<option>-nosound</option>情况下正常播放,那么你就å¯ä»¥è‚¯å®šæ˜¯å£°å¡é©±åŠ¨é—®é¢˜ã€‚
-</para></listitem>
-
-<listitem>
- <para>音频缓存问题(错误的检测缓存大å°ï¼‰</para>
- <para>
- 替代方法:<application>MPlayer</application>的<option>-abs</option>选项
- </para>
-</listitem>
-
-<listitem><para>
- 采样率问题 - 也许你的声å¡ä¸æ”¯æŒä½ æ–‡ä»¶çš„采样率 - å°è¯•ä½¿ç”¨é‡æ–°é‡‡æ ·è¿‡æ»¤å™¨
- (<option>-af resample=...</option>)
-</para></listitem>
-
-<listitem>
- <para>机器å˜æ…¢(CPU or VGA)</para>
- <para>
- å°è¯•<option>-vo null</option>, 如果它正常播放,那么说明你有个慢速
- VGA显å¡/驱动
- </para>
- <para>
- 替代方法:买å—更快的显å¡æˆ–读此文档如何加速
- </para>
- <para>也å¯å°è¯•<option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-delay-specific">
-<title>针对特定一个或一些文件的音频延时/ä¸åŒæ­¥</title>
-
-<itemizedlist>
-<listitem>
- <para>æŸå的文件</para>
- <para>
- 替代方法:
- <itemizedlist>
- <listitem>
- <para>
- 使用<option>-ni</option>或者<option>-nobps</option>选项
- (针对éžéŸ³è§†é¢‘交织文件或æŸå文件)
- </para>
- <para>åŠ/或</para>
- </listitem>
- <listitem>
- <para>
- <option>-mc 0</option>
- (存在错误的交织VBR音频文件的情况下需è¦ï¼‰
- </para>
- <para>åŠ/或</para>
- </listitem>
- <listitem>
- <para>
- <option>-delay</option>或在è¿è¡Œæ—¶æŒ‰<keycap>+</keycap>/<keycap>-</keycap>
- 键调整延迟
- </para>
- </listitem>
- </itemizedlist>
- 如果上述方法都ä¸èƒ½å¥æ•ˆï¼Œè¯·ä¸Šä¼ æ–‡ä»¶ï¼Œæˆ‘们将检查(并修正)。
-</para>
-</listitem>
-
-<listitem>
- <para>你的声å¡ä¸æ”¯æŒ48kHz回放</para>
- <para>
- 替æ¢æ–¹æ³•ï¼šä¹°ä¸€å—更好的声å¡...或者把æ¯ç§’桢数é™ä½Ž10%(针对æ¯ç§’30桢的电影用
- <option>-fps 27</option>选项)或者使用é‡æ–°é‡‡æ ·è¿‡æ»¤å™¨
- </para>
-</listitem>
-
-<listitem>
- <para>
- 机器å˜æ…¢ï¼ˆå¦‚果音视频ä¸åœ¨0附近,并且状æ€æ¡æœ€åŽçš„数字在ä¸æ–­å¢žåŠ ï¼‰
- </para>
- <para>替æ¢æ–¹æ³•ï¼š<option>-framedrop</option></para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nosound">
-<title>完全没有声音</title>
-
-<itemizedlist>
-<listitem>
- <para>你的文件使用了ä¸è¢«æ”¯æŒçš„音频编ç </para>
- <para>
- 解决方法:读文档并帮助我们添加对此媒体格å¼çš„支æŒã€‚
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-nopicture">
-<title>完全没有图åƒï¼ˆåªæœ‰ç°è‰²/绿色的å±å¹•ï¼‰</title>
-
-<itemizedlist>
-<listitem>
- <para>你的文件使用了ä¸è¢«æ”¯æŒçš„视频编ç </para>
- <para>
- 解决方法:读文档并帮助我们添加对此媒体格å¼çš„支æŒã€‚
- </para>
-</listitem>
-
-<listitem>
- <para>
- 自动选择的解ç å™¨ä¸èƒ½å¯¹æ–‡ä»¶è¿›è¡Œè§£ç ï¼Œå°è¯•ç”¨
- <option>-vc</option> or <option>-vfm</option>选型自行选择
- </para>
-</listitem>
-</itemizedlist>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="bugs-video">
-<title>视频输出问题</title>
-
-<para>
-首先请注æ„<option>-fs</option>, <option>-vm</option>åŠ
-<option>-zoom</option>选项并ä¸è¢«æ‰€æœ‰é©±åŠ¨æ‰€æ”¯æŒã€‚å¦å¤–,
-ä¸æ˜¯æ‰€æœ‰çš„驱动在硬件层é¢æ”¯æŒæ”¹å˜å¤§å°/缩放功能。
-</para>
-
-<formalpara>
-<title>å±å¹•èœå•å¼æ˜¾ç¤º/å­æ˜¾ç¤º é—ªçƒ</title>
-<para>
-<itemizedlist>
- <listitem><para>x11驱动:对ä¸èµ·ï¼Œæš‚时未能解决</para></listitem>
- <listitem><para>xv驱动:使用<option>-double</option>选项</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-<formalpara>
-<title>使用mga_vid
- (<option>-vo mga</option> / <option>-vo xmga</option>)时出现绿色图片</title>
-<para>
-<itemizedlist>
-<listitem><para>
- mga_vid错误的检测了你显å¡çš„RAM大å°ï¼Œç”¨
- <option>mga_ram_size</option>选项é‡æ–°åŠ è½½ã€‚
-</para></listitem>
-</itemizedlist>
-</para>
-</formalpara>
-
-</sect2>
-</sect1>
-
-</appendix>
diff --git a/DOCS/xml/zh_CN/documentation.xml b/DOCS/xml/zh_CN/documentation.xml
index e8cdc833a3..9501000574 100644
--- a/DOCS/xml/zh_CN/documentation.xml
+++ b/DOCS/xml/zh_CN/documentation.xml
@@ -178,14 +178,12 @@ It can encode with various codecs, like
&usage.xml;
&cd-dvd.xml;
-&faq.xml;
&video.xml;
&tvinput.xml;
&radio.xml;
-
&ports.xml;
&mencoder.xml;
&encoding-guide.xml;
+&faq.xml;
&bugreports.xml;
-&bugs.xml;
&skin.xml;
diff --git a/Makefile b/Makefile
index 209414b6d5..bf2365c75b 100644
--- a/Makefile
+++ b/Makefile
@@ -213,7 +213,6 @@ SRCS_COMMON = asxparser.c \
libmpdemux/video.c \
libmpdemux/yuv4mpeg.c \
libmpdemux/yuv4mpeg_ratio.c \
- libvo/aclib.c \
libvo/osd.c \
libvo/sub.c \
osdep/$(GETCH) \
@@ -299,6 +298,7 @@ SRCS_COMMON-$(FAAD_INTERNAL) += libfaad2/bits.c \
libfaad2/syntax.c \
libfaad2/tns.c \
+SRCS_COMMON-$(FASTMEMCPY) += libvo/aclib.c
SRCS_COMMON-$(FREETYPE) += libvo/font_load_ft.c
SRCS_COMMON-$(FTP) += stream/stream_ftp.c
SRCS_COMMON-$(GIF) += libmpdemux/demux_gif.c
@@ -435,6 +435,7 @@ SRCS_COMMON-$(NETWORK) += stream/stream_netstream.c \
stream/realrtsp/xbuffer.c \
SRCS_COMMON-$(PNG) += libmpcodecs/vd_mpng.c
+SRCS_COMMON-$(PRIORITY) += osdep/priority.c
SRCS_COMMON-$(PVR) += stream/stream_pvr.c
SRCS_COMMON-$(QTX_CODECS) += libmpcodecs/ad_qtaudio.c \
libmpcodecs/vd_qtvideo.c
@@ -855,7 +856,7 @@ codec-cfg.o: codecs.conf.h
mpcommon.o vobsub.o gui/win32/gui.o libmpdemux/muxer_avi.o osdep/mplayer-rc.o stream/network.o stream/stream_cddb.o: version.h
$(DEPS): help_mp.h
-libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" $(CFLAGS_LIBDVDCSS)
+libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS)
libdvdnav/%.o libdvdnav/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\"
libdvdread4/%.o libdvdread4/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_LIBDVDCSS_DVDREAD)
libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_FAAD_FIXED)
@@ -941,7 +942,7 @@ clean:
distclean: clean testsclean toolsclean driversclean dhahelperclean dhahelperwinclean
rm -rf DOCS/tech/doxygen
rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.d, $(addsuffix $(suffix),$(dir))))
- rm -f configure.log config.mak config.h codecs.conf.h help_mp.h \
+ rm -f configure.log config.mak config.h codecs.conf.h help_mp.h \
version.h $(VIDIX_PCI_FILES) \
codec-cfg$(EXESUF) cpuinfo$(EXESUF) TAGS tags
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index a4b749190d..34cb28a4fa 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -11,7 +11,7 @@
#ifdef CONFIG_ICONV
{"msgcharset", &mp_msg_charset, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
#endif
-#if defined(__MINGW32__) || defined(__CYGWIN__)
+#ifdef CONFIG_PRIORITY
{"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
#endif
{"noconfig", (void *) noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
diff --git a/cfg-common.h b/cfg-common.h
index b12b6bd2f7..6db7ba069d 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -343,25 +343,6 @@ const m_option_t msgl_config[]={
};
-#if defined(__MINGW32__) || defined(__CYGWIN__)
-struct {
- char* name;
- int prio;
-} priority_presets_defs[] = {
- { "realtime", REALTIME_PRIORITY_CLASS},
- { "high", HIGH_PRIORITY_CLASS},
-#ifdef ABOVE_NORMAL_PRIORITY_CLASS
- { "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS},
-#endif
- { "normal", NORMAL_PRIORITY_CLASS},
-#ifdef BELOW_NORMAL_PRIORITY_CLASS
- { "belownormal", BELOW_NORMAL_PRIORITY_CLASS},
-#endif
- { "idle", IDLE_PRIORITY_CLASS},
- { NULL, NORMAL_PRIORITY_CLASS} /* default */
-};
-#endif /* defined(__MINGW32__) || defined(__CYGWIN__) */
-
extern const m_option_t noconfig_opts[];
extern const m_option_t lavc_decode_opts_conf[];
diff --git a/common.mak b/common.mak
index 21bd56f93a..82f88fdbee 100644
--- a/common.mak
+++ b/common.mak
@@ -37,8 +37,8 @@ ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES))
$(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
endif
-$(BUILD_ROOT_REL)/version.h:
- $(SRC_PATH)/version.sh $(SRC_PATH) $@ $(EXTRA_VERSION)
+$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh
+ $< $(SRC_PATH) $@ $(EXTRA_VERSION)
install: install-libs install-headers
@@ -60,7 +60,7 @@ TESTS := $(addprefix $(SUBDIR),$(TESTS))
DEP_LIBS:=$(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME))
-ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h))
+ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))
checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
DEPS := $(OBJS:.o=.d)
diff --git a/configure b/configure
index ef55ade91b..c5d85e04d6 100755
--- a/configure
+++ b/configure
@@ -30,9 +30,9 @@
# _feature=no
# cc_check && _feature=yes
# if test "$_feature" = yes ; then
-# _def_feature='#define CONFIG_FEATURE 1'
+# def_feature='#define CONFIG_FEATURE 1'
# else
-# _def_feature='#undef CONFIG_FEATURE'
+# def_feature='#undef CONFIG_FEATURE'
# fi
# echores "$_feature"
#
@@ -44,7 +44,7 @@
# uniform, i.e. if the option is named 'feature':
#
# _feature : should have a value of yes/no/auto
-# _def_feature : '#define ... 1' or '#undef ...' for conditional compilation
+# def_feature : '#define ... 1' or '#undef ...' for conditional compilation
# _ld_feature : '-L/path/dir -lfeature' GCC options
#
#############################################################################
@@ -718,8 +718,11 @@ _ass=auto
_rpath=no
_asmalign_pot=auto
_stream_cache=yes
-_def_stream_cache="#define CONFIG_STREAM_CACHE 1"
-_def_pthread_cache="#undef PTHREAD_CACHE"
+_priority=no
+def_dos_paths="#define HAVE_DOS_PATHS 0"
+def_stream_cache="#define CONFIG_STREAM_CACHE 1"
+def_priority="#undef CONFIG_PRIORITY"
+def_pthread_cache="#undef PTHREAD_CACHE"
_need_shmem=yes
for ac_option do
case "$ac_option" in
@@ -1437,6 +1440,9 @@ if win32 ; then
_ld_extra="$_ld_extra -lwinmm"
_pe_executable=yes
_timer=timer-win2.c
+ _priority=yes
+ def_dos_paths="#define HAVE_DOS_PATHS 1"
+ def_priority="#define CONFIG_PRIORITY 1"
fi
if mingw32 ; then
@@ -1448,7 +1454,7 @@ if amigaos ; then
_select=no
_sighandler=no
_stream_cache=no
- _def_stream_cache="#undef CONFIG_STREAM_CACHE"
+ def_stream_cache="#undef CONFIG_STREAM_CACHE"
fi
if qnx ; then
@@ -1459,6 +1465,9 @@ if os2 ; then
_exesuf=".exe"
_getch=getch2-os2.c
_need_shmem=no
+ _priority=yes
+ def_dos_paths="#define HAVE_DOS_PATHS 1"
+ def_priority="#define CONFIG_PRIORITY 1"
fi
for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
@@ -1697,7 +1706,7 @@ case "$host_arch" in
_arch='X86 X86_32'
_target_arch_x86="ARCH_X86 = yes"
_target_arch="ARCH_X86_32 = yes"
- _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+ def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc=486
proc=i486
@@ -1937,7 +1946,7 @@ EOF
_arch='X86 X86_64'
_target_arch='ARCH_X86_64 = yes'
_target_arch_x86="ARCH_X86 = yes"
- _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+ def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
def_fast_64bit='#define HAVE_FAST_64BIT 1'
iproc='x86_64'
@@ -2058,9 +2067,9 @@ EOF
ppc|ppc64|powerpc|powerpc64)
_arch='PPC'
- _def_dcbzl='#define HAVE_DCBZL 0'
+ def_dcbzl='#define HAVE_DCBZL 0'
_target_arch='ARCH_PPC = yes'
- _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+ def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc='ppc'
if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
@@ -2131,7 +2140,7 @@ EOF
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
case "$proc" in
970*|PPC970*) _march='-mcpu=970' _mcpu='-mtune=970'
- _def_dcbzl='#define HAVE_DCBZL 1' ;;
+ def_dcbzl='#define HAVE_DCBZL 1' ;;
*) ;;
esac
fi
@@ -2316,10 +2325,10 @@ EOF
fi
if test "$_big_endian" = yes ; then
_byte_order='big-endian'
- _def_words_endian='#define WORDS_BIGENDIAN 1'
+ def_words_endian='#define WORDS_BIGENDIAN 1'
else
_byte_order='little-endian'
- _def_words_endian='#undef WORDS_BIGENDIAN'
+ def_words_endian='#undef WORDS_BIGENDIAN'
fi
echores "$_byte_order"
@@ -2331,7 +2340,7 @@ EOF
cc_check -c || die "Symbol mangling check failed."
sym=$($_nm -P -g $TMPEXE)
extern_prefix=${sym%%ff_extern*}
-_def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""
+def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""
echores $extern_prefix
@@ -2344,11 +2353,11 @@ cc_check -pipe && _pipe="-pipe" && echores "yes" || echores "no"
echocheck "compiler support of named assembler arguments"
_named_asm_args=yes
-_def_named_asm_args="#define NAMED_ASM_ARGS 1"
+def_named_asm_args="#define NAMED_ASM_ARGS 1"
if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 \
-o "$_cc_major" -eq 3 -a "$_cc_minor" = 0 ; then
_named_asm_args=no
- _def_named_asm_args="#undef NAMED_ASM_ARGS"
+ def_named_asm_args="#undef NAMED_ASM_ARGS"
fi
echores $_named_asm_args
@@ -2461,13 +2470,29 @@ EOF
cc_check && _asmalign_pot=yes
fi
if test "$_asmalign_pot" = "yes" ; then
- _def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"'
+ def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"'
else
- _def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"'
+ def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"'
fi
echores $_asmalign_pot
if x86 ; then
+echocheck "10 assembler operands"
+ten_operands=no
+def_ten_operands='#define HAVE_TEN_OPERANDS 0'
+cat > $TMPC << EOF
+int main(void) {
+ int x=0;
+ __asm__ volatile(
+ ""
+ :"+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x)
+ );
+ return 0;
+}
+EOF
+cc_check && ten_operands=yes && def_ten_operands='#define HAVE_TEN_OPERANDS 1'
+echores $ten_operands
+
echocheck "yasm"
if test -z "$YASMFLAGS" ; then
if darwin ; then
@@ -2493,11 +2518,11 @@ echo "pabsw xmm0, xmm0" > $TMPS
yasm_check || _yasm=""
if test $_yasm ; then
test "$_mmx" = "yes" && fft_mmx="yes"
- _def_yasm='#define HAVE_YASM 1'
+ def_yasm='#define HAVE_YASM 1'
_have_yasm="yes"
echores "$_yasm"
else
- _def_yasm='#define HAVE_YASM 0'
+ def_yasm='#define HAVE_YASM 0'
fft_mmx="no"
_have_yasm="no"
echores "no"
@@ -2709,9 +2734,9 @@ EOF
cc_check && _langinfo=yes
fi
if test "$_langinfo" = yes ; then
- _def_langinfo='#define HAVE_LANGINFO 1'
+ def_langinfo='#define HAVE_LANGINFO 1'
else
- _def_langinfo='#undef HAVE_LANGINFO'
+ def_langinfo='#undef HAVE_LANGINFO'
fi
echores "$_langinfo"
@@ -2755,18 +2780,18 @@ echores "messages: $msg_lang - man pages: $man_langs - documentation: $doc_langs
echocheck "enable sighandler"
if test "$_sighandler" = yes ; then
- _def_sighandler='#define CONFIG_SIGHANDLER 1'
+ def_sighandler='#define CONFIG_SIGHANDLER 1'
else
- _def_sighandler='#undef CONFIG_SIGHANDLER'
+ def_sighandler='#undef CONFIG_SIGHANDLER'
fi
echores "$_sighandler"
echocheck "runtime cpudetection"
if test "$_runtime_cpudetection" = yes ; then
_optimizing="Runtime CPU-Detection enabled"
- _def_runtime_cpudetection='#define RUNTIME_CPUDETECT 1'
+ def_runtime_cpudetection='#define RUNTIME_CPUDETECT 1'
else
- _def_runtime_cpudetection='#undef RUNTIME_CPUDETECT'
+ def_runtime_cpudetection='#undef RUNTIME_CPUDETECT'
fi
echores "$_runtime_cpudetection"
@@ -2775,20 +2800,20 @@ echocheck "restrict keyword"
for restrict_keyword in restrict __restrict __restrict__ ; do
echo "void foo(char * $restrict_keyword p); int main(void) { return 0; }" > $TMPC
if cc_check; then
- _def_restrict_keyword=$restrict_keyword
+ def_restrict_keyword=$restrict_keyword
break;
fi
done
-if [ -n "$_def_restrict_keyword" ]; then
- echores "$_def_restrict_keyword"
+if [ -n "$def_restrict_keyword" ]; then
+ echores "$def_restrict_keyword"
else
echores "none"
fi
# Avoid infinite recursion loop ("#define restrict restrict")
-if [ "$_def_restrict_keyword" != "restrict" ]; then
- _def_restrict_keyword="#define restrict $_def_restrict_keyword"
+if [ "$def_restrict_keyword" != "restrict" ]; then
+ def_restrict_keyword="#define restrict $def_restrict_keyword"
else
- _def_restrict_keyword=""
+ def_restrict_keyword=""
fi
@@ -2804,9 +2829,9 @@ EOF
_builtin_expect=no
cc_check && _builtin_expect=yes
if test "$_builtin_expect" = yes ; then
- _def_builtin_expect='#define HAVE_BUILTIN_EXPECT 1'
+ def_builtin_expect='#define HAVE_BUILTIN_EXPECT 1'
else
- _def_builtin_expect='#undef HAVE_BUILTIN_EXPECT'
+ def_builtin_expect='#undef HAVE_BUILTIN_EXPECT'
fi
echores "$_builtin_expect"
@@ -2819,10 +2844,10 @@ EOF
_kstat=no
cc_check -lkstat && _kstat=yes
if test "$_kstat" = yes ; then
- _def_kstat="#define HAVE_LIBKSTAT 1"
+ def_kstat="#define HAVE_LIBKSTAT 1"
_ld_extra="$_ld_extra -lkstat"
else
- _def_kstat="#undef HAVE_LIBKSTAT"
+ def_kstat="#undef HAVE_LIBKSTAT"
fi
echores "$_kstat"
@@ -2849,10 +2874,10 @@ EOF
eval _$func=no
cc_check -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes
if eval test "x\$_$func" = "xyes"; then
- eval _def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 1\""
+ eval def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 1\""
echores yes
else
- eval _def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 0\""
+ eval def_$func="\"#define HAVE_`echo $func | tr '[a-z]' '[A-Z]'` 0\""
echores no
fi
done
@@ -2866,9 +2891,9 @@ EOF
_mkstemp=no
cc_check && _mkstemp=yes
if test "$_mkstemp" = yes ; then
- _def_mkstemp='#define HAVE_MKSTEMP 1'
+ def_mkstemp='#define HAVE_MKSTEMP 1'
else
- _def_mkstemp='#undef HAVE_MKSTEMP'
+ def_mkstemp='#undef HAVE_MKSTEMP'
fi
echores "$_mkstemp"
@@ -2882,9 +2907,9 @@ EOF
_nanosleep=no
cc_check && _nanosleep=yes
if test "$_nanosleep" = yes ; then
- _def_nanosleep='#define HAVE_NANOSLEEP 1'
+ def_nanosleep='#define HAVE_NANOSLEEP 1'
else
- _def_nanosleep='#undef HAVE_NANOSLEEP'
+ def_nanosleep='#undef HAVE_NANOSLEEP'
fi
echores "$_nanosleep"
@@ -2921,6 +2946,17 @@ else
fi
+echocheck "arpa/inet.h"
+arpa_inet_h=no
+def_arpa_inet_h='#define HAVE_ARPA_INET_H 0'
+cat > $TMPC << EOF
+#include <arpa/inet.h>
+int main(void) { return 0; }
+EOF
+cc_check && arpa_inet_h=yes && def_arpa_inet_h='#define HAVE_ARPA_INET_H 1'
+echores "$arpa_inet_h"
+
+
echocheck "inet_pton()"
def_inet_pton='#define HAVE_INET_PTON 0'
inet_pton=no
@@ -2969,9 +3005,9 @@ EOF
cc_check && _socklen_t=yes && break
done
if test "$_socklen_t" = yes ; then
- _def_socklen_t='#define HAVE_SOCKLEN_T 1'
+ def_socklen_t='#define HAVE_SOCKLEN_T 1'
else
- _def_socklen_t='#define HAVE_SOCKLEN_T 0'
+ def_socklen_t='#define HAVE_SOCKLEN_T 0'
fi
echores "$_socklen_t"
@@ -2984,9 +3020,9 @@ int main(void) { closesocket(~0); return 0; }
EOF
cc_check $_ld_sock && _closesocket=yes
if test "$_closesocket" = yes ; then
- _def_closesocket='#define HAVE_CLOSESOCKET 1'
+ def_closesocket='#define HAVE_CLOSESOCKET 1'
else
- _def_closesocket='#define HAVE_CLOSESOCKET 0'
+ def_closesocket='#define HAVE_CLOSESOCKET 0'
fi
echores "$_closesocket"
@@ -2995,12 +3031,12 @@ echocheck "network"
test $_winsock2_h = no && test $inet_pton = no &&
test $inet_aton = no && _network=no
if test "$_network" = yes ; then
- _def_network='#define CONFIG_NETWORK 1'
+ def_network='#define CONFIG_NETWORK 1'
_ld_extra="$_ld_extra $_ld_sock"
_inputmodules="network $_inputmodules"
else
_noinputmodules="network $_noinputmodules"
- _def_network='#undef CONFIG_NETWORK'
+ def_network='#undef CONFIG_NETWORK'
_ftp=no
fi
echores "$_network"
@@ -3024,9 +3060,9 @@ EOF
fi
fi
if test "$_inet6" = yes ; then
- _def_inet6='#define HAVE_AF_INET6 1'
+ def_inet6='#define HAVE_AF_INET6 1'
else
- _def_inet6='#undef HAVE_AF_INET6'
+ def_inet6='#undef HAVE_AF_INET6'
fi
echores "$_inet6"
@@ -3045,9 +3081,9 @@ EOF
fi
fi
if test "$_gethostbyname2" = yes ; then
- _def_gethostbyname2='#define HAVE_GETHOSTBYNAME2 1'
+ def_gethostbyname2='#define HAVE_GETHOSTBYNAME2 1'
else
- _def_gethostbyname2='#undef HAVE_GETHOSTBYNAME2'
+ def_gethostbyname2='#undef HAVE_GETHOSTBYNAME2'
fi
echores "$_gethostbyname2"
@@ -3086,7 +3122,7 @@ EOF
_fast_inttypes=no
cc_check && _fast_inttypes=yes
if test "$_fast_inttypes" = no ; then
- _def_fast_inttypes='
+ def_fast_inttypes='
typedef signed char int_fast8_t;
typedef signed int int_fast16_t;
typedef signed int int_fast32_t;
@@ -3118,7 +3154,7 @@ echores "$_malloc"
echocheck "memalign()"
# XXX restrict to x86 ? extend to other CPUs/cacheline sizes ?
-_def_memalign_hack='#define CONFIG_MEMALIGN_HACK 0'
+def_memalign_hack='#define CONFIG_MEMALIGN_HACK 0'
cat > $TMPC << EOF
#include <malloc.h>
int main(void) { (void) memalign(64, sizeof(char)); return 0; }
@@ -3126,15 +3162,27 @@ EOF
_memalign=no
cc_check && _memalign=yes
if test "$_memalign" = yes ; then
- _def_memalign='#define HAVE_MEMALIGN 1'
+ def_memalign='#define HAVE_MEMALIGN 1'
else
- _def_memalign='#undef HAVE_MEMALIGN'
- _def_map_memalign='#define memalign(a,b) malloc(b)'
- darwin || _def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1'
+ def_memalign='#undef HAVE_MEMALIGN'
+ def_map_memalign='#define memalign(a,b) malloc(b)'
+ darwin || def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1'
fi
echores "$_memalign"
+echocheck "posix_memalign()"
+posix_memalign=no
+def_posix_memalign='#define HAVE_POSIX_MEMALIGN 0'
+cat > $TMPC << EOF
+#define _XOPEN_SOURCE 600
+#include <stdlib.h>
+int main(void) { posix_memalign(NULL, 0, 0); }
+EOF
+cc_check && posix_memalign=yes && def_posix_memalign='#define HAVE_POSIX_MEMALIGN 1'
+echores "$posix_memalign"
+
+
echocheck "alloca.h"
cat > $TMPC << EOF
#include <alloca.h>
@@ -3152,9 +3200,9 @@ echores "$_alloca"
echocheck "fastmemcpy"
if test "$_fastmemcpy" = yes ; then
- _def_fastmemcpy='#define CONFIG_FASTMEMCPY 1'
+ def_fastmemcpy='#define CONFIG_FASTMEMCPY 1'
else
- _def_fastmemcpy='#undef CONFIG_FASTMEMCPY'
+ def_fastmemcpy='#undef CONFIG_FASTMEMCPY'
fi
echores "$_fastmemcpy"
@@ -3183,9 +3231,9 @@ EOF
_mman_has_map_failed=no
cc_check && _mman_has_map_failed=yes
if test "$_mman_has_map_failed" = yes ; then
- _def_mman_has_map_failed=''
+ def_mman_has_map_failed=''
else
- _def_mman_has_map_failed='#define MAP_FAILED ((void *) -1)'
+ def_mman_has_map_failed='#define MAP_FAILED ((void *) -1)'
fi
echocheck "dynamic loader"
@@ -3199,9 +3247,9 @@ for _ld_tmp in "" "-ldl" ; do
cc_check $_ld_tmp && _ld_dl="$_ld_tmp" && _dl=yes && break
done
if test "$_dl" = yes ; then
- _def_dl='#define HAVE_LIBDL 1'
+ def_dl='#define HAVE_LIBDL 1'
else
- _def_dl='#undef HAVE_LIBDL'
+ def_dl='#undef HAVE_LIBDL'
fi
echores "$_dl"
@@ -3211,14 +3259,14 @@ if test "$_dl" = no ; then
_dynamic_plugins=no
fi
if test "$_dynamic_plugins" = yes ; then
- _def_dynamic_plugins='#define CONFIG_DYNAMIC_PLUGINS 1'
+ def_dynamic_plugins='#define CONFIG_DYNAMIC_PLUGINS 1'
else
- _def_dynamic_plugins='#undef CONFIG_DYNAMIC_PLUGINS'
+ def_dynamic_plugins='#undef CONFIG_DYNAMIC_PLUGINS'
fi
echores "$_dynamic_plugins"
-_def_threads='#undef HAVE_THREADS'
+def_threads='#undef HAVE_THREADS'
echocheck "pthread"
if test "$_pthreads" = auto ; then
@@ -3237,11 +3285,11 @@ fi
fi
if test "$_pthreads" = yes ; then
test $_ld_pthread && _res_comment="using $_ld_pthread"
- _def_pthreads='#define HAVE_PTHREADS 1'
- _def_threads='#define HAVE_THREADS 1'
+ def_pthreads='#define HAVE_PTHREADS 1'
+ def_threads='#define HAVE_THREADS 1'
else
_res_comment="v4l, v4l2, ao_nas, win32 loader disabled"
- _def_pthreads='#undef HAVE_PTHREADS'
+ def_pthreads='#undef HAVE_PTHREADS'
_nas=no ; _tv_v4l1=no ; _tv_v4l2=no
mingw32 || _win32dll=no
fi
@@ -3249,10 +3297,10 @@ echores "$_pthreads"
if cygwin ; then
if test "$_pthreads" = yes ; then
- _def_pthread_cache="#define PTHREAD_CACHE 1"
+ def_pthread_cache="#define PTHREAD_CACHE 1"
else
_stream_cache=no
- _def_stream_cache="#undef CONFIG_STREAM_CACHE"
+ def_stream_cache="#undef CONFIG_STREAM_CACHE"
fi
fi
@@ -3265,7 +3313,7 @@ if test "$_w32threads" = auto ; then
_w32threads=no
mingw32 && _w32threads=yes
fi
-test "$_w32threads" = yes && _def_threads='#define HAVE_THREADS 1'
+test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1'
echores "$_w32threads"
echocheck "rpath"
@@ -3319,9 +3367,9 @@ EOF
done
fi
if test "$_iconv" = yes ; then
- _def_iconv='#define CONFIG_ICONV 1'
+ def_iconv='#define CONFIG_ICONV 1'
else
- _def_iconv='#undef CONFIG_ICONV'
+ def_iconv='#undef CONFIG_ICONV'
fi
echores "$_iconv"
@@ -3357,9 +3405,9 @@ EOF
_dvdio=no
cc_check && _dvdio=yes
if test "$_dvdio" = yes ; then
- _def_dvdio='#define DVD_STRUCT_IN_SYS_DVDIO_H 1'
+ def_dvdio='#define DVD_STRUCT_IN_SYS_DVDIO_H 1'
else
- _def_dvdio='#undef DVD_STRUCT_IN_SYS_DVDIO_H'
+ def_dvdio='#undef DVD_STRUCT_IN_SYS_DVDIO_H'
fi
echores "$_dvdio"
@@ -3373,9 +3421,9 @@ EOF
_cdio=no
cc_check && _cdio=yes
if test "$_cdio" = yes ; then
- _def_cdio='#define DVD_STRUCT_IN_SYS_CDIO_H 1'
+ def_cdio='#define DVD_STRUCT_IN_SYS_CDIO_H 1'
else
- _def_cdio='#undef DVD_STRUCT_IN_SYS_CDIO_H'
+ def_cdio='#undef DVD_STRUCT_IN_SYS_CDIO_H'
fi
echores "$_cdio"
@@ -3389,9 +3437,9 @@ EOF
_cdrom=no
cc_check && _cdrom=yes
if test "$_cdrom" = yes ; then
- _def_cdrom='#define DVD_STRUCT_IN_LINUX_CDROM_H 1'
+ def_cdrom='#define DVD_STRUCT_IN_LINUX_CDROM_H 1'
else
- _def_cdrom='#undef DVD_STRUCT_IN_LINUX_CDROM_H'
+ def_cdrom='#undef DVD_STRUCT_IN_LINUX_CDROM_H'
fi
echores "$_cdrom"
@@ -3404,9 +3452,9 @@ EOF
_dvd=no
cc_check && _dvd=yes
if test "$_dvd" = yes ; then
- _def_dvd='#define DVD_STRUCT_IN_DVD_H 1'
+ def_dvd='#define DVD_STRUCT_IN_DVD_H 1'
else
- _def_dvd='#undef DVD_STRUCT_IN_DVD_H'
+ def_dvd='#undef DVD_STRUCT_IN_DVD_H'
fi
echores "$_dvd"
@@ -3420,9 +3468,9 @@ EOF
_bsdi_dvd=no
cc_check && _bsdi_dvd=yes
if test "$_bsdi_dvd" = yes ; then
- _def_bsdi_dvd='#define DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H 1'
+ def_bsdi_dvd='#define DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H 1'
else
- _def_bsdi_dvd='#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H'
+ def_bsdi_dvd='#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H'
fi
echores "$_bsdi_dvd"
fi #if bsdos
@@ -3438,9 +3486,9 @@ EOF
_hpux_scsi_h=no
cc_check && _hpux_scsi_h=yes
if test "$_hpux_scsi_h" = yes ; then
- _def_hpux_scsi_h='#define HPUX_SCTL_IO 1'
+ def_hpux_scsi_h='#define HPUX_SCTL_IO 1'
else
- _def_hpux_scsi_h='#undef HPUX_SCTL_IO'
+ def_hpux_scsi_h='#undef HPUX_SCTL_IO'
fi
echores "$_hpux_scsi_h"
fi #if hpux
@@ -3458,9 +3506,9 @@ EOF
_sol_scsi_h=no
cc_check && _sol_scsi_h=yes
if test "$_sol_scsi_h" = yes ; then
- _def_sol_scsi_h='#define SOLARIS_USCSI 1'
+ def_sol_scsi_h='#define SOLARIS_USCSI 1'
else
- _def_sol_scsi_h='#undef SOLARIS_USCSI'
+ def_sol_scsi_h='#undef SOLARIS_USCSI'
fi
echores "$_sol_scsi_h"
fi #if sunos
@@ -3480,16 +3528,16 @@ EOF
done
fi
if test "$_termcap" = yes ; then
- _def_termcap='#define HAVE_TERMCAP 1'
+ def_termcap='#define HAVE_TERMCAP 1'
test $_ld_tmp && _res_comment="using $_ld_tmp"
else
- _def_termcap='#undef HAVE_TERMCAP'
+ def_termcap='#undef HAVE_TERMCAP'
fi
echores "$_termcap"
echocheck "termios"
-_def_termios='#undef HAVE_TERMIOS'
+def_termios='#undef HAVE_TERMIOS'
def_termios_h='#undef HAVE_TERMIOS_H'
def_termios_sys_h='#undef HAVE_SYS_TERMIOS_H'
if test "$_termios" = auto ; then
@@ -3504,7 +3552,7 @@ done
fi
if test "$_termios" = yes ; then
- _def_termios='#define HAVE_TERMIOS 1'
+ def_termios='#define HAVE_TERMIOS 1'
if test "$_termios_header" = "termios.h" ; then
def_termios_h='#define HAVE_TERMIOS_H 1'
else
@@ -3525,9 +3573,9 @@ EOF
cc_check && _shm=yes
fi
if test "$_shm" = yes ; then
- _def_shm='#define HAVE_SHM 1'
+ def_shm='#define HAVE_SHM 1'
else
- _def_shm='#undef HAVE_SHM'
+ def_shm='#undef HAVE_SHM'
fi
echores "$_shm"
@@ -3540,10 +3588,10 @@ EOF
_strsep=no
cc_check && _strsep=yes
if test "$_strsep" = yes ; then
- _def_strsep='#define HAVE_STRSEP 1'
+ def_strsep='#define HAVE_STRSEP 1'
_need_strsep=no
else
- _def_strsep='#undef HAVE_STRSEP'
+ def_strsep='#undef HAVE_STRSEP'
_need_strsep=yes
fi
echores "$_strsep"
@@ -3559,10 +3607,10 @@ EOF
_vsscanf=no
cc_check && _vsscanf=yes
if test "$_vsscanf" = yes ; then
- _def_vsscanf='#define HAVE_VSSCANF 1'
+ def_vsscanf='#define HAVE_VSSCANF 1'
_need_vsscanf=no
else
- _def_vsscanf='#undef HAVE_VSSCANF'
+ def_vsscanf='#undef HAVE_VSSCANF'
_need_vsscanf=yes
fi
echores "$_vsscanf"
@@ -3570,17 +3618,17 @@ echores "$_vsscanf"
echocheck "swab()"
cat > $TMPC << EOF
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
#include <unistd.h>
int main(void) { swab(0, 0, 0); return 0; }
EOF
_swab=no
cc_check && _swab=yes
if test "$_swab" = yes ; then
- _def_swab='#define HAVE_SWAB 1'
+ def_swab='#define HAVE_SWAB 1'
_need_swab=no
else
- _def_swab='#undef HAVE_SWAB'
+ def_swab='#undef HAVE_SWAB'
_need_swab=yes
fi
echores "$_swab"
@@ -3596,18 +3644,18 @@ cat > $TMPC << EOF
int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
EOF
_posix_select=no
-_def_posix_select='#undef HAVE_POSIX_SELECT'
+def_posix_select='#undef HAVE_POSIX_SELECT'
#select() of kLIBC (OS/2) supports socket only
! os2 && cc_check && _posix_select=yes \
- && _def_posix_select='#define HAVE_POSIX_SELECT 1'
+ && def_posix_select='#define HAVE_POSIX_SELECT 1'
echores "$_posix_select"
echocheck "audio select()"
if test "$_select" = no ; then
- _def_select='#undef HAVE_AUDIO_SELECT'
+ def_select='#undef HAVE_AUDIO_SELECT'
elif test "$_select" = yes ; then
- _def_select='#define HAVE_AUDIO_SELECT 1'
+ def_select='#define HAVE_AUDIO_SELECT 1'
fi
echores "$_select"
@@ -3621,10 +3669,10 @@ EOF
_gettimeofday=no
cc_check && _gettimeofday=yes
if test "$_gettimeofday" = yes ; then
- _def_gettimeofday='#define HAVE_GETTIMEOFDAY 1'
+ def_gettimeofday='#define HAVE_GETTIMEOFDAY 1'
_need_gettimeofday=no
else
- _def_gettimeofday='#undef HAVE_GETTIMEOFDAY'
+ def_gettimeofday='#undef HAVE_GETTIMEOFDAY'
_need_gettimeofday=yes
fi
echores "$_gettimeofday"
@@ -3639,10 +3687,10 @@ EOF
_glob=no
cc_check && _glob=yes
if test "$_glob" = yes ; then
- _def_glob='#define HAVE_GLOB 1'
+ def_glob='#define HAVE_GLOB 1'
_need_glob=no
else
- _def_glob='#undef HAVE_GLOB'
+ def_glob='#undef HAVE_GLOB'
_need_glob=yes
fi
echores "$_glob"
@@ -3656,10 +3704,10 @@ EOF
_setenv=no
cc_check && _setenv=yes
if test "$_setenv" = yes ; then
- _def_setenv='#define HAVE_SETENV 1'
+ def_setenv='#define HAVE_SETENV 1'
_need_setenv=no
else
- _def_setenv='#undef HAVE_SETENV'
+ def_setenv='#undef HAVE_SETENV'
_need_setenv=yes
fi
echores "$_setenv"
@@ -3674,14 +3722,14 @@ EOF
_sysi86=no
cc_check && _sysi86=yes
if test "$_sysi86" = yes ; then
- _def_sysi86='#define HAVE_SYSI86 1'
+ def_sysi86='#define HAVE_SYSI86 1'
cat > $TMPC << EOF
#include <sys/sysi86.h>
int main(void) { int sysi86(int, void*); sysi86(0); return 0; }
EOF
- cc_check && _def_sysi86_iv='#define HAVE_SYSI86_iv 1'
+ cc_check && def_sysi86_iv='#define HAVE_SYSI86_iv 1'
else
- _def_sysi86='#undef HAVE_SYSI86'
+ def_sysi86='#undef HAVE_SYSI86'
fi
echores "$_sysi86"
fi #if sunos
@@ -3728,11 +3776,11 @@ EOF
if cc_check -framework CoreAudio; then
_ld_extra="$_ld_extra -framework CoreAudio -framework AudioUnit -framework AudioToolbox"
_coreaudio=yes
- _def_coreaudio='#define CONFIG_COREAUDIO 1'
+ def_coreaudio='#define CONFIG_COREAUDIO 1'
_aomodules="macosx $_aomodules"
else
_coreaudio=no
- _def_coreaudio='#undef CONFIG_COREAUDIO'
+ def_coreaudio='#undef CONFIG_COREAUDIO'
_noaomodules="macosx $_noaomodules"
fi
cat > $TMPC <<EOF
@@ -3748,14 +3796,14 @@ EOF
if cc_check -framework Carbon -framework QuickTime; then
_ld_extra="$_ld_extra -framework Carbon -framework QuickTime"
_quartz=yes
- _def_quartz='#define CONFIG_QUARTZ 1'
+ def_quartz='#define CONFIG_QUARTZ 1'
_vomodules="quartz $_vomodules"
- _def_quicktime='#define CONFIG_QUICKTIME 1'
+ def_quicktime='#define CONFIG_QUICKTIME 1'
else
_quartz=no
- _def_quartz='#undef CONFIG_QUARTZ'
+ def_quartz='#undef CONFIG_QUARTZ'
_novomodules="quartz $_novomodules"
- _def_quicktime='#undef CONFIG_QUICKTIME'
+ def_quicktime='#undef CONFIG_QUICKTIME'
fi
cat > $TMPC <<EOF
#include <Carbon/Carbon.h>
@@ -3765,11 +3813,11 @@ EOF
if cc_check -framework Carbon -framework QuartzCore -framework OpenGL; then
_vomodules="macosx $_vomodules"
_ld_extra="$_ld_extra -framework Cocoa -framework QuartzCore -framework OpenGL"
- _def_corevideo='#define CONFIG_COREVIDEO 1'
+ def_corevideo='#define CONFIG_COREVIDEO 1'
_corevideo=yes
else
_novomodules="macosx $_novomodules"
- _def_corevideo='#undef CONFIG_COREVIDEO'
+ def_corevideo='#undef CONFIG_COREVIDEO'
_corevideo=no
fi
fi
@@ -3780,10 +3828,10 @@ if test "$_macosx_finder" = auto ; then
_macosx_finder=$_macosx
fi
if test "$_macosx_finder" = yes; then
- _def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
+ def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
_macosx_finder=yes
else
- _def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
+ def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
_macosx_finder=no
fi
echores "$_macosx_finder"
@@ -3793,9 +3841,9 @@ if test "$_macosx_bundle" = auto ; then
_macosx_bundle=$_macosx_finder
fi
if test "$_macosx_bundle" = yes; then
- _def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
+ def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
else
- _def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
+ def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
_macosx_bundle=no
fi
echores "$_macosx_bundle"
@@ -3830,10 +3878,10 @@ EOF
cc_check -framework IOKit && tmp_run && _apple_remote=yes
fi
if test "$_apple_remote" = yes ; then
- _def_apple_remote='#define CONFIG_APPLE_REMOTE 1'
+ def_apple_remote='#define CONFIG_APPLE_REMOTE 1'
_ld_extra="$_ld_extra -framework IOKit"
else
- _def_apple_remote='#undef CONFIG_APPLE_REMOTE'
+ def_apple_remote='#undef CONFIG_APPLE_REMOTE'
fi
echores "$_apple_remote"
@@ -3856,9 +3904,9 @@ EOF
cc_check && tmp_run && _apple_ir=yes
fi
if test "$_apple_ir" = yes ; then
- _def_apple_ir='#define CONFIG_APPLE_IR 1'
+ def_apple_ir='#define CONFIG_APPLE_IR 1'
else
- _def_apple_ir='#undef CONFIG_APPLE_IR'
+ def_apple_ir='#undef CONFIG_APPLE_IR'
fi
echores "$_apple_ir"
fi #if linux
@@ -3893,10 +3941,10 @@ EOF
fi
if test "$_smb" = yes; then
- _def_smb="#define CONFIG_LIBSMBCLIENT"
+ def_smb="#define CONFIG_LIBSMBCLIENT"
_inputmodules="smb $_inputmodules"
else
- _def_smb="#undef CONFIG_LIBSMBCLIENT"
+ def_smb="#undef CONFIG_LIBSMBCLIENT"
_noinputmodules="smb $_noinputmodules"
fi
echores "$_smb"
@@ -3909,40 +3957,40 @@ echores "$_smb"
echocheck "tdfxfb"
if test "$_tdfxfb" = yes ; then
- _def_tdfxfb='#define CONFIG_TDFXFB 1'
+ def_tdfxfb='#define CONFIG_TDFXFB 1'
_vomodules="tdfxfb $_vomodules"
else
- _def_tdfxfb='#undef CONFIG_TDFXFB'
+ def_tdfxfb='#undef CONFIG_TDFXFB'
_novomodules="tdfxfb $_novomodules"
fi
echores "$_tdfxfb"
echocheck "s3fb"
if test "$_s3fb" = yes ; then
- _def_s3fb='#define CONFIG_S3FB 1'
+ def_s3fb='#define CONFIG_S3FB 1'
_vomodules="s3fb $_vomodules"
else
- _def_s3fb='#undef CONFIG_S3FB'
+ def_s3fb='#undef CONFIG_S3FB'
_novomodules="s3fb $_novomodules"
fi
echores "$_s3fb"
echocheck "wii"
if test "$_wii" = yes ; then
- _def_wii='#define CONFIG_WII 1'
+ def_wii='#define CONFIG_WII 1'
_vomodules="wii $_vomodules"
else
- _def_wii='#undef CONFIG_WII'
+ def_wii='#undef CONFIG_WII'
_novomodules="wii $_novomodules"
fi
echores "$_wii"
echocheck "tdfxvid"
if test "$_tdfxvid" = yes ; then
- _def_tdfxvid='#define CONFIG_TDFX_VID 1'
+ def_tdfxvid='#define CONFIG_TDFX_VID 1'
_vomodules="tdfx_vid $_vomodules"
else
- _def_tdfxvid='#undef CONFIG_TDFX_VID'
+ def_tdfxvid='#undef CONFIG_TDFX_VID'
_novomodules="tdfx_vid $_novomodules"
fi
echores "$_tdfxvid"
@@ -3965,20 +4013,20 @@ EOF
cc_check && _xvr100=yes
fi
if test "$_xvr100" = yes ; then
- _def_xvr100='#define CONFIG_XVR100 1'
+ def_xvr100='#define CONFIG_XVR100 1'
_vomodules="xvr100 $_vomodules"
else
- _def_tdfxvid='#undef CONFIG_XVR100'
+ def_tdfxvid='#undef CONFIG_XVR100'
_novomodules="xvr100 $_novomodules"
fi
echores "$_xvr100"
echocheck "tga"
if test "$_tga" = yes ; then
- _def_tga='#define CONFIG_TGA 1'
+ def_tga='#define CONFIG_TGA 1'
_vomodules="tga $_vomodules"
else
- _def_tga='#undef CONFIG_TGA'
+ def_tga='#undef CONFIG_TGA'
_novomodules="tga $_novomodules"
fi
echores "$_tga"
@@ -3986,10 +4034,10 @@ echores "$_tga"
echocheck "md5sum support"
if test "$_md5sum" = yes; then
- _def_md5sum="#define CONFIG_MD5SUM"
+ def_md5sum="#define CONFIG_MD5SUM"
_vomodules="md5sum $_vomodules"
else
- _def_md5sum="#undef CONFIG_MD5SUM"
+ def_md5sum="#undef CONFIG_MD5SUM"
_novomodules="md5sum $_novomodules"
fi
echores "$_md5sum"
@@ -3997,10 +4045,10 @@ echores "$_md5sum"
echocheck "yuv4mpeg support"
if test "$_yuv4mpeg" = yes; then
- _def_yuv4mpeg="#define CONFIG_YUV4MPEG"
+ def_yuv4mpeg="#define CONFIG_YUV4MPEG"
_vomodules="yuv4mpeg $_vomodules"
else
- _def_yuv4mpeg="#undef CONFIG_YUV4MPEG"
+ def_yuv4mpeg="#undef CONFIG_YUV4MPEG"
_novomodules="yuv4mpeg $_novomodules"
fi
echores "$_yuv4mpeg"
@@ -4008,10 +4056,10 @@ echores "$_yuv4mpeg"
echocheck "bl"
if test "$_bl" = yes ; then
- _def_bl='#define CONFIG_BL 1'
+ def_bl='#define CONFIG_BL 1'
_vomodules="bl $_vomodules"
else
- _def_bl='#undef CONFIG_BL'
+ def_bl='#undef CONFIG_BL'
_novomodules="bl $_novomodules"
fi
echores "$_bl"
@@ -4049,11 +4097,11 @@ EOF
_dfb_micro=`echo $_directfb_version | cut -d . -f 3`
_dfb_version=`dfb_version $_dfb_major $_dfb_minor $_dfb_micro`
if test "$_dfb_version" -ge `dfb_version 0 9 13`; then
- _def_directfb_version="#define DIRECTFBVERSION $_dfb_version"
+ def_directfb_version="#define DIRECTFBVERSION $_dfb_version"
_res_comment="$_directfb_version"
test "$_dfb_version" -ge `dfb_version 0 9 15` && _dfbmga=yes
else
- _def_directfb_version='#undef DIRECTFBVERSION'
+ def_directfb_version='#undef DIRECTFBVERSION'
_directfb=no
_res_comment="version >=0.9.13 required"
fi
@@ -4065,19 +4113,19 @@ fi
echores "$_directfb"
if test "$_directfb" = yes ; then
- _def_directfb='#define CONFIG_DIRECTFB 1'
+ def_directfb='#define CONFIG_DIRECTFB 1'
_vomodules="directfb $_vomodules"
_libs_mplayer="$_libs_mplayer -ldirectfb"
else
- _def_directfb='#undef CONFIG_DIRECTFB'
+ def_directfb='#undef CONFIG_DIRECTFB'
_novomodules="directfb $_novomodules"
fi
if test "$_dfbmga" = yes; then
_vomodules="dfbmga $_vomodules"
- _def_dfbmga='#define CONFIG_DFBMGA 1'
+ def_dfbmga='#define CONFIG_DFBMGA 1'
else
_novomodules="dfbmga $_novomodules"
- _def_dfbmga='#undef CONFIG_DFBMGA'
+ def_dfbmga='#undef CONFIG_DFBMGA'
fi
@@ -4123,11 +4171,11 @@ EOF
done
fi
if test "$_x11" = yes ; then
- _def_x11='#define CONFIG_X11 1'
+ def_x11='#define CONFIG_X11 1'
_vomodules="x11 xover $_vomodules"
else
_x11=no
- _def_x11='#undef CONFIG_X11'
+ def_x11='#undef CONFIG_X11'
_novomodules="x11 $_novomodules"
_res_comment="check if the dev(el) packages are installed"
# disable stuff that depends on X
@@ -4146,10 +4194,10 @@ EOF
cc_check -lXss && _xss=yes
fi
if test "$_xss" = yes ; then
- _def_xss='#define CONFIG_XSS 1'
+ def_xss='#define CONFIG_XSS 1'
_libs_mplayer="$_libs_mplayer -lXss"
else
- _def_xss='#undef CONFIG_XSS'
+ def_xss='#undef CONFIG_XSS'
fi
echores "$_xss"
@@ -4174,16 +4222,16 @@ EOF
cc_check -lXext && _xdpms4=yes
fi
if test "$_xdpms4" = yes ; then
- _def_xdpms='#define CONFIG_XDPMS 1'
+ def_xdpms='#define CONFIG_XDPMS 1'
_res_comment="using Xdpms 4"
echores "yes"
elif test "$_xdpms3" = yes ; then
- _def_xdpms='#define CONFIG_XDPMS 1'
+ def_xdpms='#define CONFIG_XDPMS 1'
_libs_mplayer="$_libs_mplayer -lXdpms"
_res_comment="using Xdpms 3"
echores "yes"
else
- _def_xdpms='#undef CONFIG_XDPMS'
+ def_xdpms='#undef CONFIG_XDPMS'
echores "no"
fi
@@ -4203,11 +4251,11 @@ EOF
fi
if test "$_xv" = yes ; then
- _def_xv='#define CONFIG_XV 1'
+ def_xv='#define CONFIG_XV 1'
_libs_mplayer="$_libs_mplayer -lXv"
_vomodules="xv $_vomodules"
else
- _def_xv='#undef CONFIG_XV'
+ def_xv='#undef CONFIG_XV'
_novomodules="xv $_novomodules"
fi
echores "$_xv"
@@ -4230,12 +4278,12 @@ EOF
done
fi
if test "$_xvmc" = yes ; then
- _def_xvmc='#define CONFIG_XVMC 1'
+ def_xvmc='#define CONFIG_XVMC 1'
_libs_mplayer="$_libs_mplayer -lXvMC -l$_xvmclib"
_vomodules="xvmc $_vomodules"
_res_comment="using $_xvmclib"
else
- _def_xvmc='#define CONFIG_XVMC 0'
+ def_xvmc='#define CONFIG_XVMC 0'
_novomodules="xvmc $_novomodules"
_libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// `
fi
@@ -4254,10 +4302,10 @@ EOF
fi
if test "$_xinerama" = yes ; then
- _def_xinerama='#define CONFIG_XINERAMA 1'
+ def_xinerama='#define CONFIG_XINERAMA 1'
_libs_mplayer="$_libs_mplayer -lXinerama"
else
- _def_xinerama='#undef CONFIG_XINERAMA'
+ def_xinerama='#undef CONFIG_XINERAMA'
fi
echores "$_xinerama"
@@ -4278,10 +4326,10 @@ EOF
cc_check -lXxf86vm && _vm=yes
fi
if test "$_vm" = yes ; then
- _def_vm='#define CONFIG_XF86VM 1'
+ def_vm='#define CONFIG_XF86VM 1'
_libs_mplayer="$_libs_mplayer -lXxf86vm"
else
- _def_vm='#undef CONFIG_XF86VM'
+ def_vm='#undef CONFIG_XF86VM'
fi
echores "$_vm"
@@ -4300,9 +4348,9 @@ EOF
cc_check && _xf86keysym=yes
fi
if test "$_xf86keysym" = yes ; then
- _def_xf86keysym='#define CONFIG_XF86XK 1'
+ def_xf86keysym='#define CONFIG_XF86XK 1'
else
- _def_xf86keysym='#undef CONFIG_XF86XK'
+ def_xf86keysym='#undef CONFIG_XF86XK'
fi
echores "$_xf86keysym"
@@ -4327,20 +4375,20 @@ EOF
fi
_dga=no
-_def_dga='#undef CONFIG_DGA'
-_def_dga1='#undef CONFIG_DGA1'
-_def_dga2='#undef CONFIG_DGA2'
+def_dga='#undef CONFIG_DGA'
+def_dga1='#undef CONFIG_DGA1'
+def_dga2='#undef CONFIG_DGA2'
if test "$_dga1" = yes ; then
_dga=yes
- _def_dga1='#define CONFIG_DGA1 1'
+ def_dga1='#define CONFIG_DGA1 1'
_res_comment="using DGA 1.0"
elif test "$_dga2" = yes ; then
_dga=yes
- _def_dga2='#define CONFIG_DGA2 1'
+ def_dga2='#define CONFIG_DGA2 1'
_res_comment="using DGA 2.0"
fi
if test "$_dga" = yes ; then
- _def_dga='#define CONFIG_DGA 1'
+ def_dga='#define CONFIG_DGA 1'
_libs_mplayer="$_libs_mplayer -lXxf86dga"
_vomodules="dga $_vomodules"
else
@@ -4351,10 +4399,10 @@ echores "$_dga"
echocheck "3dfx"
if test "$_3dfx" = yes && test "$_dga" = yes ; then
- _def_3dfx='#define CONFIG_3DFX 1'
+ def_3dfx='#define CONFIG_3DFX 1'
_vomodules="3dfx $_vomodules"
else
- _def_3dfx='#undef CONFIG_3DFX'
+ def_3dfx='#undef CONFIG_3DFX'
_novomodules="3dfx $_novomodules"
fi
echores "$_3dfx"
@@ -4399,51 +4447,51 @@ else
_gl=no
fi
if test "$_gl" = yes ; then
- _def_gl='#define CONFIG_GL 1'
+ def_gl='#define CONFIG_GL 1'
if test "$_gl_win32" = yes ; then
- _def_gl_win32='#define GL_WIN32 1'
+ def_gl_win32='#define GL_WIN32 1'
_res_comment="win32 version"
fi
_vomodules="opengl $_vomodules"
else
- _def_gl='#undef CONFIG_GL'
- _def_gl_win32='#undef GL_WIN32'
+ def_gl='#undef CONFIG_GL'
+ def_gl_win32='#undef GL_WIN32'
_novomodules="opengl $_novomodules"
fi
echores "$_gl"
echocheck "VIDIX"
-_def_vidix='#undef CONFIG_VIDIX'
-_def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE'
+def_vidix='#undef CONFIG_VIDIX'
+def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE'
_vidix_drv_cyberblade=no
-_def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
+def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
_vidix_drv_ivtv=no
-_def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
+def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
_vidix_drv_ivtv=no
-_def_vidix_drv_mach64='#undef CONFIG_VIDIX_DRV_MACH64'
+def_vidix_drv_mach64='#undef CONFIG_VIDIX_DRV_MACH64'
_vidix_drv_mach64=no
-_def_vidix_drv_mga='#undef CONFIG_VIDIX_DRV_MGA'
+def_vidix_drv_mga='#undef CONFIG_VIDIX_DRV_MGA'
_vidix_drv_mga=no
-_def_vidix_drv_mga_crtc2='#undef CONFIG_VIDIX_DRV_MGA_CRTC2'
+def_vidix_drv_mga_crtc2='#undef CONFIG_VIDIX_DRV_MGA_CRTC2'
_vidix_drv_mga_crtc2=no
-_def_vidix_drv_nvidia='#undef CONFIG_VIDIX_DRV_NVIDIA'
+def_vidix_drv_nvidia='#undef CONFIG_VIDIX_DRV_NVIDIA'
_vidix_drv_nvidia=no
-_def_vidix_drv_pm2='#undef CONFIG_VIDIX_DRV_PM2'
+def_vidix_drv_pm2='#undef CONFIG_VIDIX_DRV_PM2'
_vidix_drv_pm2=no
-_def_vidix_drv_pm3='#undef CONFIG_VIDIX_DRV_PM3'
+def_vidix_drv_pm3='#undef CONFIG_VIDIX_DRV_PM3'
_vidix_drv_pm3=no
-_def_vidix_drv_radeon='#undef CONFIG_VIDIX_DRV_RADEON'
+def_vidix_drv_radeon='#undef CONFIG_VIDIX_DRV_RADEON'
_vidix_drv_radeon=no
-_def_vidix_drv_rage128='#undef CONFIG_VIDIX_DRV_RAGE128'
+def_vidix_drv_rage128='#undef CONFIG_VIDIX_DRV_RAGE128'
_vidix_drv_rage128=no
-_def_vidix_drv_s3='#undef CONFIG_VIDIX_DRV_S3'
+def_vidix_drv_s3='#undef CONFIG_VIDIX_DRV_S3'
_vidix_drv_s3=no
-_def_vidix_drv_sh_veu='#undef CONFIG_VIDIX_DRV_SH_VEU'
+def_vidix_drv_sh_veu='#undef CONFIG_VIDIX_DRV_SH_VEU'
_vidix_drv_sh_veu=no
-_def_vidix_drv_sis='#undef CONFIG_VIDIX_DRV_SIS'
+def_vidix_drv_sis='#undef CONFIG_VIDIX_DRV_SIS'
_vidix_drv_sis=no
-_def_vidix_drv_unichrome='#undef CONFIG_VIDIX_DRV_UNICHROME'
+def_vidix_drv_unichrome='#undef CONFIG_VIDIX_DRV_UNICHROME'
_vidix_drv_unichrome=no
if test "$_vidix" = auto ; then
_vidix=no
@@ -4454,7 +4502,7 @@ fi
echores "$_vidix"
if test "$_vidix" = yes ; then
- _def_vidix='#define CONFIG_VIDIX 1'
+ def_vidix='#define CONFIG_VIDIX 1'
_vomodules="cvidix $_vomodules"
test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 s3 sh_veu sis unichrome"
test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
@@ -4466,7 +4514,7 @@ if test "$_vidix" = yes ; then
for driver in $_vidix_drivers ; do
uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`
eval _vidix_drv_${driver}=yes
- eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\"
+ eval def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\"
done
echocheck "VIDIX PCI device name database"
@@ -4509,10 +4557,10 @@ if test "$_mga" = auto ; then
test -c /dev/mga_vid && _mga=yes
fi
if test "$_mga" = yes ; then
- _def_mga='#define CONFIG_MGA 1'
+ def_mga='#define CONFIG_MGA 1'
_vomodules="mga $_vomodules"
else
- _def_mga='#undef CONFIG_MGA'
+ def_mga='#undef CONFIG_MGA'
_novomodules="mga $_novomodules"
fi
echores "$_mga"
@@ -4524,10 +4572,10 @@ if test "$_xmga" = auto ; then
test "$_x11" = yes && test "$_mga" = yes && _xmga=yes
fi
if test "$_xmga" = yes ; then
- _def_xmga='#define CONFIG_XMGA 1'
+ def_xmga='#define CONFIG_XMGA 1'
_vomodules="xmga $_vomodules"
else
- _def_xmga='#undef CONFIG_XMGA'
+ def_xmga='#undef CONFIG_XMGA'
_novomodules="xmga $_novomodules"
fi
echores "$_xmga"
@@ -4543,11 +4591,11 @@ EOF
cc_check -lggi && _ggi=yes
fi
if test "$_ggi" = yes ; then
- _def_ggi='#define CONFIG_GGI 1'
+ def_ggi='#define CONFIG_GGI 1'
_libs_mplayer="$_libs_mplayer -lggi"
_vomodules="ggi $_vomodules"
else
- _def_ggi='#undef CONFIG_GGI'
+ def_ggi='#undef CONFIG_GGI'
_novomodules="ggi $_novomodules"
fi
echores "$_ggi"
@@ -4565,11 +4613,11 @@ fi
# needed to get right output on obscure combination
# like --disable-ggi --enable-ggiwmh
if test "$_ggi" = yes && test "$_ggiwmh" = yes ; then
- _def_ggiwmh='#define CONFIG_GGIWMH 1'
+ def_ggiwmh='#define CONFIG_GGIWMH 1'
_libs_mplayer="$_libs_mplayer -lggiwmh"
else
_ggiwmh=no
- _def_ggiwmh='#undef CONFIG_GGIWMH'
+ def_ggiwmh='#undef CONFIG_GGIWMH'
fi
echores "$_ggiwmh"
@@ -4595,13 +4643,13 @@ EOF
done
fi
if test "$_aa" = yes ; then
- _def_aa='#define CONFIG_AA 1'
+ def_aa='#define CONFIG_AA 1'
if cygwin ; then
_libs_mplayer="$_libs_mplayer `aalib-config --libs | cut -d " " -f 2,5,6`"
fi
_vomodules="aa $_vomodules"
else
- _def_aa='#undef CONFIG_AA'
+ def_aa='#undef CONFIG_AA'
_novomodules="aa $_novomodules"
fi
echores "$_aa"
@@ -4622,12 +4670,12 @@ EOF
fi
fi
if test "$_caca" = yes ; then
- _def_caca='#define CONFIG_CACA 1'
+ def_caca='#define CONFIG_CACA 1'
_inc_extra="$_inc_extra `caca-config --cflags`"
_libs_mplayer="$_libs_mplayer `caca-config --libs`"
_vomodules="caca $_vomodules"
else
- _def_caca='#undef CONFIG_CACA'
+ def_caca='#undef CONFIG_CACA'
_novomodules="caca $_novomodules"
fi
echores "$_caca"
@@ -4643,11 +4691,11 @@ EOF
cc_check -lvga $_ld_lm && _svga=yes
fi
if test "$_svga" = yes ; then
- _def_svga='#define CONFIG_SVGALIB 1'
+ def_svga='#define CONFIG_SVGALIB 1'
_libs_mplayer="$_libs_mplayer -lvga"
_vomodules="svga $_vomodules"
else
- _def_svga='#undef CONFIG_SVGALIB'
+ def_svga='#undef CONFIG_SVGALIB'
_novomodules="svga $_novomodules"
fi
echores "$_svga"
@@ -4659,10 +4707,10 @@ if test "$_fbdev" = auto ; then
linux && _fbdev=yes
fi
if test "$_fbdev" = yes ; then
- _def_fbdev='#define CONFIG_FBDEV 1'
+ def_fbdev='#define CONFIG_FBDEV 1'
_vomodules="fbdev $_vomodules"
else
- _def_fbdev='#undef CONFIG_FBDEV'
+ def_fbdev='#undef CONFIG_FBDEV'
_novomodules="fbdev $_novomodules"
fi
echores "$_fbdev"
@@ -4692,8 +4740,8 @@ EOF
fi
echores "$_dvb"
if test "$_dvb" = yes ; then
- _def_dvb='#define CONFIG_DVB 1'
- _def_dvbin='#define CONFIG_DVBIN 1'
+ def_dvb='#define CONFIG_DVB 1'
+ def_dvbin='#define CONFIG_DVBIN 1'
_aomodules="mpegpes(dvb) $_aomodules"
_vomodules="mpegpes(dvb) $_vomodules"
fi
@@ -4721,17 +4769,17 @@ EOF
fi
echores "$_dvbhead"
if test "$_dvbhead" = yes ; then
- _def_dvb='#define CONFIG_DVB 1'
- _def_dvb_head='#define CONFIG_DVB_HEAD 1'
- _def_dvbin='#define CONFIG_DVBIN 1'
+ def_dvb='#define CONFIG_DVB 1'
+ def_dvb_head='#define CONFIG_DVB_HEAD 1'
+ def_dvbin='#define CONFIG_DVBIN 1'
_aomodules="mpegpes(dvb) $_aomodules"
_vomodules="mpegpes(dvb) $_vomodules"
fi
if test "$_dvbhead" = no && test "$_dvb" = no ; then
- _def_dvb='#undef CONFIG_DVB'
- _def_dvb_head='#undef CONFIG_DVB_HEAD'
- _def_dvbin='#undef CONFIG_DVBIN '
+ def_dvb='#undef CONFIG_DVB'
+ def_dvb_head='#undef CONFIG_DVB_HEAD'
+ def_dvbin='#undef CONFIG_DVBIN '
_aomodules="mpegpes(file) $_aomodules"
_vomodules="mpegpes(file) $_vomodules"
fi
@@ -4775,11 +4823,11 @@ EOF
fi
echores "$_png"
if test "$_png" = yes ; then
- _def_png='#define CONFIG_PNG 1'
+ def_png='#define CONFIG_PNG 1'
_ld_extra="$_ld_extra -lpng -lz"
_vomodules="png $_vomodules"
else
- _def_png='#undef CONFIG_PNG'
+ def_png='#undef CONFIG_PNG'
_novomodules="png $_novomodules"
fi
@@ -4799,10 +4847,10 @@ EOF
fi
echores "$_mng"
if test "$_mng" = yes ; then
- _def_mng='#define CONFIG_MNG 1'
+ def_mng='#define CONFIG_MNG 1'
_ld_extra="$_ld_extra -lmng -lz"
else
- _def_mng='#undef CONFIG_MNG'
+ def_mng='#undef CONFIG_MNG'
fi
echocheck "JPEG support"
@@ -4825,11 +4873,11 @@ fi
echores "$_jpeg"
if test "$_jpeg" = yes ; then
- _def_jpeg='#define CONFIG_JPEG 1'
+ def_jpeg='#define CONFIG_JPEG 1'
_vomodules="jpeg $_vomodules"
_ld_extra="$_ld_extra -ljpeg"
else
- _def_jpeg='#undef CONFIG_JPEG'
+ def_jpeg='#undef CONFIG_JPEG'
_novomodules="jpeg $_novomodules"
fi
@@ -4837,10 +4885,10 @@ fi
echocheck "PNM support"
if test "$_pnm" = yes; then
- _def_pnm="#define CONFIG_PNM 1"
+ def_pnm="#define CONFIG_PNM 1"
_vomodules="pnm $_vomodules"
else
- _def_pnm="#undef CONFIG_PNM"
+ def_pnm="#undef CONFIG_PNM"
_novomodules="pnm $_novomodules"
fi
echores "$_pnm"
@@ -4882,11 +4930,11 @@ if test "$_force_gif" = yes && test "$_gif" = no ; then
fi
if test "$_gif" = yes ; then
- _def_gif='#define CONFIG_GIF 1'
+ def_gif='#define CONFIG_GIF 1'
_codecmodules="gif $_codecmodules"
_vomodules="gif89a $_vomodules"
_res_comment="old version, some encoding functions disabled"
- _def_gif_4='#undef CONFIG_GIF_4'
+ def_gif_4='#undef CONFIG_GIF_4'
_ld_extra="$_ld_extra $_ld_gif"
cat > $TMPC << EOF
@@ -4901,12 +4949,12 @@ int main(void) {
}
EOF
if cc_check "$_ld_gif" && tmp_run ; then
- _def_gif_4='#define CONFIG_GIF_4 1'
+ def_gif_4='#define CONFIG_GIF_4 1'
_res_comment=""
fi
else
- _def_gif='#undef CONFIG_GIF'
- _def_gif_4='#undef CONFIG_GIF_4'
+ def_gif='#undef CONFIG_GIF'
+ def_gif_4='#undef CONFIG_GIF_4'
_novomodules="gif89a $_novomodules"
_nocodecmodules="gif $_nocodecmodules"
fi
@@ -4915,7 +4963,7 @@ echores "$_gif"
case "$_gif" in yes*)
echocheck "broken giflib workaround"
- _def_gif_tvt_hack='#define CONFIG_GIF_TVT_HACK 1'
+ def_gif_tvt_hack='#define CONFIG_GIF_TVT_HACK 1'
cat > $TMPC << EOF
#include <gif_lib.h>
@@ -4926,7 +4974,7 @@ int main(void) {
}
EOF
if cc_check "$_ld_gif" && tmp_run ; then
- _def_gif_tvt_hack='#undef CONFIG_GIF_TVT_HACK'
+ def_gif_tvt_hack='#undef CONFIG_GIF_TVT_HACK'
echores "disabled"
else
echores "enabled"
@@ -4945,11 +4993,11 @@ EOF
cc_check -lvbe -llrmi && _vesa=yes
fi
if test "$_vesa" = yes ; then
- _def_vesa='#define CONFIG_VESA 1'
+ def_vesa='#define CONFIG_VESA 1'
_libs_mplayer="$_libs_mplayer -lvbe -llrmi"
_vomodules="vesa $_vomodules"
else
- _def_vesa='#undef CONFIG_VESA'
+ def_vesa='#undef CONFIG_VESA'
_novomodules="vesa $_novomodules"
fi
echores "$_vesa"
@@ -4983,9 +5031,9 @@ EOF
_sdlversion=`$_sdlconfig --version | sed 's/[^0-9]//g'`
if test "$_sdlversion" -gt 116 ; then
if test "$_sdlversion" -lt 121 ; then
- _def_sdlbuggy='#define BUGGY_SDL'
+ def_sdlbuggy='#define BUGGY_SDL'
else
- _def_sdlbuggy='#undef BUGGY_SDL'
+ def_sdlbuggy='#undef BUGGY_SDL'
fi
_sdl=yes
fi
@@ -4993,7 +5041,7 @@ EOF
fi
fi
if test "$_sdl" = yes ; then
- _def_sdl='#define CONFIG_SDL 1'
+ def_sdl='#define CONFIG_SDL 1'
if cygwin ; then
_libs_mplayer="$_libs_mplayer `$_sdlconfig --libs | cut -d " " -f 1,4,6 | sed s/no-cygwin/cygwin/`"
_inc_extra="$_inc_extra `$_sdlconfig --cflags | cut -d " " -f 1,5,6 | sed s/no-cygwin/cygwin/`"
@@ -5008,7 +5056,7 @@ if test "$_sdl" = yes ; then
_aomodules="sdl $_aomodules"
_res_comment="using $_sdlconfig"
else
- _def_sdl='#undef CONFIG_SDL'
+ def_sdl='#undef CONFIG_SDL'
_novomodules="sdl $_novomodules"
_noaomodules="sdl $_noaomodules"
fi
@@ -5028,11 +5076,11 @@ EOF
cc_check -lwinmm && _win32waveout=yes
fi
if test "$_win32waveout" = yes ; then
- _def_win32waveout='#define CONFIG_WIN32WAVEOUT 1'
+ def_win32waveout='#define CONFIG_WIN32WAVEOUT 1'
_libs_mplayer="$_libs_mplayer -lwinmm"
_aomodules="win32 $_aomodules"
else
- _def_win32waveout='#undef CONFIG_WIN32WAVEOUT'
+ def_win32waveout='#undef CONFIG_WIN32WAVEOUT'
_noaomodules="win32 $_noaomodules"
fi
echores "$_win32waveout"
@@ -5048,11 +5096,11 @@ EOF
cc_check -ld3d9 && _direct3d=yes
fi
if test "$_direct3d" = yes ; then
- _def_direct3d='#define CONFIG_DIRECT3D 1'
+ def_direct3d='#define CONFIG_DIRECT3D 1'
_libs_mplayer="$_libs_mplayer -ld3d9"
_vomodules="direct3d $_vomodules"
else
- _def_direct3d='#undef CONFIG_DIRECT3D'
+ def_direct3d='#undef CONFIG_DIRECT3D'
_novomodules="direct3d $_novomodules"
fi
echores "$_direct3d"
@@ -5069,12 +5117,12 @@ EOF
cc_check -lgdi32 && _directx=yes
fi
if test "$_directx" = yes ; then
- _def_directx='#define CONFIG_DIRECTX 1'
+ def_directx='#define CONFIG_DIRECTX 1'
_libs_mplayer="$_libs_mplayer -lgdi32"
_vomodules="directx $_vomodules"
_aomodules="dsound $_aomodules"
else
- _def_directx='#undef CONFIG_DIRECTX'
+ def_directx='#undef CONFIG_DIRECTX'
_novomodules="directx $_novomodules"
_noaomodules="dsound $_noaomodules"
fi
@@ -5096,11 +5144,11 @@ EOF
done
fi
if test "$_dxr2" = yes; then
- _def_dxr2='#define CONFIG_DXR2 1'
+ def_dxr2='#define CONFIG_DXR2 1'
_aomodules="dxr2 $_aomodules"
_vomodules="dxr2 $_vomodules"
else
- _def_dxr2='#undef CONFIG_DXR2'
+ def_dxr2='#undef CONFIG_DXR2'
_noaomodules="dxr2 $_noaomodules"
_novomodules="dxr2 $_novomodules"
fi
@@ -5116,10 +5164,10 @@ EOF
cc_check && _dxr3=yes
fi
if test "$_dxr3" = yes ; then
- _def_dxr3='#define CONFIG_DXR3 1'
+ def_dxr3='#define CONFIG_DXR3 1'
_vomodules="dxr3 $_vomodules"
else
- _def_dxr3='#undef CONFIG_DXR3'
+ def_dxr3='#undef CONFIG_DXR3'
_novomodules="dxr3 $_novomodules"
fi
echores "$_dxr3"
@@ -5145,11 +5193,11 @@ EOF
cc_check && _ivtv=yes
fi
if test "$_ivtv" = yes ; then
- _def_ivtv='#define CONFIG_IVTV 1'
+ def_ivtv='#define CONFIG_IVTV 1'
_vomodules="ivtv $_vomodules"
_aomodules="ivtv $_aomodules"
else
- _def_ivtv='#undef CONFIG_IVTV'
+ def_ivtv='#undef CONFIG_IVTV'
_novomodules="ivtv $_novomodules"
_noaomodules="ivtv $_noaomodules"
fi
@@ -5178,11 +5226,11 @@ EOF
cc_check && _v4l2=yes
fi
if test "$_v4l2" = yes ; then
- _def_v4l2='#define CONFIG_V4L2_DECODER 1'
+ def_v4l2='#define CONFIG_V4L2_DECODER 1'
_vomodules="v4l2 $_vomodules"
_aomodules="v4l2 $_aomodules"
else
- _def_v4l2='#undef CONFIG_V4L2_DECODER'
+ def_v4l2='#undef CONFIG_V4L2_DECODER'
_novomodules="v4l2 $_novomodules"
_noaomodules="v4l2 $_noaomodules"
fi
@@ -5206,11 +5254,11 @@ EOF
cc_check && _ossaudio=yes
fi
if test "$_ossaudio" = yes ; then
- _def_ossaudio='#define CONFIG_OSS_AUDIO 1'
+ def_ossaudio='#define CONFIG_OSS_AUDIO 1'
_aomodules="oss $_aomodules"
if test "$_linux_devfs" = yes; then
- _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound/dsp"'
- _def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/sound/mixer"'
+ def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound/dsp"'
+ def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/sound/mixer"'
else
cat > $TMPC << EOF
#include <sys/ioctl.h>
@@ -5224,19 +5272,19 @@ EOF
_real_ossaudio=no
cc_check && _real_ossaudio=yes
if test "$_real_ossaudio" = yes; then
- _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
+ def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
elif netbsd || openbsd ; then
- _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound"'
+ def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound"'
_ld_extra="$_ld_extra -lossaudio"
else
- _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
+ def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
fi
- _def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/mixer"'
+ def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/mixer"'
fi
else
- _def_ossaudio='#undef CONFIG_OSS_AUDIO'
- _def_ossaudio_devdsp='#define PATH_DEV_DSP ""'
- _def_ossaudio_devmixer='#define PATH_DEV_MIXER ""'
+ def_ossaudio='#undef CONFIG_OSS_AUDIO'
+ def_ossaudio_devdsp='#define PATH_DEV_DSP ""'
+ def_ossaudio_devmixer='#define PATH_DEV_MIXER ""'
_noaomodules="oss $_noaomodules"
fi
echores "$_ossaudio"
@@ -5257,7 +5305,7 @@ cc_check `artsc-config --libs` `artsc-config --cflags` && tmp_run && _arts=yes
fi
if test "$_arts" = yes ; then
- _def_arts='#define CONFIG_ARTS 1'
+ def_arts='#define CONFIG_ARTS 1'
_aomodules="arts $_aomodules"
_libs_mplayer="$_libs_mplayer `artsc-config --libs`"
_inc_extra="$_inc_extra `artsc-config --cflags`"
@@ -5283,7 +5331,7 @@ fi
echores "$_esd"
if test "$_esd" = yes ; then
- _def_esd='#define CONFIG_ESD 1'
+ def_esd='#define CONFIG_ESD 1'
_aomodules="esd $_aomodules"
_libs_mplayer="$_libs_mplayer `esd-config --libs`"
_inc_extra="$_inc_extra `esd-config --cflags`"
@@ -5293,11 +5341,11 @@ if test "$_esd" = yes ; then
#include <esd.h>
int main(void) { return esd_get_latency(0); }
EOF
- cc_check `esd-config --libs` `esd-config --cflags` && _esd_latency=yes && _def_esd_latency='#define CONFIG_ESD_LATENCY'
+ cc_check `esd-config --libs` `esd-config --cflags` && _esd_latency=yes && def_esd_latency='#define CONFIG_ESD_LATENCY'
echores "$_esd_latency"
else
- _def_esd='#undef CONFIG_ESD'
- _def_esd_latency='#undef CONFIG_ESD_LATENCY'
+ def_esd='#undef CONFIG_ESD'
+ def_esd_latency='#undef CONFIG_ESD_LATENCY'
_noaomodules="esd $_noaomodules"
fi
@@ -5312,12 +5360,12 @@ EOF
cc_check $_ld_lm -laudio -lXt && _nas=yes
fi
if test "$_nas" = yes ; then
- _def_nas='#define CONFIG_NAS 1'
+ def_nas='#define CONFIG_NAS 1'
_libs_mplayer="$_libs_mplayer -laudio -lXt"
_aomodules="nas $_aomodules"
else
_noaomodules="nas $_noaomodules"
- _def_nas='#undef CONFIG_NAS'
+ def_nas='#undef CONFIG_NAS'
fi
echores "$_nas"
@@ -5338,12 +5386,12 @@ fi
echores "$_pulse"
if test "$_pulse" = yes ; then
- _def_pulse='#define CONFIG_PULSE 1'
+ def_pulse='#define CONFIG_PULSE 1'
_aomodules="pulse $_aomodules"
_libs_mplayer="$_libs_mplayer `$_pkg_config --libs libpulse`"
_inc_extra="$_inc_extra `$_pkg_config --cflags libpulse`"
else
- _def_pulse='#undef CONFIG_PULSE'
+ def_pulse='#undef CONFIG_PULSE'
_noaomodules="pulse $_noaomodules"
fi
@@ -5367,7 +5415,7 @@ EOF
fi
if test "$_jack" = yes ; then
- _def_jack='#define CONFIG_JACK 1'
+ def_jack='#define CONFIG_JACK 1'
_aomodules="jack $_aomodules"
else
_noaomodules="jack $_noaomodules"
@@ -5391,12 +5439,12 @@ int main(void) {
EOF
for I in "-lopenal" "-lopenal32" "-framework OpenAL" ; do
cc_check $I && _openal=yes && break
- cc_check -DOPENAL_AL_H=1 $I && _def_openal_h='#define OPENAL_AL_H 1' && _openal=yes && break
+ cc_check -DOPENAL_AL_H=1 $I && def_openal_h='#define OPENAL_AL_H 1' && _openal=yes && break
done
test "$_openal" = yes && _libs_mplayer="$_libs_mplayer $I"
fi
if test "$_openal" = yes ; then
- _def_openal='#define CONFIG_OPENAL 1'
+ def_openal='#define CONFIG_OPENAL 1'
_aomodules="openal $_aomodules"
else
_noaomodules="openal $_noaomodules"
@@ -5458,10 +5506,10 @@ int main(void) { return 0; }
EOF
cc_check -lasound $_ld_dl $_ld_pthread && _alsaver='1.0.x-alsa'
fi
-_def_alsa='#undef CONFIG_ALSA'
-_def_alsa5='#undef CONFIG_ALSA5'
-_def_alsa9='#undef CONFIG_ALSA9'
-_def_alsa1x='#undef CONFIG_ALSA1X'
+def_alsa='#undef CONFIG_ALSA'
+def_alsa5='#undef CONFIG_ALSA5'
+def_alsa9='#undef CONFIG_ALSA9'
+def_alsa1x='#undef CONFIG_ALSA1X'
def_sys_asoundlib_h='#undef HAVE_SYS_ASOUNDLIB_H'
def_alsa_asoundlib_h='#undef HAVE_ALSA_ASOUNDLIB_H'
if test "$_alsaver" ; then
@@ -5469,35 +5517,35 @@ if test "$_alsaver" ; then
if test "$_alsaver" = '0.5.x' ; then
_alsa5=yes
_aomodules="alsa5 $_aomodules"
- _def_alsa5='#define CONFIG_ALSA5 1'
+ def_alsa5='#define CONFIG_ALSA5 1'
def_sys_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1'
_res_comment="using alsa 0.5.x and sys/asoundlib.h"
elif test "$_alsaver" = '0.9.x-sys' ; then
_alsa9=yes
_aomodules="alsa $_aomodules"
- _def_alsa='#define CONFIG_ALSA 1'
- _def_alsa9='#define CONFIG_ALSA9 1'
+ def_alsa='#define CONFIG_ALSA 1'
+ def_alsa9='#define CONFIG_ALSA9 1'
def_sys_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1'
_res_comment="using alsa 0.9.x and sys/asoundlib.h"
elif test "$_alsaver" = '0.9.x-alsa' ; then
_alsa9=yes
_aomodules="alsa $_aomodules"
- _def_alsa='#define CONFIG_ALSA 1'
- _def_alsa9='#define CONFIG_ALSA9 1'
+ def_alsa='#define CONFIG_ALSA 1'
+ def_alsa9='#define CONFIG_ALSA9 1'
def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1'
_res_comment="using alsa 0.9.x and alsa/asoundlib.h"
elif test "$_alsaver" = '1.0.x-sys' ; then
_alsa1x=yes
_aomodules="alsa $_aomodules"
- _def_alsa='#define CONFIG_ALSA 1'
- _def_alsa1x="#define CONFIG_ALSA1X 1"
+ def_alsa='#define CONFIG_ALSA 1'
+ def_alsa1x="#define CONFIG_ALSA1X 1"
def_alsa_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1'
_res_comment="using alsa 1.0.x and sys/asoundlib.h"
elif test "$_alsaver" = '1.0.x-alsa' ; then
_alsa1x=yes
_aomodules="alsa $_aomodules"
- _def_alsa='#define CONFIG_ALSA 1'
- _def_alsa1x="#define CONFIG_ALSA1X 1"
+ def_alsa='#define CONFIG_ALSA 1'
+ def_alsa1x="#define CONFIG_ALSA1X 1"
def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1'
_res_comment="using alsa 1.0.x and alsa/asoundlib.h"
else
@@ -5522,10 +5570,10 @@ EOF
cc_check && _sunaudio=yes
fi
if test "$_sunaudio" = yes ; then
- _def_sunaudio='#define CONFIG_SUN_AUDIO 1'
+ def_sunaudio='#define CONFIG_SUN_AUDIO 1'
_aomodules="sun $_aomodules"
else
- _def_sunaudio='#undef CONFIG_SUN_AUDIO'
+ def_sunaudio='#undef CONFIG_SUN_AUDIO'
_noaomodules="sun $_noaomodules"
fi
echores "$_sunaudio"
@@ -5558,11 +5606,11 @@ EOF
cc_check && _sgiaudio=yes
fi
if test "$_sgiaudio" = "yes" ; then
- _def_sgiaudio='#define CONFIG_SGI_AUDIO 1'
+ def_sgiaudio='#define CONFIG_SGI_AUDIO 1'
_libs_mplayer="$_libs_mplayer -laudio"
_aomodules="sgi $_aomodules"
else
- _def_sgiaudio='#undef CONFIG_SGI_AUDIO'
+ def_sgiaudio='#undef CONFIG_SGI_AUDIO'
_noaomodules="sgi $_noaomodules"
fi
echores "$_sgiaudio"
@@ -5600,10 +5648,10 @@ fi
echocheck "VCD support"
if linux || freebsd || netbsd || openbsd || dragonfly || bsdos || darwin || sunos || mingw32; then
_inputmodules="vcd $_inputmodules"
- _def_vcd='#define CONFIG_VCD 1'
+ def_vcd='#define CONFIG_VCD 1'
_vcd="yes"
else
- _def_vcd='#undef CONFIG_VCD'
+ def_vcd='#undef CONFIG_VCD'
_noinputmodules="vcd $_noinputmodules"
_res_comment="not supported on this OS"
_vcd="no"
@@ -5651,18 +5699,18 @@ EOF
fi
if test "$_dvdread_internal" = yes; then
- _def_dvdread='#define CONFIG_DVDREAD 1'
+ def_dvdread='#define CONFIG_DVDREAD 1'
_inputmodules="dvdread(internal) $_inputmodules"
_largefiles=yes
_res_comment="internal"
elif test "$_dvdread" = yes; then
- _def_dvdread='#define CONFIG_DVDREAD 1'
+ def_dvdread='#define CONFIG_DVDREAD 1'
_largefiles=yes
_ld_extra="$_ld_extra -ldvdread"
_inputmodules="dvdread(external) $_inputmodules"
_res_comment="external"
else
- _def_dvdread='#undef CONFIG_DVDREAD'
+ def_dvdread='#undef CONFIG_DVDREAD'
_noinputmodules="dvdread $_noinputmodules"
fi
echores "$_dvdread"
@@ -5676,12 +5724,12 @@ if test "$_libdvdcss_internal" = auto ; then
fi
if test "$_libdvdcss_internal" = yes ; then
if linux || netbsd || openbsd || bsdos ; then
- _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
- openbsd && _def_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1'
+ def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
+ openbsd && def_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1'
elif freebsd || dragonfly ; then
- _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
+ def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
elif darwin ; then
- _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
+ def_dvd_darwin='#define DARWIN_DVD_IOCTL'
_ld_extra="$_ld_extra -framework IOKit"
elif cygwin ; then
cflags_libdvdcss="-DSYS_CYGWIN -DWIN32"
@@ -5749,40 +5797,40 @@ EOF
fi
if test "$_libcdio" = yes && test "$_cdparanoia" = no ; then
_cdda='yes'
- _def_libcdio='#define CONFIG_LIBCDIO'
- _def_havelibcdio='yes'
+ def_libcdio='#define CONFIG_LIBCDIO'
+ def_havelibcdio='yes'
else
if test "$_cdparanoia" = yes ; then
_res_comment="using cdparanoia"
fi
- _def_libcdio='#undef CONFIG_LIBCDIO'
- _def_havelibcdio='no'
+ def_libcdio='#undef CONFIG_LIBCDIO'
+ def_havelibcdio='no'
fi
echores "$_libcdio"
if test "$_cdda" = yes ; then
test $_cddb = auto && test $_network = yes && _cddb=yes
- _def_cdparanoia='#define CONFIG_CDDA'
+ def_cdparanoia='#define CONFIG_CDDA'
_inputmodules="cdda $_inputmodules"
else
- _def_cdparanoia='#undef CONFIG_CDDA'
+ def_cdparanoia='#undef CONFIG_CDDA'
_noinputmodules="cdda $_noinputmodules"
fi
if test "$_cddb" = yes ; then
- _def_cddb='#define CONFIG_CDDB'
+ def_cddb='#define CONFIG_CDDB'
_inputmodules="cddb $_inputmodules"
else
_cddb=no
- _def_cddb='#undef CONFIG_CDDB'
+ def_cddb='#undef CONFIG_CDDB'
_noinputmodules="cddb $_noinputmodules"
fi
echocheck "bitmap font support"
if test "$_bitmap_font" = yes ; then
- _def_bitmap_font="#define CONFIG_BITMAP_FONT 1"
+ def_bitmap_font="#define CONFIG_BITMAP_FONT 1"
else
- _def_bitmap_font="#undef CONFIG_BITMAP_FONT"
+ def_bitmap_font="#undef CONFIG_BITMAP_FONT"
fi
echores "$_bitmap_font"
@@ -5830,11 +5878,11 @@ EOF
fi
fi
if test "$_freetype" = yes ; then
- _def_freetype='#define CONFIG_FREETYPE'
+ def_freetype='#define CONFIG_FREETYPE'
_inc_extra="$_inc_extra `$_freetypeconfig --cflags`"
_ld_extra="$_ld_extra `$_freetypeconfig --libs`"
else
- _def_freetype='#undef CONFIG_FREETYPE'
+ def_freetype='#undef CONFIG_FREETYPE'
fi
echores "$_freetype"
@@ -5870,9 +5918,9 @@ EOF
fi
fi
if test "$_fontconfig" = yes ; then
- _def_fontconfig='#define CONFIG_FONTCONFIG'
+ def_fontconfig='#define CONFIG_FONTCONFIG'
else
- _def_fontconfig='#undef CONFIG_FONTCONFIG'
+ def_fontconfig='#undef CONFIG_FONTCONFIG'
fi
echores "$_fontconfig"
@@ -5900,9 +5948,9 @@ EOF
fi
fi
if test "$_ass" = yes ; then
- _def_ass='#define CONFIG_ASS'
+ def_ass='#define CONFIG_ASS'
else
- _def_ass='#undef CONFIG_ASS'
+ def_ass='#undef CONFIG_ASS'
fi
echores "$_ass"
@@ -5930,11 +5978,11 @@ EOF
fi
fi
if test "$_fribidi" = yes ; then
- _def_fribidi='#define CONFIG_FRIBIDI'
+ def_fribidi='#define CONFIG_FRIBIDI'
_inc_extra="$_inc_extra `$_fribidiconfig --cflags`"
_ld_extra="$_ld_extra `$_fribidiconfig --libs`"
else
- _def_fribidi='#undef CONFIG_FRIBIDI'
+ def_fribidi='#undef CONFIG_FRIBIDI'
fi
echores "$_fribidi"
@@ -5955,10 +6003,10 @@ EOF
cc_check -lenca $_ld_lm && _enca=yes
fi
if test "$_enca" = yes ; then
- _def_enca='#define CONFIG_ENCA 1'
+ def_enca='#define CONFIG_ENCA 1'
_ld_extra="$_ld_extra -lenca"
else
- _def_enca='#undef CONFIG_ENCA'
+ def_enca='#undef CONFIG_ENCA'
fi
echores "$_enca"
@@ -5971,16 +6019,31 @@ EOF
_zlib=no
cc_check -lz && _zlib=yes
if test "$_zlib" = yes ; then
- _def_zlib='#define CONFIG_ZLIB 1'
+ def_zlib='#define CONFIG_ZLIB 1'
_ld_extra="$_ld_extra -lz"
else
- _def_zlib='#undef CONFIG_ZLIB'
+ def_zlib='#define CONFIG_ZLIB 0'
_libavdecoders=`echo $_libavdecoders | sed -e s/FLASHSV_DECODER// -e s/PNG_DECODER// -e s/ZMBV_DECODER// -e s/DXA_DECODER// -e s/TSCC_DECODER// `
_libavencoders=`echo $_libavencoders | sed -e s/FLASHSV_ENCODER// -e s/PNG_ENCODER// -e s/ZMBV_ENCODER// `
fi
echores "$_zlib"
+echocheck "bzlib"
+bzlib=no
+def_bzlib='#define CONFIG_BZLIB 0'
+cat > $TMPC << EOF
+#include <bzlib.h>
+int main(void) { BZ2_bzlibVersion(); return 0; }
+EOF
+cc_check -lbz2 && bzlib=yes
+if test "$bzlib" = yes ; then
+ def_bzlib='#define CONFIG_BZLIB 1'
+ _ld_extra="$_ld_extra -lbz2"
+fi
+echores "$bzlib"
+
+
echocheck "RTC"
if test "$_rtc" = auto ; then
cat > $TMPC << EOF
@@ -5998,9 +6061,9 @@ EOF
ppc && _rtc=no
fi
if test "$_rtc" = yes ; then
- _def_rtc='#define HAVE_RTC 1'
+ def_rtc='#define HAVE_RTC 1'
else
- _def_rtc='#undef HAVE_RTC'
+ def_rtc='#undef HAVE_RTC'
fi
echores "$_rtc"
@@ -6015,11 +6078,11 @@ EOF
cc_check -llzo2 && _liblzo=yes
fi
if test "$_liblzo" = yes ; then
- _def_liblzo='#define CONFIG_LIBLZO 1'
+ def_liblzo='#define CONFIG_LIBLZO 1'
_ld_extra="$_ld_extra -llzo2"
_codecmodules="liblzo $_codecmodules"
else
- _def_liblzo='#undef CONFIG_LIBLZO'
+ def_liblzo='#undef CONFIG_LIBLZO'
_nocodecmodules="liblzo $_nocodecmodules"
fi
echores "$_liblzo"
@@ -6035,11 +6098,11 @@ EOF
cc_check -lmad && _mad=yes
fi
if test "$_mad" = yes ; then
- _def_mad='#define CONFIG_LIBMAD 1'
+ def_mad='#define CONFIG_LIBMAD 1'
_ld_extra="$_ld_extra -lmad"
_codecmodules="libmad $_codecmodules"
else
- _def_mad='#undef CONFIG_LIBMAD'
+ def_mad='#undef CONFIG_LIBMAD'
_nocodecmodules="libmad $_nocodecmodules"
fi
echores "$_mad"
@@ -6054,11 +6117,11 @@ EOF
cc_check -ltwolame $_ld_lm && _twolame=yes
fi
if test "$_twolame" = yes ; then
- _def_twolame='#define CONFIG_TWOLAME 1'
+ def_twolame='#define CONFIG_TWOLAME 1'
_libs_mencoder="$_libs_mencoder -ltwolame"
_codecmodules="twolame $_codecmodules"
else
- _def_twolame='#undef CONFIG_TWOLAME'
+ def_twolame='#undef CONFIG_TWOLAME'
_nocodecmodules="twolame $_nocodecmodules"
fi
echores "$_twolame"
@@ -6077,11 +6140,11 @@ EOF
fi
fi
if test "$_toolame" = yes ; then
- _def_toolame='#define CONFIG_TOOLAME 1'
+ def_toolame='#define CONFIG_TOOLAME 1'
_libs_mencoder="$_libs_mencoder -ltoolame"
_codecmodules="toolame $_codecmodules"
else
- _def_toolame='#undef CONFIG_TOOLAME'
+ def_toolame='#undef CONFIG_TOOLAME'
_nocodecmodules="toolame $_nocodecmodules"
fi
if test "$_toolamedir" ; then
@@ -6110,8 +6173,8 @@ EOF
fi
if test "$_tremor_internal" = yes ; then
_vorbis=yes
- _def_vorbis='#define CONFIG_OGGVORBIS 1'
- _def_tremor='#define CONFIG_TREMOR 1'
+ def_vorbis='#define CONFIG_OGGVORBIS 1'
+ def_tremor='#define CONFIG_TREMOR 1'
_codecmodules="tremor(internal) $_codecmodules"
_res_comment="internal Tremor"
if test "$_tremor_low" = yes ; then
@@ -6120,14 +6183,14 @@ if test "$_tremor_internal" = yes ; then
fi
elif test "$_tremor" = yes ; then
_vorbis=yes
- _def_vorbis='#define CONFIG_OGGVORBIS 1'
- _def_tremor='#define CONFIG_TREMOR 1'
+ def_vorbis='#define CONFIG_OGGVORBIS 1'
+ def_tremor='#define CONFIG_TREMOR 1'
_codecmodules="tremor(external) $_codecmodules"
_res_comment="external Tremor"
_ld_extra="$_ld_extra -logg -lvorbisidec"
elif test "$_libvorbis" = yes ; then
_vorbis=yes
- _def_vorbis='#define CONFIG_OGGVORBIS 1'
+ def_vorbis='#define CONFIG_OGGVORBIS 1'
_codecmodules="libvorbis $_codecmodules"
_res_comment="libvorbis"
_ld_extra="$_ld_extra -lvorbis -logg"
@@ -6147,11 +6210,11 @@ EOF
cc_check -lspeex $_ld_lm && _speex=yes
fi
if test "$_speex" = yes ; then
- _def_speex='#define CONFIG_SPEEX 1'
+ def_speex='#define CONFIG_SPEEX 1'
_ld_extra="$_ld_extra -lspeex"
_codecmodules="speex $_codecmodules"
else
- _def_speex='#undef CONFIG_SPEEX'
+ def_speex='#undef CONFIG_SPEEX'
_nocodecmodules="speex $_nocodecmodules"
fi
echores "$_speex"
@@ -6213,13 +6276,13 @@ EOF
fi
fi
if test "$_theora" = yes ; then
- _def_theora='#define CONFIG_OGGTHEORA 1'
+ def_theora='#define CONFIG_OGGTHEORA 1'
_codecmodules="libtheora $_codecmodules"
# when --enable-theora is forced, we'd better provide a probably sane
# $_ld_theora than nothing
test -z "$_ld_theora" && _ld_extra="$_ld_extra -ltheora -logg"
else
- _def_theora='#undef CONFIG_OGGTHEORA'
+ def_theora='#undef CONFIG_OGGTHEORA'
_nocodecmodules="libtheora $_nocodecmodules"
fi
echores "$_theora"
@@ -6229,10 +6292,10 @@ if test "$_mp3lib" = auto ; then
test "$cc_vendor" = intel && _mp3lib=no || _mp3lib=yes
fi
if test "$_mp3lib" = yes ; then
- _def_mp3lib='#define CONFIG_MP3LIB 1'
+ def_mp3lib='#define CONFIG_MP3LIB 1'
_codecmodules="mp3lib(internal) $_codecmodules"
else
- _def_mp3lib='#undef CONFIG_MP3LIB'
+ def_mp3lib='#undef CONFIG_MP3LIB'
_nocodecmodules="mp3lib(internal) $_nocodecmodules"
fi
echores "$_mp3lib"
@@ -6241,11 +6304,11 @@ echocheck "liba52 support"
if test "$_liba52_internal" = auto ; then
test "$cc_vendor" = intel && _liba52_internal=no || _liba52_internal=yes
fi
-_def_liba52='#undef CONFIG_LIBA52'
-_def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
+def_liba52='#undef CONFIG_LIBA52'
+def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
if test "$_liba52_internal" = yes ; then
_liba52=yes
- _def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
+ def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
_res_comment="internal"
elif test "$_liba52_internal" = no && test "$_liba52" = auto ; then
_liba52=no
@@ -6257,7 +6320,7 @@ EOF
cc_check -la52 && _liba52=yes && _res_comment="external" && _ld_extra="$_ld_extra -la52"
fi
if test "$_liba52" = yes ; then
- _def_liba52='#define CONFIG_LIBA52 1'
+ def_liba52='#define CONFIG_LIBA52 1'
_codecmodules="liba52($_res_comment) $_codecmodules"
else
_nocodecmodules="liba52 $_nocodecmodules"
@@ -6277,10 +6340,10 @@ if test "$_libmpeg2" = auto ; then
fi
fi
if test "$_libmpeg2" = yes ; then
- _def_libmpeg2='#define CONFIG_LIBMPEG2 1'
+ def_libmpeg2='#define CONFIG_LIBMPEG2 1'
_codecmodules="libmpeg2(internal) $_codecmodules"
else
- _def_libmpeg2='#undef CONFIG_LIBMPEG2'
+ def_libmpeg2='#undef CONFIG_LIBMPEG2'
_nocodecmodules="libmpeg2(internal) $_nocodecmodules"
fi
echores "$_libmpeg2"
@@ -6299,10 +6362,10 @@ EOF
done
fi
if test "$_libdca" = yes ; then
- _def_libdca='#define CONFIG_LIBDCA 1'
+ def_libdca='#define CONFIG_LIBDCA 1'
_codecmodules="libdca $_codecmodules"
else
- _def_libdca='#undef CONFIG_LIBDCA'
+ def_libdca='#undef CONFIG_LIBDCA'
_nocodecmodules="libdca $_nocodecmodules"
fi
echores "$_libdca"
@@ -6324,11 +6387,11 @@ EOF
cc_check -lmpcdec $_ld_lm && _musepack=yes
fi
if test "$_musepack" = yes ; then
- _def_musepack='#define CONFIG_MUSEPACK 1'
+ def_musepack='#define CONFIG_MUSEPACK 1'
_ld_extra="$_ld_extra -lmpcdec"
_codecmodules="musepack $_codecmodules"
else
- _def_musepack='#undef CONFIG_MUSEPACK'
+ def_musepack='#undef CONFIG_MUSEPACK'
_nocodecmodules="musepack $_nocodecmodules"
fi
echores "$_musepack"
@@ -6347,18 +6410,18 @@ EOF
done
fi
if test "$_faac" = yes ; then
- _def_faac="#define CONFIG_FAAC 1"
+ def_faac="#define CONFIG_FAAC 1"
test "$_faac_lavc" = auto && _faac_lavc=yes
if test "$_faac_lavc" = yes ; then
- _def_faac_lavc="#define CONFIG_LIBFAAC 1"
+ def_faac_lavc="#define CONFIG_LIBFAAC 1"
_libs_mplayer="$_libs_mplayer $_ld_faac"
_libavencoders="$_libavencoders LIBFAAC_ENCODER"
fi
_codecmodules="faac $_codecmodules"
else
_faac_lavc=no
- _def_faac="#undef CONFIG_FAAC"
- _def_faac_lavc="#define CONFIG_LIBFAAC 0"
+ def_faac="#undef CONFIG_FAAC"
+ def_faac_lavc="#define CONFIG_LIBFAAC 0"
_nocodecmodules="faac $_nocodecmodules"
fi
_res_comment="in libavcodec: $_faac_lavc"
@@ -6395,10 +6458,10 @@ EOF
cc_check -lfaad $_ld_lm && _faad=yes
fi
-_def_faad='#undef CONFIG_FAAD'
-_def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
+def_faad='#undef CONFIG_FAAD'
+def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
if test "$_faad_internal" = yes ; then
- _def_faad_internal="#define CONFIG_FAAD_INTERNAL 1"
+ def_faad_internal="#define CONFIG_FAAD_INTERNAL 1"
_res_comment="internal floating-point"
if test "$_faad_fixed" = yes ; then
# The FIXED_POINT implementation of FAAD2 improves performance
@@ -6411,7 +6474,7 @@ elif test "$_faad" = yes ; then
fi
if test "$_faad" = yes ; then
- _def_faad='#define CONFIG_FAAD 1'
+ def_faad='#define CONFIG_FAAD 1'
if test "$_faad_internal" = yes ; then
_codecmodules="faad2(internal) $_codecmodules"
else
@@ -6438,9 +6501,9 @@ EOF
cc_check && _ladspa=yes
fi
if test "$_ladspa" = yes; then
- _def_ladspa="#define CONFIG_LADSPA"
+ def_ladspa="#define CONFIG_LADSPA"
else
- _def_ladspa="#undef CONFIG_LADSPA"
+ def_ladspa="#undef CONFIG_LADSPA"
fi
echores "$_ladspa"
@@ -6470,11 +6533,11 @@ if test "$_win32dll" = auto ; then
fi
fi
if test "$_win32dll" = yes ; then
- _def_win32dll='#define CONFIG_WIN32DLL 1'
+ def_win32dll='#define CONFIG_WIN32DLL 1'
test -z "$_win32codecsdir" && _win32codecsdir=$_codecsdir
_res_comment="using $_win32codecsdir"
if ! win32 ; then
- _def_win32_loader='#define WIN32_LOADER 1'
+ def_win32_loader='#define WIN32_LOADER 1'
_win32_emulation=yes
else
_ld_extra="$_ld_extra -ladvapi32 -lole32"
@@ -6482,8 +6545,8 @@ if test "$_win32dll" = yes ; then
fi
_codecmodules="win32 $_codecmodules"
else
- _def_win32dll='#undef CONFIG_WIN32DLL'
- _def_win32_loader='#undef WIN32_LOADER'
+ def_win32dll='#undef CONFIG_WIN32DLL'
+ def_win32_loader='#undef WIN32_LOADER'
_nocodecmodules="win32 $_nocodecmodules"
fi
echores "$_win32dll"
@@ -6499,13 +6562,13 @@ if test "$_xanim" = auto ; then
fi
if test "$_xanim" = yes ; then
test -z "$_xanimcodecsdir" && _xanimcodecsdir=$_codecsdir
- _def_xanim='#define CONFIG_XANIM 1'
- _def_xanim_path="#define XACODEC_PATH \"$_xanimcodecsdir\""
+ def_xanim='#define CONFIG_XANIM 1'
+ def_xanim_path="#define XACODEC_PATH \"$_xanimcodecsdir\""
_codecmodules="xanim $_codecmodules"
_res_comment="using $_xanimcodecsdir"
else
- _def_xanim='#undef CONFIG_XANIM'
- _def_xanim_path='#undef XACODEC_PATH'
+ def_xanim='#undef CONFIG_XANIM'
+ def_xanim_path='#undef XACODEC_PATH'
_nocodecmodules="xanim $_nocodecmodules"
fi
echores "$_xanim"
@@ -6522,13 +6585,13 @@ if test "$_real" = auto ; then
fi
if test "$_real" = yes ; then
test -z "$_realcodecsdir" && _realcodecsdir="$_codecsdir"
- _def_real='#define CONFIG_REALCODECS 1'
- _def_real_path="#define REALCODEC_PATH \"$_realcodecsdir\""
+ def_real='#define CONFIG_REALCODECS 1'
+ def_real_path="#define REALCODEC_PATH \"$_realcodecsdir\""
_codecmodules="real $_codecmodules"
_res_comment="using $_realcodecsdir"
else
- _def_real='#undef CONFIG_REALCODECS'
- _def_real_path="#undef REALCODEC_PATH"
+ def_real='#undef CONFIG_REALCODECS'
+ def_real_path="#undef REALCODEC_PATH"
_nocodecmodules="real $_nocodecmodules"
fi
echores "$_real"
@@ -6536,17 +6599,17 @@ echores "$_real"
echocheck "QuickTime codecs"
_qtx_emulation=no
-_def_qtx_win32='#undef CONFIG_QTX_CODECS_WIN32'
+def_qtx_win32='#undef CONFIG_QTX_CODECS_WIN32'
if test "$_qtx" = auto ; then
test "$_win32dll" = yes || darwin && _qtx=yes
fi
if test "$_qtx" = yes ; then
- _def_qtx='#define CONFIG_QTX_CODECS 1'
- win32 && _qtx_codecs_win32=yes && _def_qtx_win32='#define CONFIG_QTX_CODECS_WIN32 1'
+ def_qtx='#define CONFIG_QTX_CODECS 1'
+ win32 && _qtx_codecs_win32=yes && def_qtx_win32='#define CONFIG_QTX_CODECS_WIN32 1'
_codecmodules="qtx $_codecmodules"
darwin || win32 || _qtx_emulation=yes
else
- _def_qtx='#undef CONFIG_QTX_CODECS'
+ def_qtx='#undef CONFIG_QTX_CODECS'
_nocodecmodules="qtx $_nocodecmodules"
fi
echores "$_qtx"
@@ -6562,12 +6625,12 @@ if test "$_nemesi" = auto && test "$_network" = yes ; then
fi
if test "$_nemesi" = yes; then
_native_rtsp=no
- _def_nemesi='#define CONFIG_LIBNEMESI 1'
+ def_nemesi='#define CONFIG_LIBNEMESI 1'
_inputmodules="nemesi $_inputmodules"
else
_native_rtsp="$_network"
_nemesi=no
- _def_nemesi='#undef CONFIG_LIBNEMESI'
+ def_nemesi='#undef CONFIG_LIBNEMESI'
_noinputmodules="nemesi $_noinputmodules"
fi
echores "$_nemesi"
@@ -6605,19 +6668,19 @@ EOF
fi
if test "$_live" = yes && test "$_network" = yes; then
test $_livelibdir && _res_comment="using $_livelibdir"
- _def_live='#define CONFIG_LIVE555 1'
+ def_live='#define CONFIG_LIVE555 1'
_inputmodules="live555 $_inputmodules"
elif test "$_live_dist" = yes && test "$_network" = yes; then
_res_comment="using distribution version"
_live="yes"
- _def_live='#define CONFIG_LIVE555 1'
+ def_live='#define CONFIG_LIVE555 1'
_ld_extra="$_ld_extra -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
_inc_extraxx="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
_inputmodules="live555 $_inputmodules"
else
_live=no
- _def_live='#undef CONFIG_LIVE555'
+ def_live='#undef CONFIG_LIVE555'
_noinputmodules="live555 $_noinputmodules"
fi
echores "$_live"
@@ -6649,13 +6712,13 @@ EOF
fi
fi
_libavutil=no
-_def_libavutil='#undef CONFIG_LIBAVUTIL'
-_def_libavutil_a='#undef CONFIG_LIBAVUTIL_A'
-_def_libavutil_so='#undef CONFIG_LIBAVUTIL_SO'
+def_libavutil='#undef CONFIG_LIBAVUTIL'
+def_libavutil_a='#undef CONFIG_LIBAVUTIL_A'
+def_libavutil_so='#undef CONFIG_LIBAVUTIL_SO'
test "$_libavutil_a" = yes || test "$_libavutil_so" = yes && _libavutil=yes
-test "$_libavutil" = yes && _def_libavutil='#define CONFIG_LIBAVUTIL 1'
-test "$_libavutil_a" = yes && _def_libavutil_a='#define CONFIG_LIBAVUTIL_A 1'
-test "$_libavutil_so" = yes && _def_libavutil_so='#define CONFIG_LIBAVUTIL_SO 1'
+test "$_libavutil" = yes && def_libavutil='#define CONFIG_LIBAVUTIL 1'
+test "$_libavutil_a" = yes && def_libavutil_a='#define CONFIG_LIBAVUTIL_A 1'
+test "$_libavutil_so" = yes && def_libavutil_so='#define CONFIG_LIBAVUTIL_SO 1'
# neither static nor shared libavutil is available, but it is mandatory ...
if test "$_libavutil" = no ; then
die "You need static or shared libavutil, MPlayer will not compile without!"
@@ -6688,15 +6751,15 @@ EOF
fi
fi
_libavcodec=no
-_def_libavcodec='#undef CONFIG_LIBAVCODEC'
-_def_libavcodec_a='#undef CONFIG_LIBAVCODEC_A'
-_def_libavcodec_so='#undef CONFIG_LIBAVCODEC_SO'
+def_libavcodec='#undef CONFIG_LIBAVCODEC'
+def_libavcodec_a='#undef CONFIG_LIBAVCODEC_A'
+def_libavcodec_so='#undef CONFIG_LIBAVCODEC_SO'
test "$_libavcodec_a" = yes || test "$_libavcodec_so" = yes && _libavcodec=yes
-test "$_libavcodec" = yes && _def_libavcodec='#define CONFIG_LIBAVCODEC 1'
-test "$_libavcodec_a" = yes && _def_libavcodec_a='#define CONFIG_LIBAVCODEC_A 1'
-test "$_libavcodec_so" = yes && _def_libavcodec_so='#define CONFIG_LIBAVCODEC_SO 1'
+test "$_libavcodec" = yes && def_libavcodec='#define CONFIG_LIBAVCODEC 1'
+test "$_libavcodec_a" = yes && def_libavcodec_a='#define CONFIG_LIBAVCODEC_A 1'
+test "$_libavcodec_so" = yes && def_libavcodec_so='#define CONFIG_LIBAVCODEC_SO 1'
test "$_libavcodec_mpegaudio_hp" = yes \
- && _def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1'
+ && def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1'
if test "$_libavcodec_a" = yes ; then
_codecmodules="libavcodec(internal) $_codecmodules"
elif test "$_libavcodec_so" = yes ; then
@@ -6732,14 +6795,14 @@ EOF
fi
fi
_libavformat=no
-_def_libavformat='#undef CONFIG_LIBAVFORMAT'
-_def_libavformat_a='#undef CONFIG_LIBAVFORMAT_A'
-_def_libavformat_so='#undef CONFIG_LIBAVFORMAT_SO'
+def_libavformat='#undef CONFIG_LIBAVFORMAT'
+def_libavformat_a='#undef CONFIG_LIBAVFORMAT_A'
+def_libavformat_so='#undef CONFIG_LIBAVFORMAT_SO'
test "$_libavformat_a" = yes || test "$_libavformat_so" = yes && _libavformat=yes
-test "$_libavformat" = yes && _def_libavformat='#define CONFIG_LIBAVFORMAT 1'
-test "$_libavformat_a" = yes && _def_libavformat_a='#define CONFIG_LIBAVFORMAT_A 1'
+test "$_libavformat" = yes && def_libavformat='#define CONFIG_LIBAVFORMAT 1'
+test "$_libavformat_a" = yes && def_libavformat_a='#define CONFIG_LIBAVFORMAT_A 1'
test "$_libavformat_so" = yes \
- && _def_libavformat_so='#define CONFIG_LIBAVFORMAT_SO 1'
+ && def_libavformat_so='#define CONFIG_LIBAVFORMAT_SO 1'
echores "$_libavformat"
echocheck "FFmpeg libpostproc"
@@ -6763,14 +6826,14 @@ EOF
fi
fi
_libpostproc=no
-_def_libpostproc='#undef CONFIG_LIBPOSTPROC'
-_def_libpostproc_a='#undef CONFIG_LIBPOSTPROC_A'
-_def_libpostproc_so='#undef CONFIG_LIBPOSTPROC_SO'
+def_libpostproc='#undef CONFIG_LIBPOSTPROC'
+def_libpostproc_a='#undef CONFIG_LIBPOSTPROC_A'
+def_libpostproc_so='#undef CONFIG_LIBPOSTPROC_SO'
test "$_libpostproc_a" = yes || test "$_libpostproc_so" = yes && _libpostproc=yes
-test "$_libpostproc" = yes && _def_libpostproc='#define CONFIG_LIBPOSTPROC 1'
-test "$_libpostproc_a" = yes && _def_libpostproc_a='#define CONFIG_LIBPOSTPROC_A 1'
+test "$_libpostproc" = yes && def_libpostproc='#define CONFIG_LIBPOSTPROC 1'
+test "$_libpostproc_a" = yes && def_libpostproc_a='#define CONFIG_LIBPOSTPROC_A 1'
test "$_libpostproc_so" = yes \
- && _def_libpostproc_so='#define CONFIG_LIBPOSTPROC_SO 1'
+ && def_libpostproc_so='#define CONFIG_LIBPOSTPROC_SO 1'
echores "$_libpostproc"
echocheck "FFmpeg libswscale"
@@ -6798,14 +6861,14 @@ EOF
fi
fi
_libswscale=no
-_def_libswscale='#undef CONFIG_LIBSWSCALE'
-_def_libswscale_a='#undef CONFIG_LIBSWSCALE_A'
-_def_libswscale_so='#undef CONFIG_LIBSWSCALE_SO'
+def_libswscale='#undef CONFIG_LIBSWSCALE'
+def_libswscale_a='#undef CONFIG_LIBSWSCALE_A'
+def_libswscale_so='#undef CONFIG_LIBSWSCALE_SO'
test "$_libswscale_a" = yes || test "$_libswscale_so" = yes && _libswscale=yes
-test "$_libswscale" = yes && _def_libswscale='#define CONFIG_LIBSWSCALE 1'
-test "$_libswscale_a" = yes && _def_libswscale_a='#define CONFIG_LIBSWSCALE_A 1'
+test "$_libswscale" = yes && def_libswscale='#define CONFIG_LIBSWSCALE 1'
+test "$_libswscale_a" = yes && def_libswscale_a='#define CONFIG_LIBSWSCALE_A 1'
test "$_libswscale_so" = yes \
- && _def_libswscale_so='#define CONFIG_LIBSWSCALE_SO 1'
+ && def_libswscale_so='#define CONFIG_LIBSWSCALE_SO 1'
echores "$_libswscale"
echocheck "libamr narrowband"
@@ -6824,13 +6887,13 @@ fi
if test "$_libamr_nb" = yes ; then
_libamr=yes
_ld_extra="$_ld_extra -lamrnb"
- _def_libamr='#define CONFIG_LIBAMR 1'
- _def_libamr_nb='#define CONFIG_LIBAMR_NB 1'
+ def_libamr='#define CONFIG_LIBAMR 1'
+ def_libamr_nb='#define CONFIG_LIBAMR_NB 1'
_libavdecoders="$_libavdecoders LIBAMR_NB_DECODER"
_libavencoders="$_libavencoders LIBAMR_NB_ENCODER"
_codecmodules="libamr_nb $_codecmodules"
else
- _def_libamr_nb='#undef CONFIG_LIBAMR_NB'
+ def_libamr_nb='#define CONFIG_LIBAMR_NB 0'
_nocodecmodules="libamr_nb $_nocodecmodules"
fi
echores "$_libamr_nb"
@@ -6852,13 +6915,13 @@ fi
if test "$_libamr_wb" = yes ; then
_libamr=yes
_ld_extra="$_ld_extra -lamrwb"
- _def_libamr='#define CONFIG_LIBAMR 1'
- _def_libamr_wb='#define CONFIG_LIBAMR_WB 1'
+ def_libamr='#define CONFIG_LIBAMR 1'
+ def_libamr_wb='#define CONFIG_LIBAMR_WB 1'
_libavdecoders="$_libavdecoders LIBAMR_WB_DECODER"
_libavencoders="$_libavencoders LIBAMR_WB_ENCODER"
_codecmodules="libamr_wb $_codecmodules"
else
- _def_libamr_wb='#undef CONFIG_LIBAMR_WB'
+ def_libamr_wb='#define CONFIG_LIBAMR_WB 0'
_nocodecmodules="libamr_wb $_nocodecmodules"
fi
echores "$_libamr_wb"
@@ -6873,11 +6936,11 @@ EOF
cc_check -ldv $_ld_pthread $_ld_lm && _libdv=yes
fi
if test "$_libdv" = yes ; then
- _def_libdv='#define CONFIG_LIBDV095 1'
+ def_libdv='#define CONFIG_LIBDV095 1'
_ld_extra="$_ld_extra -ldv"
_codecmodules="libdv $_codecmodules"
else
- _def_libdv='#undef CONFIG_LIBDV095'
+ def_libdv='#undef CONFIG_LIBDV095'
_nocodecmodules="libdv $_nocodecmodules"
fi
echores "$_libdv"
@@ -6896,10 +6959,10 @@ EOF
fi
if test "$_xvid" = yes ; then
- _def_xvid='#define CONFIG_XVID4 1'
+ def_xvid='#define CONFIG_XVID4 1'
_codecmodules="xvid $_codecmodules"
else
- _def_xvid='#undef CONFIG_XVID4'
+ def_xvid='#undef CONFIG_XVID4'
_nocodecmodules="xvid $_nocodecmodules"
fi
echores "$_xvid"
@@ -6913,11 +6976,11 @@ EOF
cc_check && _xvid_lavc=yes
fi
if test "$_xvid_lavc" = yes ; then
- _def_xvid_lavc='#define CONFIG_LIBXVID 1'
+ def_xvid_lavc='#define CONFIG_LIBXVID 1'
_libavencoders="$_libavencoders LIBXVID_ENCODER"
else
_xvid_lavc=no
- _def_xvid_lavc='#define CONFIG_LIBXVID 0'
+ def_xvid_lavc='#define CONFIG_LIBXVID 0'
fi
echores "$_xvid_lavc"
@@ -6939,18 +7002,18 @@ EOF
fi
if test "$_x264" = yes ; then
- _def_x264='#define CONFIG_X264 1'
+ def_x264='#define CONFIG_X264 1'
_codecmodules="x264 $_codecmodules"
test "$_x264_lavc" = auto && _x264_lavc=yes
if test "$_x264_lavc" = yes ; then
- _def_x264_lavc='#define CONFIG_LIBX264 1'
+ def_x264_lavc='#define CONFIG_LIBX264 1'
_libs_mplayer="$_libs_mplayer $_ld_x264"
_libavencoders="$_libavencoders LIBX264_ENCODER"
fi
else
_x264_lavc=no
- _def_x264='#undef CONFIG_X264'
- _def_x264_lavc='#define CONFIG_LIBX264 0'
+ def_x264='#undef CONFIG_X264'
+ def_x264_lavc='#define CONFIG_LIBX264 0'
_nocodecmodules="x264 $_nocodecmodules"
fi
_res_comment="in libavcodec: $_x264_lavc"
@@ -6988,12 +7051,12 @@ EOF
fi
fi
if test "$_libdirac_lavc" = yes ; then
- _def_libdirac_lavc='#define CONFIG_LIBDIRAC 1'
+ def_libdirac_lavc='#define CONFIG_LIBDIRAC 1'
_libavencoders="$_libavencoders LIBDIRAC_ENCODER"
_libavdecoders="$_libavdecoders LIBDIRAC_DECODER"
_codecmodules="libdirac $_codecmodules"
else
- _def_libdirac_lavc='#define CONFIG_LIBDIRAC 0'
+ def_libdirac_lavc='#define CONFIG_LIBDIRAC 0'
_nocodecmodules="libdirac $_nocodecmodules"
fi
echores "$_libdirac_lavc"
@@ -7020,12 +7083,12 @@ EOF
fi
fi
if test "$_libschroedinger_lavc" = yes ; then
- _def_libschroedinger_lavc='#define CONFIG_LIBSCHROEDINGER 1'
+ def_libschroedinger_lavc='#define CONFIG_LIBSCHROEDINGER 1'
_libavencoders="$_libavencoders LIBSCHROEDINGER_ENCODER"
_libavdecoders="$_libavdecoders LIBSCHROEDINGER_DECODER"
_codecmodules="libschroedinger $_codecmodules"
else
- _def_libschroedinger_lavc='#define CONFIG_LIBSCHROEDINGER 0'
+ def_libschroedinger_lavc='#define CONFIG_LIBSCHROEDINGER 0'
_nocodecmodules="libschroedinger $_nocodecmodules"
fi
echores "$_libschroedinger_lavc"
@@ -7044,10 +7107,10 @@ EOF
fi
if test "$_libnut" = yes ; then
- _def_libnut='#define CONFIG_LIBNUT 1'
+ def_libnut='#define CONFIG_LIBNUT 1'
_ld_extra="$_ld_extra -lnut"
else
- _def_libnut='#undef CONFIG_LIBNUT'
+ def_libnut='#undef CONFIG_LIBNUT'
fi
echores "$_libnut"
@@ -7064,15 +7127,15 @@ if test "$_zr" = auto ; then
fi
if test "$_zr" = yes ; then
if test "$_libavcodec_a" = yes ; then
- _def_zr='#define CONFIG_ZR 1'
+ def_zr='#define CONFIG_ZR 1'
_vomodules="zr zr2 $_vomodules"
else
_res_comment="libavcodec (static) is required by zr, sorry"
_novomodules="zr $_novomodules"
- _def_zr='#undef CONFIG_ZR'
+ def_zr='#undef CONFIG_ZR'
fi
else
- _def_zr='#undef CONFIG_ZR'
+ def_zr='#undef CONFIG_ZR'
_novomodules="zr zr2 $_novomodules"
fi
echores "$_zr"
@@ -7081,8 +7144,8 @@ echores "$_zr"
if test "$_mencoder" != no ; then
echocheck "libmp3lame"
-_def_mp3lame_preset='#undef CONFIG_MP3LAME_PRESET'
-_def_mp3lame_preset_medium='#undef CONFIG_MP3LAME_PRESET_MEDIUM'
+def_mp3lame_preset='#undef CONFIG_MP3LAME_PRESET'
+def_mp3lame_preset_medium='#undef CONFIG_MP3LAME_PRESET_MEDIUM'
if test "$_mp3lame" = auto ; then
_mp3lame=no
cat > $TMPC <<EOF
@@ -7094,29 +7157,29 @@ EOF
cc_check -lmp3lame $_ld_lm && tmp_run && _mp3lame=yes
fi
if test "$_mp3lame" = yes ; then
- _def_mp3lame="#define CONFIG_MP3LAME"
+ def_mp3lame="#define CONFIG_MP3LAME"
_ld_mp3lame=-lmp3lame
_libs_mencoder="$_libs_mencoder $_ld_mp3lame"
cat > $TMPC << EOF
#include <lame/lame.h>
int main(void) { lame_set_preset(NULL, STANDARD_FAST); return 0; }
EOF
- cc_check $_ld_mp3lame $_ld_lm && _def_mp3lame_preset="#define CONFIG_MP3LAME_PRESET"
+ cc_check $_ld_mp3lame $_ld_lm && def_mp3lame_preset="#define CONFIG_MP3LAME_PRESET"
cat > $TMPC << EOF
#include <lame/lame.h>
int main(void) { lame_set_preset(NULL, MEDIUM_FAST); return 0; }
EOF
- cc_check $_ld_mp3lame $_ld_lm && _def_mp3lame_preset_medium="#define CONFIG_MP3LAME_PRESET_MEDIUM"
+ cc_check $_ld_mp3lame $_ld_lm && def_mp3lame_preset_medium="#define CONFIG_MP3LAME_PRESET_MEDIUM"
test "$_mp3lame_lavc" = auto && _mp3lame_lavc=yes
if test "$_mp3lame_lavc" = yes ; then
- _def_mp3lame_lavc="#define CONFIG_LIBMP3LAME 1"
+ def_mp3lame_lavc="#define CONFIG_LIBMP3LAME 1"
_libavencoders="$_libavencoders LIBMP3LAME_ENCODER"
_libs_mplayer="$_libs_mplayer $_ld_mp3lame"
fi
else
_mp3lame_lavc=no
- _def_mp3lame='#undef CONFIG_MP3LAME'
- _def_mp3lame_lavc="#define CONFIG_LIBMP3LAME 0"
+ def_mp3lame='#undef CONFIG_MP3LAME'
+ def_mp3lame_lavc="#define CONFIG_LIBMP3LAME 0"
fi
_res_comment="in libavcodec: $_mp3lame_lavc"
echores "$_mp3lame"
@@ -7125,7 +7188,7 @@ fi # test "$_mencoder" != no
echocheck "mencoder"
if test "$_mencoder" = yes ; then
- _def_muxers='#define CONFIG_MUXERS 1'
+ def_muxers='#define CONFIG_MUXERS 1'
else
# mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint, png for vf_screenshot
_libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
@@ -7141,19 +7204,19 @@ if test "$_unrar_exec" = auto ; then
mingw32 && _unrar_exec="no"
fi
if test "$_unrar_exec" = yes ; then
- _def_unrar_exec='#define CONFIG_UNRAR_EXEC 1'
+ def_unrar_exec='#define CONFIG_UNRAR_EXEC 1'
else
- _def_unrar_exec='#undef CONFIG_UNRAR_EXEC'
+ def_unrar_exec='#undef CONFIG_UNRAR_EXEC'
fi
echores "$_unrar_exec"
echocheck "TV interface"
if test "$_tv" = yes ; then
- _def_tv='#define CONFIG_TV 1'
+ def_tv='#define CONFIG_TV 1'
_inputmodules="tv $_inputmodules"
else
_noinputmodules="tv $_noinputmodules"
- _def_tv='#undef CONFIG_TV'
+ def_tv='#undef CONFIG_TV'
fi
echores "$_tv"
@@ -7178,10 +7241,10 @@ EOF
fi
done
if test "$_ioctl_bt848_h" = yes ; then
- _def_ioctl_bt848_h_name="#define IOCTL_BT848_H_NAME <$_ioctl_bt848_h_name>"
+ def_ioctl_bt848_h_name="#define IOCTL_BT848_H_NAME <$_ioctl_bt848_h_name>"
_res_comment="using $_ioctl_bt848_h_name"
else
- _def_ioctl_bt848_h_name="#undef IOCTL_BT848_H_NAME"
+ def_ioctl_bt848_h_name="#undef IOCTL_BT848_H_NAME"
fi
echores "$_ioctl_bt848_h"
@@ -7202,10 +7265,10 @@ EOF
fi
done
if test "$_ioctl_meteor_h" = yes ; then
- _def_ioctl_meteor_h_name="#define IOCTL_METEOR_H_NAME <$_ioctl_meteor_h_name>"
+ def_ioctl_meteor_h_name="#define IOCTL_METEOR_H_NAME <$_ioctl_meteor_h_name>"
_res_comment="using $_ioctl_meteor_h_name"
else
- _def_ioctl_meteor_h_name="#undef IOCTL_METEOR_H_NAME"
+ def_ioctl_meteor_h_name="#undef IOCTL_METEOR_H_NAME"
fi
echores "$_ioctl_meteor_h"
@@ -7215,8 +7278,8 @@ EOF
if test "$_tv" = yes ; then
cat > $TMPC <<EOF
#include <sys/types.h>
-$_def_ioctl_meteor_h_name
-$_def_ioctl_bt848_h_name
+$def_ioctl_meteor_h_name
+$def_ioctl_bt848_h_name
#ifdef IOCTL_METEOR_H_NAME
#include IOCTL_METEOR_H_NAME
#endif
@@ -7233,10 +7296,10 @@ EOF
fi
fi
if test "$_tv_bsdbt848" = yes ; then
- _def_tv_bsdbt848='#define CONFIG_TV_BSDBT848 1'
+ def_tv_bsdbt848='#define CONFIG_TV_BSDBT848 1'
_inputmodules="tv-bsdbt848 $_inputmodules"
else
- _def_tv_bsdbt848='#undef CONFIG_TV_BSDBT848'
+ def_tv_bsdbt848='#undef CONFIG_TV_BSDBT848'
_noinputmodules="tv-bsdbt848 $_noinputmodules"
fi
echores "$_tv_bsdbt848"
@@ -7260,11 +7323,11 @@ EOF
fi
if test "$_tv_dshow" = yes ; then
_inputmodules="tv-dshow $_inputmodules"
- _def_tv_dshow='#define CONFIG_TV_DSHOW 1'
+ def_tv_dshow='#define CONFIG_TV_DSHOW 1'
_ld_extra="$_ld_extra -lole32 -luuid"
else
_noinputmodules="tv-dshow $_noinputmodules"
- _def_tv_dshow='#undef CONFIG_TV_DSHOW'
+ def_tv_dshow='#undef CONFIG_TV_DSHOW'
fi
echores "$_tv_dshow"
@@ -7284,12 +7347,12 @@ fi
if test "$_tv_v4l1" = yes ; then
_audio_input=yes
_tv_v4l=yes
- _def_tv_v4l='#define CONFIG_TV_V4L 1'
- _def_tv_v4l1='#define CONFIG_TV_V4L1 1'
+ def_tv_v4l='#define CONFIG_TV_V4L 1'
+ def_tv_v4l1='#define CONFIG_TV_V4L1 1'
_inputmodules="tv-v4l $_inputmodules"
else
_noinputmodules="tv-v4l1 $_noinputmodules"
- _def_tv_v4l='#undef CONFIG_TV_V4L'
+ def_tv_v4l='#undef CONFIG_TV_V4L'
fi
echores "$_tv_v4l1"
@@ -7310,12 +7373,12 @@ fi
if test "$_tv_v4l2" = yes ; then
_audio_input=yes
_tv_v4l=yes
- _def_tv_v4l='#define CONFIG_TV_V4L 1'
- _def_tv_v4l2='#define CONFIG_TV_V4L2 1'
+ def_tv_v4l='#define CONFIG_TV_V4L 1'
+ def_tv_v4l2='#define CONFIG_TV_V4L2 1'
_inputmodules="tv-v4l2 $_inputmodules"
else
_noinputmodules="tv-v4l2 $_noinputmodules"
- _def_tv_v4l2='#undef CONFIG_TV_V4L2'
+ def_tv_v4l2='#undef CONFIG_TV_V4L2'
fi
echores "$_tv_v4l2"
@@ -7330,32 +7393,32 @@ if test "$_tv_teletext" = auto ; then
fi
fi
if test "$_tv_teletext" = yes ; then
- _def_tv_teletext='#define CONFIG_TV_TELETEXT 1'
+ def_tv_teletext='#define CONFIG_TV_TELETEXT 1'
_inputmodules="tv-teletext $_inputmodules"
else
_noinputmodules="tv-teletext $_noinputmodules"
- _def_tv_teletext='#undef CONFIG_TV_TELETEXT'
+ def_tv_teletext='#undef CONFIG_TV_TELETEXT'
fi
echores "$_tv_teletext"
echocheck "Radio interface"
if test "$_radio" = yes ; then
- _def_radio='#define CONFIG_RADIO 1'
+ def_radio='#define CONFIG_RADIO 1'
_inputmodules="radio $_inputmodules"
if test "$_alsa9" != yes -a "$_alsa1x" != yes -a "$_ossaudio" != yes ; then
_radio_capture=no
fi
if test "$_radio_capture" = yes ; then
_audio_input=yes
- _def_radio_capture="#define CONFIG_RADIO_CAPTURE 1"
+ def_radio_capture="#define CONFIG_RADIO_CAPTURE 1"
else
- _def_radio_capture="#undef CONFIG_RADIO_CAPTURE"
+ def_radio_capture="#undef CONFIG_RADIO_CAPTURE"
fi
else
_noinputmodules="radio $_noinputmodules"
- _def_radio='#undef CONFIG_RADIO'
- _def_radio_capture="#undef CONFIG_RADIO_CAPTURE"
+ def_radio='#undef CONFIG_RADIO'
+ def_radio_capture="#undef CONFIG_RADIO_CAPTURE"
_radio_capture=no
fi
echores "$_radio"
@@ -7376,9 +7439,9 @@ EOF
fi
fi
if test "$_radio_v4l2" = yes ; then
- _def_radio_v4l2='#define CONFIG_RADIO_V4L2 1'
+ def_radio_v4l2='#define CONFIG_RADIO_V4L2 1'
else
- _def_radio_v4l2='#undef CONFIG_RADIO_V4L2'
+ def_radio_v4l2='#undef CONFIG_RADIO_V4L2'
fi
echores "$_radio_v4l2"
@@ -7395,9 +7458,9 @@ EOF
fi
fi
if test "$_radio_v4l" = yes ; then
- _def_radio_v4l='#define CONFIG_RADIO_V4L 1'
+ def_radio_v4l='#define CONFIG_RADIO_V4L 1'
else
- _def_radio_v4l='#undef CONFIG_RADIO_V4L'
+ def_radio_v4l='#undef CONFIG_RADIO_V4L'
fi
echores "$_radio_v4l"
@@ -7407,7 +7470,7 @@ echocheck "*BSD BrookTree 848 Radio interface"
_radio_bsdbt848=no
cat > $TMPC <<EOF
#include <sys/types.h>
-$_def_ioctl_bt848_h_name
+$def_ioctl_bt848_h_name
#ifdef IOCTL_BT848_H_NAME
#include IOCTL_BT848_H_NAME
#endif
@@ -7418,9 +7481,9 @@ echores "$_radio_bsdbt848"
fi #if freebsd || netbsd || openbsd || dragonfly || bsdos && _radio && _radio_bsdbt848
if test "$_radio_bsdbt848" = yes ; then
- _def_radio_bsdbt848='#define CONFIG_RADIO_BSDBT848 1'
+ def_radio_bsdbt848='#define CONFIG_RADIO_BSDBT848 1'
else
- _def_radio_bsdbt848='#undef CONFIG_RADIO_BSDBT848'
+ def_radio_bsdbt848='#undef CONFIG_RADIO_BSDBT848'
fi
if test "$_radio_v4l" = no && test "$_radio_v4l2" = no && \
@@ -7443,22 +7506,22 @@ EOF
fi
fi
if test "$_pvr" = yes ; then
- _def_pvr='#define CONFIG_PVR 1'
+ def_pvr='#define CONFIG_PVR 1'
_inputmodules="pvr $_inputmodules"
else
_noinputmodules="pvr $_noinputmodules"
- _def_pvr='#undef CONFIG_PVR'
+ def_pvr='#undef CONFIG_PVR'
fi
echores "$_pvr"
echocheck "ftp"
if ! beos && test "$_ftp" = yes ; then
- _def_ftp='#define CONFIG_FTP 1'
+ def_ftp='#define CONFIG_FTP 1'
_inputmodules="ftp $_inputmodules"
else
_noinputmodules="ftp $_noinputmodules"
- _def_ftp='#undef CONFIG_FTP'
+ def_ftp='#undef CONFIG_FTP'
fi
echores "$_ftp"
@@ -7473,22 +7536,22 @@ EOF
cc_check -lvstream-client && _vstream=yes
fi
if test "$_vstream" = yes ; then
- _def_vstream='#define CONFIG_VSTREAM 1'
+ def_vstream='#define CONFIG_VSTREAM 1'
_inputmodules="vstream $_inputmodules"
_ld_extra="$_ld_extra -lvstream-client"
else
_noinputmodules="vstream $_noinputmodules"
- _def_vstream='#undef CONFIG_VSTREAM'
+ def_vstream='#undef CONFIG_VSTREAM'
fi
echores "$_vstream"
echocheck "OSD menu"
if test "$_menu" = yes ; then
- _def_menu='#define CONFIG_MENU 1'
+ def_menu='#define CONFIG_MENU 1'
test $_dvbin = "yes" && _menu_dvbin=yes
else
-_def_menu='#undef CONFIG_MENU'
+def_menu='#undef CONFIG_MENU'
_menu_dvbin=no
fi
echores "$_menu"
@@ -7496,9 +7559,9 @@ echores "$_menu"
echocheck "Subtitles sorting"
if test "$_sortsub" = yes ; then
- _def_sortsub='#define CONFIG_SORTSUB 1'
+ def_sortsub='#define CONFIG_SORTSUB 1'
else
- _def_sortsub='#undef CONFIG_SORTSUB'
+ def_sortsub='#undef CONFIG_SORTSUB'
fi
echores "$_sortsub"
@@ -7513,14 +7576,14 @@ if test "$_xmms" = yes ; then
_xmmslibdir=/usr/lib
fi
- _def_xmms='#define CONFIG_XMMS 1'
+ def_xmms='#define CONFIG_XMMS 1'
if darwin ; then
_ld_extra="$_ld_extra ${_xmmslibdir}/libxmms.dylib"
else
_ld_extra="$_ld_extra ${_xmmslibdir}/libxmms.so.1 -export-dynamic"
fi
else
- _def_xmms='#undef CONFIG_XMMS'
+ def_xmms='#undef CONFIG_XMMS'
fi
echores "$_xmms"
@@ -7567,7 +7630,7 @@ EOF
cc_check -lXext && _xshape=yes
fi
if test "$_xshape" = yes ; then
- _def_xshape='#define CONFIG_XSHAPE 1'
+ def_xshape='#define CONFIG_XSHAPE 1'
else
die "The GUI requires the X11 extension XShape (which was not found)."
fi
@@ -7591,8 +7654,8 @@ if test "$_gtk1" = no ; then
_libs_mplayer="$_libs_mplayer `$_pkg_config glib-2.0 --libs 2>/dev/null`"
echores "$_glib"
- _def_gui='#define CONFIG_GUI 1'
- _def_gtk2='#define CONFIG_GTK2 1'
+ def_gui='#define CONFIG_GUI 1'
+ def_gtk2='#define CONFIG_GTK2 1'
else
_gtk1=yes
echo "GLIB-2 devel packages were not found, trying GTK 1.2"
@@ -7635,20 +7698,20 @@ if test "$_gtk1" = yes ; then
_libs_mplayer="$_libs_mplayer `$_glibconfig --libs 2>&1`"
echores "$_glib (using $_glibconfig)"
- _def_gui='#define CONFIG_GUI 1'
- _def_gtk2='#undef CONFIG_GTK2'
+ def_gui='#define CONFIG_GUI 1'
+ def_gtk2='#undef CONFIG_GTK2'
fi
else #if ! win32
_gui_win32=yes
_libs_mplayer="$_libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32"
- _def_gui='#define CONFIG_GUI 1'
- _def_gtk2='#undef CONFIG_GTK2'
+ def_gui='#define CONFIG_GUI 1'
+ def_gtk2='#undef CONFIG_GTK2'
fi #if ! win32
else #if test "$_gui"
- _def_gui='#undef CONFIG_GUI'
- _def_gtk2='#undef CONFIG_GTK2'
+ def_gui='#undef CONFIG_GUI'
+ def_gtk2='#undef CONFIG_GTK2'
fi #if test "$_gui"
# --------------- GUI specific tests end -------------------
@@ -7657,9 +7720,9 @@ if test "$_charset" = "noconv" ; then
_charset=""
fi
if test "$_charset" ; then
- _def_charset="#define MSG_CHARSET \"$_charset\""
+ def_charset="#define MSG_CHARSET \"$_charset\""
else
- _def_charset="#undef MSG_CHARSET"
+ def_charset="#undef MSG_CHARSET"
fi
if test -n "$_charset" && test "$_charset" != "UTF-8" ; then
@@ -7681,9 +7744,9 @@ fi
echocheck "automatic gdb attach"
if test "$_crash_debug" = yes ; then
- _def_crash_debug='#define CONFIG_CRASH_DEBUG 1'
+ def_crash_debug='#define CONFIG_CRASH_DEBUG 1'
else
- _def_crash_debug='#undef CONFIG_CRASH_DEBUG'
+ def_crash_debug='#undef CONFIG_CRASH_DEBUG'
_crash_debug=no
fi
echores "$_crash_debug"
@@ -7712,16 +7775,16 @@ _ld_extra="$_ld_extra $_ld_pthread $_ld_dl $_ld_dl_dynamic"
bsdos && _ld_extra="$_ld_extra -ldvd"
(netbsd || openbsd) && x86_32 && _ld_extra="$_ld_extra -li386"
-_def_debug='#undef MP_DEBUG'
-test "$_debug" != "" && _def_debug='#define MP_DEBUG 1'
+def_debug='#undef MP_DEBUG'
+test "$_debug" != "" && def_debug='#define MP_DEBUG 1'
echocheck "joystick"
-_def_joystick='#undef CONFIG_JOYSTICK'
+def_joystick='#undef CONFIG_JOYSTICK'
if test "$_joystick" = yes ; then
if linux ; then
# TODO add some check
- _def_joystick='#define CONFIG_JOYSTICK 1'
+ def_joystick='#define CONFIG_JOYSTICK 1'
else
_joystick="no"
_res_comment="unsupported under $system_name"
@@ -7739,10 +7802,10 @@ EOF
cc_check -llirc_client && _lirc=yes
fi
if test "$_lirc" = yes ; then
- _def_lirc='#define CONFIG_LIRC 1'
+ def_lirc='#define CONFIG_LIRC 1'
_ld_extra="$_ld_extra -llirc_client"
else
- _def_lirc='#undef CONFIG_LIRC'
+ def_lirc='#undef CONFIG_LIRC'
fi
echores "$_lirc"
@@ -7756,10 +7819,10 @@ EOF
cc_check -llircc && _lircc=yes
fi
if test "$_lircc" = yes ; then
- _def_lircc='#define CONFIG_LIRCC 1'
+ def_lircc='#define CONFIG_LIRCC 1'
_ld_extra="$_ld_extra -llircc"
else
- _def_lircc='#undef CONFIG_LIRCC'
+ def_lircc='#undef CONFIG_LIRCC'
fi
echores "$_lircc"
@@ -7776,11 +7839,11 @@ EOF
cc_check `$_pkg_config --cflags --libs libosso 2>/dev/null` && _maemo=yes
fi
if test "$_maemo" = yes ; then
- _def_maemo='#define CONFIG_MAEMO 1'
+ def_maemo='#define CONFIG_MAEMO 1'
_inc_extra="$_inc_extra `$_pkg_config --cflags libosso`"
_ld_extra="$_ld_extra `$_pkg_config --libs libosso` -lXsp"
else
- _def_maemo='#undef CONFIG_MAEMO'
+ def_maemo='#undef CONFIG_MAEMO'
fi
echores "$_maemo"
fi
@@ -7815,7 +7878,7 @@ EOF
fi
if test "$_dvdnav" = yes ; then
_largefiles=yes
- _def_dvdnav='#define CONFIG_DVDNAV 1'
+ def_dvdnav='#define CONFIG_DVDNAV 1'
if test "$dvdnav_internal" = yes ; then
_inc_extra="$_inc_extra -Ilibdvdnav"
_inputmodules="dvdnav(internal) $_inputmodules"
@@ -7825,7 +7888,7 @@ if test "$_dvdnav" = yes ; then
_inputmodules="dvdnav $_inputmodules"
fi
else
- _def_dvdnav='#undef CONFIG_DVDNAV'
+ def_dvdnav='#undef CONFIG_DVDNAV'
_noinputmodules="dvdnav $_noinputmodules"
fi
echores "$_dvdnav"
@@ -8012,6 +8075,7 @@ ESD = $_esd
FAAC=$_faac
FAAD = $_faad
FAAD_INTERNAL = $_faad_internal
+FASTMEMCPY = $_fastmemcpy
FBDEV = $_fbdev
FREETYPE = $_freetype
FTP = $_ftp
@@ -8063,6 +8127,7 @@ OSS = $_ossaudio
PE_EXECUTABLE = $_pe_executable
PNG = $_png
PNM = $_pnm
+PRIORITY = $_priority
PULSE = $_pulse
PVR = $_pvr
QTX_CODECS = $_qtx
@@ -8162,6 +8227,7 @@ CONFIG_GOLOMB=yes
CONFIG_MDCT=yes
CONFIG_RDFT=yes
+CONFIG_BZLIB=$bzlib
CONFIG_ENCODERS=yes
CONFIG_GPL=yes
CONFIG_LIBAMR=$_libamr
@@ -8252,7 +8318,7 @@ cat > $TMPH << EOF
/* definitions needed by included libraries */
#define HAVE_INTTYPES_H 1
/* libmpeg2 + FFmpeg */
-$_def_fast_inttypes
+$def_fast_inttypes
/* libdvdcss */
#define HAVE_ERRNO_H 1
/* libdvdcss + libdvdread */
@@ -8267,6 +8333,8 @@ $_def_fast_inttypes
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
+/* libdvdnav */
+#define READ_CACHE_TRACE 0
/* libdvdread */
#define HAVE_DLFCN_H 1
@@ -8277,7 +8345,7 @@ $def_alsa_asoundlib_h
$def_altivec_h
$def_malloc_h
$def_mman_h
-$_def_mman_has_map_failed
+$def_mman_has_map_failed
$def_soundcard_h
$def_sys_asoundlib_h
$def_sys_soundcard_h
@@ -8288,66 +8356,67 @@ $def_winsock2_h
/* system functions */
-$_def_gethostbyname2
-$_def_gettimeofday
-$_def_glob
-$_def_langinfo
-$_def_llrint
-$_def_lrint
-$_def_lrintf
-$_def_map_memalign
-$_def_memalign
-$_def_nanosleep
-$_def_posix_select
-$_def_round
-$_def_roundf
-$_def_select
-$_def_setenv
-$_def_shm
-$_def_strsep
-$_def_swab
-$_def_sysi86
-$_def_sysi86_iv
-$_def_termcap
-$_def_termios
-$_def_truncf
-$_def_vsscanf
+$def_gethostbyname2
+$def_gettimeofday
+$def_glob
+$def_langinfo
+$def_llrint
+$def_lrint
+$def_lrintf
+$def_map_memalign
+$def_memalign
+$def_nanosleep
+$def_posix_select
+$def_round
+$def_roundf
+$def_select
+$def_setenv
+$def_shm
+$def_strsep
+$def_swab
+$def_sysi86
+$def_sysi86_iv
+$def_termcap
+$def_termios
+$def_truncf
+$def_vsscanf
/* system-specific features */
-$_def_asmalign_pot
-$_def_builtin_expect
-$_def_dl
-$_def_extern_prefix
-$_def_iconv
-$_def_kstat
-$_def_macosx_bundle
-$_def_macosx_finder
-$_def_maemo
-$_def_named_asm_args
-$_def_quicktime
-$_def_restrict_keyword
-$_def_rtc
-$_def_unrar_exec
+$def_asmalign_pot
+$def_builtin_expect
+$def_dl
+$def_extern_prefix
+$def_iconv
+$def_kstat
+$def_macosx_bundle
+$def_macosx_finder
+$def_maemo
+$def_named_asm_args
+$def_priority
+$def_quicktime
+$def_restrict_keyword
+$def_rtc
+$def_unrar_exec
/* configurable options */
-$_def_charset
-$_def_crash_debug
-$_def_debug
-$_def_dynamic_plugins
-$_def_fastmemcpy
-$_def_menu
-$_def_runtime_cpudetection
-$_def_sighandler
-$_def_sortsub
-$_def_stream_cache
-$_def_pthread_cache
+$def_charset
+$def_crash_debug
+$def_debug
+$def_dynamic_plugins
+$def_fastmemcpy
+$def_menu
+$def_runtime_cpudetection
+$def_sighandler
+$def_sortsub
+$def_stream_cache
+$def_pthread_cache
/* CPU stuff */
#define __CPU__ $iproc
-$_def_words_endian
+$def_words_endian
`ff_config_enable "$_arch_all" "$_arch" "ARCH"`
`ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE"`
@@ -8355,263 +8424,268 @@ $_def_words_endian
/* DVD/VCD/CD */
#define DEFAULT_CDROM_DEVICE "$default_cdrom_device"
#define DEFAULT_DVD_DEVICE "$default_dvd_device"
-$_def_bsdi_dvd
-$_def_cddb
-$_def_cdio
-$_def_cdparanoia
-$_def_cdrom
-$_def_dvd
-$_def_dvd_bsd
-$_def_dvd_darwin
-$_def_dvd_linux
-$_def_dvd_openbsd
-$_def_dvdio
-$_def_dvdnav
-$_def_dvdread
-$_def_hpux_scsi_h
-$_def_libcdio
-$_def_sol_scsi_h
-$_def_vcd
+$def_bsdi_dvd
+$def_cddb
+$def_cdio
+$def_cdparanoia
+$def_cdrom
+$def_dvd
+$def_dvd_bsd
+$def_dvd_darwin
+$def_dvd_linux
+$def_dvd_openbsd
+$def_dvdio
+$def_dvdnav
+$def_dvdread
+$def_hpux_scsi_h
+$def_libcdio
+$def_sol_scsi_h
+$def_vcd
/* codec libraries */
-$_def_faac
-$_def_faad
-$_def_faad_internal
-$_def_liba52
-$_def_liba52_internal
-$_def_libdca
-$_def_libdv
-$_def_liblzo
-$_def_libmpeg2
-$_def_mad
-$_def_mp3lame
-$_def_mp3lame_preset
-$_def_mp3lame_preset_medium
-$_def_mp3lib
-$_def_musepack
-$_def_speex
-$_def_theora
-$_def_toolame
-$_def_tremor
-$_def_twolame
-$_def_vorbis
-$_def_x264
-$_def_xvid
-$_def_zlib
-
-$_def_libnut
+$def_faac
+$def_faad
+$def_faad_internal
+$def_liba52
+$def_liba52_internal
+$def_libdca
+$def_libdv
+$def_liblzo
+$def_libmpeg2
+$def_mad
+$def_mp3lame
+$def_mp3lame_preset
+$def_mp3lame_preset_medium
+$def_mp3lib
+$def_musepack
+$def_speex
+$def_theora
+$def_toolame
+$def_tremor
+$def_twolame
+$def_vorbis
+$def_x264
+$def_xvid
+$def_zlib
+
+$def_libnut
/* binary codecs */
-$_def_qtx
-$_def_qtx_win32
-$_def_real
-$_def_real_path
-$_def_win32_loader
-$_def_win32dll
+$def_qtx
+$def_qtx_win32
+$def_real
+$def_real_path
+$def_win32_loader
+$def_win32dll
#define WIN32_PATH "$_win32codecsdir"
-$_def_xanim
-$_def_xanim_path
-$_def_xmms
+$def_xanim
+$def_xanim_path
+$def_xmms
#define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir"
/* GUI */
-$_def_gtk2
-$_def_gui
-$_def_xshape
+$def_gtk2
+$def_gui
+$def_xshape
/* Audio output drivers */
-$_def_alsa
-$_def_alsa1x
-$_def_alsa5
-$_def_alsa9
-$_def_arts
-$_def_coreaudio
-$_def_esd
-$_def_esd_latency
-$_def_jack
-$_def_nas
-$_def_openal
-$_def_openal_h
-$_def_ossaudio
-$_def_ossaudio_devdsp
-$_def_ossaudio_devmixer
-$_def_pulse
-$_def_sgiaudio
-$_def_sunaudio
-$_def_win32waveout
-
-$_def_ladspa
+$def_alsa
+$def_alsa1x
+$def_alsa5
+$def_alsa9
+$def_arts
+$def_coreaudio
+$def_esd
+$def_esd_latency
+$def_jack
+$def_nas
+$def_openal
+$def_openal_h
+$def_ossaudio
+$def_ossaudio_devdsp
+$def_ossaudio_devmixer
+$def_pulse
+$def_sgiaudio
+$def_sunaudio
+$def_win32waveout
+
+$def_ladspa
/* input */
-$_def_apple_ir
-$_def_apple_remote
-$_def_ioctl_bt848_h_name
-$_def_ioctl_meteor_h_name
-$_def_joystick
-$_def_lirc
-$_def_lircc
-$_def_pvr
-$_def_radio
-$_def_radio_bsdbt848
-$_def_radio_capture
-$_def_radio_v4l
-$_def_radio_v4l2
-$_def_tv
-$_def_tv_bsdbt848
-$_def_tv_dshow
-$_def_tv_teletext
-$_def_tv_v4l
-$_def_tv_v4l1
-$_def_tv_v4l2
+$def_apple_ir
+$def_apple_remote
+$def_ioctl_bt848_h_name
+$def_ioctl_meteor_h_name
+$def_joystick
+$def_lirc
+$def_lircc
+$def_pvr
+$def_radio
+$def_radio_bsdbt848
+$def_radio_capture
+$def_radio_v4l
+$def_radio_v4l2
+$def_tv
+$def_tv_bsdbt848
+$def_tv_dshow
+$def_tv_teletext
+$def_tv_v4l
+$def_tv_v4l1
+$def_tv_v4l2
/* font stuff */
-$_def_ass
-$_def_bitmap_font
-$_def_enca
-$_def_fontconfig
-$_def_freetype
-$_def_fribidi
+$def_ass
+$def_bitmap_font
+$def_enca
+$def_fontconfig
+$def_freetype
+$def_fribidi
/* networking */
-$_def_closesocket
-$_def_ftp
-$_def_inet6
+$def_closesocket
+$def_ftp
+$def_inet6
$def_inet_aton
$def_inet_pton
-$_def_live
-$_def_nemesi
-$_def_network
-$_def_smb
-$_def_socklen_t
-$_def_vstream
+$def_live
+$def_nemesi
+$def_network
+$def_smb
+$def_socklen_t
+$def_vstream
/* libvo options */
-$_def_3dfx
-$_def_aa
-$_def_bl
-$_def_caca
-$_def_corevideo
-$_def_dfbmga
-$_def_dga
-$_def_dga1
-$_def_dga2
-$_def_direct3d
-$_def_directfb
-$_def_directfb_version
-$_def_directx
-$_def_dvb
-$_def_dvb_head
-$_def_dvbin
-$_def_dxr2
-$_def_dxr3
-$_def_fbdev
-$_def_ggi
-$_def_ggiwmh
-$_def_gif
-$_def_gif_4
-$_def_gif_tvt_hack
-$_def_gl
-$_def_gl_win32
-$_def_ivtv
-$_def_jpeg
-$_def_md5sum
-$_def_mga
-$_def_mng
-$_def_png
-$_def_pnm
-$_def_quartz
-$_def_s3fb
-$_def_sdl
-$_def_sdlbuggy
-$_def_svga
-$_def_tdfxfb
-$_def_tdfxvid
-$_def_tga
-$_def_v4l2
-$_def_vesa
-$_def_vidix
-$_def_vidix_drv_cyberblade
-$_def_vidix_drv_ivtv
-$_def_vidix_drv_mach64
-$_def_vidix_drv_mga
-$_def_vidix_drv_mga_crtc2
-$_def_vidix_drv_nvidia
-$_def_vidix_drv_pm3
-$_def_vidix_drv_radeon
-$_def_vidix_drv_rage128
-$_def_vidix_drv_s3
-$_def_vidix_drv_sh_veu
-$_def_vidix_drv_sis
-$_def_vidix_drv_unichrome
-$_def_vidix_pfx
-$_def_vm
-$_def_wii
-$_def_x11
-$_def_xdpms
-$_def_xf86keysym
-$_def_xinerama
-$_def_xmga
-$_def_xss
-$_def_xv
-$_def_xvmc
-$_def_xvr100
-$_def_yuv4mpeg
-$_def_zr
+$def_3dfx
+$def_aa
+$def_bl
+$def_caca
+$def_corevideo
+$def_dfbmga
+$def_dga
+$def_dga1
+$def_dga2
+$def_direct3d
+$def_directfb
+$def_directfb_version
+$def_directx
+$def_dvb
+$def_dvb_head
+$def_dvbin
+$def_dxr2
+$def_dxr3
+$def_fbdev
+$def_ggi
+$def_ggiwmh
+$def_gif
+$def_gif_4
+$def_gif_tvt_hack
+$def_gl
+$def_gl_win32
+$def_ivtv
+$def_jpeg
+$def_md5sum
+$def_mga
+$def_mng
+$def_png
+$def_pnm
+$def_quartz
+$def_s3fb
+$def_sdl
+$def_sdlbuggy
+$def_svga
+$def_tdfxfb
+$def_tdfxvid
+$def_tga
+$def_v4l2
+$def_vesa
+$def_vidix
+$def_vidix_drv_cyberblade
+$def_vidix_drv_ivtv
+$def_vidix_drv_mach64
+$def_vidix_drv_mga
+$def_vidix_drv_mga_crtc2
+$def_vidix_drv_nvidia
+$def_vidix_drv_pm3
+$def_vidix_drv_radeon
+$def_vidix_drv_rage128
+$def_vidix_drv_s3
+$def_vidix_drv_sh_veu
+$def_vidix_drv_sis
+$def_vidix_drv_unichrome
+$def_vidix_pfx
+$def_vm
+$def_wii
+$def_x11
+$def_xdpms
+$def_xf86keysym
+$def_xinerama
+$def_xmga
+$def_xss
+$def_xv
+$def_xvmc
+$def_xvr100
+$def_yuv4mpeg
+$def_zr
/* FFmpeg */
-$_def_libavcodec
-$_def_libavcodec_a
-$_def_libavcodec_mpegaudio_hp
-$_def_libavcodec_so
-$_def_libavformat
-$_def_libavformat_a
-$_def_libavformat_so
-$_def_libavutil
-$_def_libavutil_a
-$_def_libavutil_so
-$_def_libpostproc
-$_def_libpostproc_a
-$_def_libpostproc_so
-$_def_libswscale
-$_def_libswscale_a
-$_def_libswscale_so
+$def_libavcodec
+$def_libavcodec_a
+$def_libavcodec_so
+$def_libavformat
+$def_libavformat_a
+$def_libavformat_so
+$def_libavutil
+$def_libavutil_a
+$def_libavutil_so
+$def_libpostproc
+$def_libpostproc_a
+$def_libpostproc_so
+$def_libswscale
+$def_libswscale_a
+$def_libswscale_so
+#define CONFIG_DECODERS 1
+#define CONFIG_ENCODERS 1
+#define CONFIG_DEMUXERS 1
+$def_muxers
+
+$def_arpa_inet_h
$def_bswap
-$_def_dcbzl
+$def_bzlib
+$def_dcbzl
+$def_dos_paths
$def_fast_64bit
-$_def_fast_unaligned
-$_def_memalign_hack
+$def_fast_unaligned
+$def_libavcodec_mpegaudio_hp
+$def_memalign_hack
$def_mlib
-$_def_mkstemp
-$_def_pthreads
-$_def_threads
-$_def_yasm
+$def_mkstemp
+$def_posix_memalign
+$def_pthreads
+$def_ten_operands
+$def_threads
+$def_yasm
#define CONFIG_FASTDIV 0
#define CONFIG_FFSERVER 0
#define CONFIG_GPL 1
+#define CONFIG_GRAY 0
#define CONFIG_HARDCODED_TABLES 0
-#define CONFIG_POSIX_MEMALIGN 0
+#define CONFIG_LIBAMR_NB_FIXED 0
+#define CONFIG_LIBVORBIS 0
#define CONFIG_POWERPC_PERF 0
#define CONFIG_SMALL 0
#define CONFIG_SWSCALE 1
-#define CONFIG_GRAY 0
-#ifdef __MINGW32__
-#define HAVE_ARPA_INET_H 0
-#else
-#define HAVE_ARPA_INET_H 1
-#endif
-#define HAVE_DOS_PATHS 0
#define HAVE_POLL_H 1
#define HAVE_PPC4XX 0
@@ -8628,22 +8702,16 @@ $_def_yasm
#define HAVE_EBP_AVAILABLE 1
#endif
-#define CONFIG_DECODERS 1
-#define CONFIG_ENCODERS 1
-#define CONFIG_DEMUXERS 1
-
-$_def_muxers
-
/* External libraries used through libavcodec. */
-$_def_faac_lavc
-$_def_libamr
-$_def_libamr_nb
-$_def_libamr_wb
-$_def_libdirac_lavc
-$_def_libschroedinger_lavc
-$_def_mp3lame_lavc
-$_def_x264_lavc
-$_def_xvid_lavc
+$def_faac_lavc
+$def_libamr
+$def_libamr_nb
+$def_libamr_wb
+$def_libdirac_lavc
+$def_libschroedinger_lavc
+$def_mp3lame_lavc
+$def_x264_lavc
+$def_xvid_lavc
`ff_config_enable "$_libavdecoders_all" "$_libavdecoders"`
`ff_config_enable "$_libavencoders_all" "$_libavencoders"`
diff --git a/cpudetect.c b/cpudetect.c
index 5992ccb5bb..3dd3329d7e 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -151,9 +151,9 @@ void GetCpuCaps( CpuCaps *caps)
ptmpstr=tmpstr=GetCpuFriendlyName(regs, regs2);
while(*ptmpstr == ' ') // strip leading spaces
ptmpstr++;
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: %s ", ptmpstr);
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: %s ", ptmpstr);
free(tmpstr);
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"(Family: %d, Model: %d, Stepping: %d)\n",
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"(Family: %d, Model: %d, Stepping: %d)\n",
caps->cpuType, caps->cpuModel, caps->cpuStepping);
}
@@ -545,40 +545,40 @@ void GetCpuCaps( CpuCaps *caps)
}
}
#endif /* __APPLE__ */
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not "));
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not "));
#endif /* HAVE_ALTIVEC */
if (ARCH_IA64)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Intel Itanium\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Intel Itanium\n");
if (ARCH_SPARC)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Sun Sparc\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Sun Sparc\n");
if (ARCH_ARM)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: ARM\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: ARM\n");
if (ARCH_PPC)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: PowerPC\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: PowerPC\n");
if (ARCH_ALPHA)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Digital Alpha\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Digital Alpha\n");
if (ARCH_SGI_MIPS)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: SGI MIPS\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: SGI MIPS\n");
if (ARCH_PA_RISC)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Hewlett-Packard PA-RISC\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Hewlett-Packard PA-RISC\n");
if (ARCH_S390)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: IBM S/390\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: IBM S/390\n");
if (ARCH_S390X)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: IBM S/390X\n");
+ mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: IBM S/390X\n");
if (ARCH_VAX)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO, "CPU: Digital VAX\n" );
+ mp_msg(MSGT_CPUDETECT,MSGL_V, "CPU: Digital VAX\n" );
if (ARCH_XTENSA)
- mp_msg(MSGT_CPUDETECT,MSGL_INFO, "CPU: Tensilica Xtensa\n" );
+ mp_msg(MSGT_CPUDETECT,MSGL_V, "CPU: Tensilica Xtensa\n" );
}
#endif /* !ARCH_X86 */
diff --git a/etc/codecs.conf b/etc/codecs.conf
index 1245d7d9b6..8c584979f8 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -10,7 +10,7 @@ release 20070930
;=============================================================================
videocodec ffmvi1
- info "FFmpeg Motion Pixels Decoder"
+ info "FFmpeg Motion Pixels"
status working
fourcc MVI1 ; internal MPlayer FourCC
driver ffmpeg
@@ -27,7 +27,7 @@ videocodec ffmdec
out YV12
videocodec ffsiff
- info "FFmpeg Beam Software SIFF decoder"
+ info "FFmpeg Beam Software SIFF"
status working
fourcc VBV1
driver ffmpeg
@@ -292,7 +292,7 @@ videocodec nuv
out I420,IYUV
videocodec ffbmp
- info "FFmpeg BMP decoder"
+ info "FFmpeg BMP"
status working
fourcc "bmp " ; for BMP-encoded QuickTime files
format 0x706D62 ; AVI
@@ -301,7 +301,7 @@ videocodec ffbmp
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec ffgif
- info "FFmpeg GIF decoder"
+ info "FFmpeg GIF"
status working
fourcc "gif " ; for GIF-encoded QuickTime files
driver ffmpeg
@@ -309,7 +309,7 @@ videocodec ffgif
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec fftiff
- info "FFmpeg TIFF decoder"
+ info "FFmpeg TIFF"
status working
fourcc "tiff" ; for TIFF-encoded QuickTime files
driver ffmpeg
@@ -317,7 +317,7 @@ videocodec fftiff
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec ffpcx
- info "FFmpeg PCX decoder"
+ info "FFmpeg PCX"
status working
fourcc "pcx "
driver ffmpeg
@@ -325,7 +325,7 @@ videocodec ffpcx
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec ffpng
- info "FFmpeg PNG decoder"
+ info "FFmpeg PNG"
status working
fourcc mpng,MPNG
fourcc "png " ; for PNG-encoded QuickTime files
@@ -334,7 +334,7 @@ videocodec ffpng
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec mpng
- info "PNG image decoder"
+ info "PNG image"
status working
comment "Gray scaled PNG with Alpha channel not supported"
fourcc mpng,MPNG
@@ -344,7 +344,7 @@ videocodec mpng
out BGR32,BGR24,BGR8,Y800
videocodec ffptx
- info "FFmpeg V.Flash PTX decoder"
+ info "FFmpeg V.Flash PTX"
status working
fourcc "ptx " ; internal MPlayer FourCC
driver ffmpeg
@@ -352,7 +352,7 @@ videocodec ffptx
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec fftga
- info "FFmpeg TGA decoder"
+ info "FFmpeg TGA"
status untested
fourcc mtga,MTGA
fourcc "tga " ; for TGA-encoded QuickTime files
@@ -361,7 +361,7 @@ videocodec fftga
out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
videocodec mtga
- info "TGA image decoder"
+ info "TGA image"
status working
comment "Only 24bpp and 32bpp RGB TGA files supported"
fourcc mtga,MTGA
@@ -369,14 +369,14 @@ videocodec mtga
out BGR32,BGR24
videocodec sgi
- info "SGI image decoder"
+ info "SGI image"
status working
fourcc SGI1 ; SGI1 is an internal MPlayer FOURCC
driver sgi
out BGR24
videocodec ffsunras
- info "FFmpeg SUN Rasterfile decoder"
+ info "FFmpeg SUN Rasterfile"
status working
fourcc "sun " ; sun is an internal MPlayer FOURCC
driver ffmpeg
@@ -401,7 +401,7 @@ videocodec fffli
out BGR16,BGR15,BGR8 query
videocodec ffaasc
- info "Autodesk RLE decoder"
+ info "Autodesk RLE"
status working
fourcc AASC
driver ffmpeg
@@ -409,7 +409,7 @@ videocodec ffaasc
out BGR24
videocodec ffloco
- info "LOCO video decoder"
+ info "LOCO video"
status working
fourcc LOCO
driver ffmpeg
@@ -467,7 +467,7 @@ videocodec ffmsrle
out BGR8
videocodec ffroqvideo
- info "Id RoQ File Video Decoder"
+ info "Id RoQ File Video"
status working
fourcc RoQV ; RoQV is an internal MPlayer FOURCC
driver ffmpeg
@@ -526,7 +526,7 @@ videocodec cram
out BGR24,BGR15,BGR8 static,query
videocodec ffcvid
- info "Cinepak Video (native codec)"
+ info "FFmpeg Cinepak Video"
status working
fourcc cvid,CVID
driver ffmpeg
@@ -556,7 +556,7 @@ videocodec huffyuv
;NATIVE:
videocodec ffvideo1
- info "Microsoft Video 1 (native codec)"
+ info "FFmpeg Microsoft Video 1"
status working
fourcc cram,CRAM
fourcc msvc,MSVC
@@ -566,7 +566,7 @@ videocodec ffvideo1
out BGR15,BGR8 query
videocodec ffmszh
- info "AVImszh (native codec)"
+ info "FFmpeg AVImszh"
status working
fourcc MSZH
driver ffmpeg
@@ -574,7 +574,7 @@ videocodec ffmszh
out BGR24
videocodec ffzlib
- info "AVIzlib (native codec)"
+ info "FFmpeg AVIzlib"
status working
fourcc ZLIB
driver ffmpeg
@@ -679,7 +679,7 @@ videocodec ffvixl
out 411P
videocodec ffqtdrw
- info "QuickDraw native decoder"
+ info "FFmpeg QuickDraw"
status working
fourcc qdrw
driver ffmpeg
@@ -687,7 +687,7 @@ videocodec ffqtdrw
out BGR8
videocodec ffindeo2
- info "Indeo 2 native decoder"
+ info "FFmpeg Indeo 2"
status working
fourcc RT21
fourcc IV20
@@ -1023,7 +1023,7 @@ videocodec wmvadmo
; out BGR32,BGR24,BGR16 ;,BGR15
videocodec wmvvc1dmo
- info "Windows Media Video (VC-1) Advanced Profile Decoder"
+ info "Windows Media Video (VC-1) Advanced Profile"
status working
fourcc WVC1
driver dmo
@@ -1082,7 +1082,7 @@ videocodec zrmjpeg
out ZRMJPEGNI,ZRMJPEGIT,ZRMJPEGIB query
videocodec ffmjpeg
- info "FFmpeg MJPEG decoder"
+ info "FFmpeg MJPEG"
status working
fourcc MJPG,mjpg
fourcc AVRn,AVDJ ; AVID
@@ -1110,7 +1110,7 @@ videocodec ffmjpeg
out Y800
videocodec ffmjpegb
- info "FFmpeg MJPEG-B decoder"
+ info "FFmpeg MJPEG-B"
status working
fourcc mjpb ; Apple MJPEG-B (Quicktime)
driver ffmpeg
@@ -1282,7 +1282,7 @@ videocodec vivo
in BGR24
videocodec u263
- info "UB Video H.263/H.263+/H.263++ Decoder"
+ info "UB Video H.263/H.263+/H.263++"
status working
fourcc U263
fourcc vivo,VIVO U263
@@ -1308,7 +1308,7 @@ videocodec i263
out BGR32,BGR24,BGR15
videocodec ffi263
- info "FFmpeg I263 decoder"
+ info "FFmpeg I263"
status working
fourcc I263,i263
driver ffmpeg
@@ -1316,7 +1316,7 @@ videocodec ffi263
out YV12,I420,IYUV
videocodec ffh263
- info "FFmpeg H.263+ decoder"
+ info "FFmpeg H.263+"
status working
fourcc H263,U263,h263,X263,M263
fourcc viv1 h263
@@ -1357,7 +1357,7 @@ videocodec ffh261
out YV12
videocodec qt261
- info "QuickTime H.261 video decoder"
+ info "QuickTime H.261 video"
status working
fourcc H261,h261
driver qtvideo
@@ -1469,7 +1469,7 @@ videocodec qdv
out BGR24,BGR16,BGR15 ; BGR32 is buggy, at least with one sample
videocodec ffdv
- info "FFmpeg DV decoder"
+ info "FFmpeg DV"
status working
fourcc CDVC,cdvc
fourcc DVSD,dvsd ; PAL
@@ -1489,7 +1489,7 @@ videocodec ffdv
out 411P,422P,YV12
videocodec libdv
- info "Raw DV decoder (libdv)"
+ info "Raw DV (libdv)"
status working
fourcc DVSD,dvsd ; PAL
fourcc DVCS,dvcs ; NTSC ?
@@ -1545,7 +1545,7 @@ videocodec 3ivX
; RealVideo variants
videocodec rv3040
- info "Linux RealPlayer 10 RV30/40 decoder"
+ info "Linux RealPlayer 10 RV30/40"
status buggy ; tries to use multi-threaded decoding on SMP systems and crashes on exit
fourcc RV30,rv30
fourcc RV40,rv40
@@ -1554,7 +1554,7 @@ videocodec rv3040
out I420
videocodec rv3040win
- info "Win32 RealPlayer 10 RV30/40 decoder"
+ info "Win32 RealPlayer 10 RV30/40"
status working
fourcc RV30,rv30
fourcc RV40,rv40
@@ -1563,7 +1563,7 @@ videocodec rv3040win
out I420
videocodec rv40
- info "Linux RealPlayer 9 RV40 decoder"
+ info "Linux RealPlayer 9 RV40"
status working
fourcc RV40,rv40
driver realvid
@@ -1571,7 +1571,7 @@ videocodec rv40
out I420
videocodec rv40win
- info "Win32 RealPlayer 9 RV40 decoder"
+ info "Win32 RealPlayer 9 RV40"
status working
fourcc RV40,rv40
driver realvid
@@ -1579,7 +1579,7 @@ videocodec rv40win
out I420
videocodec rv40mac
- info "Mac OS X RealPlayer 9 RV40 decoder"
+ info "Mac OS X RealPlayer 9 RV40"
status working
fourcc RV40,rv40
driver realvid
@@ -1587,7 +1587,7 @@ videocodec rv40mac
out I420
videocodec rv30
- info "Linux RealPlayer 8 RV30 decoder"
+ info "Linux RealPlayer 8 RV30"
status working
fourcc RV30,rv30
driver realvid
@@ -1595,7 +1595,7 @@ videocodec rv30
out I420
videocodec rv30win
- info "Win32 RealPlayer 8 RV30 decoder"
+ info "Win32 RealPlayer 8 RV30"
status working
fourcc RV30,rv30
driver realvid
@@ -1603,7 +1603,7 @@ videocodec rv30win
out I420
videocodec rv30mac
- info "Mac OS X RealPlayer 9 RV30 decoder"
+ info "Mac OS X RealPlayer 9 RV30"
status working
fourcc RV30,rv30
driver realvid
@@ -1611,7 +1611,7 @@ videocodec rv30mac
out I420
videocodec ffrv20
- info "FFmpeg RV20 decoder"
+ info "FFmpeg RV20"
status working
fourcc RV20,rv20
fourcc RVTR
@@ -1620,7 +1620,7 @@ videocodec ffrv20
out YV12,I420,IYUV
videocodec ffrv30
- info "FFmpeg RV30 decoder"
+ info "FFmpeg RV30"
status buggy
fourcc RV30,rv30
driver ffmpeg
@@ -1628,7 +1628,7 @@ videocodec ffrv30
out YV12,I420,IYUV
videocodec ffrv40
- info "FFmpeg RV40 decoder"
+ info "FFmpeg RV40"
status working
fourcc RV40,rv40
driver ffmpeg
@@ -1636,7 +1636,7 @@ videocodec ffrv40
out YV12,I420,IYUV
videocodec rv20
- info "Linux RealPlayer 8 RV20 decoder"
+ info "Linux RealPlayer 8 RV20"
status working
fourcc RV20,rv20
driver realvid
@@ -1644,7 +1644,7 @@ videocodec rv20
out I420
videocodec rv20winrp10
- info "Win32 RealPlayer 10 RV20 decoder"
+ info "Win32 RealPlayer 10 RV20"
status working
fourcc RV20,rv20
driver realvid
@@ -1652,7 +1652,7 @@ videocodec rv20winrp10
out I420
videocodec rv20win
- info "Win32 RealPlayer 8 RV20 decoder"
+ info "Win32 RealPlayer 8 RV20"
status working
fourcc RV20,rv20
driver realvid
@@ -1660,7 +1660,7 @@ videocodec rv20win
out I420
videocodec rv20mac
- info "Mac OS X RealPlayer 9 RV20 decoder"
+ info "Mac OS X RealPlayer 9 RV20"
status working
fourcc RV20,rv20
driver realvid
@@ -1668,7 +1668,7 @@ videocodec rv20mac
out I420
videocodec ffrv10
- info "FFmpeg RV10 decoder"
+ info "FFmpeg RV10"
status working
fourcc RV10,rv10
fourcc RV13,rv13
@@ -1814,7 +1814,7 @@ videocodec vp4
out BGR32,BGR24
videocodec ffvp5
- info "FFmpeg VP5 decoder"
+ info "FFmpeg VP5"
status working
fourcc VP50
driver ffmpeg
@@ -1831,7 +1831,7 @@ videocodec vp5
out BGR32,BGR24
videocodec ffvp6
- info "FFmpeg VP6 decoder"
+ info "FFmpeg VP6"
status working
fourcc VP60,VP61,VP62
driver ffmpeg
@@ -1839,7 +1839,7 @@ videocodec ffvp6
out YV12
videocodec ffvp6a
- info "FFmpeg VP6A decoder"
+ info "FFmpeg VP6A"
status untested
fourcc VP6A
driver ffmpeg
@@ -1847,7 +1847,7 @@ videocodec ffvp6a
out I420,YUY2,YV12
videocodec ffvp6f
- info "FFmpeg VP6 Flash decoder"
+ info "FFmpeg VP6 Flash"
status working
fourcc VP6F
driver ffmpeg
@@ -1908,7 +1908,7 @@ videocodec asv1
out BGR32,BGR24,BGR15 flip
videocodec ffultimotion
- info "IBM Ultimotion native decoder"
+ info "FFmpeg IBM Ultimotion"
status working
fourcc ULTI
driver ffmpeg
@@ -2174,7 +2174,7 @@ videocodec winx
out BGR32,BGR24,BGR15
videocodec ffwnv1
- info "FFmpeg wnv1 native codec"
+ info "FFmpeg wnv1 codec"
status working
fourcc WNV1
driver ffmpeg
@@ -2207,7 +2207,7 @@ videocodec vdowave3
out BGR24 flip
videocodec lsv
- info "Vianet Lsvx Video Decoder"
+ info "Vianet Lsvx Video"
status working
fourcc lsvx
fourcc lsvm
@@ -2252,7 +2252,7 @@ videocodec ffcavs
out I420
videocodec ffdnxhd
- info "FFmpeg DNxHD decoder"
+ info "FFmpeg DNxHD"
status working
fourcc AVdn
driver ffmpeg
@@ -2262,7 +2262,7 @@ videocodec ffdnxhd
; quicktime codecs:
videocodec qt3ivx
- info "win32/quicktime 3IV1 (3ivx) decoder"
+ info "win32/quicktime 3IV1 (3ivx)"
status working
fourcc 3IV1
driver qtvideo
@@ -2286,7 +2286,7 @@ videocodec qtavui
out YUY2
videocodec qth263
- info "Win32/QuickTime H.263 decoder"
+ info "Win32/QuickTime H.263"
status crashing
fourcc h263
driver qtvideo
@@ -2294,7 +2294,7 @@ videocodec qth263
out YUY2
videocodec qtrlerpza
- info "Win32/Quicktime RLE/RPZA decoder"
+ info "Win32/Quicktime RLE/RPZA"
comment "no colorspace accepted"
status crashing
fourcc rpza
@@ -2304,7 +2304,7 @@ videocodec qtrlerpza
out BGR32,BGR24,BGR15
videocodec qtvp3
- info "Win32/QuickTime VP3 decoder"
+ info "Win32/QuickTime VP3"
status crashing
fourcc VP31
driver qtvideo
@@ -2312,7 +2312,7 @@ videocodec qtvp3
out YUY2
videocodec qtzygo
- info "win32/quicktime ZyGo decoder"
+ info "win32/quicktime ZyGo"
status buggy
comment "wrong colors"
fourcc ZyGo,zygo,lsvx
@@ -2321,7 +2321,7 @@ videocodec qtzygo
out BGR32,RGB32
videocodec qtbhiv
- info "Win32/QuickTime BeHereiVideo decoder"
+ info "Win32/QuickTime BeHereiVideo"
comment "sample file wanted!"
status untested
fourcc bhiv
@@ -2330,7 +2330,7 @@ videocodec qtbhiv
out YUY2
videocodec qtcvid
- info "Win32/QuickTime Cinepak decoder"
+ info "Win32/QuickTime Cinepak"
status working
fourcc cvid
driver qtvideo
@@ -2338,7 +2338,7 @@ videocodec qtcvid
out YUY2
videocodec qtindeo
- info "Win32/QuickTime Indeo decoder"
+ info "Win32/QuickTime Indeo"
status crashing
fourcc IV31,iv31
fourcc IV32,iv32
@@ -2348,7 +2348,7 @@ videocodec qtindeo
out YUY2
videocodec qtmjpeg
- info "Win32/QuickTime MJPEG decoder"
+ info "Win32/QuickTime MJPEG"
status crashing
fourcc dmb1
fourcc mjpa
@@ -2358,7 +2358,7 @@ videocodec qtmjpeg
out YUY2
videocodec qtmpeg4
- info "Win32/QuickTime MPEG-4 decoder"
+ info "Win32/QuickTime MPEG-4"
status crashing
fourcc mp4v
driver qtvideo
@@ -2366,7 +2366,7 @@ videocodec qtmpeg4
out YUY2
videocodec qtsvq3
- info "Win32/QuickTime SVQ3 decoder"
+ info "Win32/QuickTime SVQ3"
status working
fourcc SVQ3
driver qtvideo
@@ -2374,7 +2374,7 @@ videocodec qtsvq3
out YUY2
videocodec qtsvq1
- info "Win32/QuickTime SVQ1 decoder"
+ info "Win32/QuickTime SVQ1"
status buggy
fourcc SVQ1
driver qtvideo
@@ -2500,7 +2500,7 @@ videocodec rricm
out BGR24 flip
videocodec ffcamtasia
- info "TechSmith Camtasia Screen Codec (native)"
+ info "FFmpeg TechSmith Camtasia Screen Codec"
status working
fourcc TSCC,tscc
driver ffmpeg
@@ -2600,7 +2600,7 @@ videocodec ffbethsoftvid
out BGR8
videocodec ffrl2
- info "FFmpeg RL2 decoder"
+ info "FFmpeg RL2"
status working
fourcc RL2V ; internal MPlayer FourCC
driver ffmpeg
@@ -2608,7 +2608,7 @@ videocodec ffrl2
out BGR8
videocodec fftxd
- info "FFmpeg Renderware TeXture Dictionary decoder"
+ info "FFmpeg Renderware TeXture Dictionary"
status working
fourcc TXDV ; internal MPlayer FourCC
driver ffmpeg
@@ -2952,14 +2952,14 @@ audiocodec wma9spdshow
guid 0x795b44c4, 0xf142, 0x493d, 0x8a, 0x02, 0x09, 0xbd, 0x41, 0x08, 0x95, 0xad
audiocodec ffqdm2
- info "FFmpeg QDM2 audio decoder"
+ info "FFmpeg QDM2 audio"
status working
format 0x324D4451 ; "QDM2"
driver ffmpeg
dll "qdm2"
audiocodec qdmc
- info "QuickTime QDMC/QDM2 audio decoders"
+ info "QuickTime QDMC/QDM2 audio"
status working
format 0x324D4451 ; "QDM2"
format 0x434D4451 ; "QDMC"
@@ -2967,28 +2967,28 @@ audiocodec qdmc
dll "QuickTime.qts"
audiocodec ffqclp
- info "FFmpeg QCLP audio decoder"
+ info "FFmpeg QCLP audio"
status buggy
format 0x706C6351 ; "Qclp"
driver ffmpeg
dll "qcelp"
audiocodec qclp
- info "QuickTime QCLP audio decoder"
+ info "QuickTime QCLP audio"
status working
format 0x706C6351 ; "Qclp"
driver qtaudio
dll "QuickTime.qts"
audiocodec qtmace3
- info "QuickTime MACE3 audio decoder"
+ info "QuickTime MACE3 audio"
status working
format 0x3343414D ; "MAC3"
driver qtaudio
dll "QuickTime.qts"
audiocodec qtmace6
- info "QuickTime MACE6 audio decoder"
+ info "QuickTime MACE6 audio"
status working
format 0x3643414D ; "MAC6"
driver qtaudio
@@ -3016,14 +3016,14 @@ audiocodec ffra288
dll "real_288"
audiocodec ffcook
- info "FFmpeg COOK audio decoder"
+ info "FFmpeg COOK audio"
status working
format 0x6B6F6F63 ; "cook"
driver ffmpeg
dll "cook"
audiocodec ffatrc
- info "FFmpeg Atrac 3 audio decoder"
+ info "FFmpeg Atrac 3 audio"
status working
format 0x63727461 ; "atrc"
format 0x270 ; atrac3 in wav
@@ -3255,7 +3255,7 @@ audiocodec dk3adpcm
driver dk3adpcm
audiocodec ffroqaudio
- info "Id RoQ File Audio Decoder"
+ info "Id RoQ File Audio"
status working
fourcc RoQA ; internal MPlayer FourCC
driver ffmpeg
@@ -3347,14 +3347,14 @@ audiocodec ffadpcmthp
dll adpcm_thp
audiocodec libdv
- info "raw DV audio decoder (libdv)"
+ info "raw DV audio (libdv)"
status working
fourcc RADV
driver libdv
dll libdv.so.2
audiocodec ffdv
- info "FFmpeg DV audio decoder"
+ info "FFmpeg DV audio"
status working
fourcc RADV
fourcc vdva,dvca
@@ -3363,7 +3363,7 @@ audiocodec ffdv
dll "dvaudio"
audiocodec faad
- info "FAAD AAC (MPEG-2/MPEG-4 Audio) decoder"
+ info "FAAD AAC (MPEG-2/MPEG-4 Audio)"
status working
fourcc mp4a,MP4A
fourcc "VLB " ; Used in NSV, not really working
@@ -3376,7 +3376,7 @@ audiocodec faad
dll libfaad2
audiocodec ffaac
- info "FFmpeg AAC (MPEG-2/MPEG-4 Audio) decoder"
+ info "FFmpeg AAC (MPEG-2/MPEG-4 Audio)"
status working
fourcc mp4a,MP4A
fourcc "VLB " ; Used in NSV, not really working
@@ -3390,7 +3390,7 @@ audiocodec ffaac
dll aac
audiocodec ffflac
- info "FFmpeg FLAC audio decoder"
+ info "FFmpeg FLAC audio"
status working
format 0x43614C66
format 0xF1AC
@@ -3398,49 +3398,49 @@ audiocodec ffflac
dll "flac"
audiocodec ffalac
- info "FFmpeg ALAC audio decoder"
+ info "FFmpeg ALAC audio"
status working
fourcc alac
driver ffmpeg
dll "alac"
audiocodec fftta
- info "FFmpeg True Audio (TTA) decoder"
+ info "FFmpeg True Audio (TTA)"
status working
fourcc TTA1 ; internal MPlayer FourCC
driver ffmpeg
dll "tta"
audiocodec ffwavpack
- info "FFmpeg WavPack audio decoder"
+ info "FFmpeg WavPack audio"
status working
fourcc WVPK ; internal MPlayer FourCC
driver ffmpeg
dll "wavpack"
audiocodec ffshorten
- info "FFmpeg Shorten audio decoder"
+ info "FFmpeg Shorten audio"
status working
fourcc shrn ; internal MPlayer FourCC
driver ffmpeg
dll "shorten"
audiocodec ffape
- info "FFmpeg Monkey's Audio decoder"
+ info "FFmpeg Monkey's Audio"
status working
fourcc "APE "
driver ffmpeg
dll "ape"
audiocodec ffmlp
- info "FFmpeg MLP decoder"
+ info "FFmpeg MLP"
status working
fourcc "MLP " ; internal MPlayer FourCC
driver ffmpeg
dll "mlp"
audiocodec ffnellymoser
- info "FFmpeg Nellymoser Audio decoder"
+ info "FFmpeg Nellymoser Audio"
status working
fourcc "NELL" ; internal MPlayer FourCC
driver ffmpeg
@@ -3553,14 +3553,14 @@ audiocodec ffsonic
dll "sonic"
audiocodec ffmp3on4
- info "FFmpeg Multi-channel MPEG layer-3 on MP4 audio decoder"
+ info "FFmpeg Multi-channel MPEG layer-3 on MP4 audio"
status working
format 0x1d61346d ; 'm','4','a',29 internal MPlayer fourcc
driver ffmpeg
dll "mp3on4"
audiocodec ffmp3
- info "FFmpeg MPEG layer-3 audio decoder"
+ info "FFmpeg MPEG layer-3 audio"
comment "integer only"
status working
format 0x55
@@ -3572,7 +3572,7 @@ audiocodec ffmp3
dll "mp3"
audiocodec ffmp3adu
- info "FFmpeg MPEG layer-3 adu audio decoder"
+ info "FFmpeg MPEG layer-3 adu audio"
comment "integer only"
status working
format 0x55756461 ; 'a','d','u',0x55 internal MPlayer fourcc
@@ -3580,7 +3580,7 @@ audiocodec ffmp3adu
dll "mp3adu"
audiocodec ffmp2
- info "FFmpeg MPEG layer-1 and layer-2 audio decoder"
+ info "FFmpeg MPEG layer-1 and layer-2 audio"
comment "integer only"
status working
format 0x50
@@ -3763,7 +3763,7 @@ audiocodec voxware
guid 0x73f7a062, 0x8829, 0x11d1, 0xb5, 0x50, 0x00, 0x60, 0x97, 0x24, 0x2d, 0x8d
audiocodec acelp
- info "ACELP.net Sipro Lab Audio Decoder"
+ info "ACELP.net Sipro Lab Audio"
status working
format 0x130
driver dshow
@@ -3793,7 +3793,7 @@ audiocodec iac25
dll "iac25_32.ax"
audiocodec ffctadp32
- info "Creative ADPCM native codec"
+ info "FFmpeg Creative ADPCM codec"
status working
format 0x200
driver ffmpeg
@@ -3828,7 +3828,7 @@ audiocodec hwdts
driver hwac3
audiocodec ffvorbis
- info "FFmpeg Vorbis decoder"
+ info "FFmpeg Vorbis"
status working
fourcc vrbs
format 0x566F
@@ -3836,7 +3836,7 @@ audiocodec ffvorbis
dll "vorbis"
audiocodec vorbis
- info "OggVorbis Audio Decoder"
+ info "OggVorbis Audio"
status working
comment "OggVorbis driver using libvorbis"
fourcc vrbs
@@ -3845,7 +3845,7 @@ audiocodec vorbis
dll "libvorbis"
audiocodec tremor
- info "OggVorbis audio decoder"
+ info "OggVorbis audio"
status working
comment "fixed-point decoder useful systems without floating-point unit"
fourcc vrbs
@@ -3867,7 +3867,7 @@ audiocodec vorbisacm
dll "vorbis.acm"
audiocodec speex
- info "Speex Audio Decoder"
+ info "Speex audio"
status working
comment "Speex driver using libspeex"
fourcc 'spx '
diff --git a/help/help_create.sh b/help/help_create.sh
index ccb756d6b9..87a0ade4ab 100755
--- a/help/help_create.sh
+++ b/help/help_create.sh
@@ -3,6 +3,12 @@
# Missing messages are filled in from the master message file and, if
# requested, character set conversion is performed.
+if test -z $2 ; then
+ echo "Error: missing parameters"
+ echo "Usage: $0 <messages file> <character set>"
+ exit 1
+fi
+
MASTER=help/help_mp-en.h
TARGET=help_mp.h
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c
index 3d85300d11..0b80d7ab2c 100644
--- a/libass/ass_bitmap.c
+++ b/libass/ass_bitmap.c
@@ -39,11 +39,12 @@ struct ass_synth_priv_s {
unsigned *g;
unsigned *gt2;
+
+ double radius;
};
static const unsigned int maxcolor = 255;
static const unsigned base = 256;
-static const double blur_radius = 1.5;
static int generate_tables(ass_synth_priv_t* priv, double radius)
{
@@ -52,6 +53,11 @@ static int generate_tables(ass_synth_priv_t* priv, double radius)
double volume_diff, volume_factor = 0;
unsigned volume;
+ if (priv->radius == radius)
+ return 0;
+ else
+ priv->radius = radius;
+
priv->g_r = ceil(radius);
priv->g_w = 2*priv->g_r+1;
@@ -106,10 +112,10 @@ static void resize_tmp(ass_synth_priv_t* priv, int w, int h)
priv->tmp = malloc((priv->tmp_w + 1) * priv->tmp_h * sizeof(short));
}
-ass_synth_priv_t* ass_synth_init(void)
+ass_synth_priv_t* ass_synth_init(double radius)
{
ass_synth_priv_t* priv = calloc(1, sizeof(ass_synth_priv_t));
- generate_tables(priv, blur_radius);
+ generate_tables(priv, radius);
return priv;
}
@@ -248,10 +254,12 @@ static bitmap_t* fix_outline_and_shadow(bitmap_t* bm_g, bitmap_t* bm_o)
return bm_s;
}
-int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph,
- bitmap_t** bm_g, bitmap_t** bm_o, bitmap_t** bm_s, int be)
+int glyph_to_bitmap(ass_synth_priv_t* priv, ass_synth_priv_t* priv_blur,
+ FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g,
+ bitmap_t** bm_o, bitmap_t** bm_s, int be, double blur_radius)
{
- const int bord = be ? ceil(blur_radius) : 0;
+ int bord = be ? (be+1) : 0;
+ bord = (blur_radius > 0.0) ? blur_radius : bord;
assert(bm_g && bm_o && bm_s);
@@ -269,17 +277,29 @@ int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_gly
return 1;
}
}
- if (*bm_o)
+ if (*bm_o) {
resize_tmp(priv, (*bm_o)->w, (*bm_o)->h);
+ resize_tmp(priv_blur, (*bm_o)->w, (*bm_o)->h);
+ }
resize_tmp(priv, (*bm_g)->w, (*bm_g)->h);
+ resize_tmp(priv_blur, (*bm_g)->w, (*bm_g)->h);
if (be) {
- if (*bm_o)
- blur((*bm_o)->buffer, priv->tmp, (*bm_o)->w, (*bm_o)->h, (*bm_o)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
- else
- blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
+ while (be--) {
+ if (*bm_o)
+ blur((*bm_o)->buffer, priv->tmp, (*bm_o)->w, (*bm_o)->h, (*bm_o)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
+ else
+ blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
+ }
+ } else {
+ if (blur_radius > 0.0) {
+ generate_tables(priv_blur, blur_radius);
+ if (*bm_o)
+ blur((*bm_o)->buffer, priv_blur->tmp, (*bm_o)->w, (*bm_o)->h, (*bm_o)->w, (int*)priv_blur->gt2, priv_blur->g_r, priv_blur->g_w);
+ else
+ blur((*bm_g)->buffer, priv_blur->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv_blur->gt2, priv_blur->g_r, priv_blur->g_w);
+ }
}
-
if (*bm_o)
*bm_s = fix_outline_and_shadow(*bm_g, *bm_o);
else
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h
index 73f9de4dfe..5f45aae4b2 100644
--- a/libass/ass_bitmap.h
+++ b/libass/ass_bitmap.h
@@ -28,7 +28,7 @@
typedef struct ass_synth_priv_s ass_synth_priv_t;
-ass_synth_priv_t* ass_synth_init(void);
+ass_synth_priv_t* ass_synth_init(double);
void ass_synth_done(ass_synth_priv_t* priv);
typedef struct bitmap_s {
@@ -46,7 +46,7 @@ typedef struct bitmap_s {
* \param bm_g out: pointer to the bitmap of glyph shadow is returned here
* \param be 1 = produces blurred bitmaps, 0 = normal bitmaps
*/
-int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, bitmap_t** bm_s, int be);
+int glyph_to_bitmap(ass_synth_priv_t* priv, ass_synth_priv_t* priv_blur, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, bitmap_t** bm_s, int be, double blur_radius);
void ass_free_bitmap(bitmap_t* bm);
diff --git a/libass/ass_cache_template.c b/libass/ass_cache_template.c
index 5f77190fa1..7f9ec95f57 100644
--- a/libass/ass_cache_template.c
+++ b/libass/ass_cache_template.c
@@ -55,6 +55,7 @@ START(bitmap, bipmap_hash_key_s)
GENERIC(int, bold)
GENERIC(int, italic)
GENERIC(char, be) // blur edges
+ GENERIC(double, blur) // gaussian blur
GENERIC(unsigned, scale_x) // 16.16
GENERIC(unsigned, scale_y) // 16.16
GENERIC(int, frx) // signed 16.16
diff --git a/libass/ass_render.c b/libass/ass_render.c
index da01caf119..b3ef0ca76f 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -43,6 +43,8 @@
#define MAX_GLYPHS 3000
#define MAX_LINES 300
+#define BE_RADIUS 1.5
+#define BLUR_MAX_RADIUS 50.0
static int last_render_id = 0;
@@ -80,6 +82,7 @@ struct ass_renderer_s {
ass_settings_t settings;
int render_id;
ass_synth_priv_t* synth_priv;
+ ass_synth_priv_t* synth_priv_blur;
ass_image_t* images_root; // rendering result is stored here
ass_image_t* prev_images_root;
@@ -112,6 +115,7 @@ typedef struct glyph_info_s {
int asc, desc; // font max ascender and descender
// int height;
int be; // blur edges
+ double blur; // gaussian blur
int shadow;
double frx, fry, frz; // rotation
@@ -160,6 +164,7 @@ typedef struct render_context_s {
char detect_collisions;
uint32_t fade; // alpha from \fad
char be; // blur edges
+ double blur; // gaussian blur
int shadow;
int drawing_mode; // not implemented; when != 0 text is discarded, except for style override tags
@@ -258,7 +263,8 @@ ass_renderer_t* ass_renderer_init(ass_library_t* library)
goto ass_init_exit;
}
- priv->synth_priv = ass_synth_init();
+ priv->synth_priv = ass_synth_init(BE_RADIUS);
+ priv->synth_priv_blur = ass_synth_init(BLUR_MAX_RADIUS);
priv->library = library;
priv->ftlibrary = ft;
@@ -688,7 +694,54 @@ static char* parse_tag(char* p, double pwr) {
if ((*p == '}') || (*p == 0))
return p;
- if (mystrcmp(&p, "fsc")) {
+ // New tags introduced in vsfilter 2.39
+ if (mystrcmp(&p, "xbord")) {
+ double val;
+ if (mystrtod(&p, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\xbord%.2f\n", val);
+ } else if (mystrcmp(&p, "ybord")) {
+ double val;
+ if (mystrtod(&p, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\ybord%.2f\n", val);
+ } else if (mystrcmp(&p, "xshad")) {
+ int val;
+ if (mystrtoi(&p, 10, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\xshad%d\n", val);
+ } else if (mystrcmp(&p, "yshad")) {
+ int val;
+ if (mystrtoi(&p, 10, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\yshad%d\n", val);
+ } else if (mystrcmp(&p, "fax")) {
+ int val;
+ if (mystrtoi(&p, 10, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\fax%d\n", val);
+ } else if (mystrcmp(&p, "fay")) {
+ int val;
+ if (mystrtoi(&p, 10, &val))
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\fay%d\n", val);
+ } else if (mystrcmp(&p, "iclip")) {
+ int x0, y0, x1, y1;
+ int res = 1;
+ skip('(');
+ res &= mystrtoi(&p, 10, &x0);
+ skip(',');
+ res &= mystrtoi(&p, 10, &y0);
+ skip(',');
+ res &= mystrtoi(&p, 10, &x1);
+ skip(',');
+ res &= mystrtoi(&p, 10, &y1);
+ skip(')');
+ mp_msg(MSGT_ASS, MSGL_V, "stub: \\iclip(%d,%d,%d,%d)\n", x0, y0, x1, y1);
+ } else if (mystrcmp(&p, "blur")) {
+ double val;
+ if (mystrtod(&p, &val)) {
+ val = (val < 0) ? 0 : val;
+ val = (val > BLUR_MAX_RADIUS) ? BLUR_MAX_RADIUS : val;
+ render_context.blur = val;
+ } else
+ render_context.blur = 0.0;
+ // ASS standard tags
+ } else if (mystrcmp(&p, "fsc")) {
char tp = *p++;
double val;
if (tp == 'x') {
@@ -760,10 +813,12 @@ static char* parse_tag(char* p, double pwr) {
else k = ((double)(t - t1)) / delta_t;
x = k * (x2 - x1) + x1;
y = k * (y2 - y1) + y1;
- render_context.pos_x = x;
- render_context.pos_y = y;
- render_context.detect_collisions = 0;
- render_context.evt_type = EVENT_POSITIONED;
+ if (render_context.evt_type != EVENT_POSITIONED) {
+ render_context.pos_x = x;
+ render_context.pos_y = y;
+ render_context.detect_collisions = 0;
+ render_context.evt_type = EVENT_POSITIONED;
+ }
} else if (mystrcmp(&p, "frx")) {
double val;
if (mystrtod(&p, &val)) {
@@ -990,9 +1045,12 @@ static char* parse_tag(char* p, double pwr) {
reset_render_context();
} else if (mystrcmp(&p, "be")) {
int val;
- if (mystrtoi(&p, 10, &val))
- render_context.be = val ? 1 : 0;
- else
+ if (mystrtoi(&p, 10, &val)) {
+ // Clamp to 10, since high values need excessive CPU
+ val = (val < 0) ? 0 : val;
+ val = (val > 10) ? 10 : val;
+ render_context.be = val;
+ } else
render_context.be = 0;
} else if (mystrcmp(&p, "b")) {
int b;
@@ -1186,6 +1244,7 @@ static void reset_render_context(void)
render_context.scale_y = render_context.style->ScaleY;
render_context.hspacing = render_context.style->Spacing;
render_context.be = 0;
+ render_context.blur = 0.0;
render_context.shadow = render_context.style->Shadow;
render_context.frx = render_context.fry = 0.;
render_context.frz = M_PI * render_context.style->Angle / 180.;
@@ -1326,9 +1385,10 @@ static void get_bitmap_glyph(glyph_info_t* info)
// render glyph
error = glyph_to_bitmap(ass_renderer->synth_priv,
+ ass_renderer->synth_priv_blur,
info->glyph, info->outline_glyph,
&info->bm, &info->bm_o,
- &info->bm_s, info->be);
+ &info->bm_s, info->be, info->blur);
if (error)
info->symbol = 0;
@@ -1820,6 +1880,7 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
text_info.glyphs[text_info.length].effect_timing = render_context.effect_timing;
text_info.glyphs[text_info.length].effect_skip_timing = render_context.effect_skip_timing;
text_info.glyphs[text_info.length].be = render_context.be;
+ text_info.glyphs[text_info.length].blur = render_context.blur;
text_info.glyphs[text_info.length].shadow = render_context.shadow;
text_info.glyphs[text_info.length].frx = render_context.frx;
text_info.glyphs[text_info.length].fry = render_context.fry;
@@ -1844,6 +1905,7 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
text_info.glyphs[text_info.length].hash_key.ch = code;
text_info.glyphs[text_info.length].hash_key.advance = shift;
text_info.glyphs[text_info.length].hash_key.be = render_context.be;
+ text_info.glyphs[text_info.length].hash_key.blur = render_context.blur;
text_info.length++;
diff --git a/libmpcodecs/ad_hwac3.c b/libmpcodecs/ad_hwac3.c
index 2fc6848d53..6750ae0f0a 100644
--- a/libmpcodecs/ad_hwac3.c
+++ b/libmpcodecs/ad_hwac3.c
@@ -5,7 +5,7 @@
(see http://www.dtek.chalmers.se/~dvd/)
*/
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libmpcodecs/ad_liba52.c b/libmpcodecs/ad_liba52.c
index afff444d8f..8ddbff8520 100644
--- a/libmpcodecs/ad_liba52.c
+++ b/libmpcodecs/ad_liba52.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 82839ec942..159136eac1 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -740,28 +740,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
- if(sh->ds->demuxer->type != DEMUXER_TYPE_LAVF &&
- sh->ds->demuxer->type != DEMUXER_TYPE_LAVF_PREFERRED)
- if( sh->format == mmioFOURCC('R', 'V', '1', '0')
- || sh->format == mmioFOURCC('R', 'V', '1', '3')
- || sh->format == mmioFOURCC('R', 'V', '2', '0')
- || sh->format == mmioFOURCC('R', 'V', '3', '0')
- || sh->format == mmioFOURCC('R', 'V', '4', '0'))
- {
- dp_hdr_t *hdr= (dp_hdr_t*)data;
- uint32_t *offsets = (uint32_t*)((char *)data + hdr->chunktab);
- uint8_t *offstab = av_malloc((hdr->chunks+1) * 8);
- uint8_t *buf = data;
- int chunks = hdr->chunks;
- int dlen = hdr->len;
-
- buf[0] = chunks;
- memcpy(offstab, offsets, (chunks + 1) * 8);
- memmove(buf + 1 + (chunks + 1) * 8, (char *)data + sizeof(dp_hdr_t), dlen);
- memcpy(buf + 1, offstab, (chunks + 1) * 8);
- av_free(offstab);
- }
-
mp_msg(MSGT_DECVIDEO, MSGL_DBG2, "vd_ffmpeg data: %04x, %04x, %04x, %04x\n",
((int *)data)[0], ((int *)data)[1], ((int *)data)[2], ((int *)data)[3]);
ret = avcodec_decode_video(avctx, pic,
diff --git a/libmpcodecs/vd_realvid.c b/libmpcodecs/vd_realvid.c
index dde327d925..fcb464fec8 100644
--- a/libmpcodecs/vd_realvid.c
+++ b/libmpcodecs/vd_realvid.c
@@ -9,6 +9,7 @@
#include "mp_msg.h"
#include "help_mp.h"
+#include "mpbswap.h"
#include "vd_internal.h"
#include "loader/wine/windef.h"
@@ -362,27 +363,23 @@ static void uninit(sh_video_t *sh){
bufsz = 0;
}
-// copypaste from demux_real.c - it should match to get it working!
-typedef struct dp_hdr_s {
- uint32_t chunks; // number of chunks
- uint32_t timestamp; // timestamp from packet header
- uint32_t len; // length of actual data
- uint32_t chunktab; // offset to chunk offset array
-} dp_hdr_t;
-
// decode a frame
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
mp_image_t* mpi;
unsigned long result;
- dp_hdr_t* dp_hdr=(dp_hdr_t*)data;
- unsigned char* dp_data=((unsigned char*)data)+sizeof(dp_hdr_t);
- uint32_t* extra=(uint32_t*)(((char*)data)+dp_hdr->chunktab);
+ uint8_t *buf = data;
+ int chunks = *buf++;
+ int extra_size = 8*(chunks+1);
+ uint32_t data_size = len-1-extra_size;
+ unsigned char* dp_data=buf+extra_size;
+ uint32_t* extra=(uint32_t*)buf;
+ int i;
unsigned int transform_out[5];
transform_in_t transform_in={
- dp_hdr->len, // length of the packet (sub-packets appended)
+ data_size, // length of the packet (sub-packets appended)
0, // unknown, seems to be unused
- dp_hdr->chunks, // number of sub-packets - 1
+ chunks, // number of sub-packets - 1
extra, // table of sub-packet offsets
0, // unknown, seems to be unused
0, // timestamp (should be unneded)
@@ -397,6 +394,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
if (!buffer) return 0;
}
+ for (i=0; i<2*(chunks+1); i++)
+ extra[i] = le2me_32(extra[i]);
+
#ifdef CONFIG_WIN32DLL
if (dll_type == 1)
result=(*wrvyuv_transform)(dp_data, buffer, &transform_in,
diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c
index aff05bd92d..76a3874723 100644
--- a/libmpdemux/demux_mkv.c
+++ b/libmpdemux/demux_mkv.c
@@ -36,7 +36,7 @@
#include "loader/qtx/qtxsdk/components.h"
#endif
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
#include <zlib.h>
#endif
@@ -98,7 +98,8 @@ typedef struct mkv_track
/* stuff for realmedia */
int realmedia;
- int rv_kf_base, rv_kf_pts;
+ int64_t rv_kf_base;
+ int rv_kf_pts;
float rv_pts; /* previous video timestamp */
float ra_pts; /* previous audio timestamp */
@@ -296,7 +297,7 @@ demux_mkv_decode (mkv_track_t *track, uint8_t *src, uint8_t **dest,
if (!(track->encodings[i].scope & type))
continue;
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
if (track->encodings[i].comp_algo == 0)
{
/* zlib encoded track */
@@ -544,7 +545,7 @@ demux_mkv_read_trackencodings (demuxer_t *demuxer, mkv_track_t *track)
MSGTR_MPDEMUX_MKV_UnknownCompression,
track->tnum, e.comp_algo);
}
-#ifndef CONFIG_ZLIB
+#if !CONFIG_ZLIB
else if (e.comp_algo == 0)
{
mp_msg (MSGT_DEMUX, MSGL_WARN,
@@ -2376,61 +2377,7 @@ handle_subtitles(demuxer_t *demuxer, mkv_track_t *track, char *block,
ds_add_packet(demuxer->sub, dp);
}
-// Taken from demux_real.c. Thanks to the original developpers :)
-#define SKIP_BITS(n) buffer <<= n
-#define SHOW_BITS(n) ((buffer) >> (32 - (n)))
-
-static float real_fix_timestamp(mkv_track_t *track, unsigned char *s,
- int timestamp) {
- float v_pts;
- uint32_t buffer = (s[0] << 24) + (s[1] << 16) + (s[2] << 8) + s[3];
- int kf = timestamp;
- int pict_type;
- int orig_kf;
-
- if (!strcmp(track->codec_id, MKV_V_REALV30) ||
- !strcmp(track->codec_id, MKV_V_REALV40)) {
-
- if (!strcmp(track->codec_id, MKV_V_REALV30)) {
- SKIP_BITS(3);
- pict_type = SHOW_BITS(2);
- SKIP_BITS(2 + 7);
- }else{
- SKIP_BITS(1);
- pict_type = SHOW_BITS(2);
- SKIP_BITS(2 + 7 + 3);
- }
- kf = SHOW_BITS(13); // kf= 2*SHOW_BITS(12);
- orig_kf = kf;
- if (pict_type <= 1) {
- // I frame, sync timestamps:
- track->rv_kf_base = timestamp - kf;
- mp_msg(MSGT_DEMUX, MSGL_DBG2, "\nTS: base=%08X\n", track->rv_kf_base);
- kf = timestamp;
- } else {
- // P/B frame, merge timestamps:
- int tmp = timestamp - track->rv_kf_base;
- kf |= tmp & (~0x1fff); // combine with packet timestamp
- if (kf < (tmp - 4096)) // workaround wrap-around problems
- kf += 8192;
- else if (kf > (tmp + 4096))
- kf -= 8192;
- kf += track->rv_kf_base;
- }
- if (pict_type != 3) { // P || I frame -> swap timestamps
- int tmp = kf;
- kf = track->rv_kf_pts;
- track->rv_kf_pts = tmp;
- }
- mp_msg(MSGT_DEMUX, MSGL_DBG2, "\nTS: %08X -> %08X (%04X) %d %02X %02X %02X "
- "%02X %5d\n", timestamp, kf, orig_kf, pict_type, s[0], s[1], s[2],
- s[3], kf - (int)(1000.0 * track->rv_pts));
- }
- v_pts = kf * 0.001f;
- track->rv_pts = v_pts;
-
- return v_pts;
-}
+double real_fix_timestamp(unsigned char *buf, unsigned int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, double *pts);
static void
handle_realvideo (demuxer_t *demuxer, mkv_track_t *track, uint8_t *buffer,
@@ -2439,35 +2386,9 @@ handle_realvideo (demuxer_t *demuxer, mkv_track_t *track, uint8_t *buffer,
mkv_demuxer_t *mkv_d = (mkv_demuxer_t *) demuxer->priv;
demux_packet_t *dp;
uint32_t timestamp = mkv_d->last_pts * 1000;
- uint32_t *hdr;
- uint8_t chunks;
- int isize;
-#ifdef WORDS_BIGENDIAN
- uint8_t *p;
- int i;
-#endif
-
- chunks = *buffer++;
- isize = --size - (chunks+1)*8;
- dp = new_demux_packet (REALHEADER_SIZE + size);
- memcpy (dp->buffer + REALHEADER_SIZE, buffer + (chunks+1)*8, isize);
-#ifdef WORDS_BIGENDIAN
- p = (uint8_t *)(dp->buffer + REALHEADER_SIZE + isize);
- for (i = 0; i<(chunks+1)*8; i+=4) {
- p[i] = *((uint8_t *)buffer+i+3);
- p[i+1] = *((uint8_t *)buffer+i+2);
- p[i+2] = *((uint8_t *)buffer+i+1);
- p[i+3] = *((uint8_t *)buffer+i);
- }
-#else
- memcpy (dp->buffer + REALHEADER_SIZE + isize, buffer, (chunks+1)*8);
-#endif
- hdr = (uint32_t *) dp->buffer;
- *hdr++ = chunks; // number of chunks
- *hdr++ = timestamp; // timestamp from packet header
- *hdr++ = isize; // length of actual data
- *hdr++ = REALHEADER_SIZE + isize; // offset to chunk offset array
+ dp = new_demux_packet (size);
+ memcpy (dp->buffer, buffer, size);
if (mkv_d->v_skip_to_keyframe)
{
@@ -2476,8 +2397,9 @@ handle_realvideo (demuxer_t *demuxer, mkv_track_t *track, uint8_t *buffer,
track->rv_kf_pts = timestamp;
}
else
- dp->pts = real_fix_timestamp (track, dp->buffer + REALHEADER_SIZE,
- timestamp);
+ dp->pts = real_fix_timestamp (dp->buffer, timestamp,
+ ((sh_video_t*)demuxer->video->sh)->bih->biCompression,
+ &track->rv_kf_base, &track->rv_kf_pts, NULL);
dp->pos = demuxer->filepos;
dp->flags = block_bref ? 0 : 0x10;
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index a17d0966bd..fb271e1e49 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -41,6 +41,7 @@
#include "stheader.h"
#include "libmpcodecs/img_format.h"
+#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libvo/sub.h"
@@ -48,7 +49,7 @@
#include "qtpalette.h"
#include "parse_mp4.h" // .MP4 specific stuff
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
#include <zlib.h>
#endif
@@ -434,8 +435,8 @@ static int mov_check_file(demuxer_t* demuxer){
case MOV_FOURCC('r','m','d','a'):
continue;
case MOV_FOURCC('r','d','r','f'): {
- int tmp=stream_read_dword(demuxer->stream);
- int type=stream_read_dword_le(demuxer->stream);
+ av_unused int tmp=stream_read_dword(demuxer->stream);
+ av_unused int type=stream_read_dword_le(demuxer->stream);
int slen=stream_read_dword(demuxer->stream);
//char* s=malloc(slen+1);
//stream_read(demuxer->stream,s,slen);
@@ -455,7 +456,7 @@ static int mov_check_file(demuxer_t* demuxer){
len-=12+slen;i-=12+slen; break;
}
case MOV_FOURCC('r','m','d','r'): {
- int flags=stream_read_dword(demuxer->stream);
+ av_unused int flags=stream_read_dword(demuxer->stream);
int rate=stream_read_dword(demuxer->stream);
mp_msg(MSGT_DEMUX,MSGL_V," min. data rate: %d bits/sec\n",rate);
len-=8; i-=8; break;
@@ -1395,7 +1396,7 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
trak=NULL;
break;
}
-#ifndef CONFIG_ZLIB
+#if !CONFIG_ZLIB
case MOV_FOURCC('c','m','o','v'): {
mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_MOVcomprhdr);
return;
@@ -1658,12 +1659,12 @@ static int lschunks_intrak(demuxer_t* demuxer, int level, unsigned int id,
break;
}
case MOV_FOURCC('h','d','l','r'): {
- unsigned int tmp = stream_read_dword(demuxer->stream);
+ av_unused unsigned int tmp = stream_read_dword(demuxer->stream);
unsigned int type = stream_read_dword_le(demuxer->stream);
unsigned int subtype = stream_read_dword_le(demuxer->stream);
unsigned int manufact = stream_read_dword_le(demuxer->stream);
- unsigned int comp_flags = stream_read_dword(demuxer->stream);
- unsigned int comp_mask = stream_read_dword(demuxer->stream);
+ av_unused unsigned int comp_flags = stream_read_dword(demuxer->stream);
+ av_unused unsigned int comp_mask = stream_read_dword(demuxer->stream);
int len = stream_read_char(demuxer->stream);
char* str = malloc(len + 1);
stream_read(demuxer->stream, str, len);
@@ -1743,7 +1744,7 @@ static int lschunks_intrak(demuxer_t* demuxer, int level, unsigned int id,
break;
}
case MOV_FOURCC('s','t','t','s'): {
- int temp = stream_read_dword(demuxer->stream);
+ av_unused int temp = stream_read_dword(demuxer->stream);
int len = stream_read_dword(demuxer->stream);
int i;
unsigned int pts = 0;
@@ -1802,7 +1803,7 @@ static int lschunks_intrak(demuxer_t* demuxer, int level, unsigned int id,
break;
}
case MOV_FOURCC('s','t','c','o'): {
- int temp = stream_read_dword(demuxer->stream);
+ av_unused int temp = stream_read_dword(demuxer->stream);
int len = stream_read_dword(demuxer->stream);
int i;
mp_msg(MSGT_DEMUX, MSGL_V,
@@ -1819,7 +1820,7 @@ static int lschunks_intrak(demuxer_t* demuxer, int level, unsigned int id,
break;
}
case MOV_FOURCC('c','o','6','4'): {
- int temp = stream_read_dword(demuxer->stream);
+ av_unused int temp = stream_read_dword(demuxer->stream);
int len = stream_read_dword(demuxer->stream);
int i;
mp_msg(MSGT_DEMUX, MSGL_V,
@@ -2027,7 +2028,7 @@ static demuxer_t* mov_read_header(demuxer_t* demuxer){
char2int(trak->stdata,12)==MOV_FOURCC('z','l','i','b')
){
int newlen=stream_read_dword(demuxer->stream);
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
// unzip:
z_stream zstrm;
int zret;
@@ -2192,7 +2193,7 @@ if(trak->pos==0 && trak->stream_header_len>0){
if (samplenr < 0)
vo_sub = NULL;
else if (samplenr != priv->current_sub) {
- sh_sub_t *sh = demuxer->sub->sh;
+ av_unused sh_sub_t *sh = demuxer->sub->sh;
off_t pos = trak->samples[samplenr].pos;
int len = trak->samples[samplenr].size;
double subpts = (double)trak->samples[samplenr].pts / (double)trak->timescale;
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c
index b6b54f7c03..32b7acc11d 100644
--- a/libmpdemux/demux_real.c
+++ b/libmpdemux/demux_real.c
@@ -28,6 +28,7 @@ Video codecs: (supported by RealPlayer8 for Linux)
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
+#include "mpbswap.h"
#include "stream/stream.h"
#include "demuxer.h"
@@ -474,8 +475,9 @@ void hexdump(char *, unsigned long);
#define SKIP_BITS(n) buffer<<=n
#define SHOW_BITS(n) ((buffer)>>(32-(n)))
-static double real_fix_timestamp(real_priv_t* priv, unsigned char* s, unsigned int timestamp, double frametime, unsigned int format){
+double real_fix_timestamp(unsigned char *buf, unsigned int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, double *pts){
double v_pts;
+ unsigned char *s = buf + 1 + (*buf+1)*8;
uint32_t buffer= (s[0]<<24) + (s[1]<<16) + (s[2]<<8) + s[3];
unsigned int kf=timestamp;
int pict_type;
@@ -497,29 +499,29 @@ static double real_fix_timestamp(real_priv_t* priv, unsigned char* s, unsigned i
// if(pict_type==0)
if(pict_type<=1){
// I frame, sync timestamps:
- priv->kf_base=(int64_t)timestamp-kf;
- mp_msg(MSGT_DEMUX, MSGL_DBG2,"\nTS: base=%08"PRIX64"\n",priv->kf_base);
+ *kf_base=(int64_t)timestamp-kf;
+ mp_msg(MSGT_DEMUX, MSGL_DBG2,"\nTS: base=%08"PRIX64"\n",*kf_base);
kf=timestamp;
} else {
// P/B frame, merge timestamps:
- int64_t tmp=(int64_t)timestamp-priv->kf_base;
+ int64_t tmp=(int64_t)timestamp-*kf_base;
kf|=tmp&(~0x1fff); // combine with packet timestamp
if(kf<tmp-4096) kf+=8192; else // workaround wrap-around problems
if(kf>tmp+4096) kf-=8192;
- kf+=priv->kf_base;
+ kf+=*kf_base;
}
if(pict_type != 3){ // P || I frame -> swap timestamps
unsigned int tmp=kf;
- kf=priv->kf_pts;
- priv->kf_pts=tmp;
+ kf=*kf_pts;
+ *kf_pts=tmp;
// if(kf<=tmp) kf=0;
}
- mp_msg(MSGT_DEMUX, MSGL_DBG2,"\nTS: %08X -> %08X (%04X) %d %02X %02X %02X %02X %5u\n",timestamp,kf,orig_kf,pict_type,s[0],s[1],s[2],s[3],kf-(unsigned int)(1000.0*priv->v_pts));
+ mp_msg(MSGT_DEMUX, MSGL_DBG2,"\nTS: %08X -> %08X (%04X) %d %02X %02X %02X %02X %5u\n",timestamp,kf,orig_kf,pict_type,s[0],s[1],s[2],s[3],pts?kf-(unsigned int)(*pts*1000.0):0);
}
#endif
v_pts=kf*0.001f;
-// if(v_pts<priv->v_pts || !kf) v_pts=priv->v_pts+frametime;
- priv->v_pts=v_pts;
+// if(pts && (v_pts<*pts || !kf)) v_pts=*pts+frametime;
+ if(pts) *pts=v_pts;
return v_pts;
}
@@ -530,6 +532,29 @@ typedef struct dp_hdr_s {
uint32_t chunktab; // offset to chunk offset array
} dp_hdr_t;
+static void queue_video_packet(real_priv_t *priv, demux_stream_t *ds, demux_packet_t *dp)
+{
+ dp_hdr_t hdr = *(dp_hdr_t*)dp->buffer;
+ unsigned char *tmp = malloc(8*(1+hdr.chunks));
+ memcpy(tmp, dp->buffer+hdr.chunktab, 8*(1+hdr.chunks));
+ memmove(dp->buffer+1+8*(1+hdr.chunks), dp->buffer+sizeof(dp_hdr_t), hdr.len);
+ memcpy(dp->buffer+1, tmp, 8*(1+hdr.chunks));
+ *dp->buffer = (uint8_t)hdr.chunks;
+ free(tmp);
+
+ if(priv->video_after_seek){
+ priv->kf_base = 0;
+ priv->kf_pts = hdr.timestamp;
+ priv->video_after_seek = 0;
+ }
+ if(hdr.len >= 3) /* this check may be useless */
+ dp->pts = real_fix_timestamp(dp->buffer, hdr.timestamp,
+ ((sh_video_t *)ds->sh)->format,
+ &priv->kf_base, &priv->kf_pts,
+ &priv->v_pts);
+ ds_add_packet(ds, dp);
+}
+
// return value:
// 0 = EOF or no stream found
// 1 = successfully read a packet
@@ -915,16 +940,7 @@ got_video:
if(ds->asf_seq!=vpkg_seqnum){
// this fragment is for new packet, close the old one
mp_msg(MSGT_DEMUX,MSGL_DBG2, "closing probably incomplete packet, len: %d \n",dp->len);
- if(priv->video_after_seek){
- priv->kf_base = 0;
- priv->kf_pts = dp_hdr->timestamp;
- dp->pts=
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- priv->video_after_seek = 0;
- } else if (dp_hdr->len >= 3)
- dp->pts =
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- ds_add_packet(ds,dp);
+ queue_video_packet(priv, ds, dp);
ds->asf_packet=NULL;
} else {
// append data to it!
@@ -941,8 +957,8 @@ got_video:
dp_data=dp->buffer+sizeof(dp_hdr_t);
extra=(uint32_t*)(dp->buffer+dp_hdr->chunktab);
}
- extra[2*dp_hdr->chunks+0]=1;
- extra[2*dp_hdr->chunks+1]=dp_hdr->len;
+ extra[2*dp_hdr->chunks+0]=le2me_32(1);
+ extra[2*dp_hdr->chunks+1]=le2me_32(dp_hdr->len);
if(0x80==(vpkg_header&0xc0)){
// last fragment!
if(dp_hdr->len!=vpkg_length-vpkg_offset)
@@ -954,16 +970,7 @@ got_video:
len-=vpkg_offset;
mp_dbg(MSGT_DEMUX,MSGL_DBG2, "fragment (%d bytes) appended, %d bytes left\n",vpkg_offset,len);
// we know that this is the last fragment -> we can close the packet!
- if(priv->video_after_seek){
- priv->kf_base = 0;
- priv->kf_pts = dp_hdr->timestamp;
- dp->pts=
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- priv->video_after_seek = 0;
- } else if (dp_hdr->len >= 3)
- dp->pts =
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- ds_add_packet(ds,dp);
+ queue_video_packet(priv, ds, dp);
ds->asf_packet=NULL;
// continue parsing
continue;
@@ -991,7 +998,7 @@ got_video:
dp_hdr->chunktab=sizeof(dp_hdr_t)+vpkg_length;
dp_data=dp->buffer+sizeof(dp_hdr_t);
extra=(uint32_t*)(dp->buffer+dp_hdr->chunktab);
- extra[0]=1; extra[1]=0; // offset of the first chunk
+ extra[0]=le2me_32(1); extra[1]=0; // offset of the first chunk
if(0x00==(vpkg_header&0xc0)){
// first fragment:
if (len > dp->len - sizeof(dp_hdr_t)) len = dp->len - sizeof(dp_hdr_t);
@@ -999,13 +1006,6 @@ got_video:
stream_read(demuxer->stream, dp_data, len);
ds->asf_packet=dp;
len=0;
- if(priv->video_after_seek){
- priv->kf_base = 0;
- priv->kf_pts = dp_hdr->timestamp;
- dp->pts=
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- priv->video_after_seek = 0;
- }
break;
}
// whole packet (not fragmented):
@@ -1020,16 +1020,7 @@ got_video:
}
dp_hdr->len=vpkg_length; len-=vpkg_length;
stream_read(demuxer->stream, dp_data, vpkg_length);
- if(priv->video_after_seek){
- priv->kf_base = 0;
- priv->kf_pts = dp_hdr->timestamp;
- dp->pts=
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- priv->video_after_seek = 0;
- } else if (dp_hdr->len >= 3)
- dp->pts =
- real_fix_timestamp(priv,dp_data,dp_hdr->timestamp,sh_video->frametime,sh_video->format);
- ds_add_packet(ds,dp);
+ queue_video_packet(priv, ds, dp);
} // while(len>0)
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c
index 90c3ce39ab..87b9ba027d 100644
--- a/libswscale/swscale-example.c
+++ b/libswscale/swscale-example.c
@@ -118,10 +118,6 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
sws_scale(dstContext, src, srcStride, 0, srcH, dst, dstStride);
sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride);
-#if ARCH_X86
- __asm__ volatile ("emms\n\t");
-#endif
-
ssdY= getSSD(ref[0], out[0], refStride[0], refStride[0], w, h);
ssdU= getSSD(ref[1], out[1], refStride[1], refStride[1], (w+1)>>1, (h+1)>>1);
ssdV= getSSD(ref[2], out[2], refStride[2], refStride[2], (w+1)>>1, (h+1)>>1);
@@ -208,10 +204,6 @@ int main(int argc, char **argv){
}
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
-#if ARCH_X86
- __asm__ volatile ("emms\n\t");
-#endif
-
selfTest(src, stride, W, H);
return 123;
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 88ac39757e..586715eacd 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -174,7 +174,7 @@ unsigned swscale_version(void)
#define RV ( (int)(0.500*224/255*(1<<RGB2YUV_SHIFT)+0.5))
#define RU (-(int)(0.169*224/255*(1<<RGB2YUV_SHIFT)+0.5))
-extern const int32_t Inverse_Table_6_9[8][4];
+extern const int32_t ff_yuv2rgb_coeffs[8][4];
static const double rgb2yuv_table[8][9]={
{0.7152, 0.0722, 0.2126, -0.386, 0.5, -0.115, -0.454, -0.046, 0.5},
@@ -2076,7 +2076,7 @@ static uint16_t roundToInt16(int64_t f){
}
/**
- * @param inv_table the yuv2rgb coefficients, normally Inverse_Table_6_9[x]
+ * @param inv_table the yuv2rgb coefficients, normally ff_yuv2rgb_coeffs[x]
* @param fullRange if 1 then the luma range is 0..255 if 0 it is 16..235
* @return -1 if not supported
*/
@@ -2133,12 +2133,12 @@ int sws_setColorspaceDetails(SwsContext *c, const int inv_table[4], int srcRange
c->yuv2rgb_u2g_coeff= (int16_t)roundToInt16(cgu<<13);
c->yuv2rgb_u2b_coeff= (int16_t)roundToInt16(cbu<<13);
- yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation);
+ sws_yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation);
//FIXME factorize
#ifdef COMPILE_ALTIVEC
if (c->flags & SWS_CPU_CAPS_ALTIVEC)
- yuv2rgb_altivec_init_tables (c, inv_table, brightness, contrast, saturation);
+ sws_yuv2rgb_altivec_init_tables (c, inv_table, brightness, contrast, saturation);
#endif
return 0;
}
@@ -2321,7 +2321,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
c->chrDstW= -((-dstW) >> c->chrDstHSubSample);
c->chrDstH= -((-dstH) >> c->chrDstVSubSample);
- sws_setColorspaceDetails(c, Inverse_Table_6_9[SWS_CS_DEFAULT], srcRange, Inverse_Table_6_9[SWS_CS_DEFAULT] /* FIXME*/, dstRange, 0, 1<<16, 1<<16);
+ sws_setColorspaceDetails(c, ff_yuv2rgb_coeffs[SWS_CS_DEFAULT], srcRange, ff_yuv2rgb_coeffs[SWS_CS_DEFAULT] /* FIXME*/, dstRange, 0, 1<<16, 1<<16);
/* unscaled special cases */
if (unscaled && !usesHFilter && !usesVFilter && (srcRange == dstRange || isBGR(dstFormat) || isRGB(dstFormat)))
@@ -2336,7 +2336,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
if ((srcFormat==PIX_FMT_YUV420P || srcFormat==PIX_FMT_YUV422P) && (isBGR(dstFormat) || isRGB(dstFormat))
&& !(flags & SWS_ACCURATE_RND) && !(dstH&1))
{
- c->swScale= yuv2rgb_get_func_ptr(c);
+ c->swScale= sws_yuv2rgb_get_func_ptr(c);
}
#endif
@@ -2820,13 +2820,12 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
}
}
-/**
- * swscale wrapper, so we don't need to export the SwsContext.
- */
+#if LIBSWSCALE_VERSION_MAJOR < 1
int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]){
return sws_scale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
}
+#endif
SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
float lumaSharpen, float chromaSharpen,
@@ -2886,10 +2885,6 @@ SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
return filter;
}
-/**
- * Returns a normalized Gaussian curve used to filter stuff
- * quality=3 is high quality, lower is lower quality.
- */
SwsVector *sws_getGaussianVec(double variance, double quality){
const int length= (int)(variance*quality + 0.5) | 1;
int i;
@@ -3166,16 +3161,6 @@ void sws_freeContext(SwsContext *c){
av_free(c);
}
-/**
- * Checks if context is valid or reallocs a new one instead.
- * If context is NULL, just calls sws_getContext() to get a new one.
- * Otherwise, checks if the parameters are the ones already saved in context.
- * If that is the case, returns the current context.
- * Otherwise, frees context and gets a new one.
- *
- * Be warned that srcFilter, dstFilter are not checked, they are
- * asumed to remain valid.
- */
struct SwsContext *sws_getCachedContext(struct SwsContext *context,
int srcW, int srcH, enum PixelFormat srcFormat,
int dstW, int dstH, enum PixelFormat dstFormat, int flags,
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index cee394f8a5..35db84cdef 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -31,7 +31,7 @@
#define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 6
-#define LIBSWSCALE_VERSION_MICRO 1
+#define LIBSWSCALE_VERSION_MICRO 2
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
@@ -98,8 +98,8 @@ unsigned swscale_version(void);
// when used for filters they must have an odd number of elements
// coeffs cannot be shared between vectors
typedef struct {
- double *coeff;
- int length;
+ double *coeff; ///< pointer to the list of coefficients
+ int length; ///< number of coefficients in the vector
} SwsVector;
// vectors can be shared
@@ -114,39 +114,94 @@ struct SwsContext;
void sws_freeContext(struct SwsContext *swsContext);
-struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags,
+/**
+ * Allocates and returns a SwsContext. You need it to perform
+ * scaling/conversion operations using sws_scale().
+ *
+ * @param srcW the width of the source image
+ * @param srcH the height of the source image
+ * @param srcFormat the source image format
+ * @param dstW the width of the destination image
+ * @param dstH the height of the destination image
+ * @param dstFormat the destination image format
+ * @param flags specify which algorithm and options to use for rescaling
+ * @return a pointer to an allocated context, or NULL in case of error
+ */
+struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
+#if LIBSWSCALE_VERSION_MAJOR < 1
+/**
+ * @deprecated Use sws_scale() instead.
+ */
int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]) attribute_deprecated;
+#endif
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation);
int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, int *srcRange, int **table, int *dstRange, int *brightness, int *contrast, int *saturation);
+
+/**
+ * Returns a normalized Gaussian curve used to filter stuff
+ * quality=3 is high quality, lower is lower quality.
+ */
SwsVector *sws_getGaussianVec(double variance, double quality);
+
+/**
+ * Allocates and returns a vector with \p length coefficients, all
+ * with the same value \p c.
+ */
SwsVector *sws_getConstVec(double c, int length);
+
+/**
+ * Allocates and returns a vector with just one coefficient, with
+ * value 1.0.
+ */
SwsVector *sws_getIdentityVec(void);
+
+/**
+ * Scales all the coefficients of \p a by the \p scalar value.
+ */
void sws_scaleVec(SwsVector *a, double scalar);
void sws_normalizeVec(SwsVector *a, double height);
void sws_convVec(SwsVector *a, SwsVector *b);
void sws_addVec(SwsVector *a, SwsVector *b);
void sws_subVec(SwsVector *a, SwsVector *b);
void sws_shiftVec(SwsVector *a, int shift);
+
+/**
+ * Allocates and returns a clone of the vector \p a, that is a vector
+ * with the same coefficients as \p a.
+ */
SwsVector *sws_cloneVec(SwsVector *a);
void sws_printVec(SwsVector *a);
void sws_freeVec(SwsVector *a);
SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
- float lumaSarpen, float chromaSharpen,
+ float lumaSharpen, float chromaSharpen,
float chromaHShift, float chromaVShift,
int verbose);
void sws_freeFilter(SwsFilter *filter);
+/**
+ * Checks if \p context can be reused, otherwise reallocates a new
+ * one.
+ *
+ * If \p context is NULL, just calls sws_getContext() to get a new
+ * context. Otherwise, checks if the parameters are the ones already
+ * saved in \p context. If that is the case, returns the current
+ * context. Otherwise, frees \p context and gets a new context with
+ * the new parameters.
+ *
+ * Be warned that \p srcFilter and \p dstFilter are not checked, they
+ * are assumed to remain the same.
+ */
struct SwsContext *sws_getCachedContext(struct SwsContext *context,
- int srcW, int srcH, int srcFormat,
- int dstW, int dstH, int dstFormat, int flags,
+ int srcW, int srcH, enum PixelFormat srcFormat,
+ int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
#endif /* SWSCALE_SWSCALE_H */
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 38db01023a..cf157428b3 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -212,11 +212,11 @@ typedef struct SwsContext{
} SwsContext;
//FIXME check init (where 0)
-SwsFunc yuv2rgb_get_func_ptr (SwsContext *c);
-int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation);
+SwsFunc sws_yuv2rgb_get_func_ptr (SwsContext *c);
+int sws_yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation);
-void yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation);
-SwsFunc yuv2rgb_init_altivec (SwsContext *c);
+void sws_yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation);
+SwsFunc sws_yuv2rgb_init_altivec (SwsContext *c);
void altivec_yuv2packedX (SwsContext *c,
int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize,
int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
@@ -309,8 +309,8 @@ static inline int fmt_depth(int fmt)
}
}
-extern const DECLARE_ALIGNED(8, uint64_t, ff_dither4[2]);
-extern const DECLARE_ALIGNED(8, uint64_t, ff_dither8[2]);
+extern const uint64_t ff_dither4[2];
+extern const uint64_t ff_dither8[2];
extern const AVClass sws_context_class;
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 5aaa5728ea..fe90a04f22 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -1,5 +1,5 @@
/*
- * yuv2rgb.c, Software YUV to RGB converter
+ * software YUV to RGB converter
*
* Copyright (C) 1999, Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
@@ -70,7 +70,7 @@ DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL;
#endif /* HAVE_MMX */
-const int32_t Inverse_Table_6_9[8][4] = {
+const int32_t ff_yuv2rgb_coeffs[8][4] = {
{117504, 138453, 13954, 34903}, /* no sequence_display_extension */
{117504, 138453, 13954, 34903}, /* ITU-R Rec. 709 (1990) */
{104597, 132201, 25675, 53279}, /* unspecified */
@@ -481,7 +481,7 @@ PROLOG(yuv2rgb_c_1_ordered_dither, uint8_t)
dst_2[0]= out_2;
EPILOG(1)
-SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
+SwsFunc sws_yuv2rgb_get_func_ptr (SwsContext *c)
{
#if HAVE_MMX2 || HAVE_MMX
if (c->flags & SWS_CPU_CAPS_MMX2){
@@ -503,20 +503,20 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
#endif
#if HAVE_VIS
{
- SwsFunc t= yuv2rgb_init_vis(c);
+ SwsFunc t= sws_yuv2rgb_init_vis(c);
if (t) return t;
}
#endif
#if CONFIG_MLIB
{
- SwsFunc t= yuv2rgb_init_mlib(c);
+ SwsFunc t= sws_yuv2rgb_init_mlib(c);
if (t) return t;
}
#endif
#if HAVE_ALTIVEC
if (c->flags & SWS_CPU_CAPS_ALTIVEC)
{
- SwsFunc t = yuv2rgb_init_altivec(c);
+ SwsFunc t = sws_yuv2rgb_init_altivec(c);
if (t) return t;
}
#endif
@@ -563,7 +563,7 @@ static int div_round (int dividend, int divisor)
return -((-dividend + (divisor>>1)) / divisor);
}
-int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
+int sws_yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
{
const int isRgb = c->dstFormat==PIX_FMT_RGB32
|| c->dstFormat==PIX_FMT_RGB32_1
diff --git a/libswscale/yuv2rgb_altivec.c b/libswscale/yuv2rgb_altivec.c
index baffbc80a6..a4cdcf898f 100644
--- a/libswscale/yuv2rgb_altivec.c
+++ b/libswscale/yuv2rgb_altivec.c
@@ -690,7 +690,7 @@ static int altivec_uyvy_rgb32 (SwsContext *c,
So we just fall back to the C codes for this.
*/
-SwsFunc yuv2rgb_init_altivec (SwsContext *c)
+SwsFunc sws_yuv2rgb_init_altivec (SwsContext *c)
{
if (!(c->flags & SWS_CPU_CAPS_ALTIVEC))
return NULL;
@@ -750,7 +750,7 @@ SwsFunc yuv2rgb_init_altivec (SwsContext *c)
return NULL;
}
-void yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation)
+void sws_yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation)
{
union {
signed short tmp[8] __attribute__ ((aligned(16)));
diff --git a/libswscale/yuv2rgb_mlib.c b/libswscale/yuv2rgb_mlib.c
index ff2e50a2b0..68247914e7 100644
--- a/libswscale/yuv2rgb_mlib.c
+++ b/libswscale/yuv2rgb_mlib.c
@@ -73,7 +73,7 @@ static int mlib_YUV2RGB420_24(SwsContext *c, uint8_t* src[], int srcStride[], in
}
-SwsFunc yuv2rgb_init_mlib(SwsContext *c)
+SwsFunc sws_yuv2rgb_init_mlib(SwsContext *c)
{
switch(c->dstFormat){
case PIX_FMT_RGB24: return mlib_YUV2RGB420_24;
diff --git a/libswscale/yuv2rgb_vis.c b/libswscale/yuv2rgb_vis.c
index 42a0094f68..5c9698510d 100644
--- a/libswscale/yuv2rgb_vis.c
+++ b/libswscale/yuv2rgb_vis.c
@@ -182,7 +182,7 @@ static int vis_422P_ARGB32(SwsContext *c, uint8_t* src[], int srcStride[], int s
return srcSliceH;
}
-SwsFunc yuv2rgb_init_vis(SwsContext *c) {
+SwsFunc sws_yuv2rgb_init_vis(SwsContext *c) {
c->sparc_coeffs[5]=c->yCoeff;
c->sparc_coeffs[6]=c->vgCoeff;
c->sparc_coeffs[7]=c->vrCoeff;
diff --git a/libvo/aclib.c b/libvo/aclib.c
index bc9bb2e55c..cae86dd3d4 100644
--- a/libvo/aclib.c
+++ b/libvo/aclib.c
@@ -1,12 +1,27 @@
-#include "config.h"
-#ifdef CONFIG_FASTMEMCPY
-
/*
- aclib - advanced C library ;)
- This file contains functions which improve and expand standard C-library
- see aclib_template.c ... this file only contains runtime cpu detection and config options stuff
- runtime cpu detection by michael niedermayer (michaelni@gmx.at) is under GPL
-*/
+ * aclib - advanced C library ;)
+ * Functions which improve and expand the standard C library, see aclib_template.c.
+ * This file only contains runtime CPU detection and config option stuff.
+ * runtime CPU detection by Michael Niedermayer (michaelni@gmx.at)
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "config.h"
#include <stddef.h>
#include <string.h>
#include "cpudetect.h"
@@ -210,5 +225,3 @@ void * mem2agpcpy(void * to, const void * from, size_t len)
#endif //!RUNTIME_CPUDETECT
return to;
}
-
-#endif /* CONFIG_FASTMEMCPY */
diff --git a/libvo/aclib_template.c b/libvo/aclib_template.c
index ab2ed6e5f5..a0c5aae55d 100644
--- a/libvo/aclib_template.c
+++ b/libvo/aclib_template.c
@@ -1,7 +1,23 @@
/*
- aclib - advanced C library ;)
- This file contains functions which improve and expand standard C-library
-*/
+ * aclib - advanced C library ;)
+ * functions which improve and expand the standard C library
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#if !HAVE_SSE2
/*
diff --git a/libvo/aspect.c b/libvo/aspect.c
index 5a2091baba..367cdec076 100644
--- a/libvo/aspect.c
+++ b/libvo/aspect.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
/* Stuff for correct aspect scaling. */
#include "aspect.h"
#include "geometry.h"
diff --git a/libvo/aspect.h b/libvo/aspect.h
index 5fa313d7ff..89839e2c94 100644
--- a/libvo/aspect.h
+++ b/libvo/aspect.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_ASPECT_H
#define MPLAYER_ASPECT_H
/* Stuff for correct aspect scaling. */
diff --git a/libvo/aspecttest.c b/libvo/aspecttest.c
index 5cb0585bff..9beebcf766 100644
--- a/libvo/aspecttest.c
+++ b/libvo/aspecttest.c
@@ -1,4 +1,22 @@
-/* test app for aspect.[ch] by Atmos */
+/*
+ * test app for aspect.[ch] by Atmos
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/font_load.c b/libvo/font_load.c
index ba747dc7dc..ad2311e37a 100644
--- a/libvo/font_load.c
+++ b/libvo/font_load.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#include "config.h"
#include <stdio.h>
diff --git a/libvo/font_load.h b/libvo/font_load.h
index 6bb4a175e3..c945d11277 100644
--- a/libvo/font_load.h
+++ b/libvo/font_load.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_FONT_LOAD_H
#define MPLAYER_FONT_LOAD_H
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 67707dff7b..ac9bcbfa75 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -4,9 +4,23 @@
*
* Artur Zaprzala <zybi@fanthom.irc.pl>
*
- * ported inside mplayer by Jindrich Makovicka
- * <makovick@gmail.com>
+ * ported inside MPlayer by Jindrich Makovicka <makovick@gmail.com>
*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 1662c7a5d3..978866e340 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_GL_COMMON_H
#define MPLAYER_GL_COMMON_H
diff --git a/libvo/gtf.h b/libvo/gtf.h
index 3928ad9be2..057d7b352e 100644
--- a/libvo/gtf.h
+++ b/libvo/gtf.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_GTF_H
#define MPLAYER_GTF_H
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 14fc47f754..06d374f9fd 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include "fastmemcpy.h"
#include "cpudetect.h"
diff --git a/libvo/osd.c b/libvo/osd.c
index 80a8da7f1c..6660500ecd 100644
--- a/libvo/osd.c
+++ b/libvo/osd.c
@@ -1,6 +1,24 @@
-// Generic alpha renderers for all YUV modes and RGB depths.
-// These are "reference implementations", should be optimized later (MMX, etc)
-// Templating Code from Michael Niedermayer (michaelni@gmx.at) is under GPL
+/*
+ * generic alpha renderers for all YUV modes and RGB depths
+ * These are "reference implementations", should be optimized later (MMX, etc).
+ * templating code by Michael Niedermayer (michaelni@gmx.at)
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
//#define FAST_OSD
//#define FAST_OSD_TABLE
diff --git a/libvo/osd.h b/libvo/osd.h
index 897f79faa3..7773149b79 100644
--- a/libvo/osd.h
+++ b/libvo/osd.h
@@ -1,10 +1,27 @@
+/*
+ * generic alpha renderers for all YUV modes and RGB depths
+ * These are "reference implementations", should be optimized later (MMX, etc).
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#ifndef MPLAYER_OSD_H
#define MPLAYER_OSD_H
-// Generic alpha renderers for all YUV modes and RGB depths.
-// These are "reference implementations", should be optimized later (MMX, etc)
-
void vo_draw_alpha_init(void); // build tables
void vo_draw_alpha_yv12(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
diff --git a/libvo/osd_font.h b/libvo/osd_font.h
index 99d162060c..6be45bc1fa 100644
--- a/libvo/osd_font.h
+++ b/libvo/osd_font.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_OSD_FONT_H
#define MPLAYER_OSD_FONT_H
diff --git a/libvo/osd_template.c b/libvo/osd_template.c
index bc37b9d460..954135c55a 100644
--- a/libvo/osd_template.c
+++ b/libvo/osd_template.c
@@ -1,6 +1,23 @@
-// Generic alpha renderers for all YUV modes and RGB depths.
-// Optimized by Nick and Michael
-// Code from Michael Niedermayer (michaelni@gmx.at) is under GPL
+/*
+ * generic alpha renderers for all YUV modes and RGB depths
+ * Optimized by Nick and Michael.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#undef PREFETCH
#undef EMMS
diff --git a/libvo/sub.c b/libvo/sub.c
index d4efcb9a5c..47bfdac2e8 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/sub.h b/libvo/sub.h
index 9c4dc78525..d5a30e0b86 100644
--- a/libvo/sub.h
+++ b/libvo/sub.h
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#ifndef MPLAYER_SUB_H
#define MPLAYER_SUB_H
diff --git a/libvo/video_out.c b/libvo/video_out.c
index d0a873a486..5dc28522b5 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -1,6 +1,22 @@
-
-/* this file contains libvo's common functions, variables used by
- many/all drivers. */
+/*
+ * libvo common functions, variables used by many/all drivers.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/video_out.h b/libvo/video_out.h
index e0bc79976e..a5f90305b4 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -1,12 +1,25 @@
/*
- * video_out.h
+ * Copyright (C) Aaron Holtzman - Aug 1999
+ * Strongly modified, most parts rewritten: A'rpi/ESP-team - 2000-2001
+ * (C) MPlayer developers
*
- * Copyright (C) Aaron Holtzman - Aug 1999
- * Strongly modified, most parts rewritten: A'rpi/ESP-team - 2000-2001
- * (C) MPlayer Developers
+ * This file is part of MPlayer.
*
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-
+
#ifndef MPLAYER_VIDEO_OUT_H
#define MPLAYER_VIDEO_OUT_H
diff --git a/libvo/videodev_mjpeg.h b/libvo/videodev_mjpeg.h
index 74962e9f5e..35c8b41d2f 100644
--- a/libvo/videodev_mjpeg.h
+++ b/libvo/videodev_mjpeg.h
@@ -1,7 +1,23 @@
-/* These are the MJPEG API extensions for the Video4Linux API,
- first introduced by the Iomega Buz driver by Rainer Johanni
- <rainer@johanni.de>
-*/
+/*
+ * MJPEG API extensions for the Video4Linux API, first introduced by the
+ * Iomega Buz driver by Rainer Johanni <rainer@johanni.de>.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#ifndef MPLAYER_VIDEODEV_MJPEG_H
#define MPLAYER_VIDEODEV_MJPEG_H
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index 1be77fd93e..d0807dc132 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -1,13 +1,23 @@
/*
- * MPlayer
- *
- * Video driver for AAlib - 1.0
- *
- * by Folke Ashberg <folke@ashberg.de>
- *
- * Code started: Sun Aug 12 2001
- * Version 1.0 : Thu Aug 16 2001
+ * video output driver for AAlib
*
+ * copyright (c) 2001 Folke Ashberg <folke@ashberg.de>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_caca.c b/libvo/vo_caca.c
index 46dab1d7c6..c9bdd19568 100644
--- a/libvo/vo_caca.c
+++ b/libvo/vo_caca.c
@@ -1,14 +1,27 @@
/*
- * MPlayer
- *
- * Video driver for libcaca
- *
+ * video output driver for libcaca
+ *
* by Pigeon <pigeon@pigeond.net>
*
* Some functions/codes/ideas are from x11 and aalib vo
*
- * TODO: support those draw_alpha stuff?
- *
+ * TODO: support draw_alpha?
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_cvidix.c b/libvo/vo_cvidix.c
index 75effe0350..9fa24fa7c4 100644
--- a/libvo/vo_cvidix.c
+++ b/libvo/vo_cvidix.c
@@ -1,12 +1,26 @@
/*
- VIDIX accelerated overlay on (black) background
-
- should work on any OS
-
- (C) Sascha Sommer
-
-
-*/
+ * VIDIX-accelerated overlay on (black) background
+ *
+ * should work on any OS
+ *
+ * copyright (C) 2003 Sascha Sommer
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c
index cafa6f2ceb..f41102ab4b 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -190,7 +190,7 @@ static void calc_fs_rect(void)
}
mp_msg(MSGT_VO, MSGL_V,
- "<vo_direct3d>Fullscreen Movie Rect: t: %ld, l: %ld, r: %ld, b:%ld\r\n",
+ "<vo_direct3d>Fullscreen movie rectangle: t: %ld, l: %ld, r: %ld, b:%ld\n",
priv->fs_movie_rect.top, priv->fs_movie_rect.left,
priv->fs_movie_rect.right, priv->fs_movie_rect.bottom);
@@ -205,7 +205,7 @@ static void calc_fs_rect(void)
*/
static void destroy_d3d_surfaces(void)
{
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>destroy_d3d_surfaces called\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>destroy_d3d_surfaces called.\n");
/* Let's destroy the old (if any) D3D Surfaces */
if (priv->locked_rect.pBits)
@@ -238,14 +238,14 @@ static int create_d3d_surfaces(void)
{
int osd_width = vo_dwidth, osd_height = vo_dheight;
int tex_width = osd_width, tex_height = osd_height;
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>create_d3d_surfaces called.\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>create_d3d_surfaces called.\n");
if (!priv->d3d_surface &&
FAILED(IDirect3DDevice9_CreateOffscreenPlainSurface(
priv->d3d_device, priv->src_width, priv->src_height,
priv->movie_src_fmt, D3DPOOL_DEFAULT, &priv->d3d_surface, NULL))) {
mp_msg(MSGT_VO, MSGL_ERR,
- "<vo_direct3d><INFO>IDirect3D9_CreateOffscreenPlainSurface Failed.\n");
+ "<vo_direct3d>Allocating offscreen surface failed.\n");
return 0;
}
@@ -253,7 +253,7 @@ static int create_d3d_surfaces(void)
FAILED(IDirect3DDevice9_GetBackBuffer(priv->d3d_device, 0, 0,
D3DBACKBUFFER_TYPE_MONO,
&priv->d3d_backbuf))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Back Buffer address get failed\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Allocating backbuffer failed.\n");
return 0;
}
@@ -284,7 +284,7 @@ static int create_d3d_surfaces(void)
priv->osd_texture_width = tex_width;
priv->osd_texture_height = tex_height;
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>surface (%d, %d) requested = (%d, %d)\n",
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>OSD texture size (%dx%d), requested (%dx%d).\n",
vo_dwidth, vo_dheight, priv->osd_texture_width, priv->osd_texture_height);
/* create OSD */
@@ -299,7 +299,7 @@ static int create_d3d_surfaces(void)
&priv->d3d_texture_system,
NULL))) {
mp_msg(MSGT_VO,MSGL_ERR,
- "<vo_direct3d><INFO>IDirect3DDevice9_CreateTexture Failed (d3d_texture_system).\n");
+ "<vo_direct3d>Allocating OSD texture in system RAM failed.\n");
return 0;
}
@@ -316,7 +316,7 @@ static int create_d3d_surfaces(void)
&priv->d3d_texture_osd,
NULL))) {
mp_msg(MSGT_VO,MSGL_ERR,
- "<vo_direct3d><INFO>IDirect3DDevice9_CreateTexture Failed (d3d_texture_osd).\n");
+ "<vo_direct3d>Allocating OSD texture in video RAM failed.\n");
return 0;
}
}
@@ -382,20 +382,20 @@ static int change_d3d_backbuffer(back_buffer_action_e action)
D3DDEVTYPE_HAL, vo_w32_window,
D3DCREATE_SOFTWARE_VERTEXPROCESSING,
&present_params, &priv->d3d_device))) {
- mp_msg(MSGT_VO, MSGL_ERR,
- "<vo_direct3d><INFO>Could not create the D3D device\n");
+ mp_msg(MSGT_VO, MSGL_V,
+ "<vo_direct3d>Creating Direct3D device failed.\n");
return 0;
}
if (action == BACKBUFFER_RESET &&
FAILED(IDirect3DDevice9_Reset(priv->d3d_device, &present_params))) {
mp_msg(MSGT_VO, MSGL_ERR,
- "<vo_direct3d><INFO>Could not reset the D3D device\n");
+ "<vo_direct3d>Reseting Direct3D device failed.\n");
return 0;
}
mp_msg(MSGT_VO, MSGL_V,
- "<vo_direct3d><INFO>New backbuffer: Width: %d, Height:%d. VO Dest Width:%d, Height: %d\n",
+ "<vo_direct3d>New backbuffer (%dx%d), VO (%dx%d)\n",
present_params.BackBufferWidth, present_params.BackBufferHeight,
vo_dwidth, vo_dheight);
@@ -411,7 +411,7 @@ static int configure_d3d(void)
D3DDISPLAYMODE disp_mode;
D3DVIEWPORT9 vp = {0, 0, vo_dwidth, vo_dheight, 0, 1};
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>configure_d3d called\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>configure_d3d called.\n");
destroy_d3d_surfaces();
@@ -421,7 +421,7 @@ static int configure_d3d(void)
D3DADAPTER_DEFAULT,
&disp_mode))) {
mp_msg(MSGT_VO, MSGL_ERR,
- "<vo_direct3d><INFO>Could not read adapter display mode.\n");
+ "<vo_direct3d>Reading adapter display mode failed.\n");
return 0;
}
@@ -436,7 +436,7 @@ static int configure_d3d(void)
if (FAILED(IDirect3DDevice9_SetViewport(priv->d3d_device,
&vp))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Unable to set the viewport\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Setting viewport failed.\n");
return 0;
}
@@ -451,7 +451,7 @@ static int configure_d3d(void)
*/
static int reconfigure_d3d(void)
{
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>reconfigure_d3d called.\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>reconfigure_d3d called.\n");
/* Destroy the offscreen, OSD and backbuffer surfaces */
destroy_d3d_surfaces();
@@ -467,7 +467,7 @@ static int reconfigure_d3d(void)
/* Initialize Direct3D from the beginning */
priv->d3d_handle = Direct3DCreate9(D3D_SDK_VERSION);
if (!priv->d3d_handle) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Unable to initialize Direct3D\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Initializing Direct3D failed.\n");
return 0;
}
@@ -485,7 +485,7 @@ static int resize_d3d(void)
{
D3DVIEWPORT9 vp = {0, 0, vo_dwidth, vo_dheight, 0, 1};
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>resize_d3d called.\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>resize_d3d called.\n");
/* Make sure that backbuffer is large enough to accomodate the new
viewport dimensions. Grow it if necessary. */
@@ -519,7 +519,7 @@ static int resize_d3d(void)
if (FAILED(IDirect3DDevice9_SetViewport(priv->d3d_device,
&vp))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Unable to set the viewport\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Setting viewport failed.\n");
return 0;
}
@@ -539,7 +539,7 @@ static int resize_d3d(void)
*/
static void uninit_d3d(void)
{
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>uninit_d3d called\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>uninit_d3d called.\n");
destroy_d3d_surfaces();
@@ -550,7 +550,7 @@ static void uninit_d3d(void)
/* Stop the whole D3D. */
if (priv->d3d_handle) {
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Calling IDirect3D9_Release\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Stopping Direct3D.\n");
IDirect3D9_Release(priv->d3d_handle);
}
priv->d3d_handle = NULL;
@@ -583,7 +583,7 @@ static uint32_t render_d3d_frame(mp_image_t *mpi)
if (!priv->locked_rect.pBits) {
if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface,
&priv->locked_rect, NULL, 0))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Surface lock failure\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Surface lock failed.\n");
return VO_ERROR;
}
}
@@ -594,13 +594,13 @@ static uint32_t render_d3d_frame(mp_image_t *mpi)
skip_upload:
/* This unlock is used for both slice_draw path and render_d3d_frame path. */
if (FAILED(IDirect3DSurface9_UnlockRect(priv->d3d_surface))) {
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Surface unlock failure\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Surface unlock failed.\n");
return VO_ERROR;
}
priv->locked_rect.pBits = NULL;
if (FAILED(IDirect3DDevice9_BeginScene(priv->d3d_device))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>BeginScene failed\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>BeginScene failed.\n");
return VO_ERROR;
}
@@ -617,12 +617,12 @@ skip_upload:
&priv->fs_movie_rect,
D3DTEXF_LINEAR))) {
mp_msg(MSGT_VO, MSGL_ERR,
- "<vo_direct3d>Unable to copy the frame to the back buffer\n");
+ "<vo_direct3d>Copying frame to the backbuffer failed.\n");
return VO_ERROR;
}
if (FAILED(IDirect3DDevice9_EndScene(priv->d3d_device))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>EndScene failed\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>EndScene failed.\n");
return VO_ERROR;
}
@@ -693,7 +693,7 @@ static int preinit(const char *arg)
/* Set to zero all global variables. */
priv = calloc(1, sizeof(struct global_priv));
if (!priv) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Not enough memory\r\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Allocating private memory failed.\n");
return -1;
}
@@ -704,14 +704,14 @@ static int preinit(const char *arg)
priv->d3d_handle = Direct3DCreate9(D3D_SDK_VERSION);
if (!priv->d3d_handle) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Unable to initialize Direct3D\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Initializing Direct3D failed.\n");
return -1;
}
if (FAILED(IDirect3D9_GetAdapterDisplayMode(priv->d3d_handle,
D3DADAPTER_DEFAULT,
&disp_mode))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Could not read display mode\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Reading display mode failed.\n");
return -1;
}
@@ -720,14 +720,14 @@ static int preinit(const char *arg)
priv->cur_backbuf_width = disp_mode.Width;
priv->cur_backbuf_height = disp_mode.Height;
- mp_msg(MSGT_VO, MSGL_V, "Setting backbuffer to the screen width: %d, height: %d\n",
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Setting backbuffer dimensions to (%dx%d).\n",
disp_mode.Width, disp_mode.Height);
if (FAILED(IDirect3D9_GetDeviceCaps(priv->d3d_handle,
D3DADAPTER_DEFAULT,
D3DDEVTYPE_HAL,
&disp_caps))) {
- mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Could not read display capabilities\n");
+ mp_msg(MSGT_VO, MSGL_ERR, "<vo_direct3d>Reading display capabilities failed.\n");
return -1;
}
@@ -752,7 +752,7 @@ static int preinit(const char *arg)
* fullscreen dimensions and does other useful stuff.
*/
if (!vo_w32_init()) {
- mp_msg(MSGT_VO, MSGL_V, "Unable to configure onscreen window\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Configuring onscreen window failed.\n");
return -1;
}
@@ -771,7 +771,7 @@ static int control(uint32_t request, void *data)
return query_format(*(uint32_t*) data);
case VOCTRL_GET_IMAGE: /* Direct Rendering. Not implemented yet. */
mp_msg(MSGT_VO, MSGL_V,
- "<vo_direct3d>Direct Rendering request. Not implemented yet\n");
+ "<vo_direct3d>Direct Rendering request. Not implemented yet.\n");
return VO_NOTIMPL;
case VOCTRL_DRAW_IMAGE:
return render_d3d_frame(data);
@@ -835,7 +835,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
* the given coordinates.
*/
if (!vo_w32_config(d_width, d_height, options)) {
- mp_msg(MSGT_VO, MSGL_V, "Unable to create onscreen window\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Creating onscreen window failed.\n");
return VO_ERROR;
}
@@ -881,7 +881,7 @@ static void flip_page(void)
*/
static void uninit(void)
{
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Uninitialization\r\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>uninit called.\n");
uninit_d3d();
vo_w32_uninit(); /* w32_common framework call */
@@ -924,7 +924,7 @@ static int draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y )
if (!priv->locked_rect.pBits) {
if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface,
&priv->locked_rect, NULL, 0))) {
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Surface lock failure\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Surface lock failure.\n");
return VO_FALSE;
}
}
@@ -971,7 +971,7 @@ static int draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y )
*/
static int draw_frame(uint8_t *src[])
{
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>draw_frame called\n");
+ mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>draw_frame called.\n");
return VO_FALSE;
}
@@ -1008,7 +1008,7 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
if (FAILED(IDirect3DTexture9_LockRect(priv->d3d_texture_system, 0,
&locked_rect, NULL, 0))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>IDirect3DTexture9_LockRect failure.\n");
+ mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>OSD texture lock failed.\n");
return;
}
@@ -1017,7 +1017,7 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
/* this unlock is used for both slice_draw path and D3DRenderFrame path */
if (FAILED(IDirect3DTexture9_UnlockRect(priv->d3d_texture_system, 0))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>IDirect3DTexture9_UnlockRect failure.\n");
+ mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>OSD texture unlock failed.\n");
return;
}
@@ -1039,7 +1039,7 @@ static void draw_osd(void)
/* clear the OSD */
if (FAILED(IDirect3DTexture9_LockRect(priv->d3d_texture_system, 0,
&locked_rect, NULL, 0))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>IDirect3DTexture9_LockRect failure.\n");
+ mp_msg(MSGT_VO,MSGL_ERR, "<vo_direct3d>OSD texture lock failed.\n");
return;
}
@@ -1048,7 +1048,7 @@ static void draw_osd(void)
/* this unlock is used for both slice_draw path and D3DRenderFrame path */
if (FAILED(IDirect3DTexture9_UnlockRect(priv->d3d_texture_system, 0))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>IDirect3DTexture9_UnlockRect failure.\n");
+ mp_msg(MSGT_VO,MSGL_ERR, "<vo_direct3d>OSD texture unlock failed.\n");
return;
}
@@ -1064,7 +1064,7 @@ static void draw_osd(void)
if (FAILED(IDirect3DDevice9_UpdateTexture(priv->d3d_device,
(IDirect3DBaseTexture9 *)priv->d3d_texture_system,
(IDirect3DBaseTexture9 *)priv->d3d_texture_osd))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>IDirect3DDevice9_UpdateTexture failure.\n");
+ mp_msg(MSGT_VO,MSGL_ERR, "<vo_direct3d>OSD texture transfer failed.\n");
return;
}
}
@@ -1088,7 +1088,7 @@ static void draw_osd(void)
osd_quad_vb[3].tv = (float)priv->osd_height / priv->osd_texture_height;
if (FAILED(IDirect3DDevice9_BeginScene(priv->d3d_device))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>BeginScene failed\n");
+ mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>BeginScene failed.\n");
return;
}
@@ -1109,7 +1109,7 @@ static void draw_osd(void)
IDirect3DDevice9_SetRenderState(priv->d3d_device, D3DRS_ALPHABLENDENABLE, FALSE);
if (FAILED(IDirect3DDevice9_EndScene(priv->d3d_device))) {
- mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>EndScene failed\n");
+ mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>EndScene failed.\n");
return;
}
}
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c
index 914da3e5cf..ccbef40b61 100644
--- a/libvo/vo_dxr2.c
+++ b/libvo/vo_dxr2.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include "fastmemcpy.h"
#include <stdio.h>
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index 3fa0ed9c6d..74250b382c 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -1,8 +1,23 @@
/*
- * vo_dxr3.c - DXR3/H+ video out
+ * DXR3/H+ video output
*
* Copyright (C) 2002-2003 David Holm <david@realityrift.com>
*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <linux/em8300.h>
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c
index 310e3e0400..a5e51c31f0 100644
--- a/libvo/vo_fbdev.c
+++ b/libvo/vo_fbdev.c
@@ -1,10 +1,25 @@
/*
- * Video driver for Framebuffer device
- * by Szabolcs Berecz <szabi@inf.elte.hu>
- * (C) 2001
+ * video driver for framebuffer device
+ * copyright (C) 2001 Szabolcs Berecz <szabi@inf.elte.hu>
*
* Some idea and code borrowed from Chris Lawrence's ppmtofb-0.27
* Some fixes and small improvements by Joey Parrish <joey@nicewarrior.org>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_fbdev2.c b/libvo/vo_fbdev2.c
index 0b6fda1ea7..2a64ed0612 100644
--- a/libvo/vo_fbdev2.c
+++ b/libvo/vo_fbdev2.c
@@ -1,7 +1,22 @@
/*
- * Video driver for Framebuffer device
- * by Joey Parrish <joey@nicewarrior.org>
- * (C) 2003
+ * video driver for framebuffer device
+ * copyright (C) 2003 Joey Parrish <joey@nicewarrior.org>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_ggi.c b/libvo/vo_ggi.c
index 935e64ea95..2be65696f5 100644
--- a/libvo/vo_ggi.c
+++ b/libvo/vo_ggi.c
@@ -1,18 +1,34 @@
/*
- vo_ggi.c - General Graphics Interface (GGI) Renderer for MPlayer
-
- (C) Alex Beregszaszi
-
- Uses libGGI - http://www.ggi-project.org/
-
- TODO:
- * implement gamma handling (VAA isn't obsoleted?)
-
- Thanks to Andreas Beck for his patches.
-
- Many thanks to Atmosfear, he hacked this driver to work with Planar
- formats, and he fixed the RGB handling.
-*/
+ * General Graphics Interface (GGI) vo driver
+ *
+ * copyright (C) 2001 Alex Beregszaszi
+ *
+ * Uses libGGI - http://www.ggi-project.org/
+ *
+ * TODO:
+ * * implement gamma handling (VAA isn't obsoleted?)
+ *
+ * Thanks to Andreas Beck for his patches.
+ *
+ * Many thanks to Atmosfear, he hacked this driver to work with planar
+ * formats, and he fixed the RGB handling.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 618b13e5f7..8b19e30d21 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 602de115d8..0b7393a6ef 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -1,7 +1,23 @@
/*
- * video_out_gl.c, X11/OpenGL interface
+ * X11/OpenGL interface
* based on video_out_x11 by Aaron Holtzman,
* and WS opengl window manager by Pontscho/Fresh!
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_macosx.h b/libvo/vo_macosx.h
index 6320b49651..7444bcbf5a 100644
--- a/libvo/vo_macosx.h
+++ b/libvo/vo_macosx.h
@@ -1,12 +1,24 @@
/*
- vo_macosx.h
-
- by Nicolas Plourde <nicolasplourde@gmail.com>
-
- Copyright (c) Nicolas Plourde - 2005
-
- MPlayer Mac OSX video out module.
-*/
+ * MPlayer Mac OS X video output driver
+ *
+ * Copyright (c) 2005 Nicolas Plourde <nicolasplourde@gmail.com>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 38a9c9dbe9..2c7bed9e53 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -1,4 +1,22 @@
/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+/*
vo_macosx.m
by Nicolas Plourde <nicolasplourde@gmail.com>
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c
index ff6d4cf19a..a29bfe2d17 100644
--- a/libvo/vo_mga.c
+++ b/libvo/vo_mga.c
@@ -1,5 +1,21 @@
-/*
- * output through mga_vid kernel driver
+/*
+ * video output through mga_vid kernel driver
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index 3971abdb69..3ff03bf205 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -1,15 +1,28 @@
-/*
- * Based on:
- *
- * test_av.c - Test program for new API
+/*
+ * based on: test_av.c - test program for new API
*
* Copyright (C) 2000 Ralph Metzler <ralph@convergence.de>
* & Marcus Metzler <marcus@convergence.de>
* for convergence integrated media GmbH
*
- * libav - MPEG-PS multiplexer, part of ffmpeg
- * Copyright Gerard Lantau (see http://ffmpeg.sf.net)
+ * MPEG-PS multiplexer, part of FFmpeg
+ * Copyright Gerard Lantau (see http://ffmpeg.org)
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
diff --git a/libvo/vo_png.c b/libvo/vo_png.c
index c1a93c26f0..0e28b0e2e0 100644
--- a/libvo/vo_png.c
+++ b/libvo/vo_png.c
@@ -1,10 +1,25 @@
-/*
- * vo_png.c, Portable Network Graphics Renderer for MPlayer
+/*
+ * Portable Network Graphics renderer
*
* Copyright 2001 by Felix Buenemann <atmosfear@users.sourceforge.net>
*
* Uses libpng (which uses zlib), so see according licenses.
*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 880efe5eb2..97ca656b8d 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
/**
\author Nicolas Plourde <nicolasplourde@gmail.com>
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index 522ea8c83a..b72a6aded7 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -1,11 +1,28 @@
/*
+ * video driver for SVGAlib
+ * by Zoltan Mark Vician <se7en@sch.bme.hu>
+ * Code started: Mon Apr 1 23:25:47 2001
+ * Some changes by Matan Ziv-Av <matan@svgalib.org>
+ * complete rewrite by Ivan Kalvachev 19 Mar 2003
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
- Video driver for SVGAlib
- by Zoltan Mark Vician <se7en@sch.bme.hu>
- Code started: Mon Apr 1 23:25:47 2001
- Some changes by Matan Ziv-Av <matan@svgalib.org>
- Compleat rewrite by Ivan Kalvachev 19 Mar 2003:
-
+/*
Wrangings:
- 1bpp doesn't work right for me with '-double' and svgalib 1.4.3,
but works OK with svgalib 1.9.17
diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c
index e5cd90181b..70408cc0e4 100644
--- a/libvo/vo_tga.c
+++ b/libvo/vo_tga.c
@@ -1,28 +1,46 @@
-/*
- * vo_tga.c: targa output
+/*
+ * TARGA video output
*
- * this video output module write targa uncompressed file in 15, 24 and 32 bit bgr format.
+ * This video output module writes TARGA uncompressed files in 15, 24 and 32
+ * bit BGR format.
*
* to select the output format use the format filter:
* mplayer -vo tga -vf format=bgr15 ...
* mplayer -vo tga -vf format=bgr24 ...
* mplayer -vo tga -vf format=bgr32 ...
*
- * The 16 bit file are loaded without problem from Gimp and ImageMagick but give an error
- * with entice (a visualizer from the enlightenment package that use the imlib2 package).
+ * The 16 bit files are loaded without problem from Gimp and ImageMagick but
+ * give an error with entice (a visualizer from the enlightenment package
+ * that uses the imlib2 package).
*
- * In 32 bit mode the alpha channel is set to 255 (0xff). For big endian
- * machines, TGA_ALPHA32 changes from 0xff000000 to 0x000000ff, and TGA_SHIFT32 from 0 to 8.
+ * In 32-bit mode the alpha channel is set to 255 (0xff). For big-endian
+ * machines, TGA_ALPHA32 changes from 0xff000000 to 0x000000ff, and
+ * TGA_SHIFT32 from 0 to 8.
*
- * I need to fill the alpha channel because entice consider that alpha channel (and displays
- * nothing, only the background!), but ImageMacick (the program display) or gimp doesn't
- * care.
+ * I need to fill the alpha channel because entice considers that alpha
+ * channel (and displays nothing, only the background!), but ImageMagick
+ * (the program display) or gimp doesn't care.
*
- * maybe is possible (with a compilation switch) to avoid the fill of the alpha channel
- * and work outside mplayer (if needed)
+ * Maybe it is possible (with a compilation switch) to avoid the fill of
+ * the alpha channel and work outside MPlayer (if needed).
*
* Daniele Forghieri ( guru@digitalfantasy.it )
*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/vo_winvidix.c b/libvo/vo_winvidix.c
index d5aae17f34..054e13730e 100644
--- a/libvo/vo_winvidix.c
+++ b/libvo/vo_winvidix.c
@@ -1,10 +1,24 @@
/*
- VIDIX accelerated overlay in a WIN32 window
-
- (C) Sascha Sommer
-
-
-*/
+ * VIDIX-accelerated overlay in a Win32 window
+ *
+ * copyright (C) 2003 Sascha Sommer
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 0af5331891..4e6b1b79fb 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index 6ac295af0e..b0d44440bb 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -1,13 +1,25 @@
-
-//#define SHOW_TIME
-
/*
- * vo_xmga.c
+ * copyright (C) 2001 Zoltan Ponekker
+ *
+ * This file is part of MPlayer.
*
- * Copyright (C) Zoltan Ponekker - Jan 2001
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+//#define SHOW_TIME
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index ba92f5dd0f..4935ca0fd7 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -1,13 +1,29 @@
/*
- XOver a general x11 vo for mplayer overlay drivers based on :
- VIDIX accelerated overlay in a X window
-
- (C) Alex Beregszaszi & Zoltan Ponekker & Nick Kurshev
-
- WS window manager by Pontscho/Fresh!
-
- Based on vo_gl.c and vo_vesa.c and vo_xmga.c (.so mastah! ;))
-*/
+ * XOver a general x11 vo for MPlayer overlay drivers based on:
+ * VIDIX-accelerated overlay in an X window
+ *
+ * copyright (C) Alex Beregszaszi & Zoltan Ponekker & Nick Kurshev
+ *
+ * WS window manager by Pontscho/Fresh!
+ *
+ * based on vo_gl.c and vo_vesa.c and vo_xmga.c (.so mastah! ;))
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 541c6521ca..30f643477b 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -1,4 +1,22 @@
-/* vo_xv.c, X11 Xv interface */
+/*
+ * X11 Xv interface
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
// Number of buffers _FOR_DOUBLEBUFFERING_MODE_
// Use option -double to enable double buffering! (default: single buffer)
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c
index f8528348a6..620d6df3b5 100644
--- a/libvo/vo_xvidix.c
+++ b/libvo/vo_xvidix.c
@@ -1,12 +1,28 @@
/*
- VIDIX accelerated overlay in a X window
-
- (C) Alex Beregszaszi & Zoltan Ponekker & Nick Kurshev
-
- WS window manager by Pontscho/Fresh!
-
- Based on vo_gl.c and vo_vesa.c and vo_xmga.c (.so mastah! ;))
-*/
+ * VIDIX-accelerated overlay in an X window
+ *
+ * copyright (C) Alex Beregszaszi & Zoltan Ponekker & Nick Kurshev
+ *
+ * WS window manager by Pontscho/Fresh!
+ *
+ * based on vo_gl.c and vo_vesa.c and vo_xmga.c (.so mastah! ;))
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index ebc3b6be3d..58ab9610c9 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c
index 759f0537ec..420e7fea91 100644
--- a/libvo/vo_yuv4mpeg.c
+++ b/libvo/vo_yuv4mpeg.c
@@ -1,8 +1,7 @@
-/*
- * vo_yuv4mpeg.c, yuv4mpeg (mjpegtools) interface
+/*
+ * yuv4mpeg (mjpegtools) interface
*
- * Thrown together by
- * Robert Kesterson <robertk@robertk.com>
+ * Thrown together by Robert Kesterson <robertk@robertk.com>
* Based on the pgm output plugin, the rgb2rgb postproc filter, divxdec,
* and probably others.
*
@@ -17,8 +16,24 @@
*
* 2002/04/17 Juergen Hammelmann <juergen.hammelmann@gmx.de>
* - added support for output of subtitles
- * best, if you give option '-osdlevel 0' to mplayer for
+ * best, if you give option '-osdlevel 0' to mplayer for
* no watching the seek+timer
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index 36fc344576..076544dbab 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#include <stdio.h>
#include <limits.h>
#include <windows.h>
diff --git a/libvo/w32_common.h b/libvo/w32_common.h
index 41c0712470..1c7864a249 100644
--- a/libvo/w32_common.h
+++ b/libvo/w32_common.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_W32_COMMON_H
#define MPLAYER_W32_COMMON_H
diff --git a/libvo/wskeys.h b/libvo/wskeys.h
index 31d650d63f..ef372e5c7f 100644
--- a/libvo/wskeys.h
+++ b/libvo/wskeys.h
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#ifndef MPLAYER_WSKEYS_H
#define MPLAYER_WSKEYS_H
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 7939adabac..c7864b14dd 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 7bcbd08d67..446a6903df 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_X11_COMMON_H
#define MPLAYER_X11_COMMON_H
diff --git a/mencoder.c b/mencoder.c
index 413d5b39a2..1661722679 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -142,9 +142,7 @@ double cur_video_time_usage=0;
double cur_vout_time_usage=0;
int benchmark=0;
-#if defined(__MINGW32__) || defined(__CYGWIN__)
-char * proc_priority=NULL;
-#endif
+#include "osdep/priority.h"
// A-V sync:
int delay_corrected=1;
@@ -481,17 +479,8 @@ if (frameno_filename) {
}
}
-#if defined(__MINGW32__) || defined(__CYGWIN__)
- if(proc_priority){
- int i;
- for(i=0; priority_presets_defs[i].name; i++){
- if(strcasecmp(priority_presets_defs[i].name, proc_priority) == 0)
- break;
- }
- mp_msg(MSGT_CPLAYER,MSGL_STATUS,MSGTR_SettingProcessPriority,
- priority_presets_defs[i].name);
- SetPriorityClass(GetCurrentProcess(), priority_presets_defs[i].prio);
- }
+#ifdef CONFIG_PRIORITY
+ set_priority();
#endif
// check font
diff --git a/mplayer.c b/mplayer.c
index 54331685f7..41dff2a72f 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -90,9 +90,7 @@ int quiet=0;
int enable_mouse_movements=0;
float start_volume = -1;
-#if defined(__MINGW32__) || defined(__CYGWIN__)
-char * proc_priority=NULL;
-#endif
+#include "osdep/priority.h"
char *heartbeat_cmd;
@@ -2628,19 +2626,16 @@ int gui_no_filename=0;
#endif
#if defined(__MINGW32__) || defined(__CYGWIN__)
+ // stop Windows from showing all kinds of annoying error dialogs
+ SetErrorMode(0x8003);
// request 1ms timer resolution
timeBeginPeriod(1);
- if(proc_priority){
- int i;
- for(i=0; priority_presets_defs[i].name; i++){
- if(strcasecmp(priority_presets_defs[i].name, proc_priority) == 0)
- break;
- }
- mp_msg(MSGT_CPLAYER,MSGL_STATUS,MSGTR_SettingProcessPriority,
- priority_presets_defs[i].name);
- SetPriorityClass(GetCurrentProcess(), priority_presets_defs[i].prio);
- }
#endif
+
+#ifdef CONFIG_PRIORITY
+ set_priority();
+#endif
+
#ifndef CONFIG_GUI
if(use_gui){
mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoGui);
diff --git a/osdep/priority.c b/osdep/priority.c
new file mode 100644
index 0000000000..7a75153fa0
--- /dev/null
+++ b/osdep/priority.c
@@ -0,0 +1,89 @@
+/*
+ * implementation of '-priority' for OS/2 and Win32
+ *
+ * Copyright (c) 2009 by KO Myung-Hun (komh@chollian.net)
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifdef __OS2__
+
+#define INCL_DOS
+#include <os2.h>
+
+#define REALTIME_PRIORITY_CLASS MAKESHORT(0, PRTYC_TIMECRITICAL)
+#define HIGH_PRIORITY_CLASS MAKESHORT(PRTYD_MAXIMUM, PRTYC_REGULAR)
+#define ABOVE_NORMAL_PRIORITY_CLASS MAKESHORT(PRTYD_MAXIMUM / 2, PRTYC_REGULAR)
+#define NORMAL_PRIORITY_CLASS MAKESHORT(0, PRTYC_REGULAR)
+#define BELOW_NORMAL_PRIORITY_CLASS MAKESHORT(PRTYD_MAXIMUM, PRTYC_IDLETIME)
+#define IDLE_PRIORITY_CLASS MAKESHORT(0, PRTYC_IDLETIME)
+
+#else
+
+#include <windows.h>
+
+#endif /* __OS2__ */
+
+#include <string.h>
+
+#include "mp_msg.h"
+#include "help_mp.h"
+
+#include "priority.h"
+
+char *proc_priority = NULL;
+
+void set_priority(void)
+{
+ struct {
+ char* name;
+ int prio;
+ } priority_presets_defs[] = {
+ { "realtime", REALTIME_PRIORITY_CLASS},
+ { "high", HIGH_PRIORITY_CLASS},
+#ifdef ABOVE_NORMAL_PRIORITY_CLASS
+ { "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS},
+#endif
+ { "normal", NORMAL_PRIORITY_CLASS},
+#ifdef BELOW_NORMAL_PRIORITY_CLASS
+ { "belownormal", BELOW_NORMAL_PRIORITY_CLASS},
+#endif
+ { "idle", IDLE_PRIORITY_CLASS},
+ { NULL, NORMAL_PRIORITY_CLASS} /* default */
+ };
+
+ if (proc_priority) {
+ int i;
+
+ for (i = 0; priority_presets_defs[i].name; i++) {
+ if (strcasecmp(priority_presets_defs[i].name, proc_priority) == 0)
+ break;
+ }
+ mp_msg(MSGT_CPLAYER, MSGL_STATUS, MSGTR_SettingProcessPriority,
+ priority_presets_defs[i].name);
+
+#ifdef __OS2__
+ DosSetPriority(PRTYS_PROCESS,
+ HIBYTE(priority_presets_defs[i].prio),
+ LOBYTE(priority_presets_defs[i].prio),
+ 0);
+#else
+ SetPriorityClass(GetCurrentProcess(), priority_presets_defs[i].prio);
+#endif
+ }
+}
+
diff --git a/osdep/priority.h b/osdep/priority.h
new file mode 100644
index 0000000000..cb4bc56c3f
--- /dev/null
+++ b/osdep/priority.h
@@ -0,0 +1,31 @@
+/*
+ * header for implementation of '-priority'
+ *
+ * Copyright (c) 2009 by KO Myung-Hun (komh@chollian.net)
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_PRIORITY_H
+#define MPLAYER_PRIORITY_H
+
+extern char *proc_priority;
+
+void set_priority(void);
+
+#endif /* MPLAYER_PRIORITY_H */
+