aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/documentation.html
blob: c186f8bfb20c1c81ae0b91d5bb0364d6a0679318 (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
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>

<HEAD>
  <LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>

<BODY>

<CENTER><B>MPlayer - Movie Player for LINUX (C) 2000-2002 Arpad Gereoffy (A'rpi/ESP-team)</B><BR>
<BR><A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A><BR><BR>
[ English ]
<A HREF="Hungarian/documentation.html">[ Hungarian ]</A>
<A HREF="German/documentation.html">[ German ]</A>
<A HREF="French/documentation.html">[ French ]</A>
<A HREF="Polish/documentation.html">[ Polish ]</A>
<A HREF="Italian/documentation.html">[ Italian ]</A>
</CENTER>

<HR>

<P>Table of Contents</P>

<HR>

<UL>
  <LI><A HREF="#0">0. How to read this documentation</A></LI>
  <LI><A HREF="#1">1. Introduction</A>
    <UL>
      <LI><A HREF="#1.1">1.1 Overview</A></LI>
      <LI><A HREF="#1.2">1.2 History</A></LI>
      <LI><A HREF="#1.3">1.3 Installation / Hints</A></LI>
      <LI><A HREF="#1.4">1.4 What about the GUI?</A></LI>
      <LI><A HREF="#1.5">1.5 Subtitles and OSD</A></LI>
    </UL>
  </LI>
  <LI><A HREF="#2">2. Features</A>
    <UL>
      <LI><A HREF="formats.html">2.1 Supported formats</A>
        <UL>
          <LI><A HREF="formats.html#2.1.1">2.1.1 Video</A>
            <UL>
              <LI><A HREF="formats.html#2.1.1.1">2.1.1.1 MPG, VOB, DAT files</A></LI>
              <LI><A HREF="formats.html#2.1.1.2">2.1.1.2 AVI files</A></LI>
              <LI><A HREF="formats.html#2.1.1.3">2.1.1.3 ASF/WMV files</A></LI>
              <LI><A HREF="formats.html#2.1.1.4">2.1.1.4 QT/MOV files</A></LI>
              <LI><A HREF="formats.html#2.1.1.5">2.1.1.5 VIVO files</A></LI>
              <LI><A HREF="formats.html#2.1.1.6">2.1.1.6 FLI files</A></LI>
              <LI><A HREF="formats.html#2.1.1.7">2.1.1.7 RealMedia files</A></LI>
              <LI><A HREF="formats.html#2.1.1.8">2.1.1.8 NuppelVideo files</A></LI>
              <LI><A HREF="formats.html#2.1.1.9">2.1.1.9 yuv4mpeg files</A></LI>
              <LI><A HREF="formats.html#2.1.1.10">2.1.1.10 FILM files</A></LI>
              <LI><A HREF="formats.html#2.1.1.11">2.1.1.11 RoQ files</A></LI>
              <LI><A HREF="formats.html#2.1.1.12">2.1.1.12 OGG files</A></LI>
            </UL>
          </LI>
          <LI><A HREF="formats.html#2.1.2">2.1.2 Audio</A>
            <UL>
              <LI><A HREF="formats.html#2.1.2.1">2.1.2.1 MP3 files</A></LI>
              <LI><A HREF="formats.html#2.1.2.2">2.1.2.2 WAV files</A></LI>
              <LI><A HREF="formats.html#2.1.1.12">2.1.2.3 OGG files (Vorbis)</A></LI>
              <LI><A HREF="formats.html#2.1.1.3">2.1.2.4 WMA/ASF files</A></LI>
              <LI><A HREF="formats.html#2.1.2.5">2.1.2.5 MP4 files</A></LI>
            </UL>
          </LI>
        </UL>
      </LI>
      <LI><A HREF="codecs.html#2.2">2.2 Supported codecs</A>
        <UL>
          <LI><A HREF="codecs.html#2.2.1">2.2.1 Video</A>
            <UL>
              <LI><A HREF="codecs.html#2.2.1.1">2.2.1.1 DivX4/DivX5</A></LI>
              <LI><A HREF="codecs.html#2.2.1.2">2.2.1.2 ffmpeg's DivX/libavcodec</A></LI>
              <LI><A HREF="codecs.html#2.2.1.3">2.2.1.3 XAnim codecs</A></LI>
              <LI><A HREF="codecs.html#2.2.1.4">2.2.1.4 VIVO video</A></LI>
              <LI><A HREF="codecs.html#2.2.1.5">2.2.1.5 MPEG1/2 video</A></LI>
              <LI><A HREF="codecs.html#2.2.1.6">2.2.1.6 MS Video1</A></LI>
              <LI><A HREF="codecs.html#2.2.1.7">2.2.1.7 Cinepak CVID</A></LI>
              <LI><A HREF="codecs.html#2.2.1.8">2.2.1.8 RealVideo</A></LI>
              <LI><A HREF="codecs.html#2.2.1.9">2.2.1.9 XViD</A></LI>
            </UL>
          </LI>
          <LI><A HREF="codecs.html#2.2.2">2.2.2 Audio</A>
            <UL>
              <LI><A HREF="codecs.html#2.2.2.1">2.2.2.1 Software AC3 decoding</A></LI>
              <LI><A HREF="codecs.html#2.2.2.2">2.2.2.2 Hardware AC3 decoding</A></LI>
              <LI><A HREF="codecs.html#2.2.2.3">2.2.2.3 libmad support</A></LI>
              <LI><A HREF="codecs.html#2.2.2.4">2.2.2.4 VIVO audio</A></LI>
              <LI><A HREF="codecs.html#2.2.2.5">2.2.2.5 RealAudio</A></LI>
             </UL>
          </LI>
          <LI><A HREF="codecs.html#2.2.3">2.2.3 Win32 codec importing howto</A>
            <UL>
              <LI><A HREF="codecs.html#2.2.3.1">2.2.3.1 VFW codecs</A></LI>
              <LI><A HREF="codecs.html#2.2.3.2">2.2.3.2 DirectShow codecs</A></LI>
            </UL>
          </LI>
        </UL>
      </LI>
      <LI><A HREF="video.html">2.3 Output devices</A>
        <UL>
          <LI><A HREF="video.html#2.3.1">2.3.1 Video</A>
            <UL>
              <LI><A HREF="video.html#2.3.1.1">2.3.1.1 Setting up MTRR</A></LI>
              <LI><A HREF="video.html#2.3.1.2">2.3.1.2 Xv</A>
                <UL>
                  <LI><A HREF="video.html#2.3.1.2.1">2.3.1.2.1 3dfx</A></LI>
                  <LI><A HREF="video.html#2.3.1.2.2">2.3.1.2.2 S3</A></LI>
                  <LI><A HREF="video.html#2.3.1.2.3">2.3.1.2.3 nVidia</A></LI>
                  <LI><A HREF="video.html#2.3.1.2.4">2.3.1.2.4 ATI</A></LI>
                  <LI><A HREF="video.html#2.3.1.2.5">2.3.1.2.5 NeoMagic</A></LI>
                  <LI><A HREF="video.html#2.3.1.2.6">2.3.1.2.6 Trident cards</A></LI>
                </UL>
              </LI>
              <LI><A HREF="video.html#2.3.1.3">2.3.1.3 DGA</A>
                <UL>
                  <LI><A HREF="video.html#2.3.1.3.1">2.3.1.3.1 Summary</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.2">2.3.1.3.2 What is DGA</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.3">2.3.1.3.3 Installing DGA support for MPlayer</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.4">2.3.1.3.4 Resolution switching</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.5">2.3.1.3.5 DGA & MPlayer</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.6">2.3.1.3.6 Features of the DGA driver</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.7">2.3.1.3.7 Speed issues</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.8">2.3.1.3.8 Known bugs</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.9">2.3.1.3.9 Future work</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.A">2.3.1.3.A Some modelines</A></LI>
                  <LI><A HREF="video.html#2.3.1.3.B">2.3.1.3.B Bug Reports</A></LI>
                </UL>
              </LI>
              <LI><A HREF="video.html#2.3.1.4">2.3.1.4 SDL</A></LI>
              <LI><A HREF="video.html#2.3.1.5">2.3.1.5 SVGAlib</A></LI>
              <LI><A HREF="video.html#2.3.1.6">2.3.1.6 Framebuffer output (FBdev)</A></LI>
              <LI><A HREF="video.html#2.3.1.7">2.3.1.7 Matrox framebuffer (mga_vid)</A></LI>
              <LI><A HREF="video.html#2.3.1.8">2.3.1.8 SiS 6326 framebuffer (sis_vid)</A></LI>
              <LI><A HREF="video.html#2.3.1.9">2.3.1.9 3dfx YUV support (tdfxfb)</A></LI>
              <LI><A HREF="video.html#2.3.1.10">2.3.1.10 OpenGL output</A></LI>
              <LI><A HREF="video.html#2.3.1.11">2.3.1.11 AAlib - text mode displaying</A></LI>
              <LI><A HREF="video.html#2.3.1.12">2.3.1.12 VESA - output to VESA BIOS</A></LI>
              <LI><A HREF="video.html#2.3.1.13">2.3.1.13 X11</A></LI>
              <LI><A HREF="video.html#2.3.1.15">2.3.1.14 Rage128 / Radeon video overlay (OBSOLETED - link to Vidix!)</A></LI>
              <LI><A HREF="video.html#2.3.1.15">2.3.1.15 Vidix</A></LI>
              <LI><A HREF="video.html#2.3.1.16">2.3.1.16 Zr (for some MJPEG capture/playback boards)</A></LI>
              <LI><A HREF="video.html#2.3.1.A">2.3.1.A TVout</A>
                <UL>
                  <LI><A HREF="video.html#2.3.1.A.1">2.3.1.A.1 Matrox G400</A></LI>
                  <LI><A HREF="video.html#2.3.1.A.2">2.3.1.A.2 ATI</A></LI>
                  <LI><A HREF="video.html#2.3.1.A.3">2.3.1.A.3 Voodoo 3/Banshee</A></LI>
                </UL>
              </LI>
            </UL>
          <LI><A HREF="sound.html#2.3.2">2.3.2 Audio</A>
            <UL>
              <LI><A HREF="sound.html#2.3.2.1">2.3.2.1 Soundcard experiences, recommendations</A></LI>
              <LI><A HREF="sound.html#2.3.2.2">2.3.2.2 Audio plugins</A>
                <UL>
                  <LI><A HREF="sound.html#2.3.2.2">2.3.2.2 Summary</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.1">2.3.2.2.1 Up/Downsampling</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.2">2.3.2.2.2 Surround Sound decoding</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.3">2.3.2.2.3 Sample format converter</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.4">2.3.2.2.4 Delay</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.5">2.3.2.2.5 Software volume control</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.6">2.3.2.2.6 Extrastereo</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.7">2.3.2.2.7 Volume Normalizer</A></LI>
                  <LI><A HREF="sound.html#2.3.2.2.8">2.3.2.2.8 Surround</A></LI>
                </UL>
              </LI>
            </UL>
          </LI>
        </UL>
      </LI>
      <LI><A HREF="encoding.html#2.4">2.4 MEncoder - An Encoder based on MPlayer</A>
        <UL>
          <LI><A HREF="encoding.html#2.4.1">2.4.1 Overview</A></LI>
          <LI><A HREF="encoding.html#2.4.2">2.4.2 Compiling</A></LI>
          <LI><A HREF="encoding.html#2.4.3">2.4.3 Features</A>
            <UL>
              <LI><A HREF="encoding.html#2.4.3">2.4.3 Summary</A></LI>
              <LI><A HREF="encoding.html#2.4.3.1">2.4.3.1 Encoding 2 or 3-pass DivX4</A></LI>
              <LI><A HREF="encoding.html#2.4.3.2">2.4.3.2 Rescaling movies</A></LI>
              <LI><A HREF="encoding.html#2.4.3.3">2.4.3.3 Streamcopy</A></LI>
              <LI><A HREF="encoding.html#2.4.3.4">2.4.3.4 Fixing AVIs with broken index</A></LI>
              <LI><A HREF="encoding.html#2.4.3.5">2.4.3.5 Encoding with the libavcodec codec family</A></LI>
              <LI><A HREF="encoding.html#2.4.3.6">2.4.3.6 Encoding from multiple input image files (MJPEG/MPNG)</A></LI>
            </UL>
          </LI>
          <LI><A HREF="encoding.html#2.4.4">2.4.4 Syntax</A></LI>
          <LI><A HREF="encoding.html#2.4.5">2.4.5 Available options</A></LI>
          <LI><A HREF="encoding.html#2.4.6">2.4.6 Examples</A></LI>
        </UL>
      </LI>
      <LI><A HREF="#2.5">2.5 TV input</A>
        <UL>
          <LI><A HREF="#2.5.1">2.5.1 Overview</A></LI>
          <LI><A HREF="#2.5.2">2.5.2 Compilation</A></LI>
          <LI><A HREF="#2.5.3">2.5.3 Available options</A></LI>
          <LI><A HREF="#2.5.4">2.5.4 Keyboard control</A></LI>
          <LI><A HREF="#2.5.5">2.5.5 Examples</A></LI>
        </UL>
      </LI>
      <LI><A HREF="#2.6">2.6 Video filters</A>
        <UL>
          <LI><A HREF="#2.6.1">2.6.1 Overview</A></LI>
          <LI><A HREF="#2.6.2">2.6.2 Usage</A></LI>
          <LI><A HREF="#2.6.3">2.6.3 Crop</A></LI>
          <LI><A HREF="#2.6.4">2.6.4 Expand</A></LI>
          <LI><A HREF="#2.6.5">2.6.5 Fame/Lavc</A></LI>
          <LI><A HREF="#2.6.6">2.6.6 Flip</A></LI>
          <LI><A HREF="#2.6.7">2.6.7 Format</A></LI>
          <LI><A HREF="#2.6.8">2.6.8 Postprocess</A></LI>
          <LI><A HREF="#2.6.9">2.6.9 RGB2BGR</A></LI>
          <LI><A HREF="#2.6.10">2.6.10 Rotate</A></LI>
          <LI><A HREF="#2.6.11">2.6.11 Scale</A></LI>
          <LI><A HREF="#2.6.12">2.6.12 YUY2</A></LI>
          <LI><A HREF="#2.6.13">2.6.13 Mirror</A></LI>
          <LI><A HREF="#2.6.14">2.6.14 DVBscale</A></LI>
          <LI><A HREF="#2.6.15">2.6.15 Cropdetect</A></LI>
        </UL>
      </LI>
    </UL>
  </LI>
  <LI><A HREF="#3">3. Usage</A>
    <UL>
      <LI><A HREF="#3.1">3.1 Command line</A></LI>
      <LI><A HREF="#3.2">3.2 Control</A>
        <UL>
          <LI><A HREF="#3.2.1">3.2.1 Default controls</A></LI>
          <LI><A HREF="#3.2.2">3.2.2 Controls configuration</A>
            <UL>
              <LI><A HREF="#3.2.2.1">3.2.2.1 Key names</A></LI>
              <LI><A HREF="#3.2.2.2">3.2.2.2 Commands</A></LI>
            </UL>
          </LI>
          <LI><A HREF="#3.2.3">3.2.3 Control from LIRC</A></LI>
          <LI><A HREF="#3.2.4">3.2.4 Slave mode</A></LI>
        </UL>
      </LI>
      <LI><A HREF="#3.3">3.3 Streaming from network or pipes</A></LI>
    </UL>
  </LI>
  <LI><A HREF="cd-dvd.html#4">4. CD/DVD section</A>
    <UL>
      <LI><A HREF="cd-dvd.html#4.1">4.1 CD drives</A></LI>
      <LI><A HREF="cd-dvd.html#4.2">4.2 DVD playback</A></LI>
    </UL>
  </LI>
  <LI><A HREF="faq.html">5. FAQ section</A>
    <UL>
      <LI><A HREF="faq.html#5.1">5.1 Compilation</A></LI>
      <LI><A HREF="faq.html#5.2">5.2 General questions</A></LI>
      <LI><A HREF="faq.html#5.3">5.3 File playing problems</A></LI>
      <LI><A HREF="faq.html#5.4">5.4 Video/audio driver problems</A></LI>
      <LI><A HREF="faq.html#5.5">5.5 DVD playback</A></LI>
      <LI><A HREF="faq.html#5.6">5.6 Feature requests</A></LI>
      <LI><A HREF="faq.html#5.7">5.7 Encoding</A></LI>
    </UL>
  </LI>
  <LI><A HREF="#6">6. Misc OS'es</A>
    <UL>
      <LI><A HREF="#6.1">6.1 Debian packaging</A></LI>
      <LI><A HREF="#6.2">6.2 FreeBSD</A></LI>
      <LI><A HREF="#6.3">6.3 Solaris</A></LI>
      <LI><A HREF="#6.4">6.4 StrongARM</A></LI>
      <LI><A HREF="#6.5">6.5 SGI/Irix</A></LI>
      <LI><A HREF="#6.6">6.6 QNX</A></LI>
      <LI><A HREF="#6.7">6.7 OpenBSD</A></LI>
      <LI><A HREF="#6.8">6.8 Cygwin</A></LI>
    </UL>
  </LI>
  <LI><A HREF="#A">A. Authors</A>
    <UL>
      <LI><A HREF="#A2">A/2. Maintainers</A></LI>
    </UL>
  </LI>
  <LI><A HREF="#B">B. Mailing lists</A></LI>
  <LI><A HREF="bugreports.html">C. How to report bugs</A>
    <UL>
      <LI><A HREF="tech/patches.txt">C/2. How to send patches</A></LI>
    </UL>
  </LI>
  <LI><A HREF="#D">D. Known bugs</A></LI>
  <LI><A HREF="skin-en.html">X. How To Be A Famous SkinMaker in 5 mins!</A></LI>
</UL>

<HR>
Developer Cries
<HR>

<UL>
  <LI><A HREF="users_against_developers.html#gcc">1. GCC 2.96</A></LI>
  <LI><A HREF="users_against_developers.html#nvidia">2. NVidia opinions</A></LI>
  <LI><A HREF="users_against_developers.html#kotsog">3. About Joe Barr</A></LI>
</UL>

<HR>

<P><B><A NAME=0>0. How to read this documentation</A></B></P>

<P>If you are a first-time installer: be sure to read everything from here to
  the end of the Installation section, and follow the links you will find. If
  you have any other questions, return to the TOC (Table of Contents) and
  search for the topic, read the FAQ, or try grepping though the files.</P>

<P>The main rule of this documentation: if it's not documented, it
  <U>does not exist</U>. If I don't say you encode audio from TV tuner, you
  can't. A healthy quantity of combining ability is welcomed, though.
  Good luck. You'll need it :) And for another good advice, let me quote
  Chris Phillips from the <B>mplayer-users</B> mailing list:</P>

<P><I>"I said a while ago that there is such a difference between a newbie and
  a dumbass. No matter what you actaully know about a system (linux, cars,
  girls :D) you should ALWAYS be able to take a step back and be objective,
  otherwise, you're just dumb IMHO. A girl i live with assumed the vacuum
  cleaner was broken because it didn't suck things up. never thought to change
  the bag, becasue she'd never done it before... now that's just stupid, not a
  case of simply not knowing what to do... Simply not being that familiar with
  your surroundings is no excuse for a) laziness and b) ignorance. So many
  people seem to see the word "error" and then stop...  few seem to actually
  read the words on the OTHER side of the colon."</I></P>


<P><B><A NAME=1>1. Introduction</A></B></P>

<P><B><A NAME=1.1>1.1. Overview</A></B></P>

<P><B>MPlayer</B> is a movie player for LINUX (runs on many other Unices, and
<B>non-x86</B> CPUs, see <A HREF="#6">section 6</A>). It plays most MPEG, VOB,
AVI, OGG, VIVO, ASF/WMV, QT/MOV, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ
files, supported by many native, XAnim, and
Win32 DLL codecs. You can watch <B>VideoCD</B>, <B>SVCD</B>, <B>DVD</B>,
<B>3ivx</B>, and even <B>DivX</B> movies too (and you don't need the avifile
library at all!). The another big feature of mplayer is the wide range of
supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev,
AAlib, DirectFB, but you can use GGI and SDL (and this way all their drivers)
and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon) too! Most
of them supports software or hardware scaling, so you can enjoy movies in
fullscreen. <B>MPlayer</B> supports displaying through some hardware MPEG
decoder boards, such as the <B><A HREF="DVB">DVB</A></B> and <B> <A
HREF="DXR3">DXR3/Hollywood+</A></B> ! And what about the nice big antialiased
shaded subtitles (<B>10 supported types!!!</B>) with european/ISO 8859-1,2
(hungarian, english, czech, etc), cyrillic, korean fonts, and OSD?</P>

<P><B>MPlayer</B> is under GPL v2 license.</P>

<P>My player is rock solid playing damaged MPEG files (useful for some VCDs),
and it plays bad AVI files which are unplayable with the famous
windows media player. Even AVI files without index chunk are playable, and
you can temporarily rebuild their indexes with the -idx option, or
permanently with <B>MEncoder</B>, thus enabling seeking!
As you see, stability and quality are the most important things,
but the speed is also amazing.</P>


<P><B><A NAME=1.2>1.2. History</A></B></P>

<P>This began a year ago...
I (A'rpi) have tried lots of players under linux (mtv,xmps,dvdview,livid/oms,videolan,
xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special
files or with audio/video sync. Most of them is unable to play both MPEG1,
MPEG2 and AVI (DivX) files. Many players have image quality or speed problems
too. So I've decided to write/modify one...</P>

<UL>
<LI><B>mpg12play v0.1-v0.3:</B> Sep 22-25, 2000<BR>
    The first try, hacked together in a half hour!
    I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
    but there were image quality and speed problems with it.</LI>
<LI><B>mpg12play v0.5-v0.87:</B> Sep 28-Oct 20, 2000<BR>
    Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
    but it was slow and was written in C++ (I hate C++!!!)</LI>
<LI><B>mpg12play v0.9-v0.95pre5:</B> Oct 21-Nov 2, 2000<BR>
    Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
    It's great, optimized very fast C code with perfect image quality and
    100% MPEG standard conformance.</LI>
<LI><B>MPlayer v0.3-v0.9:</B> Nov 18-Dec 4, 2000<BR>
    It was a pack of two programs: mpg12play v0.95pre6 and my new simple AVI
    player 'avip' based on avifile's Win32 DLL loader.</LI>
<LI><B>MPlayer v0.10:</B> Jan 1, 2001<BR>
    The MPEG and AVI player in a single binary!</LI>
<LI><B>MPlayer v0.11pre series:</B><BR>
    Some new developers joined and from 0.11 the mplayer project is a team-work!
    Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.</LI>
<LI><B>MPlayer v0.17a "The IdegCounter"</B> Apr 27, 2001<BR>
    The release version of the 0.11pre after 4 months of heavy development!
    Try it, and be amazed! Thousands of new features added... and of course
    old code was improved too, bugs removed etc.</LI>
<LI><B>MPlayer 0.18 "The BugCounter"</B> Jul 9, 2001<BR>
    2 months since 0.17 and here's a new release.. Completed ASF support,
    more subtitle formats, introduced libao (similar to libvo but to audio),
    even more stable than ever, and so on. It's a MUST !</LI>
<LI><B>MPlayer 0.50 "The Faszom(C)ounter"</B> Oct 8, 2001<BR>
    Hmm. Release again. Tons of new features, beta GUI version, bugs fixed,
    new vo and ao drivers, ported to many systems, including opensource DivX
    codecs and much more. Try it!</LI>
<LI><B>MPlayer 0.60 "The RTFMCounter"</B> Jan 3, 2002<BR>
    MOV/VIVO/RM/FLI/NUV fileformats support, native CRAM, Cinepak, ADPCM codecs,
    and support for XAnim's binary codecs; DVD subtitles support, first
    release of MEncoder, TV grabbing, cache, liba52, countless fixes.</LI>
<LI><B>MPlayer 0.90 "?"</B> May? ??, 2002<BR>
    </LI>
</UL>

<P><B><A NAME=1.3>1.3. Installation</A></B></P>

<P>In this chapter I'll try to guide you through the compiling and
configuring process of <B>MPlayer</B>. It's not easy, but it won't neccessarily
be hard. If you experience a different behaviour than what I explain, please
search through this documentation and you'll find your answers. If you
see links, please follow them and read carefully what they contain. It
will take some time, but it DOES worth it.</P>

<P>You need a fairly recent system. On Linux, 2.4.x kernels are recommended.</P>

<P><B><I>SOFTWARE REQUIREMENTS</I></B><BR>

<UL>
  <LI><B>binutils</B> - suggested version is <B>2.11.x</B> . This program is
    responsible for generating MMX/3DNow!/etc instructions, thus very important.</LI>
  <LI><B>gcc</B> - suggested version is from <B>2.95.3</B> to <B>2.95.4</B>.
    <B>NEVER</B> use 2.96 or 3.x.x !!! They generate faulty code. If you decide
    to change gcc from 2.96, then don't decide in favor of 3.0 juts because
    it's newer! In some ways it's even worse than 2.96. So downgrade to
    2.95.x (downgrade libstdc++ too!) or don't up/downgrade at all (but in
    this case, be prepared for runtime problems).
    If you vote for 3.x, try to use the latest version, early releases had
    various bugs, so be sure you use at least 3.0.3 or 3.1.
    Detailed information about gcc 2.96's bugs (that are still NOT fixed, they
    are WORKAROUNDED in <B>MPlayer</B>!) can be found
    <A HREF="users_against_developers.html"><B><I>here</I></B></A> and in the
    <A HREF="faq.html">FAQ</A> !</LI>
  <LI><B>XFree86</B> - suggested version is <B>always the newest (4.2.0)</B>.
    Normally everyone wants this, as starting from XFree86 4.0.2, it contains
    the <A HREF="video.html#2.3.1.2">XVideo</A> extension (somewhere referred
    as <B>Xv</B>) which is needed to enable the hardware YUV acceleration (fast
    image display) on cards that support it. <A HREF="video.html#2.3.1.2">More
    information available.</A><BR>
    Make sure its <B>development package</B> is installed too otherwise
    it won't work.<BR>
    For some videocards you don't need XFree86. See list below.</LI>
  <LI><B>make</B> - suggested version is <B>always the newest</B> (at least 3.79.x). This
    usually isn't important.</LI>
  <LI><B>SDL</B> - it's not mandatory, but can help in some cases (bad audio,
    videocards that lag strangely with the xv driver). Always use the newest
    (beginning from 1.2.x).</LI>
  <LI><B>libjpeg</B> - optional JPEG decoder, used by -mf and some qt mov files.
    Useful for both <B>MPlayer</B> and <B>MEncoder</B> if you plan to work with jpeg files.</LI>
  <LI><B>libpng</B> - recommended and default (M)PNG decoder. Required for GUI.
    Useful for both <B>MPlayer</B> and <B>MEncoder</B>.</LI>
  <LI><B>libogg</B> - optional, needed for playing OGG file format.</LI>
  <LI><B>libvorbis</B> - optional, needed for playing OGG Vorbis audio.</LI>
</UL>

<P><B><I>CODECS</I></B></P>

<UL>
<LI><B>libavcodec</B> : If you want to use this DivX3/DivX4/DivX5/MP41/MP42/etc
codec, check the
<A HREF="codecs.html#2.2.1.2">2.2.1.2</A> section before compiling. Features :<BR>
<UL>
  <LI>you can <B>gain <I>DivX/DivX4/DivX5/MP41/MP42</I> playing on non-x86
    machines</B></LI>
  <LI>RealVideo 1.0/VIVO/MJPEG/h263/others playing and encoding</LI>
  <LI>this codec has the <B>greatest decoding speed</B> for DivX and DivX4/DivX5
movies (even faster than the original DivX4 library itself) ! Recommended!</LI>
</UL>
</LI>

<LI><B>Win32 codecs</B> : If you plan to use <B>MPlayer</B> on x86
architecture, you will possibly need them. Download and unzip w32codecs.zip to
/usr/lib/win32 <B>BEFORE</B> compiling <B>MPlayer</B>, otherwise no Win32
support will be compiled!<BR>
Note: the avifile project has similar codecs package, but it
differs from ours, so if you want to use all supported codecs, then use our
package! However, you can use our codecs package with avifile. Features:<BR>
<UL>
  <LI>you need this if you want to play or encode for example movies recorded
  with various hardware compressors, like tuner cards, digital cameras (example: DV, ATI VCR, MJPEG)</LI>
  <LI>needed if you want to play <B>WMV movies</B> or older (MP41/MP42) ASF's</LI>
</UL>
</LI>

<LI><B>DivX4/DivX5</B> : information about this codec is available in the
<A HREF="codecs.html#2.2.1.1">2.2.1.1</A> section. If you don't want to encode
with it, you possibly don't want this codec as <B>libavcodec</B> (see above) is
much faster than this.<BR>
Features:
<UL>
  <LI>1 pass or 2 pass encoding with <A HREF="encoding.html">MEncoder</A></LI>
  <LI>can play old <B>DivX3</B> movies much faster than the Win32 DLL but
    slower than <B>libavcodec</B> !</LI>
  <LI>it's closed-source, and only an x86 version is available.</LI>
</UL>
</LI>

<LI><B>XviD</B> : Opensource encoding alternative to Divx4Linux<BR>
Features:
<UL>
  <LI>1 pass or 2 pass encoding with <A HREF="encoding.html">MEncoder</A></LI>
  <LI>it's open-source, so not only an x86 version is available.</LI>
  <LI>it's about 2 times faster than divx4 when encoding - about the same quality</LI>
</UL>
</LI>

<LI>The <A HREF="codecs.html#2.2.1.3">XAnim codecs</A> are the best (full screen,
hardware YUV zoom) for decoding <B>3ivx</B> and Indeo 3/4/5 movies, and some
old formats. And they are multiplatform, so this is the only way to play Indeo on
non-x86 platforms (well, apart from using XAnim:). But for example Cinepak
movies are best played with <B>MPlayer</B>'s own Cinepak decoder !</LI>

<LI>For <B>Ogg Vorbis</B> audio decoding you need to install
  <CODE>libvorbis</CODE> properly. Use deb/rpm packages if available, or
  compile from
  <A HREF="http://ogg.org/ogg/vorbis/download/vorbis_nightly_cvs.tgz">source</A>
  (this is a nightly updated tarball of vorbis CVS).</LI>

<LI><B>MPlayer</B> can use the libraries of RealPlayer 8 or RealONE to play
  <B>RealVideo 2.0 and 3.0</B> files. See
  <A HREF="formats.html#2.1.1.7">RealMedia file format</A> section for
  installation instructions and more information!</LI>

</UL>

<P><B><I>VIDEOCARDS</I></B></P>

<P>There are generally two kind of videocards. One kind (the newer cards) has
<B>hardware scaling and YUV acceleration</B> support, the other cards don't.</P>

<P>
<B><I>YUV cards</I></B></P>

<P>
They can display and scale (zoom) the picture to any size that fits in
their memory, with <B>small CPU usage</B> (zooming doesn't increase it!), thus
you get a nice and very fast fullscreen playing.</P>

<UL>
<LI><B>Matrox G200/G400/G450/G550 cards</B> : although a
  <A HREF="video.html#2.3.1.9">Vidix driver</A> is provided, it is recommended
  to use the old mga_vid kernel module instead, for it works much better.
  Please see the <A HREF="video.html#2.3.1.7">mga_vid</A> section about its
  installation and usage. It is important to do these steps <I>before</I>
  compiling <B>MPlayer</B>, otherwise no mga_vid support will be built. Also
  check out the <A HREF="video.html#2.3.1.A.1">Matrox TV-out</A> section.
  <U><B>If you are non-Linux user</B></U>, your only possibility is the Vidix
  driver: read <A HREF="video.html#2.3.1.15">Vidix</A> documentation !</LI>

<LI><B>3Dfx Voodoo3/Banshee cards</B> : please see the
  <A HREF="video.html#2.3.1.9">2.3.1.9</A> section in order to gain big
  speedup. It is important to do these steps <I>before</I> compiling
  <B>MPlayer</B>, otherwise no 3Dfx support will be built. Also see the <A
  HREF="video.html#2.3.1.A.3">3dfx TV-out section</A>. If you use X, use at
  least 4.2.0, as 3dfx Xv driver was broken in 4.1.0, and earlier
  releases!</LI>

<LI><B>ATI cards</B> : <A HREF="video.html#2.3.1.14">Vidix driver</A> is
  provided for the following cards:
  <B>Radeon</B>, <B>Rage128</B>, <B>Mach64</B> (Rage XL/Mobility, Xpert98).
  Also see the <A HREF="video.html#2.3.1.A.2">ATI cards
  section</A> of the TV-out documentation, to know if you card's TV-out is
  supported under Linux/MPlayer.</LI>

<LI><B>S3 cards</B> : the Savage and Virge/DX chips have hardware acceleration. Use as
new XFree86 version as possible, older drivers are buggy. Savage chips
have problems with YV12 display, see <A HREF="video.html#2.3.1.2.2">S3 Xv
section</A> for details. Older, Trio cards have no, or slow hardware
support.</LI>

<LI><B>Nvidia cards</B> : very bad choice for video playing (NVidia has
<A HREF="users_against_developers.html#nvidia">different opinion</A>!).
Nvidia's cards have very cheap and bad
quality chips. Moreover, <U>the built-in Nvidia driver in XFree86 doesn't
contain support for hardware YUV acceleration for all NVidia cards !</U>
You have to download Nvidia's closed-source drivers from nvidia.com. See
details in <A HREF="video.html#2.3.1.2.3">Nvidia Xv driver</A> section.</LI>

<LI><B>3DLabs GLINT R3 and Permedia3</B> : a Vidix driver is provided
  (pm3_vid). Please see the <A HREF="video.html#2.3.1.15">Vidix
  instructions</A>.</LI>

<LI><B>other cards</B> : none of the above?
  <UL>
    <LI>Try if the XFree86 driver (and your card) supports hardware
      acceleration. See the <A HREF="video.html#2.3.1.2">Xv section</A> for
      details.</LI>
    <LI>If it doesn't, then your card's video features aren't supported under your OS :(<BR>
      If it does hardware scaling under Windows, it doesn't mean it will do the same
      under Linux or other OS, it depends on the drivers! Most manufacturers don't
      make Linux drivers nor release chip specs - so you're unlucky if using their cards.
      See next section:
    </LI>
  </UL>
</LI>

</UL>

<P>
<B><I>Non-YUV cards</I></B></P>

<P>
Fullscreen playing can be achieved by either zooming
<B>by software</B> (use the option -zoom, but i warn you: this is slooow!),
or changing to a smaller videomode, for
example to 352x288. If you don't have YUV accel, this latter method is
the recommended one. Throughout <B>MPlayer</B>, <U>this behaviour can
be switched on by using the <CODE>-vm</CODE> option</U> and with
the following drivers :
</P>

<UL>
  <LI><B>using</B> XFree86 : see details in
    <A HREF="video.html#2.3.1.3">DGA driver</A> and
    <A HREF="video.html#2.3.1.13">X11 driver</A> sections. DGA is
    recommended! Also try DGA via SDL, sometimes it's better.</LI>
  <LI><B>not using</B> XFree86 : try the drivers in the following order :
    <A HREF="video.html#2.3.1.12">vesa</A>,
    <A HREF="video.html#2.3.1.6">fbdev</A>,
    <A HREF="video.html#2.3.1.5">svgalib</A>,
    <A HREF="video.html#2.3.1.11">aalib</A>.</LI>
</UL>

<P><B><I>SOUNDCARDS</I></B></P>

<UL>
<LI><B>Soundblaster Live!</B> : with this card you can use 4 or 6 (<B>5.1</B>)
channels AC3 decoding instead of 2. Read the
<A HREF="codecs.html#2.2.2.1">Software AC3 decoding</A> section.
For hardware AC3 passthrough you MUST use ALSA 0.9 oss emulation!</LI>

<LI><B>C-Media with SP/DIF out</B> : hardware AC3 passthrough is possible
  with these cards, see
  <A HREF="codecs.html#2.2.2.2">Hardware AC3 decoding</A> section.</LI>

<LI><B>other cards'</B> features aren't supported by <B>MPlayer</B>.
  <U>It's very recommended to read the <A HREF="sound.html#2.3.2">soundcards
  section</A> !</U>
</UL>

<P><B><I>FEATURES</I></B></P>

<UL>
<LI>Decide if you need GUI. If you do, see the <A HREF="#1.4">1.4 section</A>
before compiling.</LI>

<LI>If you want to install <B>MEncoder</B> (our great all-purpose encoder),
see the <A HREF="encoding.html#2.4">MEncoder section</A> .</LI>


<LI>If you have a V4L compatible <B>TV tuner</B> card, and wish to watch/grab and
encode movies with <B>MPlayer</B>, read the <A HREF="#2.5">TV input</A> section.</LI>

<LI>There are three timing methods in <B>MPlayer</B>. To use the old
method, you don't have to do anything. It uses <CODE>usleep()</CODE> to tune
A/V sync, with +/- 10ms accuracy. However sometimes the sync has to be tuned
even finer. The new timer code uses PC's RTC (Real Time Clock) for this task,
because it has precise 1ms timers. This requires root, or a <I>setuid root</I>
<B>MPlayer</B> binary (or a little kernel hacking, but that's unadvised). You
can see the new timer's efficiency in the status line. The third timer
code is turned on with the <CODE>-softsleep</CODE> option. It has the
efficiency of the RTC, but it doesn't use RTC. On the other hand,
it requires more CPU. Note: <B>NEVER install setuid MPlayer binary on a
multiuser system!</B> It's a clear way for everyone to gain root.</LI>

</UL>

<P>Then build <B>MPlayer</B>:</P>

<PRE>
    ./configure
    make
    make install
</PRE>

<P>At this point, <B>MPlayer</B> is ready to use. The directory
<CODE>$PREFIX/share/mplayer</CODE> contains the <CODE>codecs.conf</CODE>
file, which is used to tell the program all the codecs and their capabilities.
This file should always be kept uptodate together with the main binary !<BR>
Check if you have codecs.conf in your home directory (~/.mplayer/codecs.conf)
left from old MPlayer versions, and remove it!</P>

<P><B>Debian users</B> can build a .deb package for themselves, it's very
simple. Just exec <CODE>fakeroot debian/rules binary</CODE> in <B>MPlayer</B>'s
root dir. Detailed instructions can be found <A HREF="documentation.html#6.1">here</A>.</P>

<P><B><I>ALWAYS browse the output of ./configure</I></B>, and the
<CODE>configure.log</CODE> file, they contain info about what will be built,
and what won't. You may also want to view config.h and config.mak files.<BR>
If you have some libs installed, but not detected by ./configure, then check
if you also have the proper header files (usually the -dev packages) and
their version matches. The configure.log usually tells you what is missing.
</P>

<P>Though not mandatory, the fonts should be installed in order to gain
OSD, and subtitle functionality. Download mp-arial-iso-8859-*.zip and/or optional
(if exists) language updates. It's VERY RECOMMENDED to check
<A HREF="#1.5">section 1.5</A> for details.</P>

<PRE>
    mkdir ~/.mplayer/font
    cd ~/.mplayer/font
    unzip mp-arial-iso-8859-1.zip
    ln -s ~/.mplayer/font/arial-24 font
</PRE>


<P><B><A NAME=1.4>1.4. What about the GUI?</A></B></P>

<P>The GUI needs GTK (it isn't GTK, but the panels are). The skins are stored
in PNG format, so gtk, libpng (and their devel stuff) has to be installed.
You can build it by specifying <CODE>--enable-gui</CODE> during ./configure .
Then, to turn on GUI mode, you either</P>
<UL>
  <LI>use the <CODE>-gui</CODE> option</LI>
  <LI>specify <CODE>gui=yes</CODE> in your config file</LI>
  <LI><CODE>ln -s $PREFIX/bin/mplayer $PREFIX/bin/gmplayer</CODE> ,
  and call <CODE>gmplayer</CODE> instead.
</UL>

<P>HINT: use the middle button (on 2 button mice press left and right
simultaneously) for a popup GTK menu, with DVD playing option!</P>

<P>As <B>MPlayer</B> doesn't have a skin included, you have to download them
if you want to use the GUI. See the <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>.
They should be extracted to the usual system-wide directory (<CODE>$PREFIX/share/mplayer/Skin</CODE>),
or to <CODE>$HOME/.mplayer/Skin</CODE> . <B>MPlayer</B> by default looks in
these directories for a <I>default</I> named directory, but you can use the
<I>-skin newskin</I> option, or the <I>skin=newskin</I> config file
directive to use the skin in <CODE>*/Skin/newskin</CODE> directory.</P>

<P><B><A NAME=1.5>1.5. Subtitles and OSD</A></B></P>

<P>
<B>MPlayer</B> can display subtitles along with movie files. Currently the following 
formats are supported:</P>
<UL>
<LI>VobSub</LI>
<LI>Microdvd</LI>
<LI>SubRip</LI>
<LI>SubViewer</LI>
<LI>Sami</LI>
<LI>VPlayer</LI>
<LI>RT</LI>
<LI>SSA</LI>
<LI>MPsub</LI>
<LI>AQTitle</LI>
</UL>
The command line options differ slightly for the different formats:

<P>
<B>VobSub subtitles</B><BR> 
VobSub subtitles consist of a big (some megabytes) .SUB file, and optional 
.IDX and/or .IFO files.<BR>
Usage : if you have files like <CODE>sample.sub</CODE>, <CODE>sample.ifo</CODE>,
<CODE>sample.idx</CODE> - you have to pass the <CODE>-vobsub sample -vobsubid
&lt;id&gt;</CODE> options (optionally with pathname, of course). The
<CODE>-vobsubid</CODE> option is like <CODE>-sid</CODE> for DVDs, you can
choose between subtitle tracks (languages) with it.</P>

<P>
<B>Other subtitles</B><BR>
The other formats consist of a single text file containing timing, placement
and text information.<BR>
Usage : if you have a file like <CODE>sample.txt</CODE>, you have to pass 
the option <CODE>-sub sample.txt</CODE> (optionally with pathname, of course). 
</P>

<P>
<B>Adjusting subtitle timing and placement</B><BR>

<CODE>-subdelay &lt;sec&gt;</CODE> : Delays subtitles by &lt;sec&gt; seconds. Can be negative.<BR>
<CODE>-subfps &lt;rate&gt;</CODE> : Specify frame/sec rate of subtitle file (float number)<BR>
<CODE>-subpos &lt;0 - 100&gt;</CODE> : Specify the position of subtitles.<BR>
</P>
<P>
If you experience a growing delay between the movie and the subtitles when using a MicroDVD
subtitle file, most likely the frame rate of the movie and the subtitle file are different.<BR>
Please note that the MicroDVD subtitle format uses absolute frame numbers for its
timing, and therefore the <CODE>-subfps</CODE> option cannot be used with this format. As 
<B>MPlayer</B> has no way to guess the frame rate of the subtitle file, you have to manually
convert the frame rate. There is a little perl script in the <CODE>contrib</CODE> directory of 
the MPlayer ftp site to do this conversion for you.</P>

<P>About DVD subtitles, read the <A HREF="cd-dvd.html#4.2">DVD section</A>.</P>

<P><B>MPlayer</B> introduces a new subtitle format called <B><I>MPsub</I></B>.
It was designed by me (Gabucino). Basically its main feature is being
<I>dynamically</I> time-based (although it has frame-based mode too). Example (from
<A HREF="http://www.mplayerhq.hu/DOCS/tech/mpsub.sub">DOCS/tech/mpsub.sub</A>) :
</P>

<P><CODE><I>
# first number  : wait this much after previous subtitle disappeared<BR>
# second number : display the current subtitle for this many seconds<BR>
<BR>
15 3<BR>
A long, long time ago...<BR>
<BR>
0 3<BR>
in a galaxy far away...<BR>
<BR>
0 3<BR>
Naboo was under an attack.<BR>
</I></CODE></P>

<P>So you see, the main goal was to <B>make subtitle editing/timing/joining/cutting easy</B>. And,
if you - say - get an SSA subtitle but it's badly timed/delayed to your
version of the movie, you simply do a <I>mplayer dummy.avi -sub source.ssa
-dumpmpsub</I> . A <CODE>dump.mpsub</CODE> file will be created in the
current directory, which will contain the source subtitle's text, but in
<B>MPsub</B> format. Then you can freely add/substract seconds to/from the
subtitle.</P>

<P>Subtitles are displayed with a technique called <B>'OSD', On Screen Display</B>.
OSD is used to display current time, volume bar, seek bar etc.</P>

<P><B>INSTALLING OSD and SUB</B></P>

<P>You need an <B>MPlayer</B> font package to be able to use OSD/SUB feature.
There are many ways to get it:</P>
<UL>

<LI>download ready-to-use font packages from <B>MPlayer</B> site.
Note: currently available fonts are limited for iso 8859-1/2 support,
but there are some other (including korean, russian, 8859-8 etc) fonts
at contrib/font section of FTP, made by users.

Font should have appropriate font.desc file which maps unicode font
positions to the actual code page of the subtitles text. Other solution
is to have subtitles encoded in utf8 encoding and use -utf8 option
or just name the subtitles file &lt;video_name&gt;.utf and have it in the same
dir as the video file. Recoding from different codepages to utf8 could be
done by using konwert (debian) or iconv (RedHat) programs.<BR>
Some URLs:
<UL>
  <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/">ftp://ftp.mplayerhq.hu/MPlayer/releases/</A> - ISO fonts
  <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/">ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/</A> - various fonts by users
  <LI><A HREF="http://realtime.ssu.ac.kr/~lethean/mplayer">http://realtime.ssu.ac.kr/~lethean/mplayer</A> - korean fonts & RAW plugin
</UL>
</LI>

<LI>use the font generator tool at TOOLS/subfont-c
It's a complete tool to convert from TTF/Type1/etc font to mplayer font pkg.
(read TOOLS/subfont-c/README for details)</LI>

<LI>use the font generator GIMP plugin at TOOLS/subfont-GIMP
(note: you must have HSI RAW plugin too, see URL below)</LI>
</UL>

<P>After that, UNZIP the file you downloaded to <CODE>~/.mplayer</CODE> or
<CODE>$PREFIX/share/mplayer</CODE>. Then rename or symlink one of them to
<CODE>font</CODE> (like : <CODE>ln -s ~/.mplayer/arial-24
~/.mplayer/font</CODE>). Now you have to see a timer at the upper left corner
of the movie (switch it off with the "o" key).</P>

<P>OSD has 3 states: (switch with 'o')</P>
<UL>
  <LI>timer + volume bar + seek bar + subtitles (default)
  <LI>volume bar + seek bar + subtitles
  <LI>subtitles only
</UL>

<P>You can change default behaviour by setting <CODE>osdlevel=</CODE> variable in config file.</P>


<P><B><A NAME=2>2. Features</A></B></P>


<P><A NAME=2.1>2.1.</A> <A HREF="formats.html">Supported formats</A></P>


<P><A NAME=2.2>2.2..</A> <A HREF="codecs.html">Supported codecs</A></P>


<P><A NAME=2.3>2.3..</A> <A HREF="video.html">Video</A> & <A HREF="sound.html">Audio</A> output devices</P>


<P><A NAME=2.4>2.4..</A> <A HREF="encoding.html">MEncoder - An All-Purpose Encoder</A></P>


<P><A NAME=2.5><B>2.5. TV input</B></A></P>


<P><A NAME=2.5.1><B><I>2.5.1.  Overview</I></B></A></P>

<P>This section is about how to enable <B>watching/grabbing from V4L compatible
TV tuner</B>.</P>

<P><B>THIS CODE IS CURRENTLY NOT-WORKED ON! Don't expect it to work without
  tweaking/experimenting!</B></P>


<P><A NAME=2.5.2><B><I>2.5.2.  Compilation</I></B></A></P>

<UL>
  <LI>first, you have to recompile. <CODE>./configure</CODE> will autodetect kernel headers
    of v4l stuff, and the existence of /dev/video* entries. If they exist,
    TV support will be built (see configure's output!).</LI>
  <LI>make sure your tuner works with another TV softwares in Linux, for example
    xawtv.</LI>
</UL>

<P><B>Hint</B> : are the colors messed up? Then your tuner can't display
  in YV12 colorspace. Try I420 (you must use the <CODE>-vc rawi420</CODE> option too!), or YUY2, UYVY, RGB32 (this one
  with <CODE>-vo sdl</CODE>) colorspaces.
  You can specify these with the <CODE>outfmt=YV12</CODE> option see below.</P>

<P><A NAME=2.5.3><B><I>2.5.3.  Available options</I></B></A></P>
<TABLE BORDER=0>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>on</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>use TV
  input</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>noaudio</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>thanx, no sound</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>driver</I></TD>
  <TD></TD>
  <TD>    <B>dummy</B> - NULL TV input :) Used for testing only, generates dummy
    input.<BR>
    <B>v4l</B> - captures images from standard V4L interface (default
    <CODE>/dev/video0</CODE>)</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>device</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>specify other
  device than the default <CODE>/dev/video0</CODE></TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>input</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>give from which
  input of the TV tuner you wish to grab from (e.g. <B>television</B>,
  <B>s-video</B>, <B>composite</B>, ...)<BR>
    Prints the available ones during init.</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>freq</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>specify the
  frequency to set the tuner (e.g. <B>511.250</B>)</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>outfmt</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>in which output
  format should the tuner transport images to us (<B>rgb32</B>, <B>rgb24</B>, <B>yv12</B>,
  <B>uyvy</B>, <B>i420</B> (for i420 you have to pass the <CODE>-vc rawi420</CODE>
  option, because of a fourcc conflict))</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>width</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>  the width of the output window, in pixels</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>height</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>  the height of the output window, in pixels</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>norm</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>  available: PAL, SECAM, NTSC</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>channel</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>  set the tuner to the given channel</TD>
</TR>
<TR>
  <TD>&nbsp;&nbsp;</TD>
  <TD><I>chanlist</I></TD>
  <TD>&nbsp;&nbsp;</TD>
  <TD>  available: <CODE>us-bcast, us-cable, europe-west, europe-east, etc</CODE></TD>
</TR>
</TABLE>

<P><A NAME=2.5.4><B><I>2.5.4.  Keyboard control</I></B></A></P>

<TABLE BORDER=0>
<TR><TD>&nbsp;&nbsp;</TD><TD>h  or  l</TD><TD>&nbsp;&nbsp;</TD><TD>select previous/next channel</TD></TR>
<TR><TD></TD><TD>n</TD><TD></TD><TD>change norm</TD></TR>
<TR><TD></TD><TD>b</TD><TD></TD><TD>change channel list</TD></TR>
</TABLE>

<P><A NAME=2.5.5><B><I>2.5.5.  Examples</I></B></A></P>

<P>
Dummy output, to AAlib :)<BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mplayer -tv on:driver=dummy:width=640:height=480 -vo aa</CODE><BR>
<BR>
Input from standard V4L<BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mplayer -tv on:driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv</CODE><BR>
</P>


<P><A NAME=2.6><B><I>2.6.  Video filters</I></B></A></P>


<P><A NAME=2.6.1><B><I>2.6.1.  Overview</I></B></A></P>

<P>Both <B>MPlayer</B> and <B>MEncoder</B> supports using a universal
  video filter layer, which comprises of numerous plugins - listed and
  explained below. These plugins can perform various actions on the image,
  such as rescale, crop black borders (useful not only for encoding but for
  playing too, since black borders increase bus usage, and cropping these
  can boost playing speed on slow boards), expand image (for SVCDs).</P>

<P>With this filter layer it's possible to perform fast image format conversion
  between the various RGB and YUV when neccessary. This enables for example
  playing RGB data on <CODE>xv</CODE> and <CODE>xmga</CODE> outputs, amongst
  others. (see the <A HREF="#2.6.11">Scale</A> filter)</P>

<P>The layer also does <B>Direct Rendering</B> between the plugins, to
  maximize the speed.

<P>Note that the postprocessing code is now also a part of the layer. It
  will be explained below.</P>

<P><A NAME=2.6.2><B><I>2.6.2.  Usage</I></B></A></P>

<P><CODE>&nbsp;&nbsp;mplayer/mencoder -vop filter1,filter2,filter3,...</CODE>
  </P>

<P>This sets up a filter pipeline (you can use any number of filters). Their
  parameters are optional and if omitted, some of them are set to default
  values, like <I>x and y</I> are both set to the center of the screen, and
  <I>width and height</I> will be set to the movie's width and height.</P>

<P>Filters are queued starting from libvo, so <CODE>filter1</CODE> will be the
  last called filter (after that libvo comes, or when using <B>MEncoder</B>,
  encoding).</P>

<P>You can get the list of available video filters with the<BR>
  "<CODE>mplayer -vop help</CODE>" command line.</P>


<P><A NAME=2.6.3><B><I>2.6.3.  Crop</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Crops the given part of the image, and discards the rest. Useful for
  removing black bands of widescreen movies.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop crop[=width:height:x:y]</CODE></P>


<P><A NAME=2.6.4><B><I>2.6.4.  Expand</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Expands (NOT scales) movie resolution to the given value, and places the
  unscaled original to <I>x</I> <I>y</I>. For movies that don't contain
  black bands, this can be used to add them.  This is good when creating SVCDs,
  or using with the
  <A HREF="video.html#2.3.1.4">SDL video output</A> which can place
  subtitles in these bands.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop expand[=width:height:x:y]</CODE></P>


<P><A NAME=2.6.5><B><I>2.6.5.  Fame/Lavc</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Realtime MPEG1 encoder (using libfame or libavcodec) (for use with
  DVB/DXR3).</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop fame</CODE></P>

<P><CODE>&nbsp;&nbsp;-vop lavc</CODE></P>


<P><A NAME=2.6.6><B><I>2.6.6.  Flip</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Simply flips image. Useful for some old codecs which can output only
  flipped image (these are autodetected).</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop flip</CODE></P>


<P><A NAME=2.6.7><B><I>2.6.7.  Format</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>This filter is NOT image format converter. It just forces the next filter
  (or libvo) which image format to use. Useful for cards with slow YV12, like
  tdfx and Savage4. For real conversion, use the <I>Scale</I> filter.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop format[=format]</CODE> (where
  <CODE>format</CODE> can be for example: rgb32, yuy2, etc...)</P>


<P><A NAME=2.6.8><B><I>2.6.8.  Postprocess</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>This is our good old postprocess, juts converted to the filter layer.
  Performs image quality enhancement, deinterlacing, etc, see
  <CODE>-npp help</CODE> for available options.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop pp[=postprocess options/keywords]</CODE></P>


<P><A NAME=2.6.9><B><I>2.6.9.  RGB2BGR</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Performs RGB 24/32 <-> BGR 24/32 colorspace conversion (default behaviour)
  or RGB 24/32 <-> RGB 24/32 conversion with R<->B swapping (with the 'swap'
  option)</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop rgb2bgr[=swap]</CODE></P>


<P><A NAME=2.6.10><B><I>2.6.10.  Rotate</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Rotates (flips) image. Parameter 'x' (values: 0-3) controls horizontal and
  vertical mirroring.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop rotate[=x]</CODE></P>


<P><A NAME=2.6.11><B><I>2.6.11.  Scale</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Scales the image with the software scaler (slow). You can adjust the
  quality of the scaler with the <CODE>-sws</CODE> option, see the man page.
  Nice quality implies speed loss.</P>

<P><B>NOTE</B>: calling this filter with no options means <B>colorspace
  conversion</B>! This is useful for codecs which can't output in the needed
  format for the specified video output device. These are hopefully
  autodetected and scale filter is called to convert. In other cases, you
  can use it manually.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop scale[=width:height]</CODE></P>


<P><A NAME=2.6.12><B><I>2.6.12.  YUY2</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Forced software YV12/I420 to YUY2 conversion.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop yuy2</CODE></P>


<P><A NAME=2.6.13><B><I>2.6.13.  Mirror</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Flips the image on Y axis.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop mirror</CODE></P>


<P><A NAME=2.6.14><B><I>2.6.14.  DVBscale</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Calculates Y scaling for DVB card.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop dvbscale</CODE></P>


<P><A NAME=2.6.15><B><I>2.6.15.  Cropdetect</I></B></A></P>

<P><B><U>Description</U></B>:</P>

<P>Calculates needed cropping parameters. It will print the recommended -vop
  option to stdout.</P>

<P><B><U>Usage</U></B>:</P>

<P><CODE>&nbsp;&nbsp;-vop cropdetect</CODE></P>


<P><B><A NAME=3>3. Usage</A></B></P>

<P><B><A NAME=3.1>3.1. Command line</A></B></P>

<P><B>MPlayer</B> utilizes a complex playtree. It consists of global options
  written as first (for example <CODE>mplayer -vfm 5</CODE>), and options
  written after filenames, that apply only to the given filename/URL/whatever
  (for example <CODE>mplayer -vfm 5 movie1.avi movie2.avi -vfm 4</CODE>).<BR>
  You can group filenames/URLs together using { and }. It's useful with
  option -loop: <CODE>mplayer { 1.avi -loop 2 2.avi } -loop 3</CODE>
  will play files in this order: 1 1 2 1 1 2 1 1 2<BR>
  </P>

<TABLE BORDER=0>
<TR><TD>&nbsp;&nbsp;</TD><TD>file</TD><TD>&nbsp;&nbsp;</TD><TD><CODE>mplayer [options] [path/]filename</CODE></TD></TR>
<TR><TD></TD><TD>files</TD><TD></TD><TD><CODE>mplayer [default options] [path/]filename1 [options for filename1] filename2 [options for filename2] ...</CODE></TD></TR>
<TR><TD></TD><TD>VCD</TD><TD></TD><TD><CODE>mplayer [options] -vcd trackno [-cdrom-device /dev/cdrom]</CODE></TD></TR>
<TR><TD></TD><TD>DVD</TD><TD></TD><TD><CODE>mplayer [options] -dvd titleno [-dvd-device /dev/dvd]</CODE></TD></TR>
<TR><TD></TD><TD>net</TD><TD></TD><TD><CODE>mplayer [options] http://site.com/file.asf (playlists can be used too)</CODE></TD></TR>
</TABLE>

<P>
Latest versions of MPlayer also accepts VCD and DVD tracks in URL style, just like
Xine does: <CODE>mplayer dvd://1</CODE> or <CODE>mplayer vcd://1</CODE>
</P>

<PRE>
  mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
  mplayer -vcd 2
  mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
  mplayer -dvd 1 -dvd-device /dev/hdc
  mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
</PRE>

<P><B><A NAME=3.2>3.2. Control</A></B></P>

<P><B>MPlayer</B> has a fully configurable, command driven, control layer which
  lets you control <B>MPlayer</B> with keyboard, mouse, joystick or remote
  control (using LIRC).</P>

<P><B><A NAME=3.2.1>3.2.1. Default controls</A></B></P>

<P><B>Keyboard</B></P>

<TABLE BORDER=0>
<TR><TD>&nbsp;&nbsp;</TD><TD>&lt;-  or  -&gt;</TD><TD>&nbsp;&nbsp;</TD><TD>seek backward/forward  10 seconds</TD></TR>
<TR><TD></TD><TD>up or down</TD><TD></TD><TD>seek backward/forward   1 minute</TD></TR>
<TR><TD></TD><TD>pgup/pgdown</TD><TD></TD><TD>seek backward/forward  10 minutes</TD></TR>
<TR><TD></TD><TD>&lt; or &gt;</TD><TD></TD><TD>seek backward/forward  in playlist</TD></TR>
<TR><TD></TD><TD>p or SPACE</TD><TD></TD><TD>pause movie (press any key)</TD></TR>
<TR><TD></TD><TD>q or ESC</TD><TD></TD><TD>stop playing and quit program</TD></TR>
<TR><TD></TD><TD>+ or -</TD><TD></TD><TD>adjust audio delay by +/- 0.1 second</TD></TR>
<TR><TD></TD><TD>/ or *</TD><TD></TD><TD>decrease/increase volume</TD></TR>
<TR><TD></TD><TD>f</TD><TD></TD><TD>toggle fullscreen</TD></TR>
<TR><TD></TD><TD>o</TD><TD></TD><TD>toggle OSD: none / seek / seek+timer</TD></TR>
<TR><TD></TD><TD>z or x</TD><TD></TD><TD>adjust subtitle delay by +/- 0.1 second</TD></TR>
<TR><TD></TD><TD>r or t</TD><TD></TD><TD>adjust subtitle position</TD></TR>
<TR><TD></TD><TD>&gt; or &lt;</TD><TD></TD><TD>go to next/previous playtree entry</TD></TR>
<TR><TD></TD><TD>HOME or END</TD><TD></TD><TD>go to next/previous playtree entry in the parent list</TD></TR>
<TR><TD></TD><TD>INSERT or DELETE</TD><TD></TD><TD>go to next/previous alternative source (only avaible in asx playlist)</TD></TR>

<TR><TD COLSPAN=4><P><I>(the following keys are valid only when using <CODE>-vo xv</CODE>)</I></P></TD></TR>

<TR><TD></TD><TD>1 or 2</TD><TD></TD><TD>adjust contrast</TD></TR>
<TR><TD></TD><TD>3 or 4</TD><TD></TD><TD>adjust brightness</TD></TR>
<TR><TD></TD><TD>5 or 6</TD><TD></TD><TD>adjust hue</TD></TR>
<TR><TD></TD><TD>7 or 8</TD><TD></TD><TD>adjust saturation</TD></TR>
</TABLE>

<P><B>GUI</B></P>

<TABLE BORDER=0>
<TR><TD>&nbsp;&nbsp;</TD><TD>, and .</TD><TD>&nbsp;&nbsp;</TD><TD>previous / next file</TD></TR>
<TR><TD></TD><TD>gray - or +</TD><TD></TD><TD>decrease / increase volume</TD></TR>
<TR><TD></TD><TD>enter</TD><TD></TD><TD>start playing</TD></TR>
<TR><TD></TD><TD>space</TD><TD></TD><TD>pause</TD></TR>
<TR><TD></TD><TD>s</TD><TD></TD><TD>stop</TD></TR>
<TR><TD></TD><TD>a</TD><TD></TD><TD>about</TD></TR>
<TR><TD></TD><TD>l</TD><TD></TD><TD>load file</TD></TR>
<TR><TD></TD><TD>b</TD><TD></TD><TD>skin browser</TD></TR>
<TR><TD></TD><TD>e</TD><TD></TD><TD>toggle equalizer</TD></TR>
<TR><TD></TD><TD>p</TD><TD></TD><TD>toggle playlist</TD></TR>
<TR><TD></TD><TD>f</TD><TD></TD><TD>toggle fullscreen</TD></TR>
<TR><TD></TD><TD>m</TD><TD></TD><TD>toggle mute</TD>
</TABLE>

<P><B>TV</B></P>

<TABLE BORDER=0>
<TR><TD>&nbsp;&nbsp;</TD><TD>h  or  l</TD><TD>&nbsp;&nbsp;</TD><TD>select previous/next channel</TD></TR>
<TR><TD></TD><TD>n</TD><TD></TD><TD>change norm</TD></TR>
<TR><TD></TD><TD>b</TD><TD></TD><TD>change channel list</TD></TR>
</TABLE>

<P><B><A NAME=3.2.2>3.2.2. Controls configuration</A></B></P>

<P><B>MPlayer</B> allow you to bind any key/button to any <B>MPlayer</B> command using a simple config file.
The syntax consist of a key name followed by a command. The default config file location is 
$HOME/.mplayer/input.conf but it can be overrided using the -input conf switch (relative path are relative to $HOME/.mplayer).
<P>Example:</P>
<PRE>
##
## MPlayer input control file
##

RIGHT seek +10
LEFT seek -10
- audio_delay 0.100
+ audio_delay -0.100
q quit
> pt_step 1
< pt_step -1
ENTER pt_step 1 1
</PRE>


<P><B><A NAME=3.2.2.1>3.2.2.1. Key names</A></B></P>

<P>You can have a full list by running "mplayer -input keylist"</P>

<P><B>Keyboard</B></P>

<UL>
<LI>Any printable character</LI>
<LI>SPACE</LI>
<LI>ENTER</LI>
<LI>TAB</LI>
<LI>CTRL</LI>
<LI>BS</LI>
<LI>DEL</LI>
<LI>INS</LI>
<LI>HOME</LI>
<LI>END</LI>
<LI>PGUP</LI>
<LI>PGDWN</LI>
<LI>ESC</LI>
<LI>RIGHT</LI>
<LI>LEFT</LI>
<LI>UP</LI>
<LI>DOWN</LI>
</UL>

<P><B>Mouse</B></P>

<P>Note : mouse is only supported under X</P>

<UL>
<LI>MOUSE_BTN0 (Left button)</LI>
<LI>MOUSE_BTN1 (Rigth button)</LI>
<LI>MOUSE_BTN2 (Middle button)</LI>
<LI>MOUSE_BTN3 (Whell)</LI>
<LI>MOUSE_BTN4 (Whell)</LI>
<LI>...</LI>
<LI>MOUSE_BTN9</LI>
</UL>

<P><B>Joystick</B></P>

<P>Note : joystick support must be enabled at compile time</P>

<UL>
<LI>JOY_RIGHT or JOY_AXIS0_PLUS</LI>
<LI>JOY_LEFT or JOY_AXIS0_MINUS</LI>
<LI>JOY_UP or JOY_AXIS1_MINUS</LI>
<LI>JOY_DOWN or JOY_AXIS1_PLUS</LI>
<LI>JOY_AXIS2_PLUS</LI>
<LI>JOY_AXIS2_MINUS</LI>
<LI>....</LI>
<LI>JOY_AXIS9_PLUS</LI>
<LI>JOY_AXIS9_MINUS</LI>
</UL>


<P><B><A NAME=3.2.2.2>3.2.2.2. Commands</A></B></P>

<P>You can have a full list of know commands by running "mplayer -input cmdlist"</P>

<UL>
  <LI><B>seek</B> (int) val [(int) type=0]
         <P>Seek to some place in the movie.<BR>
              Type 0 is a relative seek of +/- val seconds.<BR>
              Type 1 seek to val % in the movie.</P>
  </LI>
  <LI><B>audio_delay</B> (float) val
         <P>Adjust the audio delay of val seconds</P>
  </LI>
  <LI><B>quit</B>
         <P>Quit <B>MPlayer</B></P>
  </LI>
  <LI><B>pause</B>
         <P>Pause/unpause the playback</P>
  </LI>
  <LI><B>grap_frames</B>
         <P>Somebody know ?</P>
  </LI>
  <LI><B>pt_step</B> (int) val [(int) force=0]
         <P>Go to next/prev entry in playtree. Val sign tell the direction.<BR>
              If no other entry is avaible in the given direction it won't do anything unless force is non 0.
         </P>
  </LI>
  <LI><B>pt_up_step</B> (int) val [(int) force=0]
         <P>Like pt_step but it jump to next/prev in the parent list. It's useful to break innner loop in the playtree.</P>
  </LI>
  <LI><B>alt_src_step</B> (int) val
         <P>When more than one source is avaible it select the next/previous one (only supported by asx playlist).</P>
  </LI>
  <LI><B>sub_delay</B> (float) val [(int) abs=0]
         <P>Adjust the subtitles delay of +/- val seconds or set it to val seconds when abs is non zero.</P>
  </LI>
  <LI><B>osd</B> [(int) level=-1]
         <P>Toggle osd mode or set it to level when level > 0.</P>
  </LI>
  <LI><B>volume</B> (int) dir
         <P>Increase/decrease volume</P>
  </LI>
  <LI><B>contrast</B> (int) val [(int) abs=0]</LI>
  <LI><B>brightness</B> (int) val [(int) abs=0]</LI>
  <LI><B>hue</B> (int) val [(int) abs=0]</LI>
  <LI><B>saturation</B> (int) val [(int) abs=0]
         <P>Set/Adjust video paramters. Val range from -100 to 100.</P>
  </LI>
  <LI><B>frame_drop</B> [(int) type=-1]
         <P>Toggle/Set frame dropping mode.</P>
  </LI>
  <LI><B>sub_pos</B> (int) val
         <P>Adjust subtitles position.</P>
  </LI>
  <LI><B>vo_fullscreen</B>
         <P>Switch fullscreen mode.</P>
  </LI>
  <LI><B>tv_step_channel</B> (int) dir
         <P>Select next/previous tv channel.</P>
  </LI>
  <LI><B>tv_step_norm</B>
         <P>Change TV norm.</P>
  </LI>
  <LI><B>tv_step_chanlist</B>
         <P>Change channel list.</P>
  </LI>
  <LI><B>gui_loadfile</B></LI>
  <LI><B>gui_loadsubtitle</B></LI>
  <LI><B>gui_about</B></LI>
  <LI><B>gui_play</B></LI>
  <LI><B>gui_stop</B></LI>
  <LI><B>gui_playlist</B></LI>
  <LI><B>gui_preferences</B></LI>
  <LI><B>gui_skinbrowser</B>
         <P>GUI actions</P>
  </LI>
</UL>

<P><B><A NAME=3.2.3>3.2.3. Control from LIRC</A></B></P>

<P>Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
an (almost) arbitrary remote control and control your linux box with it!
More about it at <A HREF="http://www.lirc.org">www.lirc.org</A>.</P>

<P>If you have installed the lirc-package, configure will autodetect it. If
  everything went fine, <B>MPlayer</B> will print a message like "Setting up
  lirc support..." on startup. If an error occurs it will tell you. If it
  doesn't tell you anything about LIRC there's no support compiled in. That's
  it :-)</P>

<P>The application name for <B>MPlayer</B> is - oh wonder - 'mplayer'.
  You can use any mplayer commands and even pass more than one command by
  separating them with \n. Don't forget to enable the repeat flag in .lircrc
  when it make sense (seek, volume, etc). Here's an excerpt from my
  .lircrc:</P>

<PRE>
begin
     button = VOLUME_PLUS
     prog = mplayer
     config = volume 1
     repeat = 1
end

begin
    button = VOLUME_MINUS
    prog = mplayer
    config = volume -1
    repeat = 1
end

begin
    button = CD_PLAY
    prog = mplayer
    config = pause
end

begin
    button = CD_STOP
    prog = mplayer
    config = seek 0 1\npause
end
</PRE>

<P>If you don't like the standard location for the lirc-config file (~/.lircrc)
use the -lircconf &lt;filename&gt; switch to specify another file.</P>

<P><B><A NAME=3.2.4>3.2.4. Slave mode</A></B></P>

<P>The slave mode allow you to build simple frontend to <B>MPlayer</B>. When enabled (with the -slave switch) <B>MPlayer</B> will read commands separeted by new line (\n) from stdin.<P>

<P><B><A NAME=3.3>3.3. Streaming from network or pipes</A></B></P>

<P><B>MPlayer</B> can play files from network, using the HTTP or MMS protocol.</P>

<P>Playing goes by simply using adding the URL to the command line. <B>MPlayer</B>
also honours the http_proxy environment variable, and uses proxy if available.
Proxy usage can also be forced :</P>

<P><CODE>mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</CODE></P>

<P><B>MPlayer</B> can read from stdin (NOT named pipes). This can be for example
used to play from FTP:</P>
<P><CODE>wget ftp://micorsops.com/something.avi -O - | mplayer -</CODE></P>

<P>Note: it's also recommended to enable CACHE when playback from network:</P>
<P><CODE>wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -</CODE></P>

<P><B><A NAME=4></A>4. <A HREF="faq.html">FAQ section</A></B></P>

<P><B><A NAME=5></A>5. <A HREF="cd-dvd.html">CD/DVD section</A></B></P>

<P><B><A NAME=6>6. Misc OS'es</A></B></P>

<P><B><A NAME=6.1>6.1. Debian packaging</A></B></P>

<P>To build the package, get the cvs version, or .tgz and uncompress it,
and cd into programs directory:</P>

<PRE>
    cd main
    fakeroot debian/rules binary
</PRE>

<P>(... mplayer detects hardware/software, builds itself and.. )
dpkg-deb: building package `mplayer' in `../mplayer_0.18-1_i386.deb'.</P>

<P>And now just become root, and:</P>

<PRE>
    dpkg -i ../mplayer_0.18-1_i386.deb as root.
</PRE>

<P>Here's how it looks like:</P>

<PRE>
	eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.18-1_i386.deb
	Password:
	(Reading database ... 26946 files and directories currently installed.)
	Preparing to replace mplayer 0.17a-1 (using ../mplayer_0.18-1_i386.deb)
	Unpacking replacement mplayer ...
	Setting up mplayer (0.18-1) ...
</PRE>


<P><B><A NAME=6.2>6.2. FreeBSD</A></B></P>

<P>To build the package you will need GNU make (gmake, /usr/ports/devel/gmake),
native BSD make will not work.</P>

<P>To run <B>MPlayer</B> you will need to re-compile the kernel with
"options USER_LDT" (unless you are running -CURRENT, where this is default).
If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it
(FreeBSD-STABLE required, or use kernel patches).</P>

<P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a
symbolic link: <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE></P>

<P>There's no DVD support for FreeBSD yet.</P>

<P><B><A NAME=6.3>6.3. Solaris</A></B></P>

<P>MPlayer should work on Solaris 2.6 or newer.</P>

<P>AVI file playback works best on Solaris x86, because you have the
option to use the win32 codecs on the x86 platform, or can use MMX/MMX2/3DNow/etc
instructions for MP3/DivX/DVD/whatever. On Solaris SPARC,
you'll find quite a few AVI files with non working video and/or
audio playback, because the video/audio codecs using the Win32 DLLs
are not available. However, <B>DivX/OpenDivX</B> movies should work,
when using libavcodec.</P>

<P>On <B>UltraSPARC</B>s, <B>MPlayer</B> takes advantage of their <B>VIS</B>
extensions (equivalent to MMX), currently only in <I>libmpeg2</I>,
<I>libvo</I> and <I>libavcodec</I>, but not in mp3lib. You can watch a VOB file
on a 400Mhz CPU. You'll need <A
HREF="http://www.sun.com/sparc/vis/mediaLib.html">mLib</A> installed.</P>

<P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native
Solaris make will not work. Typical error you get when building with solaris'
make instead of GNU make:</P>

<PRE>
   % /usr/ccs/bin/make
   make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
</PRE>

<P>On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
if GNU C/C++ compiler is configured with or without the GNU assembler.</P>

<P>On Solaris x86, you need the GNU assembler and the GNU C/C++
compiler, configured to use the GNU assembler!  The mplayer code on
the x86 platform makes heavy use of MMX, SSE and 3DNOW!
instructions that cannot be compiled using Sun's assembler
<CODE>/usr/ccs/bin/as</CODE>.</P>

<P>The configure script tries to find out, which assembler program is
used by your "gcc" command (in case the autodetection fails, use
the "--as=/whereever/you/have/installed/gnu-as" option to tell the
configure script where it can find GNU "as" on your system).</P>

<P>Error message from configure on a Solaris x86 system using GCC
without GNU assembler:</P>

<PRE>
   % configure
   ...
   Checking assembler (/usr/ccs/bin/as) ... , failed
   Please upgrade(downgrade) binutils to 2.10.1...
</PRE>

<P>(Solution: Install and use a gcc configured with "--with-as=gas")</P>

<P>Typical error you get when building with a GNU C compiler that does
not use GNU as:</P>

<PRE>
   % gmake
   ...
   gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
	-fomit-frame-pointer  -I/usr/local/include   -o mplayer.o mplayer.c
   Assembler: mplayer.c
   "(stdin)", line 3567 : Illegal mnemonic
   "(stdin)", line 3567 : Syntax error
   ... more "Illegal mnemonic" and "Syntax error" errors ...
</PRE>

<P>For DVD support you must have the patched libcss installed. Patch:
<A HREF="http://www.tools.de/solaris/mplayer/">http://www.tools.de/solaris/mplayer/</A>.</P>

<P>Due to two bugs in solaris 8 x86,  you cannot reliably play DVDs using a
capacity >4GB:</P>

<UL>
<LI>The sd(7D) driver on solaris 8 x86 driver has bug when accessing a
disk block >4GB on a device using a logical blocksize != DEV_BSIZE
(i.e. CDROM and DVD media).  Due to a 32bit int overflow, a disk
address modulo 4GB is accessed.
(<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22516">http://groups.yahoo.com/group/solarisonintel/message/22516</A>)

<LI>The similar bug is present in the hsfs(7FS) filesystem code (aka
ISO9660), hsfs currently does not support partitions/disks >4GB,
all data is accessed modulo 4GB
(<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22592">http://groups.yahoo.com/group/solarisonintel/message/22592</A>)
</UL>

<P>On Solaris with an UltraSPARC CPU, you can get some extra speed by
  using the CPU's VIS instructions for certain time consuming operations.
  VIS acceleration can be used in MPlayer by calling functions in Sun's
  <A HREF="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</A>.</P>

<P>VIS accelerated operations from mediaLib are used for mpeg2 video
  decoding and for color space conversion in the video output drivers.</P>


<P><B><A NAME=6.4>6.4. StrongARM</A></B></P>

<P><B>MPlayer</B> is reported to compile on StrongARM. Use the following command line:</P>

<PRE>
  ./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib
	      --with-x11incdir=/usr/arm/lib --disable-gcc-checking
</PRE>


<P><B><A NAME=6.5>6.5. Silicon Graphics Indigo / IRIX</A></B></P>

<P>Reported working. You'll probably have to use the <I>sgi</I> ao driver.
Anyone has closer info?</P>


<P><B><A NAME=6.6>6.6. QNX</A></B></P>

<P>Works. You'll need to download SDL for QNX, and install it. Then run
  <B>MPlayer</B> with <CODE>-vo sdl:photon</CODE> and <CODE>-ao sdl:nto</CODE>
  options, and it should be fast.</P>

<P>The <CODE>-vo x11</CODE> output will be even slower than on Linux, since
  QNX has only X <I>emulation</I> which is VERY slow. Use SDL.</P>


<P><B><A NAME=6.7>6.7. OpenBSD</A></B></P> 
    
<P>To build the package you will need GNU make (gmake,
/usr/ports/devel/gmake), native BSD make will not work, and a recent
binutils (including objcopy).</P>

<P>Due to limitations in different versions of gas (relocation vs mmx),
you'll need to compile in two steps: First make sure that the
non-native as is first in PATH and do a '<CODE>gmake -k</CODE>', then make sure
that the native version is used and do '<CODE>gmake</CODE>'.</P>

<P>To use Win32 DLLs with <B>MPlayer</B> you will need to re-compile the
kernel with "<CODE>option USER_LDT</CODE>".</P>

<P>If <B>MPlayer</B> complains about not finding '/dev/cdrom' or
'/dev/dvd' make a symbolic link, eg <CODE>ln -s
/dev/rcd0c /dev/dvd</CODE></P>

<P>The not so hardcore hackers amongst us might want to use the ports
version (/usr/ports/x11/mplayer).</P>

<P><A NAME="6.8"></A><B>6.8. Cygwin</B><BR>
</P>
 
<P>You will have to go to the <B>MPlayer</B> directory, and copy or symlink
<CODE>etc/cygwin_inttypes.h</CODE> to <CODE>/usr/include</CODE> to make
<B>MPlayer</B> compile. Otherwise it will complain about missing
<CODE>intypes.h</CODE>.</P>

<P><B><A NAME=A>Appendix A - Authors</A></B></P>

<P>NOTE: Do *NOT* send bugreports, help &amp; feature requests directly to the authors!</P>

<P>Read Appendix <A HREF="#C">C</A> and subscribe to mplayer-users mailing lists.</P>

<P ALIGN=center><B><U>The <B>MPlayer</B> project:</U></B></P>

<UL>

<LI><B><A HREF="mailto:send mail to mplayer-users!">Árpád Gereöffy (A'rpi/ESP-team)</A></B>
<UL>
  <LI>player code (mpeg stream demultiplexer and avi/asf parser, A-V sync, seek...)</LI>
  <LI>mp3lib, based on mpglib sources  [MP3 audio decoder]</LI>
  <LI>getch2  [keyboard handler]</LI>
  <LI>some changes in libmpeg2 code (progressive frames, bitrate &amp; fps support)</LI>
  <LI>libvo improvements: adding OpenGL support, bugfix in mga driver...</LI>
  <LI>triple buffering &amp; YUY2 support (for DivX/MPEG4) into mga_vid driver</LI>
  <LI>scripts in the TVout directory (TVout on Matrox G400DH, read documentation)</LI>
  <LI>hacking DivX/Mpeg4 VfW codecs to get YUV output</LI>
  <LI>opendivx decoder speed optimizations (see opendivx/ChangeLog)</LI>
  <LI>OSD &amp; SUB display code</LI>
  <LI>ffmpeg/libavcodec integration</LI>
  <LI>DivX4Linux (ProjectMayo) support (see documentation)</LI>
  <LI>New DVD-Support using libdvdread</LI>
  <LI>DVB support</LI>
  <LI>MPEG PES output &amp; DVB card support</LI>
  <LI>anything that isn't mentioned elsewhere</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:pontscho@makacs.poliod.hu">Zoltán Ponekker (Pontscho/Fresh!)</A></B>
<UL>
  <LI>configure script and Makefiles for easy compile</LI>
  <LI>GUI system</LI>
  <LI>3DNow! support into mp3lib</LI>
  <LI>3DNow! support into fastmemcpy.h</LI>
  <LI>various X11 driver changes (keyboard handling, fullscreen, bpp detect, etc)</LI>
  <LI>libvo: adding xmga driver, and fullscreen support to xv</LI>
  <LI>audio mixer (volume) support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:lgb@lgb.hu">Gábor Lénárt (LGB)</A></B>
<UL>
  <LI>./configure script improvements</LI>
  <LI>Makefile improvements</LI>
  <LI>prelimenary DVD support</LI>
  <LI>various X11 cleanups and fixes</LI>
  <LI>HTMLization of documentation</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:gabucino@mplayerhq.hu">Gábor Bérczi (Gabucino)</A></B>
<UL>
  <LI>documentation writer & maintainer</LI>
  <LI>hungarian translation of documentation, homepage, and help output</LI>
  <LI>second homepage design&amp;gfx</LI>
  <LI>homepage maintainer</LI>
  <LI>testing, codecs quality &amp; speed comparsions</LI>
  <LI>IRC channels operator (#MPlayer is user channel)</LI>
  <LI>experimental MINIX port :) (what's funny about it?)</LI>
  <LI>MPsub subtitle format design</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:szabi@inf.elte.hu">Szabolcs Berecz (Szabi)</A></B>
<UL>
  <LI>codecs.conf file parser</LI>
  <LI>config file and command line parser</LI>
  <LI>mga_vid fixes, module option etc.</LI>
  <LI>fbdev support in libvo</LI>
  <LI>type #7 subtitle support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:lez@sch.bme.hu">László Megyer (Lez, Laaz)</A></B>
<UL>
  <LI>SUB reader</LI>
  <LI>screensaver+DPMS disable for libvo</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:chass-@freemail.hu">Gyula László (Chass, Tégla)</A></B>
<UL>
  <LI>first fonts (mp_font1.zip)</LI>
  <LI>third homepage design&amp;gfx</LI>
  <LI>fourth (current) homepage design&amp;gfx</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:se7en@sch.bme.hu">Zoltán Márk Vicián (Se7en)</A></B>
<UL>
  <LI>SVGAlib support in libvo</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:alex@naxine.org">Alex Beregszaszi (al3x)</A></B>
<UL>
  <LI>ALSA output driver in libao2</LI>
  <LI>vo_ggi output driver in libvo (www.ggi-project.org)</LI>
  <LI>xanim codecs support</LI>
  <LI>VIVO files support</LI>
  <LI>TV grabbing support</LI>
  <LI>Quicktime hackings</LI>
  <LI>libavcodec support in MEncoder</LI>
  <LI>RM fileformat demuxer</LI>
  <LI>mencoder framecopy</LI>
  <LI>yuv4mpeg1 support</LI>
  <LI>Nuppelvideo demuxer changes</LI>
  <LI>subconfig</LI>
  <LI>VIDIX and libdha hackings</LI>
  <LI>Matrox driver port to Vidix</LI>
  <LI>XVidix video output driver</LI>
  <LI>and other various stuff (in libvo, libmad syncing, dec_audio/video and loader)</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:asackerm@stud.informatik.uni-erlangen.de">Andreas Ackermann (Acki)</A></B>
<UL>
  <LI>LIRC support (see documentation)</LI>
  <LI>DGA support in libvo</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:atmosfear@users.sourceforge.net">Felix B&uuml;nemann (Atmos)</A></B>
<UL>
  <LI>SDL driver maintainer</LI>
  <LI>Additional YUV formats fixes</LI>
  <LI>New font (mp_font2.zip)</LI>
  <LI>PNG file output support in libvo</LI>
  <LI>flipping support (for Indeo 3/4, etc)</LI>
  <LI>SDL audio driver in libao2</LI>
  <LI>RAW PCM/WAVE file writer for libao2</LI>
  <LI>OggVorbis audio support</LI>
  <LI>Various aspect code</LI>
  <LI>Win32 (Cygwin) port</LI>
  <LI>priority support in codecs.conf (never used ;)</LI>
  <LI>DivX5Linux support</LI>
  <LI>AAC decoding support via libfaad2</LI>
  <LI>Darwin (MacOS X) port</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:telenieko@telenieko.com">TeLeNiEkO</A></B>
<UL>
  <LI>spanish translation of documentation</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:mgraffam@idsi.net">Michael Graffam</A></B>
<UL>
  <LI>XF86VidMode support to vo_x11 and vo_dga</LI>
  <LI>Video mode switching code to vo_dga</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:hoffmajs@gmx.de">Jens Hoffmann</A></B>
<UL>
  <LI>Additional YUV formats support</LI>
  <LI>found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:nickols_k@mail.ru">Nick Kurshev</A></B>
<UL>
  <LI>memcpy optimizations for AMD K7 and Intel Pentium III  (fastmemcpy.h)</LI>
  <LI>CDROM tune info</LI>
  <LI>further 3DNow! optimizations into mp3lib and libac3 and ffmpeg</LI>
  <LI>russian translation of documentation</LI>
  <LI>radeon_vid, rage128_vid, radeonfb</LI>
  <LI>libvo driver: vo_vesa</LI>
  <LI>VIDIX and libdha design, programming</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:german@piraos.com">German Gomez Garcia</A></B>
<UL>
  <LI>SPDIF AC3 output for SBLive!</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:eyck@incubus.ar.lublin.pl">Dariusz Pietrzak (Eyck)</A></B>
<UL>
  <LI>debian packaging support (see debian/* and this documentation)</LI>
  <LI>support for vplayer subtitle format</LI>
  <LI>prelimenary support for .RT subtitle format</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:marcus@idonex.se">Marcus Comstedt</A></B>
<UL>
  <LI>initial solaris8-x86 support</LI>
  <LI>configure fixes</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:jk@tools.de">Jürgen Keil</A></B>
<UL>
  <LI>patched <B>MPlayer</B> to work on Solaris 8 x86</LI>
  <LI>various fixes (win32, configure, etc)</LI>
  <LI>SUN audio driver in libao2</LI>
  <LI>mediaLib support in libavcodec</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:vkushnir@Alfacom.net">Vladimir Kushnir</A></B>
<UL>
  <LI>patched <B>MPlayer</B> to work on FreeBSD x86</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:bertrand_baudet@yahoo.com">Bertrand BAUDET</A></B>
<UL>
  <LI>network streaming support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:djw@flinthills.com">Derek J Witt</A></B>
<UL>
  <LI>MMS network streaming patches</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:albeu@free.fr">Alban Bedel</A></B>
<UL>
  <LI>MMS network streaming patches</LI>
  <LI>Playtree and per-entry config</LI>
  <LI>Playlist parsers</LI>
  <LI>New input</LI>
  <LI>Audio only support</LI>
  <LI>MP3, Wav and Ogg demuxers</LI>
  <LI>Support for audio from external file</LI>
  <LI>DXR2 driver</LI>
  <LI>vo_aa improvements</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:zybi@fanthom.irc.pl">Artur Zaprzala</A></B>
<UL>
  <LI>Complete font generator prog + OSD font (TOOLS/subfont-c)</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:lanzz@lanzz.org">lanzz@lanzz.org</A></B>
<UL>
  <LI>GIMP font generator plugin (TOOLS/subfont-gimp)</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:atlka@pg.gda.pl">Adam Tla/lka</A></B>
<UL>
  <LI>osd/sub review, fixes, optimization, utf8 support</LI>
  <LI>various fixes</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:folke@ashberg.de">Folke Ashberg</A></B>
<UL>
  <LI>native AAlib driver (-vo aa)</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:ktoman@email.cz">Kamil Toman</A></B>
<UL>
  <LI>czech fonts</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:iive@yahoo.com">Ivan Kalvatchev</A></B>
<UL>
  <LI>interlaced MPEG2 support (libmpeg2)</LI>
  <LI>libvo2 draft</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:p_l@gmx.fr">pl</A></B>
<UL>
  <LI>new ./configure script</LI>
  <LI>general code maintaining, fixes, patch commiting</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:michaelni@gmx.at">Michael Niedermayer</A></B>
<UL>
  <LI>new postprocessing code (with deinterlacing etc...)</LI>
  <LI>software scaling C/MMX/MMX2/3DNow support (swscale.c)</LI>
  <LI>various rgb/yuv bpp converters</LI>
  <LI>new, better IDCT code for libavcodec</LI>
  <LI>runtime cpu detection</LI>
  <LI>SSE optimization of liba52</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:sgoethel@jausoft.com">Sven Goethel</A></B>
<UL>
  <LI>libvo driver: vo_gl2</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:joy@pingfm.org">joy_ping</A></B>
<UL>
  <LI>ao_alsa9 fixes</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:eanholt@gladstone.uoregon.edu">Eric Anholt</A></B>
<UL>
  <LI>CPU detection code</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:Jiri.Svoboda@seznam.cz">Jiri Svoboda</A></B>
<UL>
  <LI>AQT type subtitles support</LI>
  <LI>CRTC2 YUV support in mga_vid</LI>
  <LI>DirectFB video output driver</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:oliver.schoenbrunner@jku.at">Oliver Schoenbrunner</A></B>
<UL>
  <LI>SGI audio driver</LI>
  <LI>MIPS support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:jeroen.dobbelaere@acunia.com">Jeroen Dobbelaere</A></B>
<UL>
  <LI><A HREF="http://mad.sourceforge.net">libmad</A> support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:dholm@telia.com">David Holm</A></B>
<UL>
  <LI>DXR3 support</LI>
  <LI>libmp1e import</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:takis@lumumba.luc.ac.be">Panagiotis Issaris</A></B>
<UL>
  <LI>-playlist option</LI>
  <LI>NuppelVideo support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:melanson@pcisys.net">Mike Melanson</A></B>
<UL>
  <LI>MS Video1 codec open-source implementation</LI>
  <LI>FLI demuxer, decoder</LI>
  <LI>Unified ADPCM Decoder (supports IMA/DVI, MS ADPCM, several others)</LI>
  <LI>FILM (.cpk) file demuxer</LI>
  <LI>RoQ file demuxer</LI>
  <LI>RoQ Audio/Video decoder</LI>
  <LI>QT SMC decoder</LI>
  <LI>QT RLE decoder</LI>
  <LI>MS RLE decoder</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:ranma@gmx.at">Tobias Diedrich</A></B>
<UL>
  <LI>NAS audio output driver</LI>
  <LI>DXR2 driver</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:foth@informatik.uni-hamburg.de">Kilian A. Foth</A></B>
<UL>
  <LI>-slave mode</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:timf@mail.csse.monash.edu.au">Tim Ferguson</A></B>
<UL>
  <LI>Opensource Cinepak decoder</LI>
  <LI>Opensource CYUV decoder</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:itrs@softwell.com.tw">Sam Lin</A></B>
<UL>
  <LI>-wid (plugger) patch</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:johannes.feigl@mcse.at">Johannes Feigl</A></B>
<UL>
  <LI>original german docs translation</LI>
  <LI>some improvements in configure, small patches</LI>
  <LI>found somebody (Thilo Wunderlich) who sent a DVB card</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:kmkaplan@selfoffice.com">Kim Minh Kaplan</A></B>
<UL>
  <LI>DVD and VobSub subtitles display support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:bkuschak@yahoo.com">Brian Kuschak</A></B>
<UL>
  <LI>RTP streaming support (reading)</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:steve@daviesfam.org">Stephen Davies</A></B>
<UL>
  <LI>support for large video files (&gt;2^32 bytes in size)</LI>
  <LI>surround sound</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:rsnel@cube.dyndns.org">Rik Snel</A></B>
<UL>
  <LI><CODE>zr</CODE> video output driver</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:ajh@atri.curtin.edu.au">Anders Johansson</A></B>
<UL>
  <LI>audio plugin system, some effect plugins</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:rtogni@freemail.it">Roberto Togni</A></B>
<UL>
  <LI>Open source QT RPZA decoder</LI>
  <LI>Open source HuffYUV decoder</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:wojtekka@bydg.pdi.net">Wojtek Kaniewski</A></B>
<UL>
  <LI>Mouse wheel support</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:freku045@student.liu.se">Fredrik Kuivinen</A></B>
<UL>
  <LI>OSD/subtitles outside movie - for SDL</LI>
</UL>
</LI>

<LI><B><A HREF="mailto:flo-mplayer-dev@gmx.net">Florian Schneider</A></B>
<UL>
  <LI>RealVideo libraries loader</LI>
</UL>
</LI>

</UL>

<P>Main testers:</P>

<UL>
  <LI>Tibor Balázs (Tibcu)
  <LI>Péter Sasi (SaPe)
  <LI>Christoph H. Lampert
  <LI>Attila Kinali
  <LI>Dirk Vornheder
  <LI>Bohdan Horst (Nexus)
</UL>

<P ALIGN=center><B><U>The codecs, libs:</U></B></P>

<UL>
  <LI>Aaron Holtzman:  &lt;aholtzma@engr.uvic.ca&gt;
    <UL>
      <LI>ac3dec (and libac3) author  [AC3 audio decoder]</LI>
      <LI>mga_vid driver  [Matrox G200/G400 YUV Back-end Scaler]</LI>
      <LI>mpeg2dec        [Fast MPEG1/MPEG2 video decoder, currently used in player]</LI>
    </UL>
  </LI>
  <LI>Michel Lespinasse:  &lt;walken@zoy.org&gt;
    <UL>
      <LI>did large libmpeg2 changes for better speed and mpeg conformance</LI>
    </UL>
  </LI>
  <LI>Eugene Kuznetsov:  &lt;divx@euro.ru&gt;
    <UL>
      <LI>avifile author  [AVI player library for linux, using Win32 VfW/ACM codecs]</LI>
      <LI>technical help about AVI and ASF formats, and how to get YUV using VfW...</LI>
      <LI>divx4linux techical support</LI>
    </UL>
  </LI>
  <LI>Zdenek Kabelac:  &lt;kabi@informatics.muni.cz&gt;
    <UL>
      <LI>current avifile maintainer(?)</LI>
      <LI>some technical help about the win32 stuff and timers</LI>
    </UL>
  </LI>
  <LI>Gerard Lantau: &lt;glantau@yahoo.fr&gt;
    <UL>
      <LI>ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder)</LI>
    </UL>
  </LI>
  <LI>Project Mayo:  &lt;<A HREF="http://www.projectmayo.com">http://www.projectmayo.com</A>&gt;
    <UL>
      <LI>the OpenDivX codec authors</LI>
    </UL>
  </LI>
  <LI>Michael Hipp:
    <UL>
      <LI>mpglib author   [isn't used directly but some parts in mp3lib]</LI>
    </UL>
  </LI>
  <LI>Mark Podlipec:
    <UL>
    <LI>xa_gsm.c author  [MS-GSM audio codec]
    [from a GSM library by Jutta Degener and Carsten Bormann]</LI>
  </UL>
  </LI>
  <LI>Jake Janovetz:
    <UL>
      <LI>remez.c author  [Used to calculate audio filter coefficients]</LI>
    </UL>
  </LI>
  <LI>Vivien Chappelier, Damien Vincent:
    <UL>
      <LI>libFAME authors  [fast mpeg-1 encoder, used by -vo mpegpes/-vo dxr3]</LI>
    </UL>
  </LI>
</UL>

<P>Their code is not used in current player version, but I've got some ideas or
other technical help from:</P>

<UL>
  <LI>John F. McGowan   http://www.jmcgowan.com/
    <UL>
      <LI>AVI FAQ author/collector. [site with many useful docs on codecs and avi fmt]</LI>
    </UL>
  </LI>
  <LI>Dirk Farin:      &lt;farin@ti.uni-mannheim.de&gt;
    <UL>
      <LI>dvdview author  [MPEG1/MPEG2 video decoder, used in v0.5-v0.8]</LI>
    </UL>
  </LI>
  <LI>Adam Williams:   &lt;broadcast@earthling.net&gt;
    <UL>
      <LI>libmpeg3 (and xmovie) author  [MPEG1/MPEG2 video decoder, used in v0.1-v0.4]</LI>
    </UL>
  </LI>
</UL>

<P><B><A NAME=A2>Appendix A/2 - MPlayer code and documentation maintainers</A></B></P>

Homepage
<UL>
  <LI><B>Design:</B> Chass and Tornado</LI>
  <LI><B>Contents:</B> Gabucino</LI>
</UL>

English documentation
<UL>
  <LI><B>user docs:</B> Gabucino</LI>
  <LI><B>review, grammar fixes:</B> Diego Biurrun, Nilmoni Deb</LI>
  <LI><B>input layer, lirc, slave mode docs:</B> Albeu</LI>
  <LI><B>tech/* docs:</B> A'rpi</LI>
</UL>

Documentation translations
<UL>
  <LI><B>Hungarian:</B> Gabucino</LI>
  <LI><B>German:</B> <A HREF="mailto:jjermann@gmx.net">Jonas Jermann</A></LI>
  <LI><B>French:</B> <A HREF="mailto:smarteau@eso.org">Stephane Marteau</A> (outdated)</LI>
  <LI><B>Spanish:</B> TeLeNiEkO (outdated)</LI>
  <LI><B>Russian:</B> Nick Kurshev (outdated)</LI>
  <LI><B>Polish:</B> <A HREF="mailto:nell@skrzynka.pl">Justyna Biala</A></LI>
  <LI><B>Italian:</B> Matteo Balduzzi</LI>
</UL>

Platforms/ports
<UL>
  <LI><B>DEBIAN packaging:</B> Dariusz Pietrzak</LI>
  <LI><B>FreeBSD support:</B> Vladimir Kushnir, Nexus</LI>
  <LI><B>BSD/OS support:</B> Steven Schultz</LI>
  <LI><B>Solaris 8 support:</B> Jürgen Keil, pl</LI>
  <LI><B>MIPS support:</B> Oliver Schoenbrunner</LI>
  <LI><B>Win32/Cygwin support:</B> Atmosfear</LI>
</UL>

MPlayer code:
<UL>
  <LI><B>A-V sync code:</B> A'rpi</LI>
  <LI><B>libmpdemux, libmpcodecs:</B> A'rpi</LI>
  <LI><B>TV input:</B> Alex</LI>
  <LI><B>DVD support (newest - dvdnav):</B> Kees Cook</LI>
  <LI><B>DVD support (new - dvdread/dvdcss):</B> A'rpi</LI>
  <LI><B>DVD support (old - libcss):</B> LGB</LI>
  <LI><B>network streaming:</B> Bertrand BAUDET</LI>
  <LI><B>ascii subtitles file parser/reader/writer:</B> Lez</LI>
  <LI><B>DVD/VOB subtitles:</B> Kim Minh Kaplan</LI>
  <LI><B>SUB/OSD renderer:</B> Adam Tla/lka</LI>
  <LI><B>config files & commandline parser:</B> Szabi</LI>
  <LI><B>playtree, input layer:</B> Albeu</LI>
  <LI><B>postproc, colorspace converters:</B> Michael Niedermayer</LI>
  <LI><B>LIRC support (old):</B> Acki</LI>
  <LI><B>VIDIX core, libdha:</B> Nick Kurshev</LI>
</UL>

libvo drivers:
<UL>
  <LI><B>vo_3dfx.c</B> - OBSOLETED, use xv or tdfxfb</LI>
  <LI><B>vo_tdfxfb.c</B> - Mark Zealey (mark@zealos.org)</LI>
  <LI><B>vo_aa.c</B> - Folke Ashberg</LI>
  <LI><B>vo_directfb.c</B> - <A HREF="mailto:Jiri.Svoboda@seznam.cz">Jiri Svoboda</A></LI>
  <LI><B>vo_dga.c</B> - Acki (outdated)</LI>
  <LI><B>vo_dxr2.c</B> - Albeu</LI>
  <LI><B>vo_dxr3.c</B> - David Holm</LI>
  <LI><B>vo_fbdev.c</B> - Szabi</LI>
  <LI><B>vo_ggi.c</B> - al3x</LI>
  <LI><B>vo_gl.c</B> - A'rpi (outdated)</LI>
  <LI><B>vo_gl2.c</B> - <A HREF="mailto:sgoethel@jausoft.com">Sven Goethel</A></LI>
  <LI><B>vo_md5.c</B> - A'rpi</LI>
  <LI><B>vo_mga.c</B> - A'rpi</LI>
  <LI><B>vo_mpegpes.c</B> - A'rpi</LI>
  <LI><B>vo_null.c</B> - A'rpi</LI>
  <LI><B>vo_pgm.c</B> - A'rpi</LI>
  <LI><B>vo_png.c</B> - Atmos</LI>
  <LI><B>vo_sdl.c</B> - Atmos</LI>
  <LI><B>vo_svga.c</B> - Matan Ziv-Av</LI>
  <LI><B>vo_vesa.c</B> - Nick Kurshev</LI>
  <LI><B>vo_x11.c</B> - Pontscho</LI>
  <LI><B>vo_xmga.c</B> - Pontscho</LI>
  <LI><B>vo_xv.c</B> - Pontscho</LI>
  <LI><B>vo_xvidix.c</B> - al3x</LI>
  <LI><B>vo_zr.c</B> - <A HREF="mailto:rsnel@cube.dyndns.org">Rik Snel</A></LI>
</UL>

VIDIX drivers:
<UL>
  <LI><B>genfb_vid</B> - al3x</LI>
  <LI><B>mach64_vid</B> - Michael Niedermayer</LI>
  <LI><B>mga_vid</B> - al3x ?</LI>
  <LI><B>nvidia_vid</B> - al3x (development stopped - don't expect it)</LI>
  <LI><B>radeon_vid</B> - Nick Kurshev</LI>
  <LI><B>rage128_vid</B> - Nick Kurshev</LI>
</UL>

libao2 drivers:
<UL>
  <LI><B>ao_alsa5.c</B>  - al3x</LI>
  <LI><B>ao_alsa9.c</B>  - al3x (fixed by <A HREF="mailto:joy@pingfm.org">joy_ping</A>)</LI>
  <LI><B>ao_dxr2.c</B>   - Albeu</LI>
  <LI><B>ao_null.c</B>   - A'rpi</LI>
  <LI><B>ao_oss.c</B>    - A'rpi</LI>
  <LI><B>ao_pcm.c</B>    - Atmos</LI>
  <LI><B>ao_sdl.c</B>    - Atmos</LI>
  <LI><B>ao_sgi.c</B>    - <A HREF="oliver.schoenbrunner@jku.at">Oliver Schoenbrunner</A></LI>
  <LI><B>ao_sun.c</B>    - Jürgen Keil</LI>
</UL>

TOOLS:
<UL>
  <LI><B>subfont-c</B> - Artur Zaprzala (zybi@fanthom.irc.pl)</LI>
  <LI><B>subfont-GIMP</B> - lanzz@lanzz.org</LI>
  <LI><B>*.pl</B> - Atmos</LI>
  <LI><B>x2mpsub</B> - Gabucino</LI>
  <LI><B>mencvcd</B> - Juergen Hammelmann (juergen.hammelmann@gmx.de)</LI>
  <LI><B>others</B> - A'rpi</LI>
</UL>


<P><B><A NAME=B>Appendix B - Mailing lists</A></B></P>

<P>There are some public mailing lists on <B>MPlayer</B>. Subscribing can be
achieved on the following addresses:</P>

<UL>
<LI>MPlayer developers list:<BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng</A>
<P>This list is about mplayer development! Talking about interface/API changes,
new libraries, code optimization, ./configure changes, and send patches here.
Do NOT send bugreports, user questions, feature requests, flame here!
This list should be kept low-traffic.</P>
</LI>
<LI>MPlayer users list:<BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A>
<UL>
<LI>send bugreports here (after reading <A HREF="#D">Known Bugs</A> section, and Appendix <A HREF="#C">C</A>)</LI>
<LI>send feature requests here (after reading the WHOLE documentation)</LI>
<LI>send user questions here (after reading the WHOLE documentation)</LI>
</UL>
</LI>
<LI>MPlayer hungarian users list:<BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-felhasznalok">http://mplayerhq.hu/mailman/listinfo/mplayer-felhasznalok</A>
<P><UL>
<LI>hungarian language list</LI>
<LI>topic? We'll see about it... mostly flame and RTFM questions up to now :(</LI>
</UL>
</LI>
<LI>MPlayer &amp; Matrox G200/G400/G450/G550 users:<BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-matrox">http://mplayerhq.hu/mailman/listinfo/mplayer-matrox</A>
Send matrox-related questions here
<UL>
<LI>things about mga_vid</LI>
<LI>matrox's official beta drivers (for X 4.x.x)</LI>
<LI>and about matroxfb-TVout stuff.</LI>
</UL>
</LI>
<LI>MPlayer &amp; DVB card users:<BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">http://mplayerhq.hu/mailman/listinfo/mplayer-dvb</A>
<P>Things related to the hardware decoder card called DVB. (NOT dxr3!)</P>
</LI>
<LI>MPlayer CVS-log: <BR>
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog">http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog</A>
<P>Send only questions about CVS changes here.
(if you don't understand why a change is required or you've better fix or you've
noticed possible bug/problem in the commited patch)
Be sure in that your target developer reads this list!</P>
</LI>
</UL>

<P>NOTE: language of above lists are ENGLISH, unless explicitly stated
otherwise.  Please do not send messages using other language!</P>

<P>NOTE: you can reach the searchable mailing list archives
<A HREF="http://www.mplayerhq.hu/cgi-bin/htsearch">here</A>.


<P><B><A NAME=C></A><A HREF="bugreports.html">Appendix C</A> - How to report bugs</B></P>

<P><B><A NAME=D>Appendix D - Known bugs</A></B></P>

<P>Special system/cpu-specific bugs/problems:</P>
<UL>

<LI>SIGILL (signal 4) on P3 using 2.2.x kernels:<BR>
  Problem: kernel 2.2.x doesn't have proper (working) SSE support<BR>
  Solution: upgrade kernel to 2.4.x<BR>
  Workaround: ./configure --disable-sse</LI>

<LI>General SIGILL (signal 4):<BR>
  Problem: you compiled and run mplayer in different machines
  (for example compiled on P3 and running on celeron)<BR>
  Solution: compile MPlayer on the same machine where you will use it!<BR>
  Workaround: ./configure --disable-sse etc. options</LI>

<LI>"Internal buffer inconsistency" during MEncoder run:<BR>
  Problem: known problem when lame was compiled with gcc 2.96 or 3.x, no fix
  yet.<BR>
  Workaround: compile lame with gcc 2.95. Be sure to remove any installed
  lame packages, they may have been compiled with gcc 2.96 .</LI>

<LI>Messed up MP2/MP3 sound on PPC:<BR>
  Problem: known GCC miscompilation bug on PPC platforms, no fix yet.<BR>
  Workaround: use FFmpeg's (slow) MP1/MP2/MP3 decoder (<CODE>-ac ffmpeg</CODE>)</LI>

<LI>sig11 in libmpeg2, when scaling+encoding:<BR>
  Problem: known GCC 2.95.2 MMX bug, upgrade to 2.95.3.</LI>
</UL>

<P>Various A-V sync and other audio problems:</P>

General audio delay or jerky sound (exists with all or many files):
<UL>
<LI>most common: buggy audio driver! - try to use different drivers, try
ALSA 0.9 OSS emulation with -ao oss, also try -ao sdl, sometimes it helps.
If your file plays fine with -nosound, then you can be sure it's soundcard
(driver) problem.</LI>
<LI>audio buffer problems (buffer size badly detected)<BR>
  Workaround:  mplayer -abs option</LI>
<LI>samplerate problems - maybe your card doesn't support the samplerate
used in your files - try the resampling plugin (-aop)</LI>
<LI>slow machine (cpu or vga)<BR>
  try with -vo null, if it plays well, then you have slow VGA card/driver<BR>
  Workaround: buy a faster card or read this documentation about how to speed up<BR>
  Also try -framedrop</LI>
</UL><BR>

Audio delay/de-sync specific to one or a few files:
<UL>
<LI>bad file<BR>
  Workaround:
  <UL>
    <LI>-ni or -nobps option   (for non-interleaved or bad files)<BR>
      and/or</LI>
    <LI>-mc 0   (required for files with badly interleaved VBR audio)<BR>
      and/or</LI>
    <LI>-delay option or +/- keys at runtime to adjust delay</LI>
  </UL>
  If none of these help, please upload the file, we'll check (and fix).
</LI>
<LI>your soundcard doesn't support 48Khz playback<BR>
  Workaround: buy a better soundcard...  or try to decrease fps by 10% (use -fps 27 for a 30fps movie)
  or use the resampler plugin</LI>
<LI>slow machine<BR>
  (if A-V is not around 0, and the last number in the status line increasing)<BR>
  Workaround: -framedrop</LI>
</UL>

No sound at all:
<UL>
<LI>your file uses an unsupported audio codec<BR>
  Workaround: read the documentation and help us adding support for it</LI>
</UL>

No picture at all (just plain grey/green window):
<UL>
<LI>your file uses an unsupported video codec<BR>
  Workaround: read the documentation and help us adding support for it</LI>
<LI>auto-selected codec can't decode the file, try to select another using -vc or -vfm options</LI>
<LI>you try to play DivX 3.x file with opendivx decoder or XviD (-vc odivx) - install Divx4Linux and recompile player</LI>
</UL>

<P>Video-out problems:</P>

<P>First note: options -fs -vm and -zoom are just recommendations, not (yet)
supported by all drivers. So it isn't a bug if it doesn't work.
Only a few driver supports scaling/zooming, don't expect this from x11 or dga.</P>

<P>OSD/sub flickering:<BR>
- x11 driver: sorry, it can't be fixed now<BR>
- xv driver: use -double option</P>

<P>Green image using mga_vid (-vo mga / -vo xmga):<BR>
- mga_vid missdetected your card's RAM amount, reload it using mga_ram_size option<BR>
</P>

</BODY>
</HTML>