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
|
<HTML>
<BODY BGCOLOR=WHITE>
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
<P><CENTER><B>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)</B><BR>
<BR><A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A><BR><BR>
[ English ]</A>
<A HREF="Hungarian/documentation.html">[ Hungarian ]</A>
<A HREF="German/documentation.html">[ German ]</A>
<A HREF="French/documentation.html">[ French ]</A>
</CENTER></P>
<P><HR></P>
<P>Table of Contents</P>
<P><HR></P>
<P>
<UL>
<LI><A HREF="#1">1. Introduction</A></LI>
<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</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><A HREF="#2">2. Features</A></LI>
<UL>
<LI><A HREF="codecs.html">2.1 Video Formats, Audio & Video Codecs</A></LI>
<UL>
<LI><A HREF="codecs.html#2.1.1">2.1.1 Supported input formats</A></LI>
<LI><A HREF="codecs.html#2.1.2">2.1.2 Supported audio & video codecs</A></LI>
<UL>
<LI><A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A></LI>
<LI><A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg's DivX/libavcodec</A></LI>
<LI><A HREF="codecs.html#2.1.2.3">2.1.2.3 Hardware AC3 decoding</A></LI>
<LI><A HREF="codecs.html#2.1.2.4">2.1.2.4 XAnim codecs</A></LI>
<LI><A HREF="codecs.html#2.1.2.5">2.1.2.5 libmad support</A></LI>
</UL>
<LI><A HREF="mailto:Strange. Where did this chapter go?">2.1.3 The Veiled Mysteries of MPlayer</A></LI>
<LI><A HREF="codecs.html#2.1.4">2.1.4 Codec importing howto</A></LI>
<UL>
<LI><A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW codecs</A></LI>
<LI><A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow codecs</A></LI>
</UL>
</UL>
<LI><A HREF="video.html">2.2 Video & Audio output devices</A></LI>
<UL>
<LI><A HREF="video.html#2.2.1">2.2.1 Video output devices</A></LI>
<UL>
<LI><A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A></LI>
<LI><A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A></LI>
<UL>
<LI><A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx cards</A></LI>
<LI><A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 cards</A></LI>
<LI><A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia cards</A></LI>
<LI><A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI cards</A></LI>
<LI><A HREF="video.html#2.2.1.2.5">2.2.1.2.5 NeoMagic cards</A></LI>
</UL>
<LI><A HREF="video.html#2.2.1.3">2.2.1.3 DGA</A></LI>
<UL>
<LI><A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Summary</A></LI>
<LI><A HREF="video.html#2.2.1.3.2">2.2.1.3.2 What is DGA</A></LI>
<LI><A HREF="video.html#2.2.1.3.3">2.2.1.3.3 Installing DGA support for MPlayer</A></LI>
<LI><A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Resolution switching</A></LI>
<LI><A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA & MPlayer</A></LI>
<LI><A HREF="video.html#2.2.1.3.6">2.2.1.3.6 Features of the DGA driver</A></LI>
<LI><A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Speed issues</A></LI>
<LI><A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Known bugs</A></LI>
<LI><A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Future work</A></LI>
<LI><A HREF="video.html#2.2.1.3.A">2.2.1.3.A Some modelines</A></LI>
<LI><A HREF="video.html#2.2.1.3.B">2.2.1.3.B Bug Reports</A></LI>
</UL>
<LI><A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A></LI>
<LI><A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A></LI>
<LI><A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer output (FBdev)</A></LI>
<LI><A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A></LI>
<LI><A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A></LI>
<LI><A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV support (tdfxfb)</A></LI>
<LI><A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL output</A></LI>
<LI><A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - text mode displaying</A></LI>
<LI><A HREF="video.html#2.2.1.12">2.2.1.12 VESA - output to VESA BIOS</A></LI>
<LI><A HREF="video.html#2.2.1.A">2.2.1.A TVout</A></LI>
<UL>
<LI><A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox cards</A></LI>
<LI><A HREF="video.html#2.2.1.A.1a">2.2.1.A.1a Matrox cards - method 2</A></LI>
<LI><A HREF="video.html#2.2.1.A.2">2.2.1.A.2 ATI cards</A></LI>
<LI><A HREF="video.html#2.2.1.A.3">2.2.1.A.3 Voodoo 3</A></LI>
</UL>
</UL>
<LI><A HREF="sound.html#2.2.2">2.2.2 Soundcards, audio output devices</A></LI>
<UL>
<LI><A HREF="sound.html#2.2.2.1">2.2.2.1 Soundcard experiences, recommendations</A></LI>
</UL>
</UL>
</UL>
<LI><A HREF="#3">3. Usage</A></LI>
<UL>
<LI><A HREF="#3.1">3.1 Control from keyboard</A></LI>
<LI><A HREF="#3.2">3.2 Control from LIRC (Linux Infrared Remote Control)</A></LI>
<LI><A HREF="#3.3">3.3 Streaming from network or pipes</A></LI>
</UL>
<LI><A HREF="cd-dvd.html#4">4. CD/DVD section</A></LI>
<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>
<LI><A HREF="cd-dvd.html#4.3">4.3 DVD playback FAQ</A></LI>
</UL>
<LI><A HREF="faq.html">5. FAQ section</A></LI>
<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 Feature requests</A></LI>
</UL>
<LI><A HREF="#6">6. Misc OS'es</A></LI>
<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>
</UL>
<LI><A HREF="#A">A. Authors</A></LI>
<UL>
<LI><A HREF="#A2">A/2. Maintainers</A></LI>
</UL>
<LI><A HREF="#B">B. Mailing lists</A></LI>
<LI><A HREF="bugreports.html">C. How to report bugs</A></LI>
<UL>
<LI><A HREF="tech/patches.txt">C/2. How to send patches</A></LI>
</UL>
<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>
</P>
<P><HR></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, AVI
and ASF/WMV files (also some QT/MOV files, with CVID, VP31 video, and raw
audio), 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, but you can use SDL (and this way all drivers of
SDL) 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. And what about the nice big antialiased shaded subtitles (<B>9
supported types!!!</B>) with european/ISO 8859-1,2 (hungarian, english, czech, etc), cyrillic,
korean fonts, and OSD?</P>
<P><B>MPlayer</B> is basically GPL, but contains some non-GPL code which is not
allowed to be distributed in binary form, and also contains the OpenDivX
library which has special license.</P>
<P>I didn't write any codecs, just some players. I spent
a lot of time finding the best way to parse bad damaged input files
(both MPEG and AVI) and to do perfect A-V sync with seeking ability.
My player is rock solid playing damaged MPEG files (useful for some VCDs),
and it plays bad AVI files which are unplayable with the famous
windows media player. Even AVI files without index chunk are playable, and
you can rebuild their indexes with the -idx option, thus enabling seeking!
As you see, stability and quality are the most important things for me,
but the speed is also amazing.</P>
<P><B><A NAME=1.2>1.2. History</A></B></P>
<P>This began a year ago...
I've 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>
<P><UL>
<LI><B>mpg12play v0.1-v0.3:</B><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><B>mpg12play v0.5-v0.87:</B><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><B>mpg12play v0.9-v0.95pre5:</B><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><B>MPlayer v0.3-v0.9:</B><BR>
It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
player 'avip' based on avifile's Win32 DLL loader.
<LI><B>MPlayer v0.10:</B><BR>
The MPEG and AVI player in a single binary!
<LI><B>MPlayer v0.11:</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><B>MPlayer v0.17 "The IdegCounter"</B><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><B>MPlayer 0.18 "The BugCounter"</B><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><B>MPlayer 0.50 "The Faszom(C)ounter"</B><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!
</UL></P>
<P><B><A NAME=1.3>1.3. Installation</A></B></P>
<P>You'll need the following packages and versions if you don't want to
experience any problems:<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.2</B> to <B>2.95.4</B>.
<B>NEVER</B> use 2.96 or 3.x.x !!! They generate faulty code.</LI>
<LI><B>XFree86</B> - suggested version is <B>always the newest (4.1.0)</B>. Normally
everyone wants this. If you don't know why, you <B>do</B> need it.</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. Always
use the newest (beginning from 1.2.x).</LI>
</UL>
</P>
<P>Read the following before trying to compile <B>MPlayer</B>:</P>
<UL>
<LI>If you plan to use <B>MPlayer</B> on x86 architecture, you possibly want to use
Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 .
Note: the avifile project has similar codecs package, but it differs
from ours, so if you want to use all supported codecs, then use
our package! However, you can use our codecs package with avifile.</LI>
<LI>If you own a Matrox G200/G400/G450/G550 card, then please see the <A HREF="video.html#2.2.1.7">2.2.1.7</A>
section in order to gain big speedup. It is important to do these steps
<I>before</I> compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be
built. Also check out the <A HREF="video.html#2.2.1.A.1">first</A> and
<A HREF="video.html#2.2.1.A.1a">second</A> <B>Matrox TV-out</B> sections.</LI>
<LI>If you own a 3Dfx Voodoo3/Banshee card, then please see the <A
HREF="video.html#2.2.1.9">2.2.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.</LI>
<LI>If you own an ATI card, see the <A HREF="video.html#2.2.1.A.2">2.2.1.A.2
section</A> to know what features of your card is supported under Linux/MPlayer.</LI>
<LI>If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the
<A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling.
This codec can play old <B>DivX</B> movies much faster than the Win32 DLL.
If you want to play movies with the new <B>DivX4</B> codec, it's
<B>recommended</B> to use this library, instead the DivX.dll in the
w32codecs.zip package. The codec itself is closed-source, and only an x86
version is available.</LI>
<LI>If you plan to use ffmpeg's <B>libavcodec</B>, check the
<A HREF="codecs.html#2.1.2.2">2.1.2.2</A> section before compiling.
You'll need this to <B>gain <I>DivX/DivX4</I> playing on non-x86 machines</B>,
and this codec has the <B>greatest decoding speed</B> for DivX and DivX4
movies (even faster than the original DivX4 library itself) !</LI>
<LI>For DVD support, you'll have to compile libdvdread and libdvdcss.
See <A HREF="cd-dvd.html#4.2">section 4.2</A> for more information.</LI>
<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 play <B>3ivx</B> movies, check the <A HREF=codecs.html#2.1.2.4>
2.1.2.4 section</A>.</LI>
</UL>
<P>Then build <B>MPlayer</B>:</P>
<PRE> ./configure
make
make install</PRE>
<P>It is recommended to browse the output of ./configure , it contains info
about what will be built, and what won't. You may also want to view
config.h and config.mak files.</P>
<P>Though not mandatory, the fonts should be installed in order to gain
OSD, and subtitle functionality. Download mp-arial-iso-8859-*.
|