annotate DOCS/MPlayer-FAQ @ 483:92f170c8b9ba

fix to newest revision after cvs rollback
author atmosfear
date Tue, 17 Apr 2001 06:22:48 +0000
parents 0110a8896cc7
children b015178f60ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 Yes, this is the MPlayer FAQ.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 =============================
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 About:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 ~~~~~~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 Many people asked same questions so I decided to write this stuff.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 I know that people will never read this but at least i try to
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 pull down number of these mails.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 And from now i can say that "read the fuckin' FAQ!" :-)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 Let's ask!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 ~~~~~~~~~~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 Q: SDL output doesn't work or compile. Problem is ....
281
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
14 A: It is tested with SDL v1.1.8 (probably runs on 1.1.7 too).
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 Q: I am still having trouble compiling with SDL support. gcc says something
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 about "undefined reference to `SDL_EnableKeyRepeat'" What's now?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 A: Where did you install the SDL library? If you installed in /usr/local
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 (the default) then edit the top level config.mak and add
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 Q: I have problem ... with the SDL driver.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 A: It's very experimental & buggy code, and it's UNSUPPORTED by us.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 Please do NOT report bugs or ask features relating to SDL.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 But you can improve it, and send us patches!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things...
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 A: copy DOCS/inttypes.h to MPlayer directory (cp DOCS/inttypes.h .)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 try again... if fail, contact me
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 Q: I have Pentium III but ./configure doesn't detect SSE
6
7465ff4ad354 *** empty log message ***
gabucino
parents: 1
diff changeset
33 A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 Q: fullscreen option (-fs) and/or -xy doesn't work with x11 driver (-vo x11)
281
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
36 A: x11 driver doesn't support scaling, but XF86VidMode support is now
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
37 used: you must specify the -vm and the -fs switch, and you're done.
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
38 Make sure you have the right Modelines in your XF86Config file, and
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
39 try if the DGA driver works for you. It's much faster.
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 Q: audio goes out of sync playing .avi file
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 A: try with -bps or -nobps option
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 if still bad, send me (upload to ftp) that file, I'll check.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 Q: what is the meaning of numbers in the status line?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 A: see:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 - A: audio position in seconds
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 - V: video position in seconds
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 - A-V: audio-video difference in seconds (delay)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 - ct: total A-V sync correction done
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 - frames played (counting from last seek)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 - video codec cpu usage in percent (for mpeg it includes video_out too!)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 - video_out cpu usage for avi, 0 for mpg (see above)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 - audio codec cpu usage in percent
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 - dropped bad frames (mpg only)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 Most of them are for debug purposes, and will be removed soon.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 Q: Why is video_out cpu usage zero (0%) for mpeg files?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 A: It's not zero, but it's built in into codec, so can't be measured separated.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 You should try to play the file using -vo null and then -vo ... and check
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 the difference to see video_out speed...
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 A: your opengl driver doesn't support dynamic texture chanegs (glTexSubImage)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66 it's known not to work with X 4.0.x DRI drivers and nVidia's binary shit.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67 it's known to work with Utah-GLX and Matrox G400 card.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 it will not work with 3DFX cards because the 256x256 texture size limit.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69
6
7465ff4ad354 *** empty log message ***
gabucino
parents: 1
diff changeset
70 Q: I have G200/G400, how to compile/use mga_vid driver?
145
58169856e578 added "read the fucking VIDEOCARDS" texts
gabucino
parents: 115
diff changeset
71 A: read VIDEOCARDS, INSTALL, README
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 Q: What's XMMP? (it's XMMS or XMPS but mispelled?)
6
7465ff4ad354 *** empty log message ***
gabucino
parents: 1
diff changeset
74 A: It's a new project, see http://frozenproductions.com for details
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76 Q: There are error messages about file not found /usr/lib/win32/....
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 A: Download & install w32codec.zip from *our* FTP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 (avifile's codec package has different DLL set)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80 Q: It wants to load l3codeca.acm, but I don't have such file.
46
dc4337652723 small typos, Qs corrected
gabucino
parents: 35
diff changeset
81 A: You should use w32codec.zip from MPlayer FTP instead of avifile's pack!
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 Q: ...... works with avifile/aviplay while doesn't with MPlayer
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 A: MPlayer != avifile
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 The only common thing between these players is the Win32 DLL loader.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 The codecs (dll) sets, syncronization, demultiplexing etc is totaly
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 different and shouldn't be compared.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 If something works with aviplay it doesn't mean that MPlayer should do
46
dc4337652723 small typos, Qs corrected
gabucino
parents: 35
diff changeset
89 it and vice versa. You should contact me, I'll fix the bug!
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 Q: Indeo 3.x/4.x movies are viewed upside-down!!!?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92 A: It's a known bug (really it's a bug/limitation of the DLL codec)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 A: It's a known bug (really it's a bug/limitation of the DLL codec)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 Q: I've got 'MPlayer interrupted by signal 11' in module audio_setup or
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98 decode_audio.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 A: It's a damaged file with bad mp3 audio stream. Try it with -afm 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 Q: Are there rpm/deb/... packages of MPlayer?
281
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
102 A: You can make a .deb package for yourself, check DOCS/DEBIAN .
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
103 There are .rpm packages at
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
104 ftp://ftp.pld.org.pl/test/i{3,5,6}86/
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
105 and/or
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
106 ftp://ftp.pld.org.pl/PLD-1.0/i{3,5,6}86/PLD/RPMS/
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
107 NOTE: i{3,5,6} stand for i386, i586, i686 . If you have i686 CPU, use
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
108 i686, etc.
6c3a2c2c966d big review
gabucino
parents: 239
diff changeset
109 NOTE: MANUAL COMPILATION _ALWAYS_ GIVES BETTER PERFORMANCE AND SPEED !
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 Q: Are there any mailing lists on MPlayer?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 A: Yes! See README on how to subscribe them!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 Q: I've found a nasty bug when I tried to play my favourite video!!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 Who should I inform?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 A: Inform the MPlayer-users mailing list about your problem. *ALWAYS*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117 read the README about what information we NEED to identify your problem.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118 Use the developers addresses (specified in AUTHORS) only if you want to
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119 flame, or want to ask for a date. ;)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120
6
7465ff4ad354 *** empty log message ***
gabucino
parents: 1
diff changeset
121 Q: During 'make', MPlayer complains about X11 libraries. I don't understand,
7465ff4ad354 *** empty log message ***
gabucino
parents: 1
diff changeset
122 I DO have X installed!?
232
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
123 A: ...but you don't have the X development package installed. Or not
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
124 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
125 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
126 Mandrake systems). It can be created with the
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
127 $ ln -sf /usr/X11R6 /usr/X11
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
128 command. Also check the /usr/include/X11 link :
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
129 $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
6ec35ac3c74c symlink addition
gabucino
parents: 222
diff changeset
130 Your distribution may differ from the Linux Filesystem Standard.
35
25f148e9890a Updated FAQ, TODO
gabucino
parents: 6
diff changeset
131
46
dc4337652723 small typos, Qs corrected
gabucino
parents: 35
diff changeset
132 Q: I have problems playing files with ... codec. Can I use'em?
317
0110a8896cc7 sourceforget
gabucino
parents: 281
diff changeset
133 A: Check DOCS/CODECS, if it doesn't contain your codec, contact us.
51
e7fe95f7b892 dunno :))
gabucino
parents: 46
diff changeset
134
e7fe95f7b892 dunno :))
gabucino
parents: 46
diff changeset
135 Q: What about DGA driver? I can't find it!!!
74
471cca69826a something
gabucino
parents: 67
diff changeset
136 A: ./configure autodetects your DGA driver. If -vo help doesn't show
471cca69826a something
gabucino
parents: 67
diff changeset
137 DGA, then there's a problem with your X installation.
145
58169856e578 added "read the fucking VIDEOCARDS" texts
gabucino
parents: 115
diff changeset
138 Try ./configure --enable-dga (and read VIDEOCARDS)
66
8514fc8a5ccd added more DGA info
gabucino
parents: 51
diff changeset
139
8514fc8a5ccd added more DGA info
gabucino
parents: 51
diff changeset
140 Q: Ok, -vo help shows DGA driver, but it is babbling about permissions!
8514fc8a5ccd added more DGA info
gabucino
parents: 51
diff changeset
141 Help me!
239
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
142 A: It works only if running as root! It's a DGA limitation.
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
143 You should become to root (su -), and try again.
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
144
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
145 Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
146 'chown root /usr/local/bin/mplayer'
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
147 'chmod 750 /usr/local/bin/mplayer'
3b6cf9339a12 DGA: SUID not recommended
arpi_esp
parents: 232
diff changeset
148 'chmod +s /usr/local/bin/mplayer'
115
1d171a588333 Warning: suid root security problem
lgb
parents: 74
diff changeset
149 !!!! BUT STAY TUNED !!!!
1d171a588333 Warning: suid root security problem
lgb
parents: 74
diff changeset
150 This is a BIG security risk! Never do this on a server or on a computer
1d171a588333 Warning: suid root security problem
lgb
parents: 74
diff changeset
151 can be accessed by more people than only you because they can gain root
1d171a588333 Warning: suid root security problem
lgb
parents: 74
diff changeset
152 privilegies through suid root mplayer.
1d171a588333 Warning: suid root security problem
lgb
parents: 74
diff changeset
153 !!!! SO YOU HAVE BEEN WARNED ... !!!!
67
4eca9f4b30d8 fsdga stuffz added. uccse nezi soha senki :)
gabucino
parents: 66
diff changeset
154
4eca9f4b30d8 fsdga stuffz added. uccse nezi soha senki :)
gabucino
parents: 66
diff changeset
155 Q: The fsdga driver doesn't work with my xyz.avi file. Why is that?
4eca9f4b30d8 fsdga stuffz added. uccse nezi soha senki :)
gabucino
parents: 66
diff changeset
156 A: Because it only works with MPEG. (yet)
222
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
157
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
158 Q: When using Xvideo, my Voodoo 3/Banshee says:
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
159 X Error of failed request: BadAccess (attempt to access private resource
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
160 denied)
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
161 Major opcode of failed request: 147 (MIT-SHM)
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
162 Minor opcode of failed request: 1 (X_ShmAttach)
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
163 Serial number of failed request: 26
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
164 Current serial number in output stream:27
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
165 A: Your driver is old, update it.
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
166
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
167 Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee !
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
168 It says:
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
169 ...
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
170 Xvideo image format: 0x32315659 (YV12) planar
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
171 Xvideo image format: 0x30323449 (I420) planar
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
172 ...
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
173 A: Your driver is old, update it. The new driver also supports YUY2 required
163bb3cee94d The quick red fox jumped over the lazy brown dog.
gabucino
parents: 145
diff changeset
174 for DivX.