annotate DOCS/documentation.html @ 1386:e3dfcc80bd5a

ready
author gabucino
date Tue, 24 Jul 2001 16:06:00 +0000
parents 095fe15f336f
children 883a67f743e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1 <HTML>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
3 <BODY>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
4
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
5 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
6 <CENTER>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)<BR>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
7 <BR>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
8 http://mplayer.sourceforge.net (or http://mplayer.dev.hu)</CENTER><BR>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
9 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
10
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
11 <P><HR></P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
12
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
13 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
14 Table of Contents
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
15 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
16
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
17 <P><HR></P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
18
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
19 <PRE>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
20 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
21 <A HREF="#1">1. Introduction</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
22 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
23 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
24 <A HREF="#1.1">1.1 Overview +speed</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
25 <A HREF="#1.2">1.2 History</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
26 <A HREF="#1.3">1.3 Installation</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
27 <A HREF="#1.4">1.4 What about the GUI?</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
28 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
29 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
30 <A HREF="#2">2. Features</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
31 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
32 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
33 <A HREF="#2.1">2.1 Video Formats, Audio & Video Codecs</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
34 <A HREF="#2.1.1">2.1.1 Supported input formats</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
35 <A HREF="#2.1.2">2.1.2 Supported audio & video codecs</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
36 <A HREF="#2.1.2.1">2.1.2.1 OpenDivX</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
37 <A HREF="#2.1.2.2">2.1.2.2 ffmpeg's DivX/libavcodec</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
38 <A HREF="#2.1.4">2.1.4 Codec importing howto</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
39 <A HREF="#2.1.4.1">2.1.4.1 VFW codecs</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
40 <A HREF="#2.1.4.2">2.1.4.2 DirectShow codecs</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
41 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
42 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
43 <A HREF="#2.2">2.2 Video & Audio output devices</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
44 <A HREF="#2.2.1">2.2.1 Video output devices</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
45 <A HREF="#2.2.1.1">2.2.1.1 Xv</A>
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
46 <A HREF="#2.2.1.1.1">2.2.1.1.1 3dfx cards</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
47 <A HREF="#2.2.1.1.2">2.2.1.1.2 S3 cards</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
48 <A HREF="#2.2.1.1.3">2.2.1.1.3 nVidia cards</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
49 <A HREF="#2.2.1.1.4">2.2.1.1.4 ATI cards</A>
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
50 <A HREF="#2.2.1.2">2.2.1.2 DGA</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
51 <A HREF="#2.2.1.2.1">2.2.1.2.1 Summary</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
52 <A HREF="#2.2.1.2.2">2.2.1.2.2 What is DGA</A>
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
53 <A HREF="#2.2.1.2.3">2.2.1.2.3 Installing DGA support for MPlayer</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
54 <A HREF="#2.2.1.2.4">2.2.1.2.4 Resolution switching</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
55 <A HREF="#2.2.1.2.5">2.2.1.2.5 DGA & MPlayer</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
56 <A HREF="#2.2.1.2.6">2.2.1.2.6 Features of the DGA driver</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
57 <A HREF="#2.2.1.2.7">2.2.1.2.7 Speed issues</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
58 <A HREF="#2.2.1.2.8">2.2.1.2.8 Known bugs</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
59 <A HREF="#2.2.1.2.9">2.2.1.2.9 Future work</A>
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
60 <A HREF="#2.2.1.2.A">2.2.1.2.A Some modelines</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
61 <A HREF="#2.2.1.2.B">2.2.1.2.B Bug Reports</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
62 <A HREF="#2.2.1.3">2.2.1.3 SDL</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
63 <A HREF="#2.2.1.4">2.2.1.4 SVGAlib</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
64 <A HREF="#2.2.1.5">2.2.1.5 Framebuffer output (FBdev)</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
65 <A HREF="#2.2.1.6">2.2.1.6 Matrox framebuffer (mga_vid)</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
66 <A HREF="#2.2.1.7">2.2.1.7 SiS 6326 framebuffer (sis_vid)</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
67 <A HREF="#2.2.1.8">2.2.1.8 3dfx YUV support</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
68 <A HREF="#2.2.1.9">2.2.1.9 OpenGL output</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
69 <A HREF="#2.2.2">2.2.2 Audio output devices</A>
1386
gabucino
parents: 1381
diff changeset
70 <A HREF="#2.2.2.1">2.2.2.1 Soundcard experiences, recommendations</A>
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
71 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
72 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
73 <A HREF="#3">3. Usage</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
74 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
75 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
76 <A HREF="#3.1">3.1 Control from keyboard</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
77 <A HREF="#3.2">3.2 Control from LIRC (Linux Infrared Remote Control)</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
78 <A HREF="#3.3">3.3 Streaming from network or pipes</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
79 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
80 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
81 <A HREF="#4">4. TV-out support</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
82 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
83 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
84 <A HREF="#4.1">4.1 Matrox cards</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
85 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
86 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
87 <A HREF="#5">5. Tuning</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
88 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
89 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
90 <A HREF="#5.1">5.1 CD drives</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
91 <A HREF="#5.2">5.2 DVD drives</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
92 <A HREF="#5.3">5.3 MTRR</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
93 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
94 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
95 <A HREF="#6">6. FAQ section</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
96 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
97 <P>
1386
gabucino
parents: 1381
diff changeset
98 <A HREF="#6.1">6.1 Compilation</A>
gabucino
parents: 1381
diff changeset
99 <A HREF="#6.2">6.2 General questions</A>
gabucino
parents: 1381
diff changeset
100 <A HREF="#6.3">6.3 File playing problems</A>
gabucino
parents: 1381
diff changeset
101 <A HREF="#6.4">6.4 Video/audio driver problems</A>
gabucino
parents: 1381
diff changeset
102 <A HREF="#6.5">6.5 Feature requests</A>
gabucino
parents: 1381
diff changeset
103 <A HREF="#6.6">6.6 DVD FAQ</A>
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
104 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
105 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
106 <A HREF="#7">7. Misc OS'es</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
107 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
108 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
109 <A HREF="#7.1">7.1 Debian packaging</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
110 <A HREF="#7.2">7.2 FreeBSD</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
111 <A HREF="#7.3">7.3 Solaris 8</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
112 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
113 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
114 <A HREF="#A">A. Authors</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
115 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
116 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
117 <A HREF="#B">B. Mailing lists</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
118 </P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
119 <P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
120 <A HREF="#C">C. How to report bugs</A>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
121 </P>
1386
gabucino
parents: 1381
diff changeset
122 </PRE>
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
123 <P><HR></P>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
124
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
125 <P><PRE>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
126 <A NAME=1>1. Introduction
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
127
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
128
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
129 <A NAME=1.1>1.1. Overview
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
130
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
131 <B>MPlayer</B> is a movie player for LINUX. It plays most MPEG, AVI and ASF files,
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
132 supported by many native and Win32 DLL codecs. You can watch VCD, DVD and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
133 even DivX movies too. The another big feature of mplayer is the wide range of
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
134 supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
135 but you can use SDL (and this way all drivers of SDL, for example AAlib) and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
136 some lowlevel card-specific drivers (for Matrox) too! Most of them supports
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
137 software or hardware scaling, so you can enjoy movies in fullscreen. And what
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
138 about the nice big antialiased shaded subtitles (7 supported types!!!) with
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
139 hungarian, english, cyrillic, czech, korean fonts, and OSD?
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
140
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
141 I didn't write any codecs, just some players. I spent
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
142 a lot of time finding the best way to parse bad damaged input files
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
143 (both MPEG and AVI) and to do perfect A-V sync with seeking ability.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
144 My player is rock solid playing damaged MPEG files (useful for some VCDs),
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
145 and it plays bad AVI files which are unplayable with the famous
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
146 windows media player. Even AVI files without index chunk are playable, and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
147 you can rebuild their indexes with the -idx option, thus enabling seeking!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
148 As you see, stability and quality are the most important things for me,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
149 but the speed is also amazing.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
150
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
151
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
152 <A NAME=1.2>1.2. History
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
153
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
154 This began a year ago...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
155 I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
156 xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
157 files or with audio/video sync. Most of them is unable to play both MPEG1,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
158 MPEG2 and AVI (DivX) files. Many players have image quality or speed problems
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
159 too. So I've decided to write/modify one...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
160
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
161 - mpg12play v0.1-v0.3:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
162 The first try, hacked together in a half hour!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
163 I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
164 but there were image quality and speed problems with it.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
165 - mpg12play v0.5-v0.87:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
166 Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
167 but it was slow and was written in C++ (I hate C++!!!)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
168 - mpg12play v0.9-v0.95pre5:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
169 Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
170 It's great, optimized very fast C code with perfect image quality and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
171 100% MPEG standard conformance.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
172 - <B>MPlayer</B> v0.3-v0.9:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
173 It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
174 player 'avip' based on avifile's Win32 DLL loader.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
175 - <B>MPlayer</B> v0.10:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
176 The MPEG and AVI player in a single binary!
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
177 - <B>MPlayer</B> v0.11:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
178 Some new developers joined and from 0.11 the mplayer project is a team-work!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
179 Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
180 - <B>MPlayer</B> v0.17 "The IdegCounter"
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
181 The release version of the 0.11pre after 4 months of heavy development!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
182 Try it, and be amazed! Thousands of new features added... and of course
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
183 old code was improved too, bugs removed etc.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
184 - <B>MPlayer</B> 0.18 "The BugCounter"
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
185 2 months since 0.17 and here's a new release.. Completed ASF support,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
186 more subtitle formats, introduced libao (similar to libvo but to audio),
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
187 even more stable than ever, and so on. It's a MUST !
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
188
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
189
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
190 <A NAME=1.3>1.3. Installation
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
191
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
192 If you plan to use <B>MPlayer</B> on x86 architecture, you possibly want to use
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
193 Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 .
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
194 Note: the avifile project has similar codecs package, but it differs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
195 from our, so if you want to use all supported codecs, then use
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
196 our package! However, you can use our codecs package with avifile.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
197
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
198 If you own a Matrox G200/G400/G450 card, then please see the <A HREF="#2.2.1.6">2.2.1.6</A>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
199 section in order to gain big speedup. It is important to do these steps
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
200 _before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
201 built.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
202
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
203 Then build <B>MPlayer</B>:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
204
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
205
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
206 ./configure
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
207 make
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
208 make install
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
209
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
210
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
211 It is recommended to browse the output of ./configure , it contains info
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
212 about what will be built, and what won't. You may also want to view
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
213 config.h and config.mak files.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
214
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
215 Though not mandatory, the fonts should be installed in order to gain
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
216 OSD, and subtitle functionality. Download mp_font3.zip (and optional
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
217 language updates) and optional (if exists) language updates.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
218
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
219
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
220 mkdir ~/.mplayer/font
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
221 cd ~/.mplayer/font
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
222 unzip mp_font3.zip
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
223 unzip mp_font3_hu.zip
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
224
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
225
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
226 <A NAME=1.4>1.4. What about the GUI ?
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
227
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
228 I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
229 So the player has only keyboard control from the controlling console/xterm now.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
230 There is a GUI development for the player, coordinated by Pontscho/Fresh!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
231 It's still under development, but it will be merged and released real soon.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
232 BTW he needs some nice skins, if you are a good graphician, contact him!!!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
233
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
234
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
235 <A NAME=2>2. Features
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
236
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
237
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
238 <A NAME=2.1>2.1. Video Formats, Audio & Video Codecs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
239
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
240
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
241 <A NAME=2.1.1>2.1.1. Supported input formats
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
242
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
243 <B>MPlayer</B> can read/play from the following devices/formats:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
244 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
245 - DVD, directly from your DVD disk, using optional libcss for decryption
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
246 - MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
247 formats
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
248 - RIFF AVI file format
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
249 - ASF 1.0 file format
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
250 - supports reading from file, stdin, DVD drive or network via HTTP
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
251
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
252 Note: about quicktime (.mov/.qt) and realmedia (.ra/.rm) support read the FAQ!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
253
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
254
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
255 <A NAME=2.1.2>2.1.2. Supported audio & video codecs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
256
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
257 See http://mplayer.sourceforge.net/DOCS/codecs.html for the complete,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
258 daily updated list!!!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
259
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
260 The most important video codecs:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
261 - MPEG1 (VCD) and MPEG2 (DVD) video
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
262 - DivX, OpenDivX and other MPEG4 variants
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
263 - Windows Media Video 7 (WMV1) used in .wmv files
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
264 - Intel Indeo codecs (3.1,3.2,4.1,5.0)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
265 - MJPEG, ASV2 and other hardware formats
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
266
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
267 The most important audio codecs:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
268 - MPEG layer 2, and layer 3 (MP3) audio (native code, with 3dnow optimization)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
269 - AC3 dolby audio (native code, with 3dnow optimization)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
270 - Voxware audio
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
271 - alaw, msgsm, pcm and other simple old audio formats
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
272
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
273 If you have a codec not listed here, and not supported yet, just
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
274 read http://mplayer.sourceforge.net/DOCS/codecs.html
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
275 to get info about its status and about how to help us adding support for it!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
276
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
277
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
278 <A NAME=2.1.2.1>2.1.2.1. OpenDivX
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
279
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
280 This section contains information about the DivX/OpenDivX codecs of
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
281 <A HREF="http://www.projectmayo.com">ProjectMayo</A>. Their first available alpha version was the OpenDivX 4.0
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
282 alpha 47 and 48. Support for this was/is included in <B>MPlayer</B>, and built by
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
283 default. We even used its postprocessing code to optionally enhance visual
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
284 quality of MPEG1/2 movies.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
285
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
286 The new generation of this codec can even decode movies made with the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
287 infamous DivX codec! And it's not everything, it's MUCH faster than the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
288 traditional Win32 DivX DLL's. See below for configuration. The only
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
289 disadvantage of this codec is that it's currently closed-source. :(
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
290
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
291 The codec can be downloaded from the following URL:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
292
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
293
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
294 http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
295
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
296
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
297 No automatic installing available at this time, so install it manually,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
298 EXACTLY as described here. Unpack it, and copy files to their place:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
299
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
300
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
301 cp libdivxdecore.so.0.0.0 /usr/local/lib/
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
302 ln -s /usr/local/lib/libdivxdecore.so.0.0.0 /usr/local/lib/libdivxdecore.so.0
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
303 ln -s /usr/local/lib/libdivxdecore.so.0 /usr/local/lib/libdivxdecore.so
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
304 ldconfig
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
305 cp decore.h /usr/local/include/
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
306
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
307
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
308 At the moment <B>MPlayer</B> doesn't contain autodetection for the codec, so you'll
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
309 have to edit config.h and config.mak manually. But first run ./configure .
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
310 Change #undef NEW_DECORE to #define NEW_DECORE in config.h
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
311 Change #define MPEG12_POSTPROC to #undef MPEG12_POSTPROC in config.h
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
312 Change DECORE_LIBS in config.mak to be:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
313
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
314
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
315 DECORE_LIBS=-L/usr/local/lib -ldivxdecore
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
316
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
317
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
318 Continue compiling <B>MPlayer</B> as usual.
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
319
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
320 Using it is a bit tricky. As it conflicts with the old OpenDivX (it's API is
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
321 very similar to OpenDivX's), OpenDivX code is disabled, and the OpenDivX
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
322 driver calls this library too.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
323
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
324 Generally we can pinpoint this issue to that you have two options to use
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
325 this codec:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
326
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
327
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
328 -vc odivx : using divx4 codec as a new version of OpenDivX.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
329 in this case it produces YV12 image in its own buffer,
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
330 and <B>MPlayer</B> (libvo) does colorspace conversion.
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
331
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
332 -vc divx4 : using divx4 codec's colorspace conversion.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
333 in this mode, you can use YUY2/UYVY too.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
334
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
335 The 'odivx' method is usually faster, due to the fact that it transfers
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
336 image data in YV12 (planar YUV 4:2:0) format, thus requiring much less
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
337 bandwidth on the bus. For packed YUV modes (YUY2, UYVY) use the 'divx4'
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
338 method. For RGB modes you can choose freely, their speed is same, maybe
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
339 differ according to the current bpp.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
340
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
341 Note: it supports postprocessing too, but range of values is strange:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
342
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
343 0 no postproc
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
344 10 .. 20 postprocessing, normal
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
345 (like level 2 with divxds)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
346 30 .. 60 hard postprocessing, eats many CPU.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
347 (like level 4 with divxds)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
348
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
349
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
350 <A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
351
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
352 Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec,
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
353 which is compatible with the traditional DivX. <B>MPlayer</B> supports this codec,
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
354 and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
355 To get it compile, you'll need nasm, bison, and flex, above the other
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
356 devel tools. No manual hacking is needed to build it, ./configure detects
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
357 if it can be built. At the moment it doesn't support postprocessing, and
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
358 is under optimization (it's generally a bit faster than the DirectShow
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
359 DivX codec, now).
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
360
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
361 In order to use it, refresh your codecs.conf file, and do as the manpage,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
362 or the example.conf says (the -vfm option).
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
363
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
364 Note: libavcodec contains other codecs as well, but at the moment we mostly
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
365 focus on ffdivx.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
366
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
367 <A NAME=2.1.3>2.1.4. Codec importing howto
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
368
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
369
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
370 <A NAME=2.1.4.1>2.1.4.1. VFW codecs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
372 VfW (Video for Windows) is the old Video API for Windows. Its codecs have
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
373 the .DLL or (rarely) .DRV extension.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
374 If <B>MPlayer</B> fails with your AVI:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
375
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
376
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
377 UNKNOWN video codec: HFYU (0x55594648)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
378
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
379
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
380 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU =
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
381 HuffYUV codec, DIV3 = DivX Low Motion, etc...). Now that we know this, we'll
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
382 have to find out which DLL Windows loads in order to play this file. In our
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
383 case, the system.ini contains this (with many others):
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
384
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
385
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
386 VIDC.HFYU=huffyuv.dll
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
387
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
388
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
389 So we'll need the huffyuv.dll file. Note that the audio codecs are specified
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
390 with the MSACM prefix :
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
391
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
392
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
393 msacm.l3acm=L3codeca.acm
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
394
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
395
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
396 This is the MP3 codec.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
397 So, now we have all the info needed (fourcc, codec file, sample AVI), submit
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
398 your codec support request in mail, and upload these files to the FTP:
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
399 ftp://mplayerhq.hu/MPlayer/incoming/<codecname>/
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
400
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
401
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
402 <A NAME=2.1.4.2>2.1.4.2. DirectShow codecs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
403
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
404 DirectShow is the newer Video API, which is even worse than its predecessor.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
405 Things are harder with DirectShow, since
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
406 - system.ini doesn't contain the needed information, instead it's stored in
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
407 the registry :(
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
408 - we'll need the GUID of the codec.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
409
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
410 So let's search that goddamn registry..
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
411 - Start 'regedit'
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
412 - press ctrl-f, disable the first two checkbox, and enable the third. Type
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
413 the fourcc of the codec. (for ex.: TM20)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
414 - you should see a field which contains the path and filename
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
415 (for ex. : C:\WINDOWS\SYSTEM\TM20DEC.AX)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
416 - now that we have the file, we'll need the GUID. Try searching again, but
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
417 now we'll search for the codec's name, not the fourcc. Its name can be acquired
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
418 when Media Player is playing that file, by checking File/Properties/Advanced.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
419 If not, bad luck ;) Try guessing.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
420 (for ex. search for : TrueMotion)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
421 - if found (in registry), there should be a FriendlyName field, and a CLSID
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
422 field. Write down that 16 byte of CLSID, this is the GUID required by us.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
423
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
424
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
425 NOTE : if searching fails, try to enable all the checkboxes.. you may have
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
426 false hits, but maybe you'll have the right, too...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
427 NOTE : dump that M$ shit.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
428
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
429
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
430 So, now we have all the info needed (fourcc, GUID, codec file, sample AVI),
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
431 submit your codec support request in mail, and upload these files to the FTP:
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
432 ftp://mplayerhq.hu/MPlayer/incoming/<codecname>/
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
433
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
434
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
435 <A NAME=2.2>2.2. Video & Audio output devices
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
436
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
437
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
438 <A NAME=2.2.1>2.2.1. Video output devices
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
439
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
440 General:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
441 - x11: X11 with optional SHM extension
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
442 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
443 - gl: OpenGL renderer, so far works only with :
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
444 - all cards with Utah-GLX
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
445 - Matrox cards with X/DRI >=4.0.3
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
446 - Radeon with X/DRI CVS
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
447 - dga: X11 DGA extension
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
448 - fbdev:Output to general framebuffers
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
449 - svga: Output to SVGAlib
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
450 - sdl: 1.1.7 : supports software scaling
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
451 1.1.8 : supports Xvideo (hardware scaling/fullscreen)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
452 1.2.0 : supports aalib (textmode rendering, very funny!)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
453 - ggi: similar to SDL
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
454
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
455 Card specific:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
456 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
457 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
458 (Xv emulation on X 3.3.x !)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
459 - syncfb: Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
460 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
461 broken)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
462
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
463 Special:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
464 - png: PNG files output (use -z switch to set compression)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
465 - pgm: PGM files output (for testing purposes or ffmpeg encoding)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
466 - md5: MD5sum output (for MPEG conformance tests)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
467 - odivx:OpenDivX AVI File writer (use -br to set encoding bitrate)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
468 - null: Null output (for speed tests/benchmarking)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
469
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
470 NOTE: check the following subsections for details and requirements!
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
471
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
472
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
473 <A NAME=2.2.1.1>2.2.1.1. Xv
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
474
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
475 Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
476 using the XVideo extension. This is what the option '-vo xv' uses.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
477 In order to make this work, be sure to check the following:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
478 - You have to use XFree86 4.0.2 or newer (former versions don't have XVideo)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
479 - Your card actually supports harware acceleration (modern cards do)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
480 - X loads the XVideo extension, it's something like this:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
481
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
482
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
483 (II) Loading extension XVideo
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
484
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
485
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
486 in /var/log/XFree86.0.log
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
487
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
488
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
489 NOTE : this loads only the XFree86's extension. In a good install, this is
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
490 always loaded, and doesn't mean that the _card's_ XVideo support is
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
491 loaded!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
492
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
493 - Your card has Xv support under Linux. To check, try 'xvinfo', it is the
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
494 part of the XFree86 distribution. It should display a long text, similar
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
495 to this:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
496
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
497
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
498 X-Video Extension version 2.2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
499 screen #0
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
500 Adaptor #0: "Savage Streams Engine"
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
501 number of ports: 1
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
502 port base: 43
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
503 operations supported: PutImage
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
504 supported visuals:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
505 depth 16, visualID 0x22
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
506 depth 16, visualID 0x23
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
507 number of attributes: 5
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
508 (...)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
509 Number of image formats: 7
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
510 id: 0x32595559 (YUY2)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
511 guid: 59555932-0000-0010-8000-00aa00389b71
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
512 bits per pixel: 16
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
513 number of planes: 1
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
514 type: YUV (packed)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
515 id: 0x32315659 (YV12)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
516 guid: 59563132-0000-0010-8000-00aa00389b71
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
517 bits per pixel: 12
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
518 number of planes: 3
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
519 type: YUV (planar)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
520 (...etc...)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
521
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
522
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
523 It must support YUY2 packed, and YV12 planar pixel formats to be
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
524 usable with <B>MPlayer</B>.
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
525
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
526 - And finally, check if <B>MPlayer</B> was compiled with 'xv' support.
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
527 ./configure prints this.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
528
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
529
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
530 <A NAME=2.2.1.1.1>2.2.1.1.1. 3dfx cards
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
531
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
532 Older 3dfx drivers were known to have problems with XVideo acceleration,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
533 it didn't support either YUY2 or YV12, and so. Verify that you have
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
534 XFree86 version 4.1.0 or greater, it works ok. Alternatively, you can use
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
535 <A HREF="http://dri.sourceforge.net">DRI</A> cvs.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
536 If you experience strange effects using -vo xv, try SDL (it has XVideo too)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
537 and see if it helps. Check the <A HREF="#2.2.1.3">SDL section</A> for details.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
538
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
539
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
540 <A NAME=2.2.1.1.2>2.2.1.1.2. S3 cards
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
541
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
542 S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
543 or greater.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
544
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
545
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
546 <A NAME=2.2.1.1.3>2.2.1.1.3. nVidia cards
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
547
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
548 nVidia isn't a very good choice under Linux.. You'll have to use the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
549 binary nVidia driver, available at nVidia's website. The standard X
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
550 driver doesn't support XVideo for these cards, due to nVidia's closed
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
551 sources/specifications.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
552
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
553
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
554 <A NAME=2.2.1.1.4>2.2.1.1.4. ATI cards
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
555
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
556 The GATOS driver has VSYNC enabled by default. It means that decoding speed
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
557 (!) is synced to the monitor's refresh rate. If playing seems to be slow, try
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
558 disabling VSYNC somehow, or set refresh rate to n*(fps of the movie) Hz.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
559
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
560
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
561 <A NAME=2.2.1.2>2.2.1.2. DGA
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
562
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
563 <A NAME=2.2.1.2.1>2.2.1.2.1. Summary
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
564
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
565 This document tries to explain in some words what DGA is in general and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
566 what the DGA video output driver for mplayer can do (and what it can't).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
567
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
568
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
569 <A NAME=2.2.1.2.2>2.2.1.2.2. What is DGA
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
570
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
571 DGA is short for Direct Graphics Access and is a means for a program to
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
572 bypass the X-Server and directly modifying the framebuffer memory.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
573 Technically spoken this happens by mapping the framebuffer memory into
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
574 the memory range of your process. This is allowed by the kernel only
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
575 if you have superuser privileges. You can get these either by logging in
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
576 as root or by setting the suid bit on the mplayer excecutable (NOT
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
577 recommended!).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
578
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
579 There are two versions of DGA: DGA1 is used by XFree 3.x.x and DGA2 was
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
580 introduced with XFree 4.0.1.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
581
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
582 DGA1 provides only direct framebuffer access as described above. For
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
583 switching the resolution of the video signal you have to rely on the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
584 XVidMode extension.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
585
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
586 DGA2 incorporates the features of XVidMode extension and also allows
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
587 switching the depth of the display. So you may, although basically
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
588 running a 32 bit depth XServer, switch to a depth of 15 bits and vice
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
589 versa.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
590
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
591 However DGA has some drawbacks. It seems it is somewhat dependent on the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
592 graphics chip you use and on the implementation of the XServer's video
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
593 driver that controls this chip. So it does not work on every system ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
594
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
595
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
596 <A NAME=2.2.1.2.3>2.2.1.2.3. Installing DGA support for <B>MPlayer</B>
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
597
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
598 First make sure X loads the DGA extension, see in /var/log/XFree86.0.log :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
599
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
600
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
601 (II) Loading extension XFree86-DGA
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
602
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
603
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
604 See, XFree86 4.0.x or greater is VERY RECOMMENDED!
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
605 <B>MPlayer</B>'s DGA driver is autodetected on ./configure, or you can force it
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
606 with --enable-dga.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
607
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
608 If the driver couldn't switch to a smaller resolution, experiment with
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
609 switches -vm (only with X 3.3.x), -fs, -bpp, -zoom to find a video mode that
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
610 the movie fits in. There is no converter right now.. :(
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
611
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
612 Become ROOT. DGA needs root access to be able to write directly video memory.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
613 If you want to run it as user, then install <B>MPlayer</B> SUID root:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
614
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
615
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
616 chown root /usr/local/bin/mplayer
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
617 chmod 750 /usr/local/bin/mplayer
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
618 chmod +s /usr/local/bin/mplayer
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
619
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
620
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
621 Now it works as a simple user, too.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
622
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
623
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
624 !!!! BUT STAY TUNED !!!!
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
625 This is a BIG security risk! Never do this on a server or on a computer
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
626 can be accessed by more people than only you because they can gain root
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
627 privilegies through suid root mplayer.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
628 !!!! SO YOU HAVE BEEN WARNED ... !!!!
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
629
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
630
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
631 Now use '-vo dga' option, and there you go! (hope so:)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
632 You should also try if the '-vo sdl:dga' option works for you! It's much
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
633 faster!!!
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
634
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
635
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
636 <A NAME=2.2.1.2.4>2.2.1.2.4. Resolution switching
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
637
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
638 The DGA driver allows for switching the resolution of the output signal.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
639 This avoids the need for doing (slow) software scaling and at the same
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
640 time provides a fullscreen image. Ideally it would switch to the exact
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
641 resolution (except for honouring aspect ratio) of the video data, but the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
642 XServer only allows switching to resolutions predefined in
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
643 /etc/X11/XF86Config (/etc/X11/XF86Config-4 for XFree 4.0.X respectively).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
644 Those are defined by so-called modelines and depend on the capabilites
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
645 of your video hardware. The XServer scans this config file on startup and
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
646 disables the modelines not suitable for your hardware. You can find
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
647 out which modes survive with the X11 log file. It can be found at:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
648 /var/log/XFree86.0.log
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
649 See appendix A for some sample modeline definitions.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
650
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
651
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
652 <A NAME=2.2.1.2.5>2.2.1.2.5. DGA & <B>MPlayer</B>
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
653
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
654 DGA is used in two places with <B>MPlayer</B>: The SDL driver can be made to make
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
655 use of it (-vo sdl:dga) and within the DGA driver (-vo dga).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
656 The above said is true for both; in the following sections I'll explain
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
657 how the DGA driver for <B>MPlayer</B> works.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
658
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
659
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
660 <A NAME=2.2.1.2.6>2.2.1.2.6. Features of the DGA driver
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
661
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
662 The DGA driver is invoked by specifying -vo dga at the command line.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
663 The default behaviour is to switch to a resolution matching the original
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
664 resolution of the video as close as possible. It deliberately ignores the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
665 -vm and -fs switches (enabling of video mode switching and fullscreen) -
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
666 it always tries to cover as much area of your screen as possible by switching
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
667 the video mode, thus refraining to use a single additional cycle of your CPU
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
668 to scale the image.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
669 If you don't like the mode it chooses you may force it to choose the mode
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
670 matching closest the resolution you specify by -x and -y.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
671 By providing the -v option, the DGA driver will print, among a lot of other
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
672 things, a list of all resolutions supported by your current XF86-Config
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
673 file.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
674 Having DGA2 you may also force it to use a certain depth by using the -bpp
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
675 option. Valid depths are 15, 16, 24 and 32. It depends on your hardware
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
676 whether these depths are natively supported or if a (possibly slow)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
677 conversion has to be done.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
678
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
679 If you should be lucky enough to have enough offscreen memory left to
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
680 put a whole image there, the DGA driver will use doublebuffering, which
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
681 results in much smoother movie replaying. It will tell you whether double-
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
682 buffering is enabled or not.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
683
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
684 Doublebuffering means that the next frame of your video is being drawn in
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
685 some offscreen memory while the current frame is being displayed. When the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
686 next frame is ready, the graphics chip is just told the location in memory
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
687 of the new frame and simply fetches the data to be displayed from there.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
688 In the meantime the other buffer in memory will be filled again with new
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
689 video data.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
690
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
691 Doublebuffering may be switched on by using the option -double and may be
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
692 disabled with -nodouble. Current default option is to disable
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
693 doublebuffering. When using the DGA driver, onscreen display (OSD) only
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
694 works with doublebuffering enabled. However, enabling doublebuffering may
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
695 result in a big speed penalty (on my K6-II+ 525 it used an additional 20% of
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
696 CPU time!) depending on the implementation of DGA for your hardware.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
697
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
698
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
699 <A NAME=2.2.1.2.7>2.2.1.2.7. Speed issues
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
700
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
701 Generally spoken, DGA framebuffer access should be at least as fast as using
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
702 the X11 driver with the additional benefit of getting a fullscreen image.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
703 The percentage speed values printed by mplayer have to be interpreted with
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
704 some care, as for example, with the X11 driver they do not include the time
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
705 used by the X-Server needed for the actual drawing. Hook a terminal to a
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
706 serial line of your box and start top to see what is really going on in your
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
707 box ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
708
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
709 Generally spoken, the speedup done by using DGA against 'normal' use of X11
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
710 highly depends on your graphics card and how well the X-Server module for it
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
711 is optimized.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
712
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
713 If you have a slow system, better use 15 or 16bit depth since they require
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
714 only half the memory bandwidth of a 32 bit display.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
715
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
716 Using a depth of 24bit is even a good idea if your card natively just supports
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
717 32 bit depth since it transfers 25% less data compared to the 32/32 mode.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
718
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
719 I've seen some avi files already be replayed on a Pentium MMX 266. AMD K6-2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
720 CPUs might work at 400 MHZ and above.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
721
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
722
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
723 <A NAME=2.2.1.2.8>2.2.1.2.8. Known bugs
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
724
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
725 Well, according to some developpers of XFree, DGA is quite a beast. They
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
726 tell you better not to use it. Its implementation is not always flawless
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
727 with every chipset driver for XFree out there.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
728
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
729 o with XFree 4.0.3 and nv.o there is a bug resulting in strange colors
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
730 o ATI driver requires to switch mode back more than once after finishing
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
731 using of DGA
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
732 o some drivers simply fail to switch back to normal resolution (use
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
733 Ctrl-Alt-Keypad +, - to switch back manually)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
734 o some drivers simply display strange colors
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
735 o some drivers lie about the amount of memory they map into the process's
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
736 address space, thus vo_dga won't use doublebuffering (SIS?)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
737 o some drivers seem to fail to report even a single valid mode. In this
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
738 case the DGA driver will crash telling you about a nonsense mode of
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
739 100000x100000 or the like ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
740 o OSD only works with doublebuffering enabled
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
741
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
742
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
743 <A NAME=2.2.1.2.9>2.2.1.2.9. Future work
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
744
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
745 o use of the new X11 render interface for OSD
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
746 o where is my TODO list ???? :-(((
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
747
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
748
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
749 <A NAME=2.2.1.2.A>2.2.1.2.A. Some modelines
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
750
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
751 Section "Modes"
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
752 Identifier "Modes[0]"
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
753 Modeline "800x600" 40 800 840 968 1056 600 601 605 628
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
754 Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
755 Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
756 Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
757 Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
758 Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
759 Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
760 EndSection
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
761
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
762
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
763 These entries work fine with my Riva128 chip, using nv.o XServer driver
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
764 module.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
765
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
766
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
767 <A NAME=2.2.1.2.B>2.2.1.2.B. Bug Reports
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
768
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
769 If you experience troubles with the DGA driver please feel free to file
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
770 a bug report to me (e-mail address below). Please start mplayer with the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
771 -v option and include all lines in the bug report that start with vo_dga:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
772
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
773 Please do also include the version of X11 you are using, the graphics card
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
774 and your CPU type. The X11 driver module (defined in XF86-Config) might
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
775 also help. Thanks!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
776
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
777
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
778 Acki (acki@acki-netz.de, www.acki-netz.de)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
779
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
780
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
781 <A NAME=2.2.1.3>2.2.1.3. SDL
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
782
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
783 Here are some notes about SDL out in <B>MPlayer</B>.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
784
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
785 There are several commandline switches for SDL:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
786
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
787 -vo sdl:name specifies sdl video driver to use (ie. aalib,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
788 dga, x11)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
789 -ao sdl:name specifies sdl audio driver to use (ie. dsp,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
790 esd)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
791 -noxv disables Xvideo hardware acceleration
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
792 -forcexv tries to force Xvideo acceleration
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
793
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
794 SDL Keys:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
795
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
796 F toggles fullscreen/windowed mode
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
797 C cycles available fullscreen modes
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
798 W/S mappings for * and / (mixer control)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
799
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
800 KNOWN BUGS:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
801 - Keys pressed under aalib console driver repeat forever.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
802 It's bug in SDL, I can't change it (tested with SDL 1.2.1).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
803
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
804
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
805 <A NAME=2.2.1.4>2.2.1.4. SVGAlib
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
806
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
807 If you don't have X, you can use the SVGAlib target! Be sure not to use the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
808 -fs switch, since it toggles the usage of the software scaler, and it's
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
809 SLOOOW now, unless you have a real fast CPU (and/or MTRR?). :(
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
810
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
811 Of course you'll have to install svgalib and its development package in
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
812 order for <B>MPlayer</B> build its SVGAlib driver (autodetected, but can be
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
813 forced), and don't forget to edit /etc/vga/libvga.config to suit your
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
814 card & monitor.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
815
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
816
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
817 <A NAME=2.2.1.5>2.2.1.5. Framebuffer output (FBdev)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
818
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
819 Whether to build the FBdev target is autodetected during ./configure .
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
820 Read the framebuffer documentation in the kernel sources
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
821 (Documentation/fb/*) for info on how to enable it, etc.. !
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
822
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
823 If your card doesn't support VBE 2.0 standard (older ISA/PCI
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
824 cards, such as S3 Trio64), only VBE 1.2 (or older?) :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
825 Well, VESAfb is still available, but you'll have to load SciTech Display
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
826 Doctor (formerly UniVBE) before booting Linux. Use a DOS boot disk or
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
827 whatever. And don't forget to register your UniVBE ;))
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
828
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
829
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
830 NOTE: FBdev video mode changing _does not work_ with the VESA framebuffer,
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
831 and don't ask for it, since it's not an <B>MPlayer</B> limitation.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
832
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
833
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
834 <A NAME=2.2.1.6>2.2.1.6. Matrox framebuffer (mga_vid)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
835
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
836 This section is about the Matrox G200/G400/G450 BES (Back-End Scaler)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
837 support, the mga_vid kernel driver. It's active developed by me (A'rpi), and
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
838 it has hardware VSYNC support with triple buffering. It works on both
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
839 framebuffer console and under X.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
840
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
841 To use it, you first have to compile mga_vid.o :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
842
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
843
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
844 cd drivers
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
845 make
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
846
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
847
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
848 Then create /dev/mga_vid device :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
849
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
850
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
851 mknod /dev/mga_vid c 178 0
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
852
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
853
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
854 and load the driver with
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
855
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
856
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
857 insmod mga_vid.o
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
858
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
859
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
860 You should verify the memory size detection using the 'dmesg' command. If
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
861 it's bad, use the mga_ram_size option (rmmod mga_vid first), specify card's
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
862 memory size in MB:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
863
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
864
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
865 insmod mga_vid.o mga_ram_size=16
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
866
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
867
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
868 To make it load/unload automatically when needed, insert the following line
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
869 at the end of /etc/modules.conf :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
870
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
871
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
872 alias char-major-178 mga_vid
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
873
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
874
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
875 Then run
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
876
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
877
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
878 depmod -a
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
879
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
880
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
881 Now you have to (re)compile <B>MPlayer</B>, ./configure will detect /dev/mga_vid
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
882 and build the 'mga' driver. Using it from <B>MPlayer</B> goes by '-vo mga' if
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
883 you have matroxfb console, or '-vo xmga' under XFree86 3.x.x or 4.x.x .
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
884
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
885 Note: '-vo xmga' works under XFree86 4.x.x, but it conflicts with the Xv
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
886 driver, so avoid using both. If you messed up Xv with mga, try running
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
887 <B>MPlayer</B> with '-vo mga' . It should fix Xv.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
888
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
889
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
890 <A NAME=2.2.1.7>2.2.1.7. SiS 6326 framebuffer (sis_vid)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
891
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
892 SiS 6326 YUV Framebuffer driver -> sis_vid kernel driver
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
893
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
894 Its interface should be compatible with the mga_vid, but the driver was not
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
895 updated after the mga_vid changes, so it's outdated now. Volunteers
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
896 needed to test it and bring the code up-to-date.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
897
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
898
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
899 <A NAME=2.2.1.8>2.2.1.8. 3dfx YUV support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
900
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
901 3dfx has native YUV+scaler support, using /dev/3dfx (tdfx.o driver?)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
902 The /dev/3dfx kernel driver exists only for 2.2.x kernels, for use with
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
903 Glide 2.x Linux ports. It's not tested with <B>MPlayer</B>, and so no more
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
904 supported. Volunteers needed to test it and bring the code up-to-date.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
905
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
906
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
907 <A NAME=2.2.1.9>2.2.1.9. OpenGL output
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
908
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
909 <B>MPlayer</B> support displaying movies using OpenGL. Unfortunately, not all
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
910 drivers support this ability. For example the Utah-GLX drivers
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
911 (for XFree86 3.3.6) have it, with all cards.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
912 See <A HREF="http://utah-glx.sourceforge.net">http://utah-glx.sourceforge.net</A> for details about how to install it.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
913
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
914 XFree86(DRI) >= 4.0.3 supports it only with Matrox, and Radeon cards.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
915 See <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A> for download, and installation instructions.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
916
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
917
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
918 <A NAME=2.2.2>2.2.2. Audio output devices
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
919
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
920 - OSS (ioctl) driver
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
921 - SDL driver (supports up/downsampling, esd, arts etc)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
922 - native ALSA 0.5 driver
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
923 - native ALSA 0.9 driver (buggy, use OSS emulation!)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
924 - native ESD driver (under development?)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
925 - SUN audio driver (/dev/audio) for BSD and Solaris8 users
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
926
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
927
1386
gabucino
parents: 1381
diff changeset
928 <A NAME=2.2.2.1>2.2.2.1. Soundcard experiences, recommendations
gabucino
parents: 1381
diff changeset
929
gabucino
parents: 1381
diff changeset
930 Aureal Vortex 2:
gabucino
parents: 1381
diff changeset
931 OSS/Free: no driver
gabucino
parents: 1381
diff changeset
932 OSS : OK
gabucino
parents: 1381
diff changeset
933 ALSA : no driver
gabucino
parents: 1381
diff changeset
934 Max kHz : 48
gabucino
parents: 1381
diff changeset
935 Driver : <A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A>
gabucino
parents: 1381
diff changeset
936 Driver2 : from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A>
gabucino
parents: 1381
diff changeset
937 (buffer size increased to 64k)
gabucino
parents: 1381
diff changeset
938
gabucino
parents: 1381
diff changeset
939 GUS PnP:
gabucino
parents: 1381
diff changeset
940 OSS/Free: no driver
gabucino
parents: 1381
diff changeset
941 OSS : OK
gabucino
parents: 1381
diff changeset
942 ALSA : OK
gabucino
parents: 1381
diff changeset
943 Max kHz : 48
gabucino
parents: 1381
diff changeset
944
gabucino
parents: 1381
diff changeset
945 SB Live!:
gabucino
parents: 1381
diff changeset
946 OSS : OK
gabucino
parents: 1381
diff changeset
947 ALSA : (?)
gabucino
parents: 1381
diff changeset
948 Max kHz : 48
gabucino
parents: 1381
diff changeset
949
gabucino
parents: 1381
diff changeset
950 SB AWE 64 OSS : max 44kHz
gabucino
parents: 1381
diff changeset
951 ALSA : 48kHz sounds shit
gabucino
parents: 1381
diff changeset
952 Max kHz : 48
gabucino
parents: 1381
diff changeset
953
gabucino
parents: 1381
diff changeset
954 Gravis UltraSound ACE:
gabucino
parents: 1381
diff changeset
955 OSS : max 44Khz. Also has problems with the
gabucino
parents: 1381
diff changeset
956 new sound code.
gabucino
parents: 1381
diff changeset
957 ALSA : OK
gabucino
parents: 1381
diff changeset
958 Max kHz : 48
gabucino
parents: 1381
diff changeset
959
gabucino
parents: 1381
diff changeset
960 Gravis UltraSound MAX:
gabucino
parents: 1381
diff changeset
961 OSS : OK
gabucino
parents: 1381
diff changeset
962 ALSA : OK (?)
gabucino
parents: 1381
diff changeset
963 Max kHz : 48
gabucino
parents: 1381
diff changeset
964
gabucino
parents: 1381
diff changeset
965 ESS 688:
gabucino
parents: 1381
diff changeset
966 OSS : OK
gabucino
parents: 1381
diff changeset
967 ALSA : OK (?)
gabucino
parents: 1381
diff changeset
968 Max kHz : 48
gabucino
parents: 1381
diff changeset
969
gabucino
parents: 1381
diff changeset
970 PC Speaker or DAC:
gabucino
parents: 1381
diff changeset
971 OSS : OK (new timing code?)
gabucino
parents: 1381
diff changeset
972 ALSA : no driver
gabucino
parents: 1381
diff changeset
973 Max kHz : 6 ;) (the driver emulates 44.1 maybe more)
gabucino
parents: 1381
diff changeset
974 Driver : <A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A>
gabucino
parents: 1381
diff changeset
975
gabucino
parents: 1381
diff changeset
976 - use at least 2.4 if possible, 2.2 isn't tested
gabucino
parents: 1381
diff changeset
977 - if sound clicks when playing from CD-ROM, turn on IRQ unmasking !
gabucino
parents: 1381
diff changeset
978 for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!)
gabucino
parents: 1381
diff changeset
979 This is recommended anyways... (for XMMS, etc...)
gabucino
parents: 1381
diff changeset
980 Read section <A HREF="#5.1">5.1</A> .
gabucino
parents: 1381
diff changeset
981 - don't use your soundcard by other application ( for ex. XMMS ) !
gabucino
parents: 1381
diff changeset
982 if you use ESD, start MPlayer with the esddsp utility !
gabucino
parents: 1381
diff changeset
983 - Please tell us how MPlayer and your soundcard(s) worked together!
gabucino
parents: 1381
diff changeset
984
gabucino
parents: 1381
diff changeset
985
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
986 <A NAME=3>3. Usage
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
987
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
988 file: mplayer [options] [path/]filename
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
989 VCD: mplayer [options] -vcd trackno /dev/cdrom
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
990 DVD: mplayer [options] -dvdauth /dev/dvd filename.VOB
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
991 net: mplayer [options] http://site.com/file.[mpg|avi]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
992
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
993 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
994 mplayer -vcd 2 /dev/cdrom
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
995 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
996 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
997 mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
998
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
999
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1000 <A NAME=3.1>3.1. Control from keyboard
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1001
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1002
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1003 l/r arrows seek backward/forward 10 seconds
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1004 up or down seek backward/forward 1 minute
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1005 p or SPACE pause movie (press any key to continue)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1006 q or ^C stop playing and quit program
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1007 o toggle OSD : none / seek / seek+timer
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1008 / and * decrease/increase volume
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1009 m toggle using master/pcm channel for volume setting
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1010 f toggle fullscreen (only with -vo sdl)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1011
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1012
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1013 <A NAME=3.2>3.2. Control from LIRC
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1014
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1015 Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1016 an (almost) arbitrary remote control and control your linux box with it!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1017 More about it at www.lirc.org.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1018
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1019 If you have installed the lirc-package, you can compile <B>MPlayer</B> with LIRC
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1020 support using ./configure --enable-lirc
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1021
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1022 If everything went fine, <B>MPlayer</B> will print a message like
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1023 LIRC init was successful.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1024 on startup. If an error occurs it will tell you. If it doens't tell you
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1025 anything about LIRC there's no support compiled in. That's it :-)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1026
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1027 The application name for <B>MPlayer</B> is - oh wonder - mplayer_lirc.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1028 It understands the following commands:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1029
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1030 PAUSE - pause playing. Any other keystroke will continue replay.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1031 QUIT - exit mplayer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1032 RWND - 10 secs back
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1033 FRWND - 60 secs back
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1034 FWD - skip 10 secs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1035 FFWD - skip 60 secs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1036 INCVOL - increase volume one percent
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1037 DECVOL - decrease volmue one percent
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1038 MASTER - use master mixer channel
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1039 PCM - use pcm mixer channel
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1040
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1041 Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1042 excerpt from my .lircrc:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1043
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1044 begin
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1045 remote = CU-SX070
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1046 prog = mplayer_lirc
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1047 button = Tape_Play
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1048 repeat = 1
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1049 config = FFWD
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1050 end
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1051
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1052 begin
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1053 remote = CU-SX070
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1054 prog = mplayer_lirc
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1055 button = Tape_Stop
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1056 config = QUIT
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1057 end
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1058
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1059 If you don't like the standard location for the lirc-config file (~/.lircrc)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1060 use the -lircconf <filename> switch to specify another file.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1061
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1062
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1063 <A NAME=3.3>3.3. Streaming from network or pipes
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1064
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1065 <B>MPlayer</B> can play media from network, by using the HTTP protocol, and even
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1066 beta ASF streaming (FROM network) is available.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1067 Configuring it is simple, just recompile <B>MPlayer</B> with
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1068
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1069
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1070 ./configure --enable-streaming
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1071
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1072
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1073 <B>MPlayer</B> can read from stdin (NOT named pipes). This can be for example
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1074 used to play from FTP :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1075
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1076
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1077 wget ftp://micorsops.com/something.avi -O - | mplayer -
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1078
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1079
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1080 <A NAME=4>4. TV-out support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1081
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1082
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1083 <A NAME=4.1>4.1. Matrox cards
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1084
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1085 > What I'd love to see in mplayer is the the same feature that I see in my
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1086 > windows box. When I start a movie in windows (in a window or in full screen)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1087 > the movie is also redirected to the tv-out and I can also see it full screen
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1088 > on my tv. I love this feature and was wondering how hard it would be to add
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1089 > such a feature to mplayer.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1090
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1091 It's a driver limitation. BES (Back-End Scaler, it's the overlay generator
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1092 and YUV scaling engine of G200/G400/G450 cards) works only with CRTC1.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1093 Normally, CRTC1 (textmode, every bpp gfx and BES) is routed to HEAD1,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1094 and CRTC2 (only 16/32bpp gfx) is routed to HEAD2 (TV-out).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1095
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1096 Under linux, you have two choices to get TV-out working:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1097
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1098 1. Using X 4.0.x + the HAL driver from matrox, so you'll get dual-head
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1099 support, and you'll be able to redirect second output to the TV.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1100 Unfortunately it has Macrovision encryption enabled, so it will
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1101 only work on directly-connected TV, no through VCR.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1102 Other problem is that Xv doesn't work on the second head.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1103 (I don't know how Windows solve it, maybe it swaps the CRTCs between
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1104 the heads, or just uses YUV framebuffer of second DAC with some trick)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1105
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1106 2. Using matroxfb with dual-head support enabled (2.4.x kernels).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1107 You'll be able to get a framebuffer console (using CRTC2, so it's
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1108 slow), and TV-out (using CRTC1, with BES support).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1109 You have to forget X while using this kind of TV-out! :(
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1110
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1111 - Compile all the matrox-related things to modules in the kernel.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1112 (you MUST compile them to modules, at least I couldn't get them
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1113 working built-in yet)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1114 [reboot to new kernel & install modules, but don't load them yet!]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1115
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1116 cd TVout
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1117 ./compile.sh
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1118
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1119 - Run the 'modules' script from the TV-out directory of mplayer.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1120 It will switch your console to framebuffer.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1121 Change to tty1 (ALT+F1)!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1122 Now run the script 'independent', it will set up your tty's:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1123 tty 1,2: fb console, CRTC2, head 1 (monitor)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1124 tty 3,4,5...: framebuffer+BES, CRTC1, head 2 (TV-out)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1125 You should run the scripts TV-* and Mon-* to set up resolutions:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1126 change to tty1 (ALT+F1), and run Mon-* (one of them)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1127 change to tty3 (ALT+F3) and then back to tty1 (ALT+F1)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1128 (this change will select tty3 on /dev/fb1 - tricky)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1129 run TV-* (one of them)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1130 (now you'll get a console on your PAL TV - don't know about NTSC)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1131
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1132 Now if you start mplayer (on tty1), the picture will show up on
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1133 the tty3, so you'll see it on your TV or second monitor.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1134
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1135 Yes, it is a bit 'hack' now. But I'm waiting for the marvel
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1136 project to be finished, it will provide real TV-out drivers, I hope.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1137
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1138 My current problem is that BES is working only with CRTC1. So picture
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1139 will always shown up on head routed to CRTC1 (normaly the monitor),
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1140 so i have to swap CRTC's, but this way your console will framebuffer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1141 (CRTC2 can't do text-mode) and a bit slow (no acceleration). :(
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1142
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1143
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1144 > anyway i also just get monochrome output on the tv ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1145 Maybe you have NTSC TV? Or just didn't run one of TV-* scripts.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1146
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1147
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1148 <A NAME=5>5. Tuning
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1149
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1150
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1151 <A NAME=5.1>5.1. CD-ROM drives
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1152
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1153 From Linux documentation:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1154
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1155 Some CDROM drives are capable of changing their head-speed. There are several
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1156 reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1157 benefit from less-than-maximum head rate. Modern CDROM drives can obtain very
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1158 high head rates (up to 24-times is common). It has been reported that these
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1159 drives can make reading errors at these high speeds, reducing the speed can
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1160 prevent data loss in these circumstances. Finally, some of these drives can
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1161 make an annoyingly loud noise, which a lower speed may reduce.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1162
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1163 The recommended way to do it is with a program called 'setcd' . It's kinda
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1164 old, but won't be too hard to find on the Net.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1165 Use it with :
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1166
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1167
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1168 setcd -x [speed] [cdrom device]
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1169
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1170
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1171 Also you can try :
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1172
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1173
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1174 echo current_speed:4 >/proc/ide/[cdrom device]/settings
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1175
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1176
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1177 but you'll need root privileges. I use following command too :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1178
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1179
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1180 echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1181
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1182
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1183 for 2MB prefetched reading from the file (it's useful for scratched CDROMs).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1184 It's recommended that you tuneup your CDROM drive also with hdparm :
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1185
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1186
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1187 hdparm -d1 -a8 -u1 <cdrom device>
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1188
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1189
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1190 to enable using DMA access, readahead, and IRQ unmasking.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1191 (if you don't understand these, *read the hdparm manpage*)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1192
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1193 Please refer to "/proc/ide/[cdrom device]/settings" for fine-tuning your
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1194 CDROM.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1195
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1196
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1197 <A NAME=5.2>5.2. DVD drives
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1198
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1199 IMPORTANT NOTE: please _DO_NOT_ require further features for DVD playback. This
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1200 is extremly experimental hack. Maybe it won't work for you. If you're
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1201 capable of helping us do it now! First we would like to fix existing problems.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1202 Then we can start implementing advanced DVD playback functions of course.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1203
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1204 This means current DVD functions are mainly for developers and not for users!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1205
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1206 First, you must compile and install libcss on your system.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1207 Second, you have to recompile <B>MPlayer</B> with libcss support. There is
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1208 autodetection of libcss, but if it fails, see below :
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1209
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1210 Call ./configure script of <B>MPlayer</B> with these options:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1211
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1212 ./configure --enable-css --with-csslibdir=/usr/local/lib --with-cssincdir=/usr/local/include
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1213
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1214 (of course you can append your favourite options as well)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1215
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1216 --with-csslibdir=/usr/local/lib
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1217 Directory contains libcss.so shared library. This directory should
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1218 be in your /etc/ld.so.conf as well.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1219
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1220 --with-cssincdir=/usr/local/include
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1221 Directory contains header file 'css.h' of libcss.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1222
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1223 mplayer -dvdauth /dev/dvd /mnt/cdrom/video_ts/vts_01_1.vob
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1224
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1225 where,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1226
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1227 '-dvdauth /dev/dvd' tells <B>MPlayer</B> the device name of your DVD drive.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1228 it's used in disc authentication process
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1229
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1230 the filename is simply a VOB file path on the disc
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1231
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1232 Note that according to my experiences, disc authentication requires root
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1233 privileges so you must run <B>MPlayer</B> as root! (see section 'Problems').
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1234
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1235 NOTE about the sound:
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1236 It seems that <B>MPlayer</B> sometimes fails to find the first audio stream.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1237 You can specify it with the '-aid 128' option, for example.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1238 Please experience with 128,129 and similar values. See section
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1239 'Problems'.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1240
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1241 On my AMD K6-2 with using hw scaling and colorspace conversion
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1242 capability of my G400 it's possible to watch DVD with about 70%
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1243 CPU usage with '-nosound'. Unfortunately with sound my machine is
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1244 not enough :( Maybe it can be improved somewhat ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1245 Guess, it's not so bad ... According to reports from my friends
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1246 xine uses 80-90% CPU to play DVD on much more powerful machines
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1247 like 1GHz Athlon systems (as far as I know, it's said that about
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1248 300MHz celeron is the minimum to watch DVDs ... using windows
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1249 DVD viewers).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1250
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1251 Hint: I commented out downmix functions from libac3 (of course in this way I
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1252 can't get sound) and audio decoding CPU usage became 11% instead of 24 on
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1253 my machine. This clearly indicates that we should optimize downmix functions
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1254 (KNI code is no use for my k6-2).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1255
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1256 HOT NEWZ:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1257 We have got 3Dnow optimized libac3. Wow ;-)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1258
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1259
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1260 Problems (TODO)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1261
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1262 * disc authentication (the FIBMAP ioctl) requires root privilegies.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1263 this is strange since OMS can do it as user too.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1264 * sound. I'm using my only DVD disc (The Matrix) to test <B>MPlayer</B>.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1265 some VOB file have English sound, some have Spanish and some have
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1266 no sound at all.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1267 IT SEEMS that if I give '-aid 128' everything works with English sound ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1268 * strange effects but only with SOME vob files (it looks like some interlacing
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1269 effect, eg: every 2nd line on the screen is from the last frame).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1270
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1271
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1272 Feature TODO
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1273
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1274 * chapter scanner
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1275 * audio stream scanner and allow to select one on runtime as well
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1276 (in stage#1 it would be enough to select one on the startup, see
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1277 'Problems' above)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1278 * DVD menu
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1279 I found (at least on disc 'The Matrix') the menu VOB but I don't
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1280 know how can it be used.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1281 (after some eyeballing on the source of OMS, it seems we would have to
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1282 parse *.ifo files)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1283 * subtitle support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1284 * OSD/GUI (?) support for select chapter, subtitle and audio stream
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1285 * getting some documentation on DVD format, eg: which is the 'root' VOB
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1286 file on the disc in video_ts directory, which is the menu and so on.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1287 * improve performance (see 'Performance' above)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1288
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1289
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1290 No sound problem (from Matrix DVD, the menu VOB)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1291
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1292 End of packet while searching for PCM header
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1293
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1294 DEMUXER: Too many (2048 in 4131540 bytes) video packets in the buffer!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1295 (maybe you play a non-interleaved stream/file or video codec failed)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1296 MPEG: No Audio stream found... ->nosound
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1297
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1298 However this does not occur if you specify '-aid 128'.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1299
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1300
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1301 <A NAME=5.3>5.3. MTRR
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1302
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1303 It is VERY recommended to set MTRR registers up properly, because they can
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1304 give a big performance boost. First you have to find the base address.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1305 You have 3 ways to find it:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1306
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1307 - from X11 startup messages, for example:
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1308
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1309 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1310 (--) SVGA: Linear framebuffer at 0xD8000000
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1311
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1312 - from /proc/pci (use lspci -v command):
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1313
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1314 01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1315 Memory at d8000000 (32-bit, prefetchable)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1316
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1317 - from mga_vid kernel driver messages (use dmesg):
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1318
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1319 mga_mem_base = d8000000
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1320
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1321 Then let's find the memory size. This is very easy, just convert video ram
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1322 size to hexadecimal, or use this table:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1323
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1324
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1325 1 MB 0x100000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1326 2 MB 0x200000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1327 4 MB 0x400000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1328 8 MB 0x800000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1329 16 MB 0x1000000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1330 32 MB 0x2000000
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1331
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1332
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1333 You know base address and memory size, let's setup mtrr registers!
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1334 For example, for the Matrox card above (base=0xd8000000) with 32MB
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1335 ram (size=0x2000000) just execute:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1336
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1337
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1338 echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1339
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1340
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1341 Not all CPUs support MTRRs. For example older K6-2's [around 266Mhz,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1342 stepping 0] doesn't support MTRR, but stepping 12's do ('cat /proc/cpuinfo'
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1343 to check it).
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1344
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1345
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1346 <A NAME=6>6. FAQ section (TODO)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1347
1386
gabucino
parents: 1381
diff changeset
1348
gabucino
parents: 1381
diff changeset
1349 <A NAME=6.1>6.1. Compilation
gabucino
parents: 1381
diff changeset
1350
gabucino
parents: 1381
diff changeset
1351 <B>Q: What's the problem with gcc 2.96 ?
gabucino
parents: 1381
diff changeset
1352 </B>A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or
gabucino
parents: 1381
diff changeset
1353 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY
gabucino
parents: 1381
diff changeset
1354 unsupported by <B>MPlayer</B>, because it simply SKIPS MMX codes, it just does not
gabucino
parents: 1381
diff changeset
1355 compile it. Important: this is NOT an <B>MPlayer</B>-specific problem, numerous
gabucino
parents: 1381
diff changeset
1356 other projects (DRI, avifile, etc..) have problems with this shit too.
gabucino
parents: 1381
diff changeset
1357 ** DO NOT USE gcc 2.96 !!! **
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1358
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1359 <B>Q: SDL output doesn't work or compile. Problem is ....
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1360 </B>A: It is tested with newest SDL (probably runs on 1.1.7+).
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1361 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1362
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1363 <B>Q: I am still having trouble compiling with SDL support. gcc says something
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1364 about "undefined reference to `SDL_EnableKeyRepeat'" What's now?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1365 </B>A: Where did you install the SDL library? If you installed in /usr/local
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1366 (the default) then edit the top level config.mak and add
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1367 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1368
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1369 <B>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things...
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1370 </B>A: copy DOCS/inttypes.h to <B>MPlayer</B> directory (cp DOCS/inttypes.h .)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1371 try again... if fail, contact us
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1372
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1373 <B>Q: I have Pentium III but ./configure doesn't detect SSE
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1374 </B>A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1375 be prepared for problems)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1376
1386
gabucino
parents: 1381
diff changeset
1377 <B>Q: I have G200/G400, how to compile/use mga_vid driver?
gabucino
parents: 1381
diff changeset
1378 </B>A: Read all this documentation.
gabucino
parents: 1381
diff changeset
1379
gabucino
parents: 1381
diff changeset
1380 <B>Q: Are there rpm/deb/... packages of <B>MPlayer</B>?
gabucino
parents: 1381
diff changeset
1381 </B>A: You can make a .deb package for yourself, check section <A HREF="#7.1">7.1</A> .
gabucino
parents: 1381
diff changeset
1382 It's _STRONGLY_ discouraged to use precompiled packages
gabucino
parents: 1381
diff changeset
1383 of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time
gabucino
parents: 1381
diff changeset
1384 options and optimizations!
gabucino
parents: 1381
diff changeset
1385 Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team!
gabucino
parents: 1381
diff changeset
1386
gabucino
parents: 1381
diff changeset
1387 <B>Q: During 'make', <B>MPlayer</B> complains about X11 libraries. I don't understand,
gabucino
parents: 1381
diff changeset
1388 I DO have X installed!?
gabucino
parents: 1381
diff changeset
1389 </B>A: ...but you don't have the X development package installed. Or not
gabucino
parents: 1381
diff changeset
1390 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under
gabucino
parents: 1381
diff changeset
1391 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on
gabucino
parents: 1381
diff changeset
1392 Mandrake systems). It can be created with the
gabucino
parents: 1381
diff changeset
1393 $ ln -sf /usr/X11R6 /usr/X11
gabucino
parents: 1381
diff changeset
1394 command. Also check the /usr/include/X11 link :
gabucino
parents: 1381
diff changeset
1395 $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
gabucino
parents: 1381
diff changeset
1396 Your distribution may differ from the Linux Filesystem Standard.
gabucino
parents: 1381
diff changeset
1397
gabucino
parents: 1381
diff changeset
1398 <B>Q: What about DGA driver? I can't find it!!!
gabucino
parents: 1381
diff changeset
1399 </B>A: ./configure autodetects your DGA driver. If -vo help doesn't show
gabucino
parents: 1381
diff changeset
1400 DGA, then there's a problem with your X installation.
gabucino
parents: 1381
diff changeset
1401 Try ./configure --enable-dga (and read VIDEOCARDS)
gabucino
parents: 1381
diff changeset
1402 Alternatively, try SDL's DGA driver with '-vo sdl:dga' options.
gabucino
parents: 1381
diff changeset
1403
gabucino
parents: 1381
diff changeset
1404 <B>Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel.
gabucino
parents: 1381
diff changeset
1405 </B>A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
gabucino
parents: 1381
diff changeset
1406
gabucino
parents: 1381
diff changeset
1407 <A NAME=6.2>6.2. General questions
gabucino
parents: 1381
diff changeset
1408
gabucino
parents: 1381
diff changeset
1409 <B>Q: What about DVD playback?
gabucino
parents: 1381
diff changeset
1410 </B>A: Read files 'DVD' and 'DVD-FAQ'.
gabucino
parents: 1381
diff changeset
1411
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1412 <B>Q: -xy option doesn't work with x11 driver (-vo x11)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1413 </B>A: x11 driver doesn't support scaling, but XF86VidMode support is now
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1414 used: you must specify the -vm and the -fs switch, and you're done.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1415 Make sure you have the right Modelines in your XF86Config file, and
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1416 try if the DGA driver (and SDL's DGA driver, see VIDEOCARDS) works for you.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1417 It's much faster. If SDL's DGA works too, use that, it'll be EVEN
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1418 faster!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1419
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1420 <B>Q: what is the meaning of numbers in the status line?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1421 </B>A: see:
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1422 </B>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1423 - </B>A: audio position in seconds
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1424 - V: video position in seconds
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1425 - A-V: audio-video difference in seconds (delay)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1426 - ct: total A-V sync correction done
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1427 - frames played (counting from last seek)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1428 - video codec cpu usage in percent (for mpeg it includes video_out too!)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1429 - video_out cpu usage for avi, 0 for mpg (see above)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1430 - audio codec cpu usage in percent
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1431 - frames needed to drop to maintain A-V sync
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1432 Most of them are for debug purposes, and will be removed soon.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1433
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1434 <B>Q: Why is video_out cpu usage zero (0%) for mpeg files?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1435 </B>A: It's not zero, but it's built in into codec, so can't be measured separated.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1436 You should try to play the file using -vo null and then -vo ... and check
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1437 the difference to see video_out speed...
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1438
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1439 <B>Q: What's XMMP? (is it XMMS or XMPS but mispelled?)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1440 </B>A: It's a new project, see http://frozenproductions.com for details
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1441
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1442 <B>Q: There are error messages about file not found /usr/lib/win32/....
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1443 </B>A: Download & install w32codec.zip from *our* FTP
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1444 (avifile's codec package has different DLL set)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1445
1386
gabucino
parents: 1381
diff changeset
1446 <B>Q: Are there any mailing lists on <B>MPlayer</B>?
gabucino
parents: 1381
diff changeset
1447 </B>A: Yes! See README on how to subscribe them!
gabucino
parents: 1381
diff changeset
1448
gabucino
parents: 1381
diff changeset
1449 <B>Q: I've found a nasty bug when I tried to play my favourite video!!
gabucino
parents: 1381
diff changeset
1450 Who should I inform?
gabucino
parents: 1381
diff changeset
1451 </B>A: See Appendix <A HREF="#C">C</A> .
gabucino
parents: 1381
diff changeset
1452
gabucino
parents: 1381
diff changeset
1453 <B>Q: I have problems playing files with ... codec. Can I use'em?
gabucino
parents: 1381
diff changeset
1454 </B>A: Check http://mplayer.sourceforge.net/DOCS/codecs.html,
gabucino
parents: 1381
diff changeset
1455 if it doesn't contain your codec, read
gabucino
parents: 1381
diff changeset
1456 http://mplayer.sourceforge.net/DOCS/CODECS, and contact us.
gabucino
parents: 1381
diff changeset
1457
gabucino
parents: 1381
diff changeset
1458 <B>Q: Umm, what is "IdegCounter" ?
gabucino
parents: 1381
diff changeset
1459 </B>A: A mixture of a hungarian and an english word. In english, "Ideg" means
gabucino
parents: 1381
diff changeset
1460 "nerve", and is pronounced as something like "ydaegh" . It was first used
gabucino
parents: 1381
diff changeset
1461 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance
gabucino
parents: 1381
diff changeset
1462 of CVS code ;)
gabucino
parents: 1381
diff changeset
1463
gabucino
parents: 1381
diff changeset
1464 <B>Q: LIRC doesn't work, because ...
gabucino
parents: 1381
diff changeset
1465 </B>A: Are you sure you use "mplayer_lirc" instead of "mplayer" ?
gabucino
parents: 1381
diff changeset
1466
gabucino
parents: 1381
diff changeset
1467 <B>Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow
gabucino
parents: 1381
diff changeset
1468 down the playing! I know it's unlikely...
gabucino
parents: 1381
diff changeset
1469 </B>A: After running ./configure , edit config.h and replace #undef FAST_OSD with
gabucino
parents: 1381
diff changeset
1470 #define FAST_OSD . Then recompile.
gabucino
parents: 1381
diff changeset
1471
gabucino
parents: 1381
diff changeset
1472 <B>Q: The OSD is flickering!
gabucino
parents: 1381
diff changeset
1473 </B>A: You use a vo driver with single buffering (x11,xv). With xv you can change
gabucino
parents: 1381
diff changeset
1474 the number of buffers in libvo/vo_xv.c :
gabucino
parents: 1381
diff changeset
1475 Increase #define NUM_BUFFERS 1
gabucino
parents: 1381
diff changeset
1476
gabucino
parents: 1381
diff changeset
1477 <B>Q: What exactly is this libavcodec?
gabucino
parents: 1381
diff changeset
1478 </B>A: It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net).
gabucino
parents: 1381
diff changeset
1479 It has C language DivX ;-) and OpenDivX codec. Some benchmarks
gabucino
parents: 1381
diff changeset
1480 showed that its DivX seems to be even faster than DirectShow codec without
gabucino
parents: 1381
diff changeset
1481 preprocessing, and only a few percent slower than ProjectMayo's OpenDivX
gabucino
parents: 1381
diff changeset
1482 decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV.
gabucino
parents: 1381
diff changeset
1483 Also, open the possibility to play DivX on virtually every computer that
gabucino
parents: 1381
diff changeset
1484 has a C compiler. Kinda great stuff, isn't it?
gabucino
parents: 1381
diff changeset
1485
gabucino
parents: 1381
diff changeset
1486
gabucino
parents: 1381
diff changeset
1487 <A NAME=6.3>6.3. File playing problems
gabucino
parents: 1381
diff changeset
1488
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1489 <B>Q: ...... works with avifile/aviplay while doesn't with <B>MPlayer</B>
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1490 </B>A: <B>MPlayer</B> != avifile
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1491 The only common thing between these players is the Win32 DLL loader.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1492 The codecs (dll) sets, syncronization, demultiplexing etc is totaly
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1493 different and shouldn't be compared.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1494 If something works with aviplay it doesn't mean that <B>MPlayer</B> should do
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1495 it and vice versa.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1496
1386
gabucino
parents: 1381
diff changeset
1497 <B>Q: audio goes out of sync playing .avi file
gabucino
parents: 1381
diff changeset
1498 </B>A: try with -bps or -nobps option
gabucino
parents: 1381
diff changeset
1499 if still bad, send me (upload to ftp) that file, I'll check.
gabucino
parents: 1381
diff changeset
1500
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1501 <B>Q: Indeo 3.x/4.x movies are viewed upside-down!!!?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1502 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1503 Try if your vo driver supports the -flip switch.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1504
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1505 <B>Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1506 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1507
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1508 <B>Q: I've got '<B>MPlayer</B> interrupted by signal 11' in module audio_setup or
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1509 decode_audio.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1510 </B>A: This is highly unlikely, since the mp3lib rewrite. Contact us, it may be
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1511 a bug. Possibly it's a damaged file, try with -afm 4 .
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1512
1386
gabucino
parents: 1381
diff changeset
1513 <B>Q: <B>MPlayer</B> exits with something error when using l3codeca.acm
gabucino
parents: 1381
diff changeset
1514 </B>A: Check 'ldd /usr/local/bin/mplayer' output. If it contains
gabucino
parents: 1381
diff changeset
1515 libc.so.6 => /lib/libc.so.6 (0x4???????)
gabucino
parents: 1381
diff changeset
1516 where "?" is any number then it's ok, the error is not here. If it is:
gabucino
parents: 1381
diff changeset
1517 libc.so.6 => /lib/libc.so.6 (0x00??????)
gabucino
parents: 1381
diff changeset
1518 then there is problem with your kernel/libc. Maybe you are using some
gabucino
parents: 1381
diff changeset
1519 security patches (for example Solar Designer's OpenWall patch) which
gabucino
parents: 1381
diff changeset
1520 forces loading libraries to very low addresses.
gabucino
parents: 1381
diff changeset
1521 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
gabucino
parents: 1381
diff changeset
1522 0x00400000, we can't change this. You should use non-patched kernel,
gabucino
parents: 1381
diff changeset
1523 or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm.
gabucino
parents: 1381
diff changeset
1524
gabucino
parents: 1381
diff changeset
1525 <B>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3
gabucino
parents: 1381
diff changeset
1526 sound too slow. When I use -nosound switch, everything is ok (but quiet).
gabucino
parents: 1381
diff changeset
1527 </B>A: Those files probably have 48Khz audio, and your soundcard/driver can't play
gabucino
parents: 1381
diff changeset
1528 it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet).
gabucino
parents: 1381
diff changeset
1529
gabucino
parents: 1381
diff changeset
1530 <B>Q: <B>MPlayer</B> dies with "<B>MPlayer</B> interrupted by signal 4 in module: decode_video".
gabucino
parents: 1381
diff changeset
1531 </B>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't
gabucino
parents: 1381
diff changeset
1532 use <B>MPlayer</B> on different CPU than it was compiled on.
gabucino
parents: 1381
diff changeset
1533
gabucino
parents: 1381
diff changeset
1534 <B>Q: I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11
gabucino
parents: 1381
diff changeset
1535 modes..
gabucino
parents: 1381
diff changeset
1536 </B>A1: Use the -fsmode switch. See example.conf or manpage.
gabucino
parents: 1381
diff changeset
1537
gabucino
parents: 1381
diff changeset
1538 <B>Q: But it works with avifile !
gabucino
parents: 1381
diff changeset
1539 </B>A: So what?
gabucino
parents: 1381
diff changeset
1540
gabucino
parents: 1381
diff changeset
1541 <B>Q: Then avifile is better !
gabucino
parents: 1381
diff changeset
1542 </B>A: Then use avifile, it has nice GUI and nice C++ code :)
gabucino
parents: 1381
diff changeset
1543
gabucino
parents: 1381
diff changeset
1544 <B>Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 !
gabucino
parents: 1381
diff changeset
1545 </B>A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from DOCS/
gabucino
parents: 1381
diff changeset
1546
gabucino
parents: 1381
diff changeset
1547 <B>Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing
gabucino
parents: 1381
diff changeset
1548 happens, after about one minute the video starts playing.
gabucino
parents: 1381
diff changeset
1549 </B>A: The KDE arts sound daemon is blocking the sound device, either wait the time
gabucino
parents: 1381
diff changeset
1550 until video starts or you disable the arts-daemon in kontrollcenter.
gabucino
parents: 1381
diff changeset
1551
gabucino
parents: 1381
diff changeset
1552
gabucino
parents: 1381
diff changeset
1553 <A NAME=6.4>6.4. Video/audio driver problems (vo/ao)
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1554
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1555 <B>Q: Ok, -vo help shows DGA driver, but it is babbling about permissions!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1556 Help me!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1557 </B>A: It works only if running as root! It's a DGA limitation.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1558 You should become to root (su -), and try again.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1559
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1560 Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1561
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1562 chown root /usr/local/bin/mplayer
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1563 chmod 750 /usr/local/bin/mplayer
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1564 chmod +s /usr/local/bin/mplayer
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1565
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1566 !!!! BUT STAY TUNED !!!!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1567 This is a *BIG* security risk! *NEVER* do this on a server or on a computer
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1568 can be accessed by more people than only you because they can gain root
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1569 privilegies through suid root mplayer!!!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1570 !!!! SO YOU HAVE BEEN WARNED ... !!!!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1571
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1572 <B>Q: When using Xvideo, my Voodoo 3/Banshee says:
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1573 X Error of failed request: BadAccess (attempt to access private resource
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1574 denied)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1575 Major opcode of failed request: 147 (MIT-SHM)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1576 Minor opcode of failed request: 1 (X_ShmAttach)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1577 Serial number of failed request: 26
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1578 Current serial number in output stream:27
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1579 </B>A: Your driver is old, update it. Either download (at least) DRI version 0.6
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1580 from http://dri.sourceforge.net , or use the DRI cvs.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1581
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1582 <B>Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee !
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1583 It says:
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1584 ...
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1585 Xvideo image format: 0x32315659 (YV12) planar
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1586 Xvideo image format: 0x30323449 (I420) planar
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1587 ...
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1588 </B>A1: See the previous answer.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1589 A2: Since 0.18pre4 we include libavcodec from the ffmpeg package. It contains
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1590 a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1591 for output, thus it should work for you. Compile in libavcodec support.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1592
1386
gabucino
parents: 1381
diff changeset
1593 <B>Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...)
gabucino
parents: 1381
diff changeset
1594 </B>A: your opengl driver doesn't support dynamic texture changes (glTexSubImage)
gabucino
parents: 1381
diff changeset
1595 it's known not to work with nVidia's binary shit.
gabucino
parents: 1381
diff changeset
1596 it's known to work with Utah-GLX/DRI and Matrox G400 card. Also with
gabucino
parents: 1381
diff changeset
1597 DRI and Radeon card. It won't work with DRI others than these.
gabucino
parents: 1381
diff changeset
1598 it will not work with 3DFX cards because the 256x256 texture size limit.
gabucino
parents: 1381
diff changeset
1599
gabucino
parents: 1381
diff changeset
1600 <B>Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours,
gabucino
parents: 1381
diff changeset
1601 right under the movie! Whose fault is this?
gabucino
parents: 1381
diff changeset
1602 </B>A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards,
gabucino
parents: 1381
diff changeset
1603 and we can't do anything about it, it's not our bug.
gabucino
parents: 1381
diff changeset
1604
gabucino
parents: 1381
diff changeset
1605
gabucino
parents: 1381
diff changeset
1606 <A NAME=6.5>6.5. Feature requests
gabucino
parents: 1381
diff changeset
1607
gabucino
parents: 1381
diff changeset
1608 <B>Q: Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer?
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1609 </B>A: There's no way to do it. Therefore these formats deserve to die in flames.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1610 Theoretically you can reverse engineer Real codecs built for Linux (they
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1611 are available as .so files), but in practice that's really difficult, even
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1612 if you know how the compiler used by Real is making assembler code.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1613 As for QuickTime, it's possible to play some old movies and this
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1614 capability will be added to mplayer soon, but newer clips are all Sorenson
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1615 encoded, and that codec is built-in deep in the QT executable, there's
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1616 no way to use it.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1617
1386
gabucino
parents: 1381
diff changeset
1618
gabucino
parents: 1381
diff changeset
1619 <A NAME=6.6>6.6. DVD FAQ
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1620
1381
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1621 <B>Q: I have some problem not mentioned here ...
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1622 </B>A: Read file 'DVD' as well.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1623
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1624 <B>Q: How can I actually watch DVD with MPlayer?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1625 </B>A: Ehh. Go on reading this file as well as 'DVD' (hint: you must have libcss)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1626
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1627 <B>Q: So MPlayer can play DVDs? Then it must use DeCSS! You are under arrest
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1628 under the XYZ#$ paragraph of the--
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1629 </B>A: Get back asshole, there is no DeCSS code in MPlayer. It links to libcss.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1630
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1631 <B>Q: Seems to work but no sound.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1632 </B>A: Use '-aid 128' (or try: 128,129,...) command line switch
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1633
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1634 <B>Q: I have got Spanish audio instead of English (or similar problems)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1635 </B>A: See the last question/answer.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1636
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1637 <B>Q: MPlayer complains about FIBMAP or something.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1638 </B>A: Try to run MPlayer as root.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1639
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1640 <B>Q: some strange effect (interlace like thing) especially when fast moving
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1641 objects are shown in the movie
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1642 </B>A: known problem, we try to fix it later
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1643
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1644 <B>Q: DVD support in MPlayer is a piece of shit!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1645 </B>A: You're probably right :) However please contact us if you can improve it!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1646
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1647 <B>Q: Where can I get libcss package from?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1648 </B>A: Maybe from the source of OMS (www.linuxvideo.org).
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1649
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1650 <B>Q: How can I ... (insert some expectable DVD player feature here)
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1651 </B>A: The current implementation is only for viewing VOB files from DVD.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1652 Nothing more, like subtitles, menus and so on.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1653
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1654 <B>Q: How can I set the region code of my DVD-Drive ? I don't have windows!
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1655 </B>A: Use the 'regionset' tool :
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1656 http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1657
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1658 <B>Q: MPlayer complains about some renamed option?
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1659 </B>A: For future development, old '-dvd' option was replaced by '-dvdauth'.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1660 Option '-dvd' *WILL* do the 'full disk movie' mplaying mode.
095fe15f336f *** empty log message ***
gabucino
parents: 1379
diff changeset
1661 But until that, '-dvd' does nothing only prints error message.
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1662
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1663
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1664 <A NAME=7>7. Misc OS'es
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1665
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1666
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1667 <A NAME=7.1>7.1. Debian packaging
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1668
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1669 To build the package, get the cvs version, or .tgz and uncompress it,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1670 and cd into programs directory:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1671
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1672
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1673 cd main
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1674 fakeroot debian/rules binary
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1675
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1676
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1677 (... mplayer detects hardware/software, builds itself and.. )
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1678 dpkg-deb: building package `mplayer' in `../mplayer_0.18-1_i386.deb'.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1679
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1680 And now just become root, and :
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1681
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1682
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1683 dpkg -i ../mplayer_0.18-1_i386.deb as root.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1684
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1685
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1686 Here's how it looks like:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1687
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1688 eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.18-1_i386.deb
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1689 Password:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1690 (Reading database ... 26946 files and directories currently installed.)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1691 Preparing to replace mplayer 0.17a-1 (using ../mplayer_0.18-1_i386.deb)
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1692 Unpacking replacement mplayer ...
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1693 Setting up mplayer (0.18-1) ...
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1694
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1695
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1696 <A NAME=7.2>7.2. FreeBSD
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1697
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1698 To build the package you will need GNU make (gmake, /usr/ports/devel/gmake),
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1699 native BSD make will not work.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1700
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1701 To run <B>MPlayer</B> you will need to re-compile the kernel with
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1702 "options USER_LDT" (unless you are running -CURRENT, where this is default).
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1703
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1704 If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1705 symbolic link : ln -s /dev/<your_cdrom_device> /dev/cdrom
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1706
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1707 There's no DVD support for FreeBSD yet.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1708 Feel free to add it :-)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1709
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1710
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1711 <A NAME=7.3>7.3. Solaris 8
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1712
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1713 AVI file playback works best on Solaris x86, because you have the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1714 option to use the win32 codecs on the x86 platform. On Solaris SPARC,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1715 you'll find quite a few AVI files with non working video and/or
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1716 audio playback, because the video/audio codecs using the win32 DLLs
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1717 are not available. However, <B>DivX/OpenDivX</B> movies should work,
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1718 when using libavcodec.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1719
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1720 To build the package you will need GNU make (gmake, /opt/sfw/gmake), native
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1721 Solaris make will not work. Typical error you get when building with solaris'
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1722 make instead of GNU make:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1723
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1724
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1725 % /usr/ccs/bin/make
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1726 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1727
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1728
1373
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1729 On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1730 if GNU C/C++ compiler is configured with or without the GNU assembler.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1731
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1732 On Solaris x86, you need the GNU assembler and the GNU C/C++
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1733 compiler, configured to use the GNU assembler! The mplayer code on
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1734 the x86 platform makes heavy use of MMX, SSE and 3DNOW!
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1735 instructions that cannot be compiled using Sun's assembler
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1736 /usr/ccs/bin/as.
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1737
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1738 The configure script tries to find out, which assembler program is
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1739 used by your "gcc" command (in case the autodetection fails, use
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1740 the "--as=/whereever/you/have/installed/gnu-as" option to tell the
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1741 configure script where it can find GNU "as" on your system).
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1742
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1743 Error message from configure on a Solaris x86 system using GCC
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1744 without GNU assembler:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1745
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1746 % configure
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1747 ...
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1748 Checking assembler (/usr/ccs/bin/as) ... , failed
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1749 Please upgrade(downgrade) binutils to 2.10.1...
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1750
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1751 (Solution: Install and use a gcc configured with "--with-as=gas")
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1752
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1753 Typical error you get when building with a GNU C compiler that does
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1754 not use GNU as:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1755
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1756 % gmake
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1757 ...
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1758 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1759 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1760 Assembler: mplayer.c
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1761 "<stdin>", line 3567 : Illegal mnemonic
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1762 "<stdin>", line 3567 : Syntax error
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1763 ... more "Illegal mnemonic" and "Syntax error" errors ...
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1764
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1765
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1766 For DVD support you must have the patched libcss installed. Patch:
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1767 http://www.tools.de/solaris/mplayer/
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1768
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1769
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1770 Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a
d1d37abe6389 only FAQ and SOUNDCARDS stuff not formatted/missing
gabucino
parents: 1371
diff changeset
1771 capacity >4GB:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1772
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1773 - The sd(7D) driver on solaris 8 x86 driver has bug when accessing a
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1774 disk block >4GB on a device using a logical blocksize != DEV_BSIZE
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1775 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1776 address modulo 4GB is accessed.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1777 (http://groups.yahoo.com/group/solarisonintel/message/22516)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1778
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1779 - The similar bug is present in the hsfs(7FS) filesystem code (aka
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1780 ISO9660), hsfs currently does not support partitions/disks >4GB,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1781 all data is accessed modulo 4GB
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1782 (http://groups.yahoo.com/group/solarisonintel/message/22592)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1783
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1784
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1785 <A NAME=A>Appendix A - Authors
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1786
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1787 NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors!
1386
gabucino
parents: 1381
diff changeset
1788 ===== Read Appendix <A HREF="#C">C</A> and subscribe to mplayer-users mailing lists.
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1789
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1790 ========================== The <B>MPlayer</B> project: ===============================
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1791
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1792 Árpád Gereöffy (A'rpi/ESP-team): <arpi@thot.banki.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1793 - player code (mpeg stream demultiplexer and avi/asf parser, A-V sync, seek...)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1794 - mp3lib, based on mpglib sources [MP3 audio decoder]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1795 - getch2 [keyboard handler]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1796 - some changes in libmpeg2 code (progressive frames, bitrate & fps support)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1797 - libvo improvements: adding OpenGL support, bugfix in mga driver...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1798 - triple buffering & YUY2 support (for DivX/MPEG4) into mga_vid driver
1386
gabucino
parents: 1381
diff changeset
1799 - scripts in the TVout directory (TVout on Matrox G400DH, read documentation)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1800 - hacking DivX/Mpeg4 VfW codecs to get YUV output
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1801 - opendivx decoder speed optimizations (see opendivx/ChangeLog)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1802 - OSD & SUB display code
1374
2a4b2dd2fc0a AUTHORS (A'rpi) updated
gabucino
parents: 1373
diff changeset
1803 - ffmpeg/libavcodec integration
2a4b2dd2fc0a AUTHORS (A'rpi) updated
gabucino
parents: 1373
diff changeset
1804 - DivX4Linux (ProjectMayo) support (see documentation)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1805
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1806 Zoltán Ponekker (Pontscho/Fresh!): <pontscho@makacs.poliod.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1807 - configure script and Makefiles for easy compile
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1808 - GUI system (near complete!?)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1809 - 3DNow! support into mp3lib
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1810 - 3DNow! support into fastmemcpy.h
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1811 - various X11 driver changes (keyboard handling, fullscreen, bpp detect, etc)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1812 - libvo: adding xmga driver, and fullscreen support to xv
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1813 - audio mixer (volume) support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1814
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1815 Gábor Lénárt (LGB): <lgb@lgb.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1816 - ./configure script improvements
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1817 - Makefile improvements
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1818 - prelimenary DVD support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1819 - another GUI code (is that so..?)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1820 - various X11 cleanups and fixes
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1821
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1822 Gábor Bérczi (Gabucino): <gabucino@k2.jozsef.kando.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1823 - documentation maintainer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1824 - hungarian translation of documentation
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1825 - second webpage design&gfx
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1826 - webpage maintainer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1827 - testing, codecs quality & speed comparsions
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1828 - IRC channel #<B>MPlayer</B> operator
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1829 - experimental MINIX port
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1830
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1831 Szabolcs Berecz (Szabi): <szabi@inf.elte.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1832 - codecs.conf file parser
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1833 - config file and command line parser
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1834 - mga_vid fixes, module option etc.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1835 - fbdev support in libvo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1836 - type #7 subtitle support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1837
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1838 László Megyer (Lez, Laaz): <lez@sch.bme.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1839 - SUB reader
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1840 - screensaver+DPMS disable for libvo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1841
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1842 Gyula László (Chass, Tégla): <chass-@freemail.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1843 - first fonts (mp_font1.zip)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1844 - third (current) homepage design&gfx
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1845
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1846 Zoltán Márk Vicián (Se7en): <se7en@sch.bme.hu>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1847 - SVGAlib support in libvo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1848 - native AAlib driver (coming soon)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1849
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1850 Alex Beregszaszi (Al3x): <alex@naxine.org>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1851 - ALSA output driver in libao2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1852 - vo_ggi output driver in libvo (www.ggi-project.org)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1853
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1854 Andreas Ackermann (Acki): <asackerm@stud.informatik.uni-erlangen.de>
1386
gabucino
parents: 1381
diff changeset
1855 - LIRC support (see documentation)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1856 - DGA support in libvo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1857
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1858 Felix Bünemann (Atmos): <atmosfear@users.sourceforge.net>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1859 - SDL driver maintainer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1860 - Additional YUV formats fixes
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1861 - New font (mp_font2.zip)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1862 - PNG file output support in libvo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1863 - flipping support (for Indeo 3/4, etc)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1864 - SDL audio driver in libao2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1865 - RAW PCM/WAVE file writer for libao2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1866
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1867 TeLeNiEkO: <telenieko@telenieko.com>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1868 - spanish translation of documentation
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1869
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1870 Michael Graffam: <mgraffam@idsi.net>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1871 - XF86VidMode support to vo_x11 and vo_dga
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1872 - Video mode switching code to vo_dga
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1873
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1874 Jens Hoffmann: <hoffmajs@gmx.de>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1875 - Additional YUV formats support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1876 - found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1877
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1878 Nick Kurshev: <nickols_k@mail.ru>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1879 - memcpy optimizations for AMD K7 and Intel Pentium III (fastmemcpy.h)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1880 - CDROM tune info
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1881 - further 3DNow! optimizations into mp3lib and libac3
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1882 - russian translation of documentation
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1883
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1884 German Gomez Garcia: <german@piraos.com>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1885 - DVD .ifo parser and chapter selection [not yet in the main trunk]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1886 - SPDIF AC3 output for SBLive! [not yet in the main trunk]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1887
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1888 Dariush Pietrzak (Eyck): <eyck@incubus.ar.lublin.pl>
1386
gabucino
parents: 1381
diff changeset
1889 - debian packaging support (see debian/* and this documentation)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1890 - support for vplayer subtitle format
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1891 - prelimenary support for .RT subtitle format
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1892
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1893 Jürgen Keil and Marcus Comstedt: <jk@tools.de> <marcus@idonex.se>
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1894 - patched <B>MPlayer</B> to work on Solaris 8 x86
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1895 - configure fixes
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1896 - SUN audio driver in libao2
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1897
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1898 Vladimir Kushnir: <vkushnir@Alfacom.net>
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1899 - patched <B>MPlayer</B> to work on FreeBSD x86
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1900
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1901 Bertrand BAUDET: <bertrand_baudet@yahoo.com>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1902 - network streaming support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1903
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1904 Main testers:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1905 Tibor Balázs (Tibcu)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1906 Péter Sasi (SaPe)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1907 Christoph H. Lampert
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1908 Attila Kinali
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1909 Dirk Vornheder
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1910
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1911 ========================== The codecs, libs: =================================
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1912
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1913 Aaron Holtzman: <aholtzma@engr.uvic.ca>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1914 - ac3dec (and libac3) author [AC3 audio decoder]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1915 - mga_vid driver [Matrox G200/G400 YUV Back-end Scaler]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1916 - mpeg2dec [Fast MPEG1/MPEG2 video decoder, currently used in player]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1917
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1918 Michel Lespinasse: <walken@zoy.org>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1919 - did large libmpeg2 changes for better speed and mpeg conformance
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1920
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1921 Eugene Kuznetsov: <divx@euro.ru>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1922 - avifile author [AVI player library for linux, using Win32 VfW/ACM codecs]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1923 - technical help about AVI and ASF formats, and how to get YUV using VfW...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1924 - divx4linux techical support
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1925
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1926 Zdenek Kabelac: <kabi@informatics.muni.cz>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1927 - current avifile maintainer(?)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1928 - some technical help about the win32 stuff and timers
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1929
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1930 Gerard Lantau: <glantau@yahoo.fr>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1931 - ffmpeg/libavcodec author,maintainer (opensource mpeg & divx en/decoder)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1932
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1933 Project Mayo: [http://www.projectmayo.com]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1934 - the OpenDivX codec authors
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1935
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1936 Michael Hipp:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1937 - mpglib author [isn't used directly but some parts in mp3lib]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1938
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1939 Mark Podlipec:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1940 - xa_gsm.c author [MS-GSM audio codec]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1941 [from a GSM library by Jutta Degener and Carsten Bormann]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1942
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1943 Their code is not used in current player version, but I've got some ideas or
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1944 other technical help from:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1945
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1946 John F. McGowan http://www.jmcgowan.com/
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1947 - AVI FAQ author/collector. [site with many useful docs on codecs and avi fmt]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1948
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1949 Dirk Farin: <farin@ti.uni-mannheim.de>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1950 - dvdview author [MPEG1/MPEG2 video decoder, used in v0.5-v0.8]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1951
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1952 Adam Williams: <broadcast@earthling.net>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1953 - libmpeg3 (and xmovie) author [MPEG1/MPEG2 video decoder, used in v0.1-v0.4]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1954
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1955
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1956 <A NAME=B>Appendix B - Mailing lists
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1957
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1958 There are some public mailing lists on <B>MPlayer</B>. Subscribing can be achieved on
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1959 the following addresses:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1960
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1961 - <B>MPlayer</B> core/hungarian developers list:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1962 http://mp.dev.hu/mailman/listinfo/mplayer-devel
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1963
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1964 I dunno, it is the FLAME list in hungarian language :)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1965 Also some talking about mplayer core team internals, like mplayer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1966 party, sponsors etc can be here.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1967
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1968 - <B>MPlayer</B> developers list:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1969 http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1970
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1971 This list is about mplayer development! Talking about interface/API changes,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1972 new libraryes, code optimization, ./configure changes, and send patches here.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1973 Do NOT send bugreports, user questions, feature requests here!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1974 This list should be kept low-traffic.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1975
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1976 - <B>MPlayer</B> users list:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1977 http://lists.sourceforge.net/lists/listinfo/mplayer-users
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1978
1386
gabucino
parents: 1381
diff changeset
1979 - send bugreports here (after reading DOCS/BUGS, Appendix <A HREF="#C">C</A>)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1980 - send feature requests here (after reading DOCS/TODO)
1386
gabucino
parents: 1381
diff changeset
1981 - send user questions here (after reading all this documentation)
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1982
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1983 - <B>MPlayer</B> & Matrox G200/G400/G450 users:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1984 http://lists.sourceforge.net/lists/listinfo/mplayer-matrox
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1985
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1986 Send matrox-related questions here,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1987 - things about mga_vid,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1988 - matrox's official beta drivers (for X 4.x.x)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1989 - and about matroxfb-TVout stuff.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1990
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1991 - mpg12play-portable developers:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1992 http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1993
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1994 This list is for talking about mplayer ports to non-x86 platforms
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1995 (IRIX, Solaris-SPARC, Alpha, Commodore64, Sharp Calculator,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1996 Teapot etc...)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1997
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
1998 - <B>MPlayer</B> announce:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
1999 http://lists.sourceforge.net/lists/listinfo/mplayer-announce
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2000
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2001 Very low traffic list :)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2002 And it's read-only. I'll post something shit there if a new release
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2003 is done.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2004
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
2005 - <B>MPlayer</B> CVS-log:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2006 http://mp.dev.hu/mailman/listinfo/mplayer-cvslog
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2007
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2008 Send only questions about CVS changes here.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2009 (if you don't understand why a change is required or you've better fix)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2010 Be sure in that your target developer reads this list!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2011
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2012 NOTE: language of above lists are ENGLISH, unless explicitly stated otherwise.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2013 Please do not send messages using other language!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2014
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2015
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2016 <A NAME=C>Appendix C - How to report bugs
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2017
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2018 How to report bugs?
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2019 ~~~~~~~~~~~~~~~~~~~
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2020 First read DOCS/BUGS, and other docs. If your problem isn't
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2021 known or isn't solved by our instructions, then report the bug:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2022
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2023 Where?
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2024 ======
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2025 Subscribe to the mplayer-users mailing list:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2026 http://lists.sourceforge.net/lists/listinfo/mplayer-users
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2027 and send your bugreport to:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2028 mplayer-users@lists.sourceforge.net
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2029 We won't CC: so please subscribe!!!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2030
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2031 Don't send bugreports private, directly to author's address!!!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2032 We are working together on code, so everyone is interested in it.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2033 BTW many times other users know the solution (system config probs,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2034 bad drivers etc), even when we think it's a bug in our code.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2035 The language of this list is ENGLISH !
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2036
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2037 Please describe your problem in details, examples etc, and don't
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2038 forget to include these:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2039
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2040 What?
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2041 =====
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2042
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2043 1. The system info what we always want:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2044 - linux distribution
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2045 examples:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2046 RedHat 7.1
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2047 Slackware 7.0 + devel packs from 7.1 ...
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2048 - kernel version:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2049 uname -a
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2050 - libc version:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2051 ls -l /lib/libc[.-]*
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2052 - X version:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2053 X -version
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2054 - gcc and ld version:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2055 gcc -v
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2056 ld -v
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2057 - binutils version:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2058 as --version
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2059
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2060 2. Hardware & drivers:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2061 - CPU info:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2062 cat /proc/cpuinfo
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2063 - video card manufacturer and model
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2064 examples:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2065 ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2066 Matrox G400 DH 32MB SGRAM
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2067 - video driver type&version
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2068 examples:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2069 X built-in driver
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2070 nvidia 0.9.623
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2071 Utah-GLX CVS 2001-02-17
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2072 DRI from X 4.0.3
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2073 - sound card type & driver
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2074 examples:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2075 Creative SBLive! Gold with OSS driver from oss.creative.com
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2076 Creative SB16 with OSS drivers of kernel
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2077 GUS PnP with ALSA OSS emulation
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2078 - if you are unsure, attach output of lspci -v
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2079
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2080 For compiling problems/errors:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2081 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2082 3. output of configure/make:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2083 make distclean
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2084 ./configure &>config.log
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2085 ./make &>make.log
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2086 4. these files:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2087 config.h
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2088 config.mak
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2089 libvo/config.mak
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2090
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2091 For playback problems:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2092 ~~~~~~~~~~~~~~~~~~~~~~
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2093 3. Output of mplayer at verbose level 1 (-v)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2094 mplayer -v [options] filename &> mplayer.log
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2095
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2096 4. If the problem is specific to one or a few files,
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2097 then please upload that file to:
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
2098 ftp://mplayerhq.hu/MPlayer/incoming/
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2099 Usually first 1-5 MB of the file is enough to reproduce
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2100 the problem, but first you should try it:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2101 dd if=yourfile of=smallfile bs=1k count=1024
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2102 (it will cut first 1MB of 'yourfile' and save to 'smallfile')
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2103 Then try again on this small file, and if bug still exists
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2104 then it's enough to upload this small file.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2105 NEVER send such files via mail! Upload it, and send only
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2106 the path/filename of the file on the FTP.
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2107 If the file is accessible on the net, then sending the
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2108 _exact_ URL is enough!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2109
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2110 5. For crashes (segfault, SIGILL, signal 4 etc):
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2111
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2112 If you have coredump of the crash, see 5.a, else see 5.b:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2113
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2114 5.a: Please print us coredump (if it was created).
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2115 Howto:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2116 please create following command file:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2117
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2118 disass $eip-32 $eip+32
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2119 printf "eax=%08lX\n",$eax
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2120 printf "ebx=%08lX\n",$ebx
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2121 printf "ecx=%08lX\n",$ecx
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2122 printf "edx=%08lX\n",$edx
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2123 printf "esp=%08lX\n",$esp
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2124 printf "ebp=%08lX\n",$ebp
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2125 printf "edi=%08lX\n",$edi
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2126 printf "esi=%08lX\n",$esi
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2127
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2128 Then simply execute following command line:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2129 gdb mplayer --core=core -batch --command=command_file >mplayer.bug
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2130
1379
c9b83337ffa7 dvdfaq added (not yet formatted)
gabucino
parents: 1374
diff changeset
2131 5.b.: run <B>MPlayer</B> in gdb:
1371
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2132 [at root/user shell prompt:]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2133 # gdb mplayer
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2134 [at gdb prompt:]
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2135 > run -v [options-to-mplayer] filename
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2136 ... (wait until it will crash)
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2137 > bt
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2138 > disass $eip-32 $eip+32
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2139 Send us the full output of the above things!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2140
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2141 In general:
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2142 ~~~~~~~~~~~
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2143 If something is big (logs etc) then it's better to upload to the ftp
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2144 (gzipped), and include only path/filename in the bugreport!
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2145
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2146 </BODY>
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2147
4287b4726732 pre0alpha version
gabucino
parents:
diff changeset
2148 </HTML>