annotate DOCS/faq.html @ 1622:a0d4fa6b9435

printf added to seq. header error handlers
author arpi
date Wed, 22 Aug 2001 16:24:00 +0000
parents 1b011d6150c7
children 2eedc348e92a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1 <HTML>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
2
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
3 <BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
4
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
5 <PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
6
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
7 <A NAME=5>5. FAQ section
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
8
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
9
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
10 <A NAME=5.1>5.1. Compilation
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
11
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
12 <B>Q: What's the problem with gcc 2.96 ?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
13 </B>A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
14 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15 unsupported by <B>MPlayer</B>, because it simply SKIPS MMX codes, it just does
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
16 not compile it. Important: this is NOT an <B>MPlayer</B>-specific problem,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
17 numerous other projects (DRI, avifile, etc..) have problems with this shit
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
18 too.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
19 ** DO NOT USE gcc 2.96 !!! **
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
20
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
21 <B>Q: Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
22 </B>A: No :) Their gcc 3.0.1 was compiled with gcc 2.96, so they are
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
23 buggy shit too.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
24
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
25 <B>Q: Now then. What should I use?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
26 </B>A: Any of gcc 2.95 series.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
27
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
28 <B>Q: SDL output doesn't work or compile. Problem is ....
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
29 </B>A: It is tested with newest SDL (probably runs on 1.1.7+).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
30 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
31
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
32 <B>Q: I am still having trouble compiling with SDL support. gcc says something
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
33 about "undefined reference to `SDL_EnableKeyRepeat'" What's now?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
34 </B>A: Where did you install the SDL library? If you installed in /usr/local
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
35 (the default) then edit the top level config.mak and add
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
36 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
37
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
38 <B>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
39 </B>A: copy DOCS/inttypes.h to <B>MPlayer</B> directory (cp DOCS/inttypes.h .)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
40 try again... if fail, contact us
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
41
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
42 <B>Q: I have Pentium III but ./configure doesn't detect SSE
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
43 </B>A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
44 be prepared for problems)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
45
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
46 <B>Q: I have G200/G400, how to compile/use mga_vid driver?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
47 </B>A: Read all this documentation.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
48
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
49 <B>Q: Are there rpm/deb/... packages of <B>MPlayer</B>?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
50 </B>A: You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A> .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
51 It's _STRONGLY_ discouraged to use precompiled packages
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
52 of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
53 options and optimizations!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
54 Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
55
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
56 <B>Q: During 'make', <B>MPlayer</B> complains about X11 libraries. I don't understand,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
57 I DO have X installed!?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
58 </B>A: ...but you don't have the X development package installed. Or not
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
59 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
60 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
61 Mandrake systems). It can be created with the
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
62 $ ln -sf /usr/X11R6 /usr/X11
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
63 command. Also check the /usr/include/X11 link :
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
64 $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
65 Your distribution may differ from the Linux Filesystem Standard.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
66
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
67 <B>Q: What about DGA driver? I can't find it!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
68 </B>A: ./configure autodetects your DGA driver. If -vo help doesn't show
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
69 DGA, then there's a problem with your X installation.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
70 Try ./configure --enable-dga (and read VIDEOCARDS)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
71 Alternatively, try SDL's DGA driver with '-vo sdl:dga' options.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
72
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
73 <B>Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
74 </B>A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
75
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
76 <B>Q: I compiled <B>MPlayer</B> with libcss/libdivxdecore support, but when
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
77 I try to start it, it says :
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
78 > error while loading shared libraries: libcss.so.0: cannot load
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
79 > shared object file: No such file or directory
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
80 I checked up on the file and it IS there in /usr/local/lib.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
81 </B>A: What are you doing on Linux? Can't you install a library? Why do
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
82 we get these questions? It's not <B>MPlayer</B> specific at all! Add
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
83 /usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
84 Or install it to /usr/lib , because if you can't solve the /usr/local
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
85 problem, you are careless enough to do such things.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
86
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
87 <B>Q: I have gcc 3.0 . I have to compile mplayer with --disable-dshow,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
88 else it prints
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
89
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
90 /usr/local/objdir/gcc-3.0/lib//libstdc++.so.3: undefined symbol: __dso_handle
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
91
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
92 </B>A: All you have to do is create a symbolic link from libstdc++.so to
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
93 libstdc++.so.3
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
94
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
95
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
96 <A NAME=5.2>5.2. General questions
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
97
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
98 <B>Q: What about DVD playback?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
99 </B>A: Read files 'DVD' and 'DVD-FAQ'.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
100
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
101 <B>Q: -xy option doesn't work with x11 driver (-vo x11)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
102 </B>A: x11 driver doesn't support scaling, but XF86VidMode support is now
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
103 used: you must specify the -vm and the -fs switch, and you're done.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
104 Make sure you have the right Modelines in your XF86Config file, and
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
105 try if the DGA driver (and SDL's DGA driver, see VIDEOCARDS) works for you.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
106 It's much faster. If SDL's DGA works too, use that, it'll be EVEN
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
107 faster!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
108
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
109 <B>Q: what is the meaning of numbers in the status line?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
110 </B>A: see:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
111 </B>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
112 - </B>A: audio position in seconds
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
113 - V: video position in seconds
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
114 - A-V: audio-video difference in seconds (delay)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
115 - ct: total A-V sync correction done
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
116 - frames played (counting from last seek)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
117 - video codec cpu usage in percent (for mpeg it includes video_out too!)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
118 - video_out cpu usage for avi, 0 for mpg (see above)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
119 - audio codec cpu usage in percent
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
120 - frames needed to drop to maintain A-V sync
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
121 Most of them are for debug purposes, and will be removed soon.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
122
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
123 <B>Q: Why is video_out cpu usage zero (0%) for mpeg files?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
124 </B>A: It's not zero, but it's built in into codec, so can't be measured separated.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
125 You should try to play the file using -vo null and then -vo ... and check
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
126 the difference to see video_out speed...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
127
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
128 <B>Q: What's XMMP? (is it XMMS or XMPS but mispelled?)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
129 </B>A: It's a new project, see http://frozenproductions.com for details
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
130
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
131 <B>Q: There are error messages about file not found /usr/lib/win32/....
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
132 </B>A: Download & install w32codec.zip from *our* FTP
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
133 (avifile's codec package has different DLL set)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
134
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
135 <B>Q: Are there any mailing lists on <B>MPlayer</B>?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
136 </B>A: Yes! See README on how to subscribe them!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
137
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
138 <B>Q: I've found a nasty bug when I tried to play my favourite video!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
139 Who should I inform?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
140 </B>A: See Appendix <A HREF="bugreports.html">C</A> .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
141
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
142 <B>Q: I have problems playing files with ... codec. Can I use'em?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
143 </B>A: Check http://mplayer.sourceforge.net/DOCS/codecs.html,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
144 if it doesn't contain your codec, read
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
145 http://mplayer.sourceforge.net/DOCS/CODECS, and contact us.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
146
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
147 <B>Q: Umm, what is "IdegCounter" ?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
148 </B>A: A mixture of a hungarian and an english word. In english, "Ideg" means
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
149 "nerve", and is pronounced as something like "ydaegh" . It was first used
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
150 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
151 of CVS code ;)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
152
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
153 <B>Q: LIRC doesn't work, because ...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
154 </B>A: Are you sure you use "mplayer_lirc" instead of "mplayer" ?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
155
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
156 <B>Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
157 down the playing! I know it's unlikely...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
158 </B>A: After running ./configure , edit config.h and replace #undef FAST_OSD with
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
159 #define FAST_OSD . Then recompile.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
160
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
161 <B>Q: The OSD is flickering!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
162 </B>A: You use a vo driver with single buffering (x11,xv). With xv you can change
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
163 the number of buffers in libvo/vo_xv.c :
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
164 Increase #define NUM_BUFFERS 1
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
165
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
166 <B>Q: What exactly is this libavcodec?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
167 </B>A: It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
168 It has C language DivX ;-) and OpenDivX codec. Some benchmarks
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
169 showed that its DivX seems to be even faster than DirectShow codec without
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
170 preprocessing, and only a few percent slower than ProjectMayo's OpenDivX
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
171 decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
172 Also, open the possibility to play DivX on virtually every computer that
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
173 has a C compiler. Kinda great stuff, isn't it?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
174
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
175 <B>Q: But configure tells me "Checking for libavcodec ... no"!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
176 </B>A: You need to get libavcodec from FFmpeg's CVS. Read the instructions in
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
177 the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A> .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
178
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
179
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
180 <A NAME=5.3>5.3. File playing problems
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
181
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
182 <B>Q: ...... works with avifile/aviplay while doesn't with <B>MPlayer</B>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
183 </B>A: <B>MPlayer</B> != avifile
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
184 The only common thing between these players is the Win32 DLL loader.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
185 The codecs (dll) sets, syncronization, demultiplexing etc is totaly
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
186 different and shouldn't be compared.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
187 If something works with aviplay it doesn't mean that <B>MPlayer</B> should do
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
188 it and vice versa.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
189
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
190 <B>Q: audio goes out of sync playing .avi file
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
191 </B>A: try with -bps or -nobps option
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
192 if still bad, send me (upload to ftp) that file, I'll check.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
193
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
194 <B>Q: Indeo 3.x/4.x movies are viewed upside-down!!!?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
195 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
196 Try if your vo driver supports the -flip switch.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
197
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
198 <B>Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
199 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
200
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
201 <B>Q: I've got '<B>MPlayer</B> interrupted by signal 11' in module audio_setup or
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
202 decode_audio.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
203 </B>A: This is highly unlikely, since the mp3lib rewrite. Contact us, it may be
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
204 a bug. Possibly it's a damaged file, try with -afm 4 .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
205
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
206 <B>Q: <B>MPlayer</B> exits with something error when using l3codeca.acm
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
207 </B>A: Check 'ldd /usr/local/bin/mplayer' output. If it contains
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
208 libc.so.6 => /lib/libc.so.6 (0x4???????)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
209 where "?" is any number then it's ok, the error is not here. If it is:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
210 libc.so.6 => /lib/libc.so.6 (0x00??????)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
211 then there is problem with your kernel/libc. Maybe you are using some
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
212 security patches (for example Solar Designer's OpenWall patch) which
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
213 forces loading libraries to very low addresses.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
214 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
215 0x00400000, we can't change this. You should use non-patched kernel,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
216 or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
217
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
218 <B>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
219 sound too slow. When I use -nosound switch, everything is ok (but quiet).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
220 </B>A: Those files probably have 48Khz audio, and your soundcard/driver can't play
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
221 it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
222
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
223 <B>Q: <B>MPlayer</B> dies with "<B>MPlayer</B> interrupted by signal 4 in module: decode_video".
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
224 </B>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
225 use <B>MPlayer</B> on different CPU than it was compiled on.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
226
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
227 <B>Q: I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
228 modes..
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
229 </B>A1: Use the -fsmode switch. See example.conf or manpage.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
230
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
231 <B>Q: But it works with avifile !
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
232 </B>A: So what?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
233
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
234 <B>Q: Then avifile is better !
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
235 </B>A: Then use avifile, it has nice GUI and nice C++ code :)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
236
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
237 <B>Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 !
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
238 </B>A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from DOCS/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
239
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
240 <B>Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
241 happens, after about one minute the video starts playing.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
242 </B>A: The KDE arts sound daemon is blocking the sound device, either wait the time
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
243 until video starts or you disable the arts-daemon in kontrollcenter.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
244 If you want to use arts sound, specify audio output via SDL (ao=sdl), and
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
245 make sure your SDL can handle arts sound. Yet another option is to start
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
246 mplayer with artsdsp.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
247
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
248 <B>Q: I have an AVI that plays with grey screen with -vc odivx, and green
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
249 with -vc divx4 .
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
250 </B>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
251
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
252
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
253 <A NAME=5.4>5.4. Video/audio driver problems (vo/ao)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
254
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
255 <B>Q: Ok, -vo help shows DGA driver, but it is babbling about permissions!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
256 Help me!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
257 </B>A: It works only if running as root! It's a DGA limitation.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
258 You should become to root (su -), and try again.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
259
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
260 Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
261
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
262 chown root /usr/local/bin/mplayer
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
263 chmod 750 /usr/local/bin/mplayer
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
264 chmod +s /usr/local/bin/mplayer
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
265
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
266 !!!! BUT STAY TUNED !!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
267 This is a *BIG* security risk! *NEVER* do this on a server or on a computer
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
268 can be accessed by more people than only you because they can gain root
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
269 privilegies through suid root mplayer!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
270 !!!! SO YOU HAVE BEEN WARNED ... !!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
271
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
272 <B>Q: When using Xvideo, my Voodoo 3/Banshee says:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
273 X Error of failed request: BadAccess (attempt to access private resource
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
274 denied)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
275 Major opcode of failed request: 147 (MIT-SHM)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
276 Minor opcode of failed request: 1 (X_ShmAttach)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
277 Serial number of failed request: 26
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
278 Current serial number in output stream:27
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
279 </B>A: Your driver is old, update it. Either download (at least) DRI version 0.6
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
280 from http://dri.sourceforge.net , or use the DRI cvs.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
281
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
282 <B>Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee !
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
283 It says:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
284 ...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
285 Xvideo image format: 0x32315659 (YV12) planar
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
286 Xvideo image format: 0x30323449 (I420) planar
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
287 ...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
288 </B>A1: See the previous answer.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
289 A2: Since 0.18pre4 we include libavcodec from the ffmpeg package. It contains
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
290 a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
291 for output, thus it should work for you. Compile in libavcodec support.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
292
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
293 <B>Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
294 </B>A: your opengl driver doesn't support dynamic texture changes (glTexSubImage)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
295 it's known not to work with nVidia's binary shit.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
296 it's known to work with Utah-GLX/DRI and Matrox G400 card. Also with
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
297 DRI and Radeon card. It won't work with DRI others than these.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
298 it will not work with 3DFX cards because the 256x256 texture size limit.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
299
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
300 <B>Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
301 right under the movie! Whose fault is this?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
302 </B>A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
303 and we can't do anything about it, it's not our bug.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
304
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
305
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
306 <A NAME=5.5>5.5. Feature requests
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
307
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
308 <B>Q: Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
309 </B>A: There's no way to do it. Therefore these formats deserve to die in flames.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
310 Theoretically you can reverse engineer Real codecs built for Linux (they
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
311 are available as .so files), but in practice that's really difficult, even
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
312 if you know how the compiler used by Real is making assembler code.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
313 As for QuickTime, it's possible to play some old movies and this
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
314 capability will be added to mplayer soon, but newer clips are all Sorenson
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
315 encoded, and that codec is built-in deep in the QT executable, there's
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
316 no way to use it.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
317
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
318 </PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
319
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
320 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
321
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
322 </HTML>