annotate DOCS/ro/codecs.html @ 10963:0db4771a4fca

rd cbp
author michael
date Tue, 30 Sep 2003 22:32:13 +0000
parents b83256bb0b69
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10850
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//ro">
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
2 <HTML>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
3
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
4 <HEAD>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
5 <TITLE>Codecuri - MPlayer - Media Player pentru Linux</TITLE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
6 <LINK REL="stylesheet" TYPE="text/css" HREF="../default.css">
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
8 </HEAD>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
9
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
10 <BODY>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
11
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
12
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
13 <H2><A NAME="codecs">2.2 Codecuri suportate</A></H2>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
14
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
15
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
16 <H3><A NAME="video_codecs">2.2.1 Codecuri video</A></H3>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
17
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
18 <P>Consultă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
19 <A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">tabelul cu starea codecurilor</A>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
20 pentru lista completă, generată zilnic. Câteva din ele sunt disponibile pentru
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
21 descărcare de pe pagina noastră. Se găsesc pe <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">pagina codecurilor</A>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
22
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
23 <P>Cele mai importante dintre ele sunt:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
24 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
25 <LI>video <B>MPEG1</B> (<B>VCD</B>) şi <B>MPEG2</B> (<B>DVD</B>) </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
26 <LI>decodoare native pentru <B>DivX ;-)</B>, <B>OpenDivX</B>, <B>DivX4</B>, <B>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
27 DivX5</B>, <B>M$ MPEG4</B> v1, v2 şi alte variante MPEG4</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
28 <LI>decodoare native pentru <B>Windows Media Video 7/8</B> (<B>WMV1/WMV2</B>), şi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
29 decodorul Win32 DLL pentru <B>Windows Media Video 9</B> (<B>WMV3</B>), ambele utilizate in fişiere de tip.wmv</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
30 <LI>decodor nativ <B>Sorenson 1 (SVQ1)</B> </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
31 <LI>decodor nativ <B>Sorenson 3 (SVQ3)</B> </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
32 <LI>decodor <B>3ivx</B> v1, v2 </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
33 <LI>codecuri Cinepak and <B>Intel Indeo</B> (3.1, 3.2, 4.1, 5.0)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
34 <LI><B>MJPEG</B>, AVID, VCR2, ASV2 şi alte formate hardware</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
35 <LI>VIVO 1.0, 2.0, I263 şi alte variante <B>h263</B>(+) </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
36 <LI>FLI/FLC</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
37 <LI>codecul <B>RealVideo 1.0</B> din libavcodec, şi <B>RealVideo 2.0</B>,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
38 <B>3.0</B> şi <B>4.0</B>, codecuri ce folosesc biblioteci Real Player</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
39 <LI>decodor nativ pentru HuffYUV</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
40 <LI>diferite formate simple mai vechi de tip RLE</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
41 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
42
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
43 <P>Dacă ai un codec Win32 absent din lista de faţă şi nesuportat încă, citeşte, te rog <A HREF="#importing">CUM SĂ imporţi codecuri</A> şi ajută-ne să-l implementăm.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
44
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
45
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
46 <H4><A NAME="divx">2.2.1.1 DivX4/DivX5</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
47
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
48 <P>Această secţiune conţine informaţii despre codecurile DivX4 şi DivX5 de la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
49 <A HREF="http://www.projectmayo.com">Project Mayo</A>. Prima lor versiune alfa disponibilă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
50 a fost OpenDivX 4.0 alfa 47 şi 48. Suportul pentru acesta a fost inclus în MPlayer, în trecut,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
51 devenind standard. De asemenea, am folosit codul lor de postprocesare pentru a îmbunătăţi, opţional, calitatea
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
52 vizuală a filmelor MPEG1/2.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
53 În prezent folosim propriul nostru cod, pentru toate tipurile de fişiere.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
54 </P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
55
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
56 <P>Noua generaţie a acestui codec este numită DivX4 şi poate decoda filme făcute cu
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
57 codecul de proastă reputaţie DivX! În plus, e mult mai rapid decât
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
58 Win32 DivX DLL nativ dar mai lent decât <B>libavcodec</B>. De acum încolo folosirea lui
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
59 ca decodor e <B>DESCURAJATĂ</B>. Oricum, e util pentru encodare. Un
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
60 dezavantaj al acestui codec este că nu e disponibil sub o licenţă Open Source.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
61 </P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
62
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
63 <P>DivX4Linux funcţionează în două moduri:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
64
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
65 <DL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
66 <DT><CODE>-vc odivx</CODE></DT>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
67 <DD>Foloseşte codecul în stilul OpenDivX. În acest caz,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
68 produce imagini YV12 în propriul buffer, iar MPlayer face conversia spaţiului de culoare folosind
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
69 libvo. (<B>Rapid, recomandat!</B>)</DD>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
70
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
71 <DT><CODE>-vc divx4</CODE></DT>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
72 <DD>Foloseşte conversia spaţiului de culoare a codecului.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
73 În acest mod poţi folosi, de asemenea,YUY2/UYVY. (<B>Lent</B>)</DD>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
74 </DL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
75
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
76 <P>Metoda <CODE>-vc odivx</CODE> este, de obicei, mai rapidă datorită faptului că
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
77 se transferă imaginile în formatul YV12 (planar YUV 4:2:0), folsind astfel mult mai puţin lăţimea de bandă pe magistrală.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
78 Pentru modurile comprimate YUV (YUY2, UYVY) foloseşte metoda
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
79 <CODE>-vc divx4</CODE>. Pentru modurile RGB viteza este aceeaşi, diferind
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
80 cu adâncimea de culoare curentă.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
81
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
82 <P><B>Notă:</B> Dacă driverul tău <CODE>-vo</CODE> suportă direct rendering, atunci
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
83 <CODE>-vc divx4</CODE> poate fi mai rapid sau chiar varianta cea mai rapidă.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
84
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
85 <P>Biblioteca binară a codecului Divx4/5 poate fi descărcată de la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
86 <A HREF="http://avifile.sourceforge.net">avifile</A> sau
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
87 <A HREF="http://www.divx.com">divx.com</A>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
88 Dezarhivează, rulează <CODE>./install.sh</CODE> ca utilizator root şi nu uita să adaugi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
89 <CODE>/usr/local/lib</CODE> în <CODE>/etc/ld.so.conf</CODE> şi apoi să rulezi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
90 <CODE>ldconfig</CODE>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
91
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
92 <P>Obţine versiunea CVS a bibliotecii nucleu a vechiului OpenDivx astfel:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
93
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
94 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
95 <LI><CODE>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot login</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
96 <LI><CODE>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot co divxcore</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
97 <LI>Această bibliotecă nucleu e împărţită într-o bibliotecă decore şi o bibliotecă encore ce au nevoie să fie compilate separat.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
98 Pentru biblioteca decore tastează:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
99 <PRE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
100 cd divxcore/decore/build/linux
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
101 make
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
102 cp libdivxdecore.so /usr/local/lib
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
103 ln -s libdivxdecore.so /usr/local/lib/libdivxdecore.so.0
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
104 cp ../../src/decore.h /usr/local/include
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
105 </PRE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
106 </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
107 <LI>Dar vai, pentru biblioteca encore nu există nici un Linux Makefile disponibil, şi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
108 codul MMX optimizat rulează doar pe Windows. Cu toate acestea, poţi totuşi compila,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
109 folosind acest <A HREF="ftp://ftp.mplayerhq.hu/MPlayer/contrib/divx-mf/Makefile">Makefile</A>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
110 <PRE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
111 cd ../../../encore/build
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
112 mkdir linux
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
113 cd linux
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
114 cp path/Makefile .
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
115 make
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
116 cp libdivxencore.so /usr/local/lib
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
117 ln -s libdivxencore.so /usr/local/lib/libdivxencore.so.0
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
118 cp ../../src/encore.h /usr/local/include
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
119 </PRE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
120 </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
121 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
122
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
123 <P>MPlayer autodetectează DivX4/DivX5 dacă e corect instalat, doar
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
124 compilează ca de obicei. Dacă nu-l detectează,nu l-ai instalat sau configurat corect.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
125 </P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
126
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
127
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
128 <H4><A NAME="libavcodec">2.2.1.2 FFmpeg/libavcodec</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
129
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
130 <P><A HREF="http://ffmpeg.sourceforge.net">FFmpeg</A> conţine un pachet
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
131 <B>open source</B>, care e capabil să decodeze fluxuri encodate cu codecuri video H263/MJPEG/LJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1/WMV2/HuffYUV/SVQ1/SVQ3/
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
132 MPEG1/MPEG2/VCR1/VCR2/ASV1/ASV2/CLJR, sau codecuri audio WMA (Windows Media Audio). Nu doar că pot fi encodate cu el,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
133 dar oferă şi o viteză mai mare decât codecurile Win32
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
134 sau biblioteca DivX.com DivX4/5 !</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
135
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
136 <P>Conţine o mulţime de codecuri interesante, cele mai importante fiind variantele MPEG4:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
137
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
138 DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). De asemenea, unul interesant
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
139 decodorul WMA.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
140
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
141 <P>Cel mai recent codec meritând apreciere este <B>Sorenson 3</B> (SVQ3).
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
142 Acesta e prima implementare complet open source a acestui codec.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
143 E chiar mai rapid decât originalul. Asigură-te că-l foloseşti în locul codecului binar!
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
144 </P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
145
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
146 <P>Dacă foloseşti o versiune release a MPlayer ai libavcodec chiar în pachet,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
147 doar configurează ca de obicei. Dacă foloseşti o versiune MPlayer din CVS trebuie
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
148 să extragi libavcodec din arborele FFmpeg CVS pentru ca FFmpeg release <B>nu</B>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
149 funcţionează cu MPlayer. Pentru a-l obţine tastează:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
150
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
151 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
152 <LI><CODE>cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
153 <LI><CODE>cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
154 <LI>Mută directorul <CODE>libavcodec</CODE> din sursa FFmpeg către
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
155 rădăcina arborelui MPlayer CVS. Ar trebui să arate cam aşa:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
156 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>main/libavcodec</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
157 Un link simbolic <B>nu</B> e de ajuns, trebuie să-l copiezi sau să-l muţi!</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
158 <LI>Compilează. Configure ar trebui să detecteze problemele înainte de compilare.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
159 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
160
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
161 <P><B>Notă:</B> MPlayer din CVS conţine un subdirector libavcodec,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
162 dar <B>nu</B> conţine sursa libavcodec!
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
163 Trebuie să urmezi paşi amintiţi anterior pentru a obţine sursa acestei biblioteci.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
164
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
165 <P>Cu FFmpeg şi Matrox G400, pot vedea filme DivX la cea mai mare rezoluţie
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
166 fără pierderi de cadre pe un K6/2 500.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
167
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
168
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
169 <H4><A NAME="xanim">2.2.1.3 Codecurile XAnim </A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
170
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
171 <H4>PREFAŢĂ</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
172 <P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
173 Ia cunoştinţă cu faptul că pachetul de codecuri XAnim conţine un text
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
174 pretinzând a fi o licentă software de constrângere legală care, printre alte restricţii,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
175 interzice folosirea acestui codec cu alte programe decat XAnim.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
176 Oricum, autorul XAnim ar trebui să aducă acuzatii împotriva tuturor pentru codecuri înrudite.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
177
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
178 </P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
179
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
180 <H4>INSTALARE ŞI FOLOSIRE</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
181 <P>MPlayer e capabil să întrebuinţeze codecurile XAnim pentru decodare. Urmează
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
182 instrucţiunile pentru a permite aceasta:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
183
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
184 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
185 <LI>Descarcă codecurile pe care doreşti să le foloseşti de pe
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
186 <A HREF="http://xanim.va.pubnix.com">site-ul XAnim</A>. Codecul <B>3ivx</B>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
187 nu e acolo ci pe<A HREF="http://www.3ivx.com"> site-ul 3ivx</A>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
188 <LI><B>SAU</B> descarcă pachetul de codecuri de pe
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
189 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">pagina noastră de codecuri</A>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
190 </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
191 <LI>Foloseşte opţiunea <CODE>--with-xanimlibdir</CODE> pentru a arăta lui configure unde
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
192 să găsească codecurile XAnim. În modul standard, le caută la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
193 <CODE>/usr/local/lib/codecs, /usr/local/lib/xanim/mods, /usr/lib/xanim/mods şi /usr/lib/xanim</CODE>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
194 În mode alternativ poţi configura variabila de mediu <I>XANIM_MOD_DIR</I> către
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
195 directorul cu codecurile XAnim.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
196 <LI>Redenumeşte/symlink fişierele, eliminând sufixele legate de arhitectură, astfel încât vor avea denumirile
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
197 astfel: <CODE>vid_cvid.xa, vid_h263.xa, vid_iv50.xa</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
198 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
199
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
200 <P>XAnim este familia de codecuri <CODE>xanim</CODE>, astfel că trebuie să foloseşti opţiunea <CODE>-vfm xanim</CODE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
201 pentru a cere MPlayer-ului să le folosească dacă e posibil.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
202
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
203 <P>Codecurile testate includ: <B>Indeo 3.2</B>, <B>4.1</B>, <B>5.0</B>, <B>CVID</B>,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
204 <B>3ivX</B>, <B>h263</B>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
205
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
206
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
207 <H4><A NAME="vivo_video">2.2.1.4 VIVO video</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
208
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
209 <P>MPlayer poate rula fişiere video Vivo (1.0 and 2.0). Cel mai potrivit codec pentru
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
210 fişierele 1.0 este decodorul H263 al FFmpeg-ului, îl poţi folosi cu opţiunea <CODE>-vc
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
211 ffh263</CODE>. Pentru fişierele 2.0, foloseşte Win32 DLL prin opţiunea
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
212 <CODE>-vc vivo</CODE>. Dacă nu furnizezi o opţiune în linia de comandă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
213 MPlayer selectează automat cel mai bun codec.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
214
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
215
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
216
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
217
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
218
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
219
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
220
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
221
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
222
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
223 <H4><A NAME="mpeg">2.2.1.5 MPEG 1/2 video</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
224
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
225 <P>MPEG1 şi MPEG2 sunt decodate de biblioteca nativă multiplatformă <B>libmpeg2</B>,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
226 a cărei sursă e incusă în MPlayer. Fişierele video MPEG 1/2 cu probleme sunt redate reţinând semnalul <CODE>Signal 11 (Segmentation fault)</CODE>,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
227 şi reiniţializând rapid codecul, continund exact din locul în care a apărut eroarea.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
228 Această tehnică de recuperare nu are nici un handicap de viteză măsurabil.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
229
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
230
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
231 <H4><A NAME="ms_video1">2.2.1.6 MS Video1</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
232
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
233 <P>Acesta este un codec foarte vechi şi foarte problematic de la Microsoft. În trecut a fost decodat
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
234 codecul Win32 <CODE>msvidc32.dll</CODE>, acum avem propria implementare open source
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
235 (de <A HREF="mailto:melanson@pcisys.net">Mike
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
236 Melanson</A>).</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
237
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
238
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
239 <H4><A NAME="cinepak">2.2.1.7 Cinepak CVID</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
240
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
241 <P>MPlayer foloseşte propriul decodor, multiplatformă Cinepak (de
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
242 <A HREF="mailto:timf@csse.monash.edu.au">Dr. Tim Ferguson</A>), din standard.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
243 Suporă ieşiri YUV,astfel că scalarea hardware este posibilă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
244 dacă driverul video o permite.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
245
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
246
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
247 <H4><A NAME="realvideo">2.2.1.8 RealVideo</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
248
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
249 MPlayer suportă decodări ale tuturor tipurilor de fişiere RealVideo:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
250
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
251 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
252 <LI>RealVideo 1.0 (prescurtat RV10) - en/decodare suportată de <B>libavcodec</B></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
253 <LI>RealVideo 2.0, 3.0, 4.0 (prescurtat RV20, RV30, RV40) - decodare suportată de <B>bibliotecile RealPlayer</B></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
254 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
255
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
256 <P>Este recomandat să descărcaţi şi să instalaţi RealPlayer8 sau RealONE, deoarece
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
257 MPlayer poate folosi bibliotecile lor pentru a decoda fişiere video RealVideo 2.0 -
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
258 4.0. Scriptul configure al MPlayer-ului ar trebui să detecteze
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
259 bibliotecile RealPlayer în locaţiile standard la o instalare completă. Dacă nu o face,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
260 arată scriptului configure unde să caute folosind opţiunea
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
261 <CODE>--with-reallibdir</CODE>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
262
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
263 <P>Ca o a doua şansă poţi descărca codecurile de la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
264 <a href="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</a>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
265 După descărcare pachetului cu codecuri Real, extrage-l în directorul /usr/local/lib/codecs,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
266 sau poţi specifica o cale unică folosind opţiunea <CODE>--with-reallibdir</CODE>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
267
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
268 <P><B>Notă:</B> Bibliotecile curente RealPlayer <B>lucrează doar cu Linux, FreeBSD,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
269 NetBSD şi Cygwin pe platforme the x86, Alpha şi PowerPC (Linux/Alpha şi Linux/PowerPC
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
270 au fost testate).</B></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
271
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
272
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
273 <H4><A NAME="xvid">2.2.1.9 XviD</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
274
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
275 <P><A HREF="http://www.xvid.org/"><B>XviD</B></A> este o dezvoltare alternativă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
276 a codecului OpenDivX. A început atunci când ProjectMayo a schimbat OpenDivX în closed
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
277 source DivX4 (acum DivX5), şi cei care lucrau la OpenDivX în afara ProjectMayo
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
278 s-au înfuriat, începând atunci XviD. Astfel că ambele proiecte au aceiaşi origine.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
279
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
280 <H4>AVANTAJE</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
281
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
282 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
283 <LI>open source</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
284 <LI>API-ul său e compatibil cu DivX4 astfel că adăugarea suportului pentru el e facilă</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
285 <LI>suportă encodare 2-pass</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
286 <LI>calitate bună la encodare,mai rapid decât DivX4 (il poţi optimiza pentru PC-ul tău în timpul compilării)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
287 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
288
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
289 <H4>DEZAVANTAJE</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
290
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
291 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
292 <LI>în prezent nu <B>decodează</B> suficient de bine toate fişierele DivX/DivX4 (nici o problemă
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
293 pentru că <A HREF="#libavcodec">libavcodec</A> le poate rula pe toate)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
294 <LI>e în dezvoltare</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
295 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
296
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
297 <H4>INSTALARE XVID DIN CVS</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
298
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
299 <P>XviD e în prezent disponibil doar din CVS. Aici sunt instrucţiunile de descărcare şi instalare
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
300 (ai nevoie de autoconf 2.50 minim, automake şi libtool):</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
301
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
302 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
303 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
304 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
305 <LI><CODE>cd xvidcore/build/generic</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
306 <LI><CODE>./bootstrap.sh</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
307 <LI><CODE>./configure</CODE><BR>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
308 Poţi adăuga câteva opţiuni (examinează rezultatul comenzii
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
309 <CODE>./configure --help</CODE>).</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
310 <LI><CODE>make &amp;&amp; make install</CODE></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
311 <LI>Dacă ai specificat <CODE>--enable-divxcompat</CODE>,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
312 copiază header-ul <CODE>divx4.h</CODE> din
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
313 <CODE>xvidcore/src/</CODE> în <CODE>/usr/local/include/</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
314 <LI>Recompilează MPlayer cu
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
315 <CODE>--with-xvidcore=/path/to/libxvidcore.a</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
316 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
317
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
318
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
319 <H4><A NAME="sorenson">2.2.1.10 Sorenson</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
320
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
321 <P><B>Sorenson</B> e o familie de codecuri video dezvolatate de Sorenson Media şi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
322 licenţiate către Apple care îl distribuie cu playerul lor QuickTime.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
323 În acest moment putem decoda toate versiunile de fişiere video Sorenson
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
324 cu următoarele decodoare:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
325
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
326 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
327 <LI>Sorenson Video v1 (prescurtat <I>SVQ1</I>) - decodare suportată prin <B>codec nativ</B>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
328 (<A HREF="#libavcodec">libavcodec</A>)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
329 <LI>Sorenson Video v3 (prescurtat <I>SVQ3</I>) - decodare suportată prin <B>codec nativ </B> (<A HREF="#libavcodec">libavcodec</A>)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
330 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
331
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
332 <H4>COMPILARE MPLAYER CU SUPORT QUICKTIME</H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
333
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
334 <P><B>NOTĂ:</B> în acest moment doar platformele Intel 32bit sunt suportate.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
335
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
336 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
337 <LI>descarcă MPlayer CVS</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
338 <LI>descarcă pachetul QuickTime DLL de la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
339 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</A></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
340 <LI>extrage pachetul QuickTime DLL în directorul tău Win32 (standard este:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
341 <CODE>/usr/local/lib/codecs/</CODE>)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
342 <LI>compilează MPlayer</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
343 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
344
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
345
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
346 <H3><A NAME="audio_codecs">2.2.2 Codecuri audio</A></H3>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
347
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
348 <P>Cele mai importante codecuri audio:<BR></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
349
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
350 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
351 <LI>MPEG layer 2 (MP2), şi layer 3 (MP3) audio (<B>cod nativ</B>, cu
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
352 optimizări MMX/SSE/3DNow!)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
353 <LI>MPEG layer 1 audio (<B>cod nativ</B>, cu libavcodec)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
354 <LI>Windows Media Audio v1, v2 (<B>cod nativ</B>, cu libavcodec)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
355 <LI>Windows Media Audio 9 (WMAv3) (folosind DMO DLL)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
356 <LI>AC3 Dolby audio (<B>cod nativ</B>, cu optimizări MMX/SSE/3DNow!)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
357 <LI>AC3 direct prin placa de sunet</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
358 <LI>codecul audio Ogg Vorbis (<B>bibliotecă nativă</B>)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
359 <LI>RealAudio: DNET (low bitrate AC3), Cook, Sipro şi ATRAC3</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
360 <LI>QuickTime: Qualcomm şi codecurile audio QDesign </LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
361 <LI>VIVO audio (g723, Vivo Siren)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
362 <LI>Voxware audio (folosind DirectShow DLL)</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
363 <LI>alaw şi ulaw, diferite formate gsm, adpcm şi pcm şi alte codecuri audio simple mai vechi</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
364 <LI>AAC</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
365 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
366
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
367
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
368 <H4><A NAME="software_ac3">2.2.2.1 Decodare software AC3</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
369
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
370 <P>Acesta este decodorul standard folosit pentru fişierele audio AC3.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
371
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
372 <P>Decodorul AC3 poate crea ieşiri audio pentru 2, 4, sau 6 difuzoare. Când e configurat
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
373 pentru 6 difuzoare, Acest decodor oferă ieşiri separate pentru toate canalele
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
374 AC3, permiţând experienţa "surround sound"
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
375 fără a avea un decodor extern AC3 necesar folosirii codecului hwac3.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
376
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
377 <P>Foloseşte opţiunea <CODE>-channels</CODE> pentru a selecta numărul de canale pentru ieşire.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
378 Foloseşte <CODE>-channels 2</CODE> pentru mixare stereo. Pentru mixare 4
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
379 canale (ieşirile Left Front, Right Front, Left Surround and Right Surround),
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
380 foloseşte <CODE>-channels 4</CODE>. În acest caz, fiecare canal centru va fi mixat în mod egal
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
381 cu canalele Front. <CODE>-channels 6</CODE> va oferi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
382 toate canalele AC3 aşa cum sunt encodate - în ordinea Left, Right, Left
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
383 Surround, Right Surround, Center şi LFE.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
384
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
385 <P>Numărul standard de canale de ieşire este 2.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
386
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
387 <P>Pentru a folosi mai mult de 2 canale de ieşire, trebuie să foloseşti OSS, şi să ai
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
388 o placă de sunet care suportă numărul corespunzător de canale de ieşire prin
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
389 SNDCTL_DSP_CHANNELS ioctl. Un exemplu de driver potrivit este emu10k1 (folosit
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
390 de plăcile Soundblaster Live!) din August 2001 sau mai noi (ALSA CVS ar trebui, de asemenea,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
391 să funcţioneze).</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
392
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
393
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
394 <H4><A NAME="hardware_ac3">2.2.2.2 Decodare hardware AC3</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
395
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
396 <P>Ai nevoie de o placă de sunet capabilă AC3, cu ieşire digitală (SP/DIF). Driverul plăcii
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
397 trebuie să suporte în mod corespunzător formatul AFMT_AC3 t (C-Media o face). Conectează
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
398 decodorul AC3 la ieşirea SP/DIF, şi foloseşte opţiunea <CODE>-ac hwac3</CODE>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
399 E experimental dar se ştie că funcţionează cu plăcile C-Media,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
400 Soundblaster Live! folosind driverele ALSA (dar nu OSS) şi plăcile de decodare DXR3/Hollywood+ MPEG.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
401
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
402
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
403 <H4><A NAME="libmad">2.2.2.3 Suport pentru libmad</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
404
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
405 <P><A HREF="http://mad.sourceforge.net">Libmad</A> e o bibliotecă multiplatformă de de codare audio MPEG.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
406 Nu se descurcă prea bine cu fişiere cu erori, şi uneori are probleme cu căutarea.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
407
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
408 <P>Pentru a activa suportul, compilează scriptul configure cu opţiunea <CODE>--enable-mad</CODE>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
409
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
410
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
411 <H4><A NAME="vivo_audio">2.2.2.4 VIVO audio</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
412
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
413 <P>Codecul audio folosit în fişierele VIVO variază în funcţie de fişierul folosit: VIVO/1.0 sau
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
414 VIVO/2.0. Fişierele VIVO/1.0 au codecul audio <B>g.723</B>, iar fişierele VIVO/2.0
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
415 au codecul audio<B>Vivo Siren</B>. Ambele sunt suportate.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
416
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
417 <H4><A NAME="realaudio">2.2.2.5 RealAudio</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
418
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
419 MPlayer suportă decodarea a aproape toate tipurile de fişiere RealAudio:
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
420
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
421 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
422 <LI>RealAudio DNET - decodare suportată de <B>liba52</B></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
423 <LI>RealAudio Cook/Sipro/ATRAC3 - decodare suportată de <B>bibliotecile RealPlayer</B></LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
424 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
425
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
426 <P>Pentru a vedea cum se instalează bibliotecile RealPlayer, consultă secţiunea
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
427 <A HREF="#realvideo">RealVideo</A>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
428
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
429
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
430 <H4><A NAME="qdesign">2.2.2.6 Codecurile QDesign</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
431
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
432 <P>Stream-urile audio QDesign (prescurtat: <I>QDMC</I>, <I>QDM2</I>) se găsesc în fişierele MOV/QT.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
433 Ambele versiuni ale acestui codec pot fi decodate cu bibliotecile QuickTime.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
434 Pentru instrucţiuni de instalare te rog consultă secţiunea <A HREF="#sorenson">Codecuri video Sorenson</A>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
435
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
436
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
437 <H4><A NAME="qclp">2.2.2.7 Codecurile Qualcomm </A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
438
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
439 <P>Stream-urile audio Qualcomm (prescurtat: <I>Qclp</I>) se găsesc în fişierele MOV/QT.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
440 Pot fi decodate cu bibliotecile QuickTime. Pentru instrucţiuni de instalare te rog consultă secţiunea <A HREF="#sorenson">Codecuri video Sorenson</A>.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
441
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
442
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
443 <H4><A NAME="aac">2.2.2.8 Codecurile AAC</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
444
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
445 <P>AAC (Advanced Audio Coding) e un codec audio întâlnit adesea în fişierele MOV şi MP4.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
446 Un decodor open source numit FAAD este diponibil la
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
447 <A HREF="http://www.audiocoding.com/">AudioCoding.com</A>.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
448 MPlayer include libfaad 2.0RC1, astfel că nu e nevoie să-l obţii separat.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
449
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
450
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
451
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
452 <H3><A NAME="importing">2.2.3 CUM SĂ imporţi codecuri Win32</A></H3>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
453
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
454
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
455 <H4><A NAME="importing_vfw">2.2.3.1 Codecuri VFW</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
456
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
457 <P>VFW (Video for Windows) este vechiul Video API pentru Windows. Codecurile lor
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
458 au extensia .DLL sau (rareori) .DRV.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
459 Dacă MPlayer eşuează la rularea unui astfel de AVI cu un mesaj de genul:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
460
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
461 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>UNKNOWN video codec: HFYU (0x55594648)</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
462
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
463 <P>Înseamnă că AVI-ul tău e encodat cu un codec care are prescurtare HFYU (HFYU =
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
464 codecul HuffYUV, DIV3 = DivX Low Motion, etc...). Acum că şti acest lucru, trebuie să cauţi
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
465 DLL-ul pe care Windows-ul îl încarcă pentru a putea rula cest tip de fişier. În cazul nostru,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
466 <CODE>system.ini</CODE> conţine această informaţie în linia care spune:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
467
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
468 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>VIDC.HFYU=huffyuv.dll</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
469
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
470 <P>Aşa că ai nevoie de fişierul <CODE>huffyuv.dll</CODE>. Notează că audio codecurile sunt
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
471 specificate de prefixul MSACM:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
472
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
473 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>msacm.l3acm=L3codeca.acm</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
474
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
475
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
476 <P>Acesta e codecul MP3. După ce ai obţinut toate informaţiile necesare
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
477 (prescurtare, fişier codec, secvenţă AVI), trimite cererea de suport pentru codec prin email,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
478 şi încarcă aceste fişiere către locaţia FTP:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
479
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
480 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>ftp://ftp.mplayerhq.hu/MPlayer/incoming/[numecodec]/</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
481
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
482 <P><B>Notă:</B> În Windows NT/2000/XP caută această informaţie în registry, ex.. caută
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
483 "VIDC.HFYU". Pentru a afla cum se face această căutare, priveşte la vechea metodă DirectShow de mai jos.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
484
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
485 <H4><A NAME="importing_directshow">2.2.3.2 Codecurile DirectShow</A></H4>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
486
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
487 <P>DirectShow este noul Video API, care e chiar mai rău decât predecesorul său.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
488 Situaţia e mai grea cu DirectShow, deoarece</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
489
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
490 <UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
491 <LI><CODE>system.ini</CODE> nu conţine informaţiile dorite, pentru că
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
492 sunt păstrate în registry şi</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
493 <LI>avem nevoie de GUID al codec-ului.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
494 </UL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
495
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
496 <P><B>Noua metodă:</B> Folosind Microsoft GraphEdit (rapid)</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
497
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
498 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
499 <LI>Obţine GraphEdit din DirectX SDK sau
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
500 <A HREF="http://doom9.org">Doom9</A>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
501 <LI>Porneşte <CODE>graphedit.exe</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
502 <LI>Din meniu selectează Graph -&gt; Insert Filters.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
503 <LI>Expandează tab-ul <CODE>DirectShow Filters</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
504 <LI>Selectează numele codecului şi expandează-l.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
505 <LI>La intrarea <CODE>DisplayName</CODE> caută textul dintre acolade după
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
506 backslash şi notează-l (cinci blocuri delimitate de liniuţe, GUID-ul).</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
507 <LI>Codecul binar este fişierul specificat în <CODE>numele intrării </CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
508 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
509
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
510 <P><B>Notă:</B> Dacă nu este nici un <CODE>nume</CODE> şi <CODE>DisplayName</CODE>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
511 conţine ceva de genul <CODE>device:dmo</CODE>, atunci este un codec DMO.</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
512
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
513 <P><B>Vechea metodă:</B> Respiră adânc şi începe căutarea în registry...</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
514
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
515 <OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
516 <LI>Start <CODE>regedit</CODE>.</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
517 <LI>Apasă <CODE>Ctrl-f</CODE>, dezactivează primele două opţiuni, şi activează
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
518 pe cea de-a treia. Tastează prescurtarea codecului (ex. TM20).</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
519 <LI>Ar trebui să vezi un câmp care conţine calea şi numele fişierului
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
520 (e.g. <CODE>C:\WINDOWS\SYSTEM\TM20DEC.AX</CODE>).</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
521 <LI>Acum că ai fişierul, ai nevoie de GUID. Reîncepe căutarea, dar acum
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
522 caută numele codecului, nu prescurtarea. Numele lui poate fi obţinut atunci când
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
523 Media Player rulează fişierul, verificând la File -&gt; Properties
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
524 -&gt; Advanced.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
525 Dacă nu merge, ai ghinion. Încearcă să ghiceşti (ex. caută TrueMotion).</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
526 <LI>Dacă GUID-ul este găsit ar trebui să vezi un FriendlyName asi un câmp CLSID.
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
527 Notează CLSID de 16 byte, este chiar GUID-ul căutat .</LI>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
528 </OL>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
529
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
530 <P><B>Notă:</B> Dacă eşuezi în căutarea ta, bifează toate opţiunile. Poţi avea
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
531 rezultate false, dar s-ar putea să ai noroc...</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
532
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
533 <P>Acum că ai toate informaţiile necesare (prescurtare, GUID, fişierul codecului,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
534 secvenţa AVI), trimite cererea de suport pentru codec prin email,
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
535 şi încarcă aceste fişiere către locaţia FTP:</P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
536
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
537 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>ftp://ftp.mplayerhq.hu/MPlayer/incoming/[numecodec]/</CODE></P>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
538
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
539 </BODY>
b83256bb0b69 initial revision
gabucino
parents:
diff changeset
540 </HTML>