aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/xml/ru/codecs.xml
blob: 745a5e1016eaa7431c775215044f6fabcb046ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
<?xml version="1.0" encoding="koi8-r"?>
<!-- synced with r20361 -->
<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><simpara>
  <emphasis role="bold">MPEG1</emphasis> (<emphasis role="bold">VCD</emphasis>) É
  <emphasis role="bold">MPEG2</emphasis> (<emphasis role="bold">DVD</emphasis>) ×ÉÄÅÏ
  </simpara></listitem>
<listitem><simpara>
  "ÒÏÄÎÙÅ" ÄÅËÏÄÅÒÙ ÄÌÑ <emphasis role="bold">×ÓÅÈ ×ÁÒÉÁÎÔÏ× DivX,
  3ivX, M$ MPEG-4</emphasis> v1, v2 É ÄÒÕÇÉÈ ×ÁÒÉÁÎÔÏ× MPEG-4.
  </simpara></listitem>
<listitem><simpara>
  "ÒÏÄÎÏÊ" ÄÅËÏÄÅÒ ÄÌÑ <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> ÆÁÊÌÁÈ
  </simpara></listitem>
<listitem><simpara>
  "ÒÏÄÎÏÊ" <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> ÄÅËÏÄÅÒ
  </simpara></listitem>
<listitem><simpara>
  "ÒÏÄÎÏÊ" <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> ÄÅËÏÄÅÒ
  </simpara></listitem>
<listitem><simpara>
  <emphasis role="bold">3ivx</emphasis> v1, v2 ÄÅËÏÄÅÒ
  </simpara></listitem>
<listitem><simpara>
  Cinepak É <emphasis role="bold">Intel Indeo</emphasis> ËÏÄÅËÉ (3.1,3.2,4.1,5.0)
  </simpara></listitem>
<listitem><simpara>
  <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 É ÄÒÕÇÉÅ ÁÐÐÁÒÁÔÎÙÅ
  ÆÏÒÍÁÔÙ
  </simpara></listitem>
<listitem><simpara>
  VIVO 1.0, 2.0, I263 É ÄÒÕÇÉÅ <emphasis role="bold">h263(+)</emphasis> ×ÁÒÉÁÎÔÙ
  </simpara></listitem>
<listitem><simpara>
  FLI/FLC
  </simpara></listitem>
<listitem><simpara>
  <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
  </simpara></listitem>
<listitem><simpara>
  "ÒÏÄÎÏÊ" ÄÅËÏÄÅÒ ÄÌÑ HuffYUV
  </simpara></listitem>
<listitem><simpara>
  òÁÚÌÉÞÎÙÅ ÓÔÁÒÙÅ, ÐÒÏÓÔÙÅ, ÐÏÈÏÖÉÅ ÎÁ RLE ÆÏÒÍÁÔÙ
  </simpara></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> - ×ÅÄÕÝÕÀ ÂÉÂÌÉÏÔÅËÕ ÁÕÄÉÏ
É ×ÉÄÅÏ ËÏÄÅËÏ× Ó ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ. ïÎÁ ÓÐÏÓÏÂÎÁ ÄÅËÏÄÉÒÏ×ÁÔØ 
ÂÏÌØÛÉÎÓÔ×Ï ÍÕÌØÔÉÍÅÄÉÁ ÆÏÒÍÁÔÏ×, ÏÂÙÞÎÏ ÂÙÓÔÒÅÅ ÁÌØÔÅÒÎÁÔÉ×, and aim support for the rest
of them eventually. üÔÏ ÄÅËÏÄÅÒ ÐÏ-ÕÍÏÌÞÁÎÉÀ ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ËÏÄÅËÏ×, ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ 
<application>MPlayer</application>. ëÏÄÉÒÏ×ÁÎÉÅ ÔÁËÖÅ ×ÏÚÍÏÖÎÏ ÄÌÑ ÎÅËÏÔÏÒÙÈ ÆÏÒÍÁÔÏ× É
ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ × <application>Mencoder</application>.
</para>

<para>
ðÏÌÎÙÊ ÓÐÉÓÏË ÄÏÓÔÕÐÎÙÈ ËÏÄÅËÏ× ÄÏÓÔÕÐÅÎ ÎÁ ÓÔÒÁÎÉÃÅ FFmpeg.
ðÏÄÄÅÒÖÉ×ÁÅÍÙÅ <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC19">×ÉÄÅÏ</ulink>
É <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC20">ÁÕÄÉÏ</ulink> ËÏÄÅËÉ.
</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>x264</title>

<sect3 id="codec-x264-whatis">
<title>þÔÏ ÔÁËÏÅ x264?</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>
</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>
  åÓÌÉ Õ ×ÁÓ ÕÓÔÁÎÏ×ÌÅÎ ËÌÉÅÎÔ subversion, ÐÏÓÌÅÄÎÀÀ ×ÅÒÓÉÀ x264 
  ÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÓÌÅÄÕÀÝÅÊ ËÏÍÁÎÄÏÊ:
  <screen>
    svn co svn://svn.videolan.org/x264/trunk x264<!--
--></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>
  óËÒÉÐÔ configure ÓÁÍ ÏÐÒÅÄÅÌÉÔ, ×ÙÐÏÌÎÅÎÙ ÌÉ ÎÅÏÂÈÏÄÉÍÙÅ ÔÒÅÂÏ×ÁÎÉÑ ÄÌÑ
  <systemitem class="library">x264</systemitem>.
</para>
</sect3>
</sect2>
</sect1>

<!-- ********** -->

<sect1 id="audio-codecs">
<title>áÕÄÉÏ ËÏÄÅËÉ</title>

<itemizedlist>
<title>îÁÉÂÏÌÅÅ ×ÁÖÎÙÍÉ ÁÕÄÉÏ ËÏÄÅËÁÍÉ ÓÒÅÄÉ ×ÓÅÈ Ñ×ÌÑÀÔÓÑ:</title>
<listitem><simpara>
  MPEG layer 1/2/3 (MP1/2/3) ÁÕÄÉÏ (<emphasis role="bold">ÒÏÄÎÏÊ</emphasis>
  ËÏÄ, Ó MMX/SSE/3DNow! ÏÐÔÉÍÉÚÁÃÉÅÊ)
  </simpara></listitem>
<listitem><simpara>
  Windows Media Audio 7 É 8 (ÏÎÉ ÖÅ WMAv1 É WMAv2) (<emphasis role="bold">ÒÏÄÎÏÊ</emphasis> ËÏÄ, Ó
  <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
  </simpara></listitem>
<listitem><simpara>
  Windows Media Audio 9 (WMAv3) (ÉÓÐÏÌØÚÕÑ DMO DLL)
  </simpara></listitem>
<listitem><simpara>
  AC3 Dolby ÁÕÄÉÏ (<emphasis role="bold">ÒÏÄÎÏÊ</emphasis> ËÏÄ, Ó
  MMX/SSE/3DNow! ÏÐÔÉÍÉÚÁÃÉÅÊ)
  </simpara></listitem>
<listitem><simpara>
  AC3 ÐÒÏÐÕÓËÁÅÍÙÊ ÞÅÒÅÚ Ú×ÕËÏ×ÏÅ ÏÂÏÒÕÄÏ×ÁÎÉÅ
  </simpara></listitem>
<listitem><simpara>
  AAC
  </simpara></listitem>
<listitem><simpara>
  Ogg Vorbis ÁÕÄÉÏ ËÏÄÅË (<emphasis role="bold">ÒÏÄÎÁÑ</emphasis> ÂÉÂÌÉÏÔÅËÁ)
  </simpara></listitem>
<listitem><simpara>
  RealAudio: DNET (AC3 Ó ÎÉÚËÉÍ ÂÉÔÐÏÔÏËÏÍ), Cook, Sipro É ATRAC3
  </simpara></listitem>
<listitem><simpara>
  QuickTime: Qualcomm É QDesign ÁÕÄÉÏ ËÏÄÅËÉ
  </simpara></listitem>
<listitem><simpara>
  VIVO ÁÕÄÉÏ (g723, Vivo Siren)
  </simpara></listitem>
<listitem><simpara>
  Voxware ÁÕÄÉÏ (ÉÓÐÏÌØÚÕÑ DirectShow DLL)
  </simpara></listitem>
<listitem><simpara>
  alaw É ulaw, ÒÁÚÌÉÞÎÙÅ gsm, adpcm É pcm ÆÏÒÍÁÔÙ É ÄÒÕÇÉÅ ÐÒÏÓÔÙÅ ÓÔÁÒÙÅ ÁÕÄÉÏ
  ËÏÄÅËÉ
  </simpara></listitem>
<listitem><simpara>
  Adaptive Multi-Rate (AMR) ÒÅÞÅ×ÙÅ ËÏÄÅËÉ
  </simpara></listitem>
</itemizedlist>


<sect2 id="swac3">
<title>ðÒÏÇÒÁÍÍÎÏÅ ÄÅËÏÄÉÒÏ×ÁÎÉÅ AC3</title>

<para>
üÔÏ ÄÅËÏÄÅÒ, ÉÓÐÏÌØÚÕÅÍÙÊ, ÐÏ ÕÍÏÌÞÁÎÉÀ, ÄÌÑ ÆÁÊÌÏ× Ó AC3 ÁÕÄÉÏ
</para>

<para>
äÅËÏÄÅÒ AC3 ÍÏÖÅÔ ÓÏÚÄÁ×ÁÔØ ÁÕÄÉÏ ×Ù×ÏÄ ÍÉËÛÉÒÏ×ÁÎÎÙÊ ÄÌÑ 2, 4 ÉÌÉ 6 ËÏÌÏÎÏË.
âÕÄÕÞÉ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÍ ÄÌÑ 6 ËÏÌÏÎÏË, ÜÔÏÔ ÄÅËÏÄÅÒ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÒÁÚÄÅÌØÎÙÊ
×Ù×ÏÄ ×ÓÅÈ AC3 ËÁÎÁÌÏ× Ú×ÕËÏ×ÏÍÕ ÄÒÁÊ×ÅÒÕ, ÐÏÚ×ÏÌÑÑ ÐÏÌÕÞÉÔØ "Ú×ÕË ×ÏËÒÕÇ"
ÂÅÚ ×ÎÅÛÎÅÇÏ AC3 ÄÅËÏÄÅÒÁ, ÎÅÏÂÈÏÄÉÍÏÇÏ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ hwac3 ËÏÄÅËÁ.
</para>

<para>
éÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-channels</option>, ÞÔÏÂÙ ×ÙÂÒÁÔØ ËÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ×
ÐÒÉ ×Ù×ÏÄÅ. éÓÐÏÌØÚÕÊÔÅ <option>-channels 2</option> ÄÌÑ ÍÉËÛÉÒÏ×ÁÎÉÑ ÄÏ ÓÔÅÒÅÏ.
äÌÑ ÍÉËÛÉÒÏ×ÁÎÉÑ ÄÏ 4 ËÁÎÁÌÏ× (ìÅ×ÙÊ ðÅÒÅÄÎÉÊ, ðÒÁ×ÙÊ ðÅÒÅÄÎÉÊ, ìÅ×ÙÊ úÁÄÎÉÊ É
ðÒÁ×ÙÊ úÁÄÎÉÊ ×Ù×ÏÄÙ),
ÉÓÐÏÌØÚÕÊÔÅ <option>-channels 4</option>. ÷ ÜÔÏÍ ÓÌÕÞÁÅ ×ÓÅ ÃÅÎÔÒÁÌØÎÙÅ ËÁÎÁÌÙ
ÂÕÄÕÔ ÒÁ×ÎÏÍÅÒÎÏ ÓÍÉËÛÉÒÏ×ÁÎÙ ÄÏ ÕÒÏ×ÎÑ ÐÅÒÅÄÎÉÈ ËÁÎÁÌÏ×. <option>-channels 6</option> ÂÕÄÅÔ
×Ù×ÏÄÉÔØ ×ÓÅ AC3 ËÁÎÁÌÙ ÔÁË, ËÁË ÏÎÉ ÚÁËÏÄÉÒÏ×ÁÎÙ - ÐÏ ÐÏÒÑÄËÕ:
ìÅ×ÙÊ, ðÒÁ×ÙÊ, ìÅ×ÙÊ úÁÄÎÉÊ, ðÒÁ×ÙÊ úÁÄÎÉÊ, ãÅÎÔÒÁÌØÎÙÊ É óÁÂ×ÕÆÅÒ.
</para>

<para>
ëÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÐÏ ÕÍÏÌÞÁÎÉÀ - 2.
</para>

<para>
þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ ÂÏÌÅÅ 2 ËÁÎÁÌÏ×, ÷ÁÍ ÎÕÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ OSS, É ÏÂÌÁÄÁÔØ
ËÁÒÔÏÞËÏÊ, ÐÏÄÄÅÒÖÉ×ÁÀÝÅÊ ÎÅÏÂÈÏÄÉÍÏÅ ËÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÞÅÒÅÚ ioctl
SNDCTL_DSP_CHANNELS.  ðÒÉÍÅÒÏÍ ÐÏÄÈÏÄÑÝÅÇÏ ÄÒÁÊ×ÅÒÁ Ñ×ÌÑÅÔÓÑ emu10k1
(ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ Soundblaster Live! ËÁÒÔÏÞÅË) Á×ÇÕÓÔÁ 2001'ÇÏ ÉÌÉ ÎÏ×ÅÅ
(ALSA CVS ÔÏÖÅ ÄÏÌÖÅÎ ÒÁÂÏÔÁÔØ).
</para>
</sect2>


<sect2 id="hwac3">
<title>áÐÐÁÒÁÔÎÏÅ ÄÅËÏÄÉÒÏ×ÁÎÉÅ AC3</title>
<para>
÷ÁÍ ÎÕÖÎÁ AC3-ÓÏ×ÍÅÓÔÉÍÁÑ ËÁÒÔÁ Ó ÃÉÆÒÏ×ÙÍ (S/PDIF) ×Ù×ÏÄÏÍ. äÒÁÊ×ÅÒ ËÁÒÔÙ
ÄÏÌÖÅÎ ÄÏÌÖÎÙÍ ÏÂÒÁÚÏÍ ÐÏÄÄÅÒÖÉ×ÁÔØ AFMT_AC3 ÆÏÒÍÁÔ (ÎÁÐÒÉÍÅÒ C-Media).
ðÏÄÓÏÅÄÉÎÉÔÅ AC3 ÄÅËÏÄÅÒ Ë S/PDIF ×Ù×ÏÄÕ É ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-ac
hwac3</option>. üÔÏ ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÁÑ ×ÏÚÍÏÖÎÏÓÔØ, ÎÏ ÉÚ×ÅÓÔÎÏ, ÞÔÏ ÜÔÏ ÒÁÂÏÔÁÅÔ Ó
C-Media ËÁÒÔÁÍÉ É Soundblaster Live! + ALSA (ÎÏ ÎÅ OSS) ÄÒÁÊ×ÅÒÁÍÉ É
ËÁÒÔÁÍÉ MPEG ÄÅËÏÄÉÒÏ×ÁÎÉÑ DXR3/Hollywood+.
</para>
</sect2>


<sect2 id="libmad">
<title>ðÏÄÄÅÒÖËÁ libmad</title>

<para>
<ulink url="http://mad.sourceforge.net">libmad</ulink> - ÜÔÏ ÍÎÏÇÏÐÌÁÔÆÏÒÍÅÎÎÁÑ,
ÃÅÌÏÞÉÓÌÅÎÎÁÑ (×ÎÕÔÒÅÎÎÅ 24'ÂÉÔÎÙÊ PCM)
ÂÉÂÌÉÏÔÅËÁ ÄÅËÏÄÉÒÏ×ÁÎÉÑ MPEG ÁÕÄÉÏ. ïÎÁ ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ ÏÂÒÁÂÁÔÙ×ÁÅÔ ÂÉÔÙÅ
ÆÁÊÌÙ É ÉÎÏÇÄÁ Õ ÎÅ£ ÂÙ×ÁÀÔ ÐÒÏÂÌÅÍÙ Ó ÐÅÒÅÍÅÝÅÎÉÅÍ ÐÏ ÆÁÊÌÕ, ÎÏ ÏÎÁ 
ÍÏÖÅÔ ÂÙÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÅÅ mp3lib ÎÁ ÐÌÁÔÆÏÒÍÁÈ ÂÅÚ FPU
(ÔÁËÉÈ ËÁË <link linkend="arm">ARM</link>).
</para>

<para>
åÓÌÉ libmad Õ ×ÁÓ ÕÓÔÁÎÏ×ÌÅÎÁ, <filename>configure</filename> ÓÏÏÂÝÉÔ Ï ÜÔÏÍ,
É ÐÏÄÄÅÒÖËÁ ÄÅËÏÄÉÒÏ×ÁÎÉÑ MPEG ÁÕÄÉÏ Ó ÐÏÍÏÝØÀ <systemitem class="library">libmad</systemitem>
ÂÕÄÅÔ ×ËÌÀÞÅÎÁ Á×ÔÏÍÁÔÉÞÅÓËÉ.
</para>
</sect2>


<sect2 id="hwmpa">
<title>áÐÐÁÒÁÔÎÙÊ MPEG ÁÕÄÉÏ ËÏÄÅË</title>

<para>
üÔÏÔ ËÏÄÅË (×ÙÂÉÒÁÅÍÙÊ ÐÏ -ac hwmpa) ÐÅÒÅÄÁÅÔ ×ÓÅ ÁÕÄÉÏ ÐÁËÅÔÙ 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://greysector.rangers.eu.org/">Grey Sector</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>
(ÂÅÓÐÌÁÔÎÁ ÄÌÑ ÌÉÞÎÏÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÑ).
</para>
<para>
þÔÏÂÙ ×ËÌÀÞÉÔØ ÐÏÄÄÅÒÖËÕ, ÓËÁÞÁÊÔÅ ÉÓÈÏÄÎÉËÉ ÄÌÑ
<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink>
É
<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>
ËÏÄÅËÏ×, ÐÏÍÅÓÔÉÔÅ ÉÈ × ËÁÔÁÌÏÇ, ÇÄÅ ÒÁÓÐÁËÏ×ÁÎÙ ÉÓÈÏÄÎÉËÉ 
<application>MPlayer</application> É ×ÙÐÏÌÎÉÔÅ ÓÌÅÄÕÀÝÉÅ ËÏÍÁÎÄÙ:
<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>
ðÏÓÌÅ ÜÔÏÇÏ ÓÌÅÄÕÊÔÅ ÏÂÙÞÎÏÊ <link linkend="features">ÐÒÏÃÅÄÕÒÅ ÓÂÏÒËÉ</link>
<application>MPlayer</application>.

</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>
</para>

<para>
üÔÏ ÚÎÁÞÉÔ, ÞÔÏ ÷ÁÛ 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/[codecname]/
</systemitem>
</para>

<note><para>ðÏÄ Windows NT/2000/XP ÉÝÉÔÅ ÜÔÕ ÉÎÆÏÒÍÁÃÉÀ × ÒÅÅÓÔÒÅ, ÎÁÐÒÉÍÅÒ,
ÉÝÉÔÅ &quot;VIDC.HFYU&quot;. þÔÏÂÙ ÕÚÎÁÔØ, ËÁË ÜÔÏ ÄÅÌÁÔØ, ÓÍ. ÎÉÖÅ ÓÔÁÒÙÊ
ÍÅÔÏÄ DirectShow.
</para></note>
</sect2>


<sect2 id="dshow-codecs">
<title>DirectShow ËÏÄÅËÉ</title>

<para>
DirectShow - ÜÔÏ ÂÏÌÅÅ ÎÏ×ÙÊ Video API, ËÏÔÏÒÙÅ ÄÁÖÅ ÈÕÖÅ, ÞÅÍ ÅÇÏ ÐÒÅÄÛÅÓÔ×ÅÎÎÉË.
÷ÓÅ ÓÌÏÖÎÅÅ Ó DirectShow, ÐÏÓËÏÌØËÕ
<itemizedlist>
<listitem><simpara>
  <filename>system.ini</filename> ÎÅ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÕÀ ÉÎÆÏÒÍÁÃÉÀ, ×ÍÅÓÔÏ
  ÜÔÏÇÏ ÏÎÁ ÈÒÁÎÉÔÓÑ × ÒÅÅÓÔÒÅ É 
  </simpara></listitem>
<listitem><simpara>
  ÎÁÍ ÎÕÖÅÎ GUID ÜÔÏÇÏ ËÏÄÅËÁ.
  </simpara></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>
  ÷ ÍÅÎÀ ×ÙÂÅÒÉÔÅ Graph -> Insert Filters.
  </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>
  îÁÖÍÉÔÅ <keycap>Ctrl</keycap>+<keycap>F</keycap>, ÏÔËÌÀÞÉÔÅ ÐÅÒ×ÙÅ Ä×Å ÇÁÌÏÞËÉ
  É ×ËÌÀÞÉÔÅ ÔÒÅÔØÀ. îÁÂÅÒÉÔÅ fourcc ÷ÁÛÅÇÏ ËÏÄÅËÁ (ÎÁÐÒÉÍÅÒ, 
  <userinput>TM20</userinput>).
  </para></step>
<step><para>
  ÷Ù ÄÏÌÖÎÙ Õ×ÉÄÅÔØ ÐÏÌÅ, ÓÏÄÅÒÖÁÝÅÅ ÐÕÔØ É ÉÍÑ ÆÁÊÌÁ (ÎÁÐÒÉÍÅÒ,
  <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
  </para></step>
<step><para>
  ôÅÐÅÒØ, ËÏÇÄÁ Õ ÷ÁÓ ÅÓÔØ ÆÁÊÌ, ÎÁÍ ÎÕÖÅÎ GUID. ðÏÐÒÏÂÕÊÔÅ ÐÏÉÓËÁÔØ ÓÎÏ×Á,
  ÎÏ ÔÅÐÅÒØ ÉÝÉÔÅ ÉÍÑ ËÏÄÅËÁ, Á ÎÅ fourcc. üÔÏ ÉÍÑ ÍÏÖÅÔ ÂÙÔØ ÐÏÌÕÞÅÎÏ,
  ËÏÇÄÁ Media Player ÐÒÏÉÇÒÙ×ÁÅÔ ÆÁÊÌ, ÐÒÏ×ÅÒÉ×
  <guimenu>File</guimenu> -&gt; <guisubmenu>Properties</guisubmenu> -&gt;
  <guimenuitem>Advanced</guimenuitem>.
  åÓÌÉ ÎÅÔ, ÷ÁÍ ÎÅ ÐÏ×ÅÚÌÏ. ðÏÐÒÏÂÕÊÔÅ ÕÇÁÄÁÔØ (ÎÁÐÒÉÍÅÒ, ÉÝÉÔÅ 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/[codecname]/
</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>