summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/en/faq.xml
blob: 937af0990cbe58439a4f24e2624642455b6e5464 (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
<?xml version="1.0" encoding="iso-8859-1"?>
<chapter id="faq" xreflabel="FAQ">
<title>Frequently Asked Questions</title>

<qandaset defaultlabel="number">

<qandadiv id="faq-compilation">
<title>Compilation</title>
<qandaentry>
<question><para>
Compilation stops with an error message similar to this one:
<screen>
    In file included from mplayer.c:34:
    mw.h: In function `mplMainDraw':
    mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458
    Please submit a full bug report,
    with preprocessed source if appropriate.
</screen>
</para></question>
<answer><para>
This is a known problem of <application>gcc</application> 3.0.4, upgrade
to 3.1 to solve the problem. How to install gcc is described in the
<link linkend="gcc-296">gcc 2.96</link> section.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Configure ends with this text, and MPlayer won't compile!
<screen>Your gcc does not support even i386 for '-march' and '-mcpu'</screen>
</para></question>
<answer><para>
Your gcc isn't installed correctly, check the <filename>config.log</filename>
file for details.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
What does &quot;No such file or directory&quot; mean?
</para></question>
<answer><para>
Probably there is no such file or directory.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
What's the problem with gcc 2.96?
</para></question>
<answer><para>
<emphasis role="bold">We strongly discourage the use of gcc 2.96!</emphasis>
Read <link linkend="gcc-296">this</link> document for details about why Red Hat
released gcc 2.96 and what the problems are all about. If you still really really
want to use it, be sure to get the latest release and give the
<option>--disable-gcc-checking</option> option to configure. Remember that you
are on your own from this point. Do <emphasis role="bold">not</emphasis> report
bugs, do <emphasis role="bold">not</emphasis> ask for help on the mailing lists.
We will <emphasis role="bold">not</emphasis> provide any support in case you run
into problems.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Great, I have gcc 3.0.1 from Red Hat/Mandrake, then I'm fine!
</para></question>
<answer><para>
No, since there have been/are issues with these compilers as well.
To check the status of current compilers' MPlayer support, see the
<link linkend="install">Installation</link> section.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I tried to compile MPlayer, but I got this output:
<screen>
    In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
                     from /usr/include/g++-v3/bits/fpos.h:40,
                     from /usr/include/g++-v3/bits/char_traits.h:40,
                     from /usr/include/g++-v3/bits/std_string.h:41,
                     from /usr/include/g++-v3/string:31,
                     from libwin32.h:36,
                     from DS_AudioDecoder.h:4,
                     from DS_AudioDec.cpp:5:
    /usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
       wchar_t**, int)':
    /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
    `const
</screen>
</para></question>
<answer><para>
Upgrade your glibc to the latest release. On Mandrake, use 2.2.4-8mdk.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
.. gcc 2.96 ... (Yes, some people are STILL flaming about gcc 2.96!)
</para></question>
<answer><para>
Quoted from a <ulink url="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-October/005351.html">mail</ulink>
A'rpi sent to the <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</ulink>
list (the word 'ideg' is described below):
<blockquote>
<para>
And we have idegs. And our idegcounter overflowed again and again.
</para>
<para>
Unfortunately MPlayer is out of our control. It's used by lamers, Linux
users who can't even use Windows, and never tried to compile a kernel. They
installed (with default options) Mandrake or Red Hat or SuSE, and without
RTFM'ing they send messages saying 'it doesn't work! help me! please! i'm
new to Linux! help! oh! help me!'. We can't stop them, but at least we try
to force them to RTFM and to read the messages of ./configure and MPlayer.
</para>
<para>
And you clever guys come and flame us with gcc 2.96 and binary packages.
Instead of helping users or making patches to help solve problems.
</para>
<para>
Half of our spare/free time is spent by answering silly mails here and
making newer tricks and checks to configure to avoid such mails.
</para>
<para>
And there is a balance. On the one side are you, clever guys, saying we
are very bad because we don't like buggy gcc 2.96, and on the other side
there are the 'new to Linux' guys who are showing us gcc 2.96 is buggy.
</para>
<para>
Conclusion: We can't be good. Half the people will always say we are bad.
</para>
<para>
Maybe we should close the project, make it closed source, commercial, and
provide install support for it. then we could leave current work, so development
could go faster, and we could earn lots of money with it and buy a big house,
etc etc. Do you really want it? It seems.
</para>
</blockquote>
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
SDL output doesn't work or compile. The problem is ...
</para></question>
<answer><para>
It was tested to work with SDL 1.2.x and may run on SDL 1.1.7+. It does
<emphasis role="bold">not</emphasis> work with any previous version. So
if you choose to use such a version, you are on your own.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I am still having trouble compiling with SDL support. gcc says something
about &quot;undefined reference to `SDL_EnableKeyRepeat'&quot;. What now?
</para></question>
<answer><para>
Where did you install the SDL library? If you installed in
<filename class="directory">/usr/local</filename> (the default) then edit the
top level <filename>config.mak</filename> and add &quot;-L/usr/local/lib&quot;
after &quot;X_LIBS=&quot;. Now type <command>make</command>. You're done!
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
It doesn't compile, and it misses uint64_t inttypes.h and similar things ...
</para></question>
<answer><para>
Copy <filename>etc/inttypes.h</filename> to the MPlayer directory
(<command>cp etc/inttypes.h .</command>) and try again ...
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I have Linux running on a Pentium III but <filename>./configure</filename>
doesn't detect SSE ...
</para></question>
<answer><para>
Only kernel versions 2.4.x support SSE (or try 2.2.19 or newer, but be
prepared for problems).
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I have a G200/G400, how do I compile/use the mga_vid driver?
</para></question>
<answer><para>
Read the <link linkend="mga_vid">mga_vid documentation</link>.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Are there rpm/deb/... packages of <application>MPlayer</application>?
</para></question>
<answer><para>
You can make a .deb package for yourself, check the
<link linkend="debian">Debian packaging</link> section. There are links to
official Red Hat RPM packages available on our
<ulink url="http://www.mplayerhq.hu/homepage/dload.html">download page</ulink>.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
During 'make', MPlayer complains about X11 libraries. I don't understand,
I DO have X installed!?
</para></question>
<answer><para>
... but you don't have the X development package installed. Or not correctly.
It's called <filename>XFree86-devel*</filename> under Red Hat, and
<filename>xlibs-dev</filename> under Debian. Also check if the
<filename class="directory">/usr/X11</filename> and
<filename class="directory">/usr/include/X11</filename> symlinks exist (this
can be a problem on Mandrake systems). They can be created with these commands:
<screen>
     $ ln -sf /usr/X11R6 /usr/X11
     $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
</screen>
Your distribution may differ from the
<ulink url="http://www.pathname.com/fhs/">Filesystem Hierarchy Standard</ulink>.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I can't compile SVGAlib. I'm using kernel 2.3/2.4 ...
</para></question>
<answer><para>
You have to edit SVGAlib's <filename>Makefile.cfg</filename> and comment
<systemitem>BACKGROUND = y</systemitem> out.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I compiled MPlayer with libdvdcss/libdivxdecore support, but when I try to start it, it says:
<screen>
error while loading shared libraries: lib*.so.0: cannot load shared object file: No such file or directory
</screen>
I checked up on the file and it IS there in <filename class="directory">/usr/local/lib</filename> ...
</para></question>
<answer><para>
Add <filename class="directory">/usr/local/lib</filename> to <filename>/etc/ld.so.conf</filename>
and run <command>ldconfig</command>.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Hmm, strange. When loading the <filename>mga_vid.o</filename> kernel module, I
found this in the logs:
<programlisting>
Warning: loading mga_vid.o will taint the kernel: no license
</programlisting>
</para></question>
<answer><para>
The latest kernel modutils require a flag indicating the license (mainly to avoid
kernel hackers debugging closed source drivers). Upgrade your kernel, modutils
and <application>MPlayer</application>.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
When compiling <application>MEncoder</application>, it segfaults at linking!
</para></question>
<answer><para>
This is a linker problem. Upgrading binutils should help (2.11.92.*
or newer should be good). Since it is not our fault, please do
<emphasis role="bold">not</emphasis> report!
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
MPlayer dies with segmentation fault upon pthread check!
</para></question>
<answer><para>
<command>chmod 644 /usr/lib/libc.so</command>
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I'd like to compile <application>MPlayer</application> on Minix!
</para></question>
<answer><para>
Me too. :)
</para></answer>
</qandaentry>

</qandadiv>

<qandadiv id="faq-general">
<title>General questions</title>
<qandaentry>
<question><para>
How do I create a proper patch for <application>MPlayer</application>?
</para></question>
<answer><para>
We made a <ulink url="../../tech/patches.txt">short document</ulink>
describing all the necessary details. Please follow the instructions.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
How can I support <application>MPlayer</application> development?
</para></question>
<answer><para>
We are more than happy to accept your hardware and software
<ulink url="http://www.mplayerhq.hu/homepage/donations.html">donations</ulink>.
They help us in continuously improving MPlayer.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
How can I become an <application>MPlayer</application> developer?
</para></question>
<answer><para>
We always welcome coders and documenters. Read the
<ulink url="../../tech/">technical documentation</ulink>
to get a first grasp. Then you should subscribe to the
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</ulink>
mailing list and start coding.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Can I run multiple instances of <application>MPlayer</application>?
</para></question>
<answer><para>
Yes. Some video out drivers like xv, dga or (x)mga are exclusive, some are
exclusive in combination with certain graphics boards and drivers. You will
not be able to run more than one instance of MPlayer with one of those video
out drivers. To a lesser degree this also applies to audio drivers. Not all
allow playback of multiple streams on the same device.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
There is a timer in the upper left corner. How can I get rid of it?
</para></question>
<answer><para>
Press <keycap>o</keycap> and try the <option>-osdlevel</option> option.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
The <option>-xy</option> or <option>-fs</option> option doesn't work with
the x11 driver (<option>-vo x11</option>) ...
</para></question>
<answer><para>
It does, but you have to explicitly specify software scaling (very slow) with the
<option>-zoom</option> option. You better use XF86VidMode support: You must
specify the <option>-vm</option> and the <option>-fs</option> option, and you're
done. Make sure you have the right modelines in your <filename>XF86Config</filename>
file, and try to make the <link linkend="dga">DGA driver</link> and
<link linkend="sdl">SDL's DGA driver</link> work for you. It's much
faster. If SDL's DGA works, use that, it'll be even faster.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
What is the meaning of the numbers on the status line?
</para></question>
<answer><para>
Example:
<screen>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%</screen>
<itemizedlist>
<listitem><para>A: audio position in seconds</para></listitem>
<listitem><para>V: video position in seconds</para></listitem>
<listitem><para>A-V: audio-video difference in seconds (delay)</para></listitem>
<listitem><para>ct: total A-V sync correction done</para></listitem>
<listitem><para>frames played (counting from last seek)</para></listitem>
<listitem><para>frames decoded (counting from last seek)</para></listitem>
<listitem><para>video codec cpu usage in percent (for slices and DR this includes
video_out)</para></listitem>
<listitem><para>video_out cpu usage</para></listitem>
<listitem><para>audio codec cpu usage in percent</para></listitem>
<listitem><para>frames needed to drop to maintain A-V sync</para></listitem>
<listitem><para>current level of image postprocessing (when using
<option>-autoq</option>)</para></listitem>
<listitem><para>current cache size used (around 50% is normal)</para></listitem>
</itemizedlist>
Most of them are for debug purposes and will be removed at some point.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
What if I don't want them to appear?
</para></question>
<answer><para>
Use the <option>-quiet</option> option and read the man page.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Why is video_out cpu usage zero (0%) for some files?
</para></question>
<answer><para>
It's not zero, but it's called from the codec and thus cannot be measured
separately. You should try to play the file using <option>-vo null</option> and
then <option>-vo ...</option> and check the difference to see the video_out speed.
</para></answer>
<answer><para>
You are using Direct Rendering, where the codec renders to the video memory
itself. In this case, the decoding percentage contains the display percentage, too.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
There are error messages about file not found <filename>/usr/local/lib/codecs/</filename> ...
</para></question>
<answer><para>
Download the Win32 codecs from our
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</ulink>
(avifile's codec package has a different DLL set) and install it.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Are there any mailing lists on <application>MPlayer</application>?
</para></question>
<answer><para>
Yes. See the bottom of the info page on
<ulink url="http://www.mplayerhq.hu/homepage/info.html">our homepage</ulink>
to subscribe.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I've found a nasty bug when I tried to play my favorite video! Who should I inform?
</para></question>
<answer><para>
Please read the
<link linkend="bugreports">bug reporting guidelines</link>
and follow the instructions.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
I have problems playing files with the ... codec. Can I use them?
</para></question>
<answer><para>
Check the <ulink url="http://www.mplayerhq.hu/DOCS/codecs-status.html">codec status</ulink>,
if it doesn't contain your codec, read the <link linkend="codecs">codec documentation</link>,
especially the <link linkend="win32-codecs">codec importing HOWTO</link> and contact us.
</para></answer>
</qandaentry>

<qandaentry>
<question><para>
Umm, what is &quot;IdegCounter&quot;?
</para></question>
<answer><para>
A combination of a Hungarian and an English word. &quot;Ideg&quot; in Hungarian
means the same as "nerve" in English, and is pronounced as something like
quot;ydaegh&quot;. It was first used to measure the nervousness of A'rpi, after
some (umm) &quot;mysterious&quot; disappearance of CVS code ;)
</para></answer>