Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 16004:3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
entries rephrased for better clarity and shortness, a bit of old cruft
removed, better semantic markup, consistency...
author | diego |
---|---|
date | Tue, 19 Jul 2005 00:28:42 +0000 |
parents | c20bd4b50521 |
children | 9f297ab810a0 |
rev | line source |
---|---|
9675 | 1 <?xml version="1.0" encoding="iso-8859-1"?> |
10913
49b1a67e7381
Add revision keyword to english xml files, to ease translation synchronization
lumag
parents:
10631
diff
changeset
|
2 <!-- $Revision$ --> |
9675 | 3 <chapter id="faq" xreflabel="FAQ"> |
4 <title>Frequently Asked Questions</title> | |
5 | |
10373 | 6 <qandaset defaultlabel="qanda"> |
7 | |
8 <qandadiv id="faq-development"> | |
9 <title>Development</title> | |
10 | |
11 <qandaentry> | |
12 <question><para> | |
13 How do I create a proper patch for <application>MPlayer</application>? | |
14 </para></question> | |
15 <answer><para> | |
16 We made a <ulink url="../../tech/patches.txt">short document</ulink> | |
17 describing all the necessary details. Please follow the instructions. | |
18 </para></answer> | |
19 </qandaentry> | |
20 | |
21 <qandaentry> | |
22 <question><para> | |
11813 | 23 How do I translate <application>MPlayer</application> to a new language? |
24 </para></question> | |
25 <answer><para> | |
26 Read the <ulink url="../../tech/translations.txt">translation HOWTO</ulink>, | |
27 it should explain everything. You can get further help on the | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
28 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-translations">MPlayer-translations</ulink> |
11813 | 29 mailing list. |
30 </para></answer> | |
31 </qandaentry> | |
32 | |
33 <qandaentry> | |
34 <question><para> | |
10373 | 35 How can I support <application>MPlayer</application> development? |
36 </para></question> | |
37 <answer><para> | |
38 We are more than happy to accept your hardware and software | |
39 <ulink url="http://www.mplayerhq.hu/homepage/donations.html">donations</ulink>. | |
11540 | 40 They help us in continuously improving <application>MPlayer</application>. |
10373 | 41 </para></answer> |
42 </qandaentry> | |
43 | |
44 <qandaentry> | |
45 <question><para> | |
46 How can I become an <application>MPlayer</application> developer? | |
47 </para></question> | |
48 <answer><para> | |
49 We always welcome coders and documenters. Read the | |
50 <ulink url="../../tech/">technical documentation</ulink> | |
51 to get a first grasp. Then you should subscribe to the | |
15029 | 52 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">MPlayer-dev-eng</ulink> |
11813 | 53 mailing list and start coding. If you want to help out with the documentation, |
54 join the | |
15029 | 55 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-docs</ulink> |
11813 | 56 mailing list. |
10373 | 57 </para></answer> |
58 </qandaentry> | |
59 | |
60 <qandaentry> | |
61 <question><para> | |
62 Why don't you use autoconf/automake? | |
63 </para></question> | |
64 <answer><para> | |
65 We have a modular, handwritten build system. It does a reasonably good | |
66 job, so why change? Besides, we dislike the auto* tools, just like | |
67 <ulink url="http://freshmeat.net/articles/view/889/">other people</ulink>. | |
68 </para></answer> | |
69 </qandaentry> | |
70 </qandadiv> | |
9675 | 71 |
72 <qandadiv id="faq-compilation"> | |
73 <title>Compilation</title> | |
74 <qandaentry> | |
75 <question><para> | |
14824 | 76 Compilation fails with an error and <application>gcc</application> bails out |
77 with some cryptic message containing the phrase | |
78 <systemitem>internal compiler error</systemitem> or | |
79 <systemitem>unable to find a register to spill</systemitem>. | |
80 </para></question> | |
81 <answer><para> | |
82 You have stumbled over a bug in <application>gcc</application>. Please | |
83 <ulink url="http://gcc.gnu.org/bugs.html">report it to the gcc team</ulink> | |
84 but not to us. For some reason <application>MPlayer</application> seems to | |
85 trigger compiler bugs frequently. Nevertheless we cannot fix them and do not | |
14829
e76a8c56d81b
Recommend using a stable gcc version or upgrading frequently, suggested by Rich.
diego
parents:
14824
diff
changeset
|
86 add workarounds for compiler bugs to our sources. To avoid this problem, |
e76a8c56d81b
Recommend using a stable gcc version or upgrading frequently, suggested by Rich.
diego
parents:
14824
diff
changeset
|
87 either stick with a compiler version that is known to be reliable and |
e76a8c56d81b
Recommend using a stable gcc version or upgrading frequently, suggested by Rich.
diego
parents:
14824
diff
changeset
|
88 stable, or upgrade frequently. |
14824 | 89 </para></answer> |
90 </qandaentry> | |
91 | |
92 <qandaentry> | |
93 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
94 Are there binary (RPM/Debian) packages of <application>MPlayer</application>? |
10373 | 95 </para></question> |
96 <answer><para> | |
97 See the <link linkend="debian">Debian</link> and <link linkend="rpm">RPM</link> | |
98 section for details. | |
99 </para></answer> | |
100 </qandaentry> | |
101 | |
102 <qandaentry> | |
103 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
104 How can I build a 32 bit <application>MPlayer</application> on a 64 bit Athlon? |
14654
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
105 </para></question> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
106 <answer><para> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
107 Try the following configure options: |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
108 <screen> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
109 ./configure --target=athlon_xp --cc="gcc -m32" --as="as --32" --with-extralibdir=/usr/lib |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
110 </screen> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
111 </para></answer> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
112 </qandaentry> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
113 |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
114 <qandaentry> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
115 <question><para> |
11540 | 116 Configure ends with this text, and <application>MPlayer</application> won't compile! |
9675 | 117 <screen>Your gcc does not support even i386 for '-march' and '-mcpu'</screen> |
118 </para></question> | |
119 <answer><para> | |
13697 | 120 Your gcc isn't installed correctly, check the <filename>configure.log</filename> |
9675 | 121 file for details. |
122 </para></answer> | |
123 </qandaentry> | |
124 | |
125 <qandaentry> | |
126 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
127 I have a Matrox G200/G400/G450/G550, how do I compile/use the |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
128 <systemitem>mga_vid</systemitem> driver? |
9675 | 129 </para></question> |
130 <answer><para> | |
10373 | 131 Read the <link linkend="mga_vid">mga_vid</link> section. |
9675 | 132 </para></answer> |
133 </qandaentry> | |
134 | |
135 <qandaentry> | |
136 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
137 During 'make', <application>MPlayer</application> complains about |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
138 missing X11 libraries. I don't understand, I <emphasis>do</emphasis> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
139 have X11 installed!? |
9675 | 140 </para></question> |
141 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
142 ... but you don't have the X11 development package installed. Or not correctly. |
9675 | 143 It's called <filename>XFree86-devel*</filename> under Red Hat, and |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
144 <filename>xlibs-dev</filename> under Debian Woody, |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
145 <filename>libx11-dev</filename> under Debian Sarge. Also check if the |
9675 | 146 <filename class="directory">/usr/X11</filename> and |
147 <filename class="directory">/usr/include/X11</filename> symlinks exist (this | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
148 can be a problem on Mandrake systems). |
9675 | 149 </para></answer> |
150 </qandaentry> | |
151 </qandadiv> | |
152 | |
153 <qandadiv id="faq-general"> | |
154 <title>General questions</title> | |
10373 | 155 |
9675 | 156 <qandaentry> |
157 <question><para> | |
10373 | 158 Are there any mailing lists on <application>MPlayer</application>? |
9675 | 159 </para></question> |
160 <answer><para> | |
10373 | 161 Yes. See the <link linkend="mailinglists">mailing lists</link> |
162 section. | |
9675 | 163 </para></answer> |
164 </qandaentry> | |
165 | |
166 <qandaentry> | |
167 <question><para> | |
10373 | 168 I've found a nasty bug when I tried to play my favorite video! Who should I inform? |
9675 | 169 </para></question> |
170 <answer><para> | |
10373 | 171 Please read the |
172 <link linkend="bugreports">bug reporting guidelines</link> | |
173 and follow the instructions. | |
9675 | 174 </para></answer> |
175 </qandaentry> | |
176 | |
177 <qandaentry> | |
178 <question><para> | |
10373 | 179 I have problems playing files with the ... codec. Can I use them? |
9675 | 180 </para></question> |
181 <answer><para> | |
15316 | 182 Check the <ulink url="../../codecs-status.html">codec status</ulink>, |
10373 | 183 if it doesn't contain your codec, read the <link linkend="codecs">codec documentation</link>, |
14061 | 184 especially the <link linkend="codec-importing">codec importing HOWTO</link> and contact us. |
9675 | 185 </para></answer> |
186 </qandaentry> | |
187 | |
188 <qandaentry> | |
189 <question><para> | |
10373 | 190 When I start playing, I get this message but everything seems fine: |
191 <screen>Linux RTC init: ioctl (rtc_pie_on): Permission denied</screen> | |
9675 | 192 </para></question> |
193 <answer><para> | |
10373 | 194 You need root privileges or a specially set up kernel to use the new timing |
11483 | 195 code. For details see the <link linkend="rtc">RTC</link> section of the documentation. |
9675 | 196 </para></answer> |
197 </qandaentry> | |
198 | |
199 <qandaentry> | |
200 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
201 How can I make a screenshot? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
202 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
203 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
204 You have to use a video output driver that does not employ an overlay to be |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
205 able to take a screenshot. Under X11, <option>-vo x11</option> will do, under |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
206 Windows <option>-vo directx:noaccel</option> works. |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
207 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
208 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
209 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
210 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
211 <question><para> |
9675 | 212 What is the meaning of the numbers on the status line? |
213 </para></question> | |
214 <answer><para> | |
215 Example: | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
216 <screen>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x</screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
217 <variablelist> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
218 <varlistentry><term><systemitem>A: 2.1</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
219 <listitem><para>audio position in seconds</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
220 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
221 <varlistentry><term><systemitem>V: 2.2</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
222 <listitem><para>video position in seconds</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
223 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
224 <varlistentry><term><systemitem>A-V: -0.167</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
225 <listitem><para>audio-video difference in seconds (delay)</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
226 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
227 <varlistentry><term><systemitem>ct: 0.042</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
228 <listitem><para>total A-V sync correction done</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
229 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
230 <varlistentry><term><systemitem>57/57</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
231 <listitem><para>frames played/decoded (counting from last seek)</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
232 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
233 <varlistentry><term><systemitem>41%</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
234 <listitem><para>video codec CPU usage in percent |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
235 (for slice rendering and direct rendering this |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
236 includes video_out)</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
237 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
238 <varlistentry><term><systemitem>0%</systemitem></term> |
12348 | 239 <listitem><para>video_out CPU usage</para></listitem> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
240 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
241 <varlistentry><term><systemitem>2.6%</systemitem></term> |
12348 | 242 <listitem><para>audio codec CPU usage in percent</para></listitem> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
243 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
244 <varlistentry><term><systemitem>0</systemitem></term> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
245 <listitem><para>frames dropped to maintain A-V sync</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
246 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
247 <varlistentry><term><systemitem>4</systemitem></term> |
9675 | 248 <listitem><para>current level of image postprocessing (when using |
249 <option>-autoq</option>)</para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
250 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
251 <varlistentry><term><systemitem>49%</systemitem></term> |
9675 | 252 <listitem><para>current cache size used (around 50% is normal)</para></listitem> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
253 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
254 <varlistentry><term><systemitem>1.00x</systemitem></term> |
13947 | 255 <listitem><para>playback speed as a factor of original speed</para></listitem> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
256 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
257 </variablelist> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
258 Most of them are for debug purposes, use the <option>-quiet</option> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
259 option to make them disappear. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
260 You might notice that video_out CPU usage is zero (0%) for some files. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
261 This is because it is called directly from the codec and thus cannot |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
262 be measured separately. If you wish to know the video_out speed, compare |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
263 the difference when playing the file with <option>-vo null</option> and |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
264 your usual video output driver. |
9675 | 265 </para></answer> |
266 </qandaentry> | |
267 | |
268 <qandaentry> | |
269 <question><para> | |
10185
d927b21b57c1
/usr/local/lib/codecs is now the default codecs directory.
diego
parents:
10042
diff
changeset
|
270 There are error messages about file not found <filename>/usr/local/lib/codecs/</filename> ... |
9675 | 271 </para></question> |
272 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
273 Download and install the binary codecs from our |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
274 <ulink url="http://mplayerhq.hu/homepage/design7/codecs.html">codecs page</ulink>. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
275 </para></answer> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
276 </qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
277 |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
278 <qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
279 <question><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
280 How can I make <application>MPlayer</application> remember the options I |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
281 use for a particular file, e.g. <filename>movie.avi</filename>? |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
282 </para></question> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
283 <answer><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
284 Create a file named <filename>movie.avi.conf</filename> with the file-specific |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
285 options in it and put it in <filename class="directory">~/.mplayer</filename> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
286 or in the same directory as the file. |
9675 | 287 </para></answer> |
288 </qandaentry> | |
289 | |
290 <qandaentry> | |
291 <question><para> | |
292 Subtitles are very nice, the most beautiful I've ever seen, but they | |
293 slow down playing! I know it's unlikely ... | |
294 </para></question> | |
295 <answer><para> | |
296 After running <filename>./configure</filename>, edit <filename>config.h</filename> | |
297 and replace <systemitem>#undef FAST_OSD</systemitem> with | |
298 <systemitem>#define FAST_OSD</systemitem>. Then recompile. | |
299 </para></answer> | |
300 </qandaentry> | |
301 | |
302 <qandaentry> | |
303 <question><para> | |
10042 | 304 I can't access the GUI menu. I press right click, but I can't |
305 access any menu items! | |
306 </para></question> | |
307 <answer><para> | |
308 Are you using FVWM? Try the following: | |
309 <orderedlist> | |
310 <listitem><para>Start -> Settings -> Configuration -> Base Configuration</para></listitem> | |
11532 | 311 <listitem><para>Set <systemitem>Use Applications position hints</systemitem> |
312 to <systemitem>Yes</systemitem></para></listitem> | |
10042 | 313 </orderedlist> |
314 </para></answer> | |
315 </qandaentry> | |
316 | |
317 <qandaentry> | |
318 <question><para> | |
11540 | 319 How can I run <application>MPlayer</application> in the background? |
9675 | 320 </para></question> |
321 <answer><para> | |
322 Use: | |
323 <screen>mplayer <replaceable>options</replaceable> <replaceable>filename</replaceable> < /dev/null &</screen> | |
324 </para></answer> | |
325 </qandaentry> | |
326 </qandadiv> | |
327 | |
328 <qandadiv id="faq-playback"> | |
329 <title>Playback problems</title> | |
10490 | 330 |
331 <qandaentry> | |
332 <question><para> | |
14995 | 333 I cannot pinpoint the cause of some strange playback problem. |
334 </para></question> | |
335 <answer><para> | |
336 Do you have a stray <filename>codecs.conf</filename> file in | |
337 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
338 <filename>/usr/local/etc/</filename> or a similar location? Remove it, | |
15027
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
339 an outdated <filename>codecs.conf</filename> file can cause obscure |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
340 problems and is intended for use only by developers working on codec |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
341 support. It overrides <application>MPlayer</application>'s internal |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
342 codec settings, which will wreak havoc if incompatible changes are |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
343 made in newer program versions. Unless used by experts it is a recipe |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
344 for disaster in the form of seemingly random and very hard to localize |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
345 crashes and playback problems. If you still have it somewhere on your |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
346 system, you should remove it now. |
14995 | 347 </para></answer> |
348 </qandaentry> | |
349 | |
350 <qandaentry> | |
351 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
352 How can I select audio/subtitle tracks from a DVD, OGM, Matroska or NUT file? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
353 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
354 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
355 You have to use <option>-aid</option> (audio ID) or <option>-alang</option> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
356 (audio language), <option>-sid</option>(subtitle ID) or <option>-slang</option> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
357 (subtitle language), for example: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
358 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
359 mplayer example.mkv -alang eng -slang eng |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
360 mplayer example.mkv -aid 1 -sid 1 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
361 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
362 To see which ones are available: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
363 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
364 mplayer -vo null -ao null -frames 0 -v <replaceable>filename</replaceable> | grep sid |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
365 mplayer -vo null -ao null -frames 0 -v <replaceable>filename</replaceable> | grep aid |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
366 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
367 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
368 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
369 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
370 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
371 <question><para> |
12437 | 372 I'm trying to play a random stream off the internet but it fails. |
373 </para></question> | |
374 <answer><para> | |
375 Try playing the stream with the <option>-playlist</option> option. | |
376 </para></answer> | |
377 </qandaentry> | |
378 | |
379 <qandaentry> | |
380 <question><para> | |
12323 | 381 I downloaded a movie off a P2P network and it doesn't work! |
382 </para></question> | |
383 <answer><para> | |
384 Your file is most probably broken or a fake file. If you got it from | |
385 a friend, and he says it works, try comparing | |
386 <application>md5sum</application> hashes. | |
387 </para></answer> | |
388 </qandaentry> | |
389 | |
390 <qandaentry> | |
391 <question><para> | |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
392 I've just installed <application>MPlayer</application>. When I want to |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
393 open a video file it causes a fatal error: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
394 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
395 Error opening/initializing the selected video_out (-vo) device. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
396 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
397 How can I solve my problem? |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
398 </para></question> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
399 <answer><para> |
12348 | 400 Just change your video output device. Issue the following command to get |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
401 a list of available video output drivers: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
402 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
403 mplayer -vo help |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
404 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
405 After you've chosen the correct video output driver, add it to |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
406 your configuration file. Add |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
407 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
408 vo = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
409 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
410 to <filename>~/.mplayer/config</filename> and/or |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
411 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
412 vo_driver = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
413 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
414 to <filename>~/.mplayer/gui.conf</filename>. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
415 </para></answer> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
416 </qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
417 |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
418 <qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
419 <question><para> |
12323 | 420 I'm having trouble getting my subtitles to display, help!! |
421 </para></question> | |
422 <answer><para> | |
423 Make sure you have installed fonts properly. Run through the steps in the | |
424 <link linkend="mpsub-install">OSD and subtitle</link> part of the installation | |
425 section again. If you are using TrueType fonts, verify that you have the | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
426 <systemitem class="library">FreeType</systemitem> library installed. |
12323 | 427 Other things include checking your subtitles in a text editor or with other |
428 players. Also try converting them to another format. | |
429 </para></answer> | |
430 </qandaentry> | |
431 | |
432 <qandaentry> | |
433 <question><para> | |
12026 | 434 Why doesn't <application>MPlayer</application> work on Fedora Core? |
435 </para></question> | |
436 <answer><para> | |
437 There is a bad interaction on Fedora between exec-shield, | |
438 prelink, and any applications which use Windows DLLs | |
439 (such as <application>MPlayer</application>). | |
440 </para> | |
441 <para> | |
442 The problem is that exec-shield randomizes the load addresses of all the | |
443 system libraries. This randomization happens at prelink time (once every | |
444 two weeks). | |
445 </para> | |
446 <para> | |
447 When <application>MPlayer</application> tries to load a Windows DLL it | |
448 wants to put it at a specific address (0x400000). If an important system | |
12079
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
449 library happens to be there already, <application>MPlayer</application> |
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
450 will crash. |
12026 | 451 (A typical symptom would be a segmentation fault when trying |
452 to play Windows Media 9 files.) | |
453 </para> | |
454 <para> | |
455 If you run into this problem you have two options: | |
456 <itemizedlist> | |
457 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
458 <listitem><para>Relink all the binaries on the system with different | |
459 prelink options. Here are step by step instructions:</para> | |
460 <para> | |
461 <orderedlist> | |
462 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
463 <para> | |
464 <programlisting> | |
465 PRELINK_OPTS=-mR | |
466 </programlisting> | |
467 </para> | |
468 <para> | |
469 to | |
470 <programlisting> | |
471 PRELINK_OPTS="-mR --no-exec-shield" | |
472 </programlisting> | |
473 </para> | |
474 </listitem> | |
475 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
476 <listitem><para><command>/etc/cron.daily/prelink</command> | |
477 (This relinks all the applications, and it takes | |
478 quite a while.)</para></listitem> | |
479 <listitem> | |
480 <para><command>execstack -s <replaceable>/path/to/</replaceable>mplayer</command> | |
12079
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
481 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 482 </para> |
483 </listitem> | |
484 </orderedlist> | |
485 </para> | |
486 </listitem> | |
487 </itemizedlist> | |
488 </para></answer> | |
489 </qandaentry> | |
490 | |
491 <qandaentry> | |
492 <question><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
493 ... works with <application>xine/vlc/...</application> but doesn't with |
10042 | 494 <application>MPlayer</application>. |
9675 | 495 </para></question> |
496 <answer><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
497 <application>MPlayer</application> is not <application>xine/vlc/...</application>. |
10373 | 498 Although these players have some code in common, the codecs (DLL) set, |
499 synchronization, demultiplexing etc is different and should not be | |
500 compared. If you have a file <application>MPlayer</application> fails to | |
501 play correctly but works in another player, please read the | |
502 <link linkend="bugreports">bug reporting guidelines</link> and upload | |
503 the file to our FTP server. | |
9675 | 504 </para></answer> |
505 </qandaentry> | |
10373 | 506 |
9675 | 507 <qandaentry> |
508 <question><para> | |
509 Audio goes out of sync playing an AVI file. | |
510 </para></question> | |
511 <answer><para> | |
512 Try the <option>-bps</option> or <option>-nobps</option> option. If it does not | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
513 improve, read the |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
514 <link linkend="bugreports">bug reporting guidelines</link> |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
515 and upload the file to FTP. |
9675 | 516 </para></answer> |
517 </qandaentry> | |
10373 | 518 |
9675 | 519 <qandaentry> |
520 <question><para> | |
12348 | 521 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
522 too slow. When I use the <option>-nosound</option> option, everything is OK (but quiet). |
9675 | 523 </para></question> |
524 <answer><para> | |
12348 | 525 Your machine is too slow or your sound card driver is broken. Consult the |
9675 | 526 documentation to see if you can improve performance. |
527 </para></answer> | |
528 </qandaentry> | |
10373 | 529 |
9675 | 530 <qandaentry> |
531 <question><para> | |
11532 | 532 <application>MPlayer</application> dies with |
533 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 534 </para></question> |
535 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
536 Don't use <application>MPlayer</application> on a CPU different from the one |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
537 it was compiled on or recompile with runtime CPU detection |
11540 | 538 (<command>./configure --enable-runtime-cpudetection</command>). |
9675 | 539 </para></answer> |
540 </qandaentry> | |
10373 | 541 |
9675 | 542 <qandaentry> |
543 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
544 I have problems with <replaceable>[your window manager]</replaceable> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
545 and fullscreen xv/xmga/sdl/x11 modes ... |
9675 | 546 </para></question> |
547 <answer><para> | |
548 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us | |
549 a proper bug report. | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
550 Also try experimenting with the <option>-fstype</option> option. |
9675 | 551 </para></answer> |
552 </qandaentry> | |
10373 | 553 |
9675 | 554 <qandaentry> |
555 <question><para> | |
556 When starting <application>MPlayer</application> under KDE I just get a black | |
557 screen and nothing happens. After about one minute the video starts playing. | |
558 </para></question> | |
559 <answer><para> | |
560 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 561 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 562 arts sound, specify audio output via our native arts audio driver |
563 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
564 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 565 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 566 </para></answer> |
567 </qandaentry> | |
10373 | 568 |
9675 | 569 <qandaentry> |
570 <question><para> | |
571 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
572 crashes with the following message: | |
573 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
574 </para></question> | |
575 <answer><para> | |
576 This can have multiple reasons. | |
577 <itemizedlist> | |
578 <listitem><para> | |
579 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 580 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 581 dropped frames counter goes up fast). |
582 </para></listitem> | |
583 <listitem><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
584 If it is an AVI, maybe it has bad interleaving, try the |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
585 <option>-ni</option> to work around this. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
586 Or it may have a bad header, in this case <option>-nobps</option> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
587 and/or <option>-mc 0</option> can help. |
9675 | 588 </para></listitem> |
589 <listitem><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
590 Your sound driver is buggy. See the <link linkend="audio">audio section</link>. |
9675 | 591 </para></listitem> |
592 </itemizedlist> | |
593 </para></answer> | |
594 </qandaentry> | |
10373 | 595 |
9675 | 596 <qandaentry> |
597 <question><para> | |
598 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
599 applications. | |
600 </para></question> | |
601 <answer><para> | |
12348 | 602 Your card probably reports some colorspaces as supported when in fact |
603 it does not support them. Try with YUY2 instead of the | |
10373 | 604 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 605 </para></answer> |
606 </qandaentry> | |
10373 | 607 |
9675 | 608 <qandaentry> |
609 <question><para> | |
610 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
611 </para></question> | |
612 <answer><para> | |
613 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you | |
13766
6473da1ceadb
Audio plugins have been superceded by audio filters, noticed by Gabrov.
diego
parents:
13763
diff
changeset
|
614 try to play a file which has 22050Hz audio. Try the resample audio filter. |
9675 | 615 </para></answer> |
616 </qandaentry> | |
10373 | 617 |
9675 | 618 <qandaentry> |
619 <question><para> | |
620 I get very strange percentage values (way too big) while playing files on my notebook. | |
621 </para></question> | |
622 <answer><para> | |
623 It's an effect of the power management / power saving system of your notebook | |
10042 | 624 (BIOS, not kernel). Plug the external power connector in |
625 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
626 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
627 (a SpeedStep interface for Linux) helps you. | |
9675 | 628 </para></answer> |
629 </qandaentry> | |
10373 | 630 |
9675 | 631 <qandaentry> |
632 <question><para> | |
633 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
634 as root on my notebook. It works normal when i run it as a user. | |
635 </para></question> | |
636 <answer><para> | |
637 This is again a power management effect (see above). Plug the external power | |
638 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
639 or use the <option>-nortc</option> option. | |
640 </para></answer> | |
641 </qandaentry> | |
10373 | 642 |
643 <qandaentry> | |
9722 | 644 <question><para> |
10042 | 645 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 646 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
647 </para></question> | |
648 <answer><para> | |
10042 | 649 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 650 Try <option>-nocache</option>. |
651 </para></answer> | |
652 </qandaentry> | |
15835 | 653 </qandadiv> |
11124 | 654 |
9675 | 655 <qandadiv id="faq-driver"> |
656 <title>Video/audio driver problems (vo/ao)</title> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
657 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
658 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
659 <question><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
660 How can I use <application>dmix</application> with |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
661 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
662 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
663 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
664 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
665 <ulink url="http://alsa.opensrc.org/index.php?page=DmixPlugin">asoundrc</ulink> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
666 you have to use <option>-ao alsa:device=dmix</option>. |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
667 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
668 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
669 |
9675 | 670 <qandaentry> |
671 <question><para> | |
672 I have no sound when playing a video and get error messages similar to this one: | |
673 <screen> | |
674 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
675 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
676 couldn't open/init audio device -> NOSOUND | |
677 Audio: no sound!!! | |
678 Start playing... | |
679 </screen> | |
680 </para></question> | |
681 <answer><para> | |
682 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
683 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 684 option to make <application>MPlayer</application> use ARTS or ESD. |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
685 You might also be running ALSA without OSS emulation, try loading the ALSA OSS |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
686 kernel modules or add <option>-ao alsa</option> to your command line to |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
687 directly use the ALSA audio output driver. |
9675 | 688 </para></answer> |
689 </qandaentry> | |
690 </qandadiv> | |
691 | |
692 <qandadiv id="faq-dvd"> | |
693 <title>DVD playback</title> | |
694 <qandaentry> | |
695 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
696 What about DVD navigation/menus? |
9675 | 697 </para></question> |
698 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
699 <application>MPlayer</application> does not support DVD menus due to serious |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
700 architectural limitations that prevent proper handling of still images and |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
701 interactive content. If you want to have fancy menus, you will have to use |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
702 another player like <application>xine</application>, |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
703 <application>vlc</application> or <application>Ogle</application>. |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
704 If you want to see DVD navigation in <application>MPlayer</application> you |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
705 will have to implement it yourself, but be aware that it is a major |
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
706 undertaking. |
9675 | 707 </para></answer> |
708 </qandaentry> | |
10373 | 709 |
9675 | 710 <qandaentry> |
711 <question><para> | |
11540 | 712 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 713 </para></question> |
714 <answer><para> | |
10373 | 715 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 716 </para></answer> |
717 </qandaentry> | |
10373 | 718 |
9675 | 719 <qandaentry> |
720 <question><para> | |
721 How can I set the region code of my DVD-drive? I don't have Windows! | |
722 </para></question> | |
723 <answer><para> | |
14113 | 724 Use the <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. |
9675 | 725 </para></answer> |
726 </qandaentry> | |
10373 | 727 |
9675 | 728 <qandaentry> |
729 <question><para> | |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
730 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 731 </para></question> |
732 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
733 No. However you must have the proper rights |
9675 | 734 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
735 </para></answer> | |
736 </qandaentry> | |
10373 | 737 |
9675 | 738 <qandaentry> |
739 <question><para> | |
740 Is it possible to play/encode only selected chapters? | |
741 </para></question> | |
742 <answer><para> | |
743 Yes, try the <option>-chapter</option> option. | |
744 </para></answer> | |
745 </qandaentry> | |
10373 | 746 |
9675 | 747 <qandaentry> |
748 <question><para> | |
749 My DVD playback is sluggish! | |
750 </para></question> | |
751 <answer><para> | |
752 Use the <option>-cache</option> option (described in the man page) and try | |
753 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 754 in the <link linkend="drives">CD chapter</link>). |
9675 | 755 </para></answer> |
756 </qandaentry> | |
13511 | 757 |
758 <qandaentry> | |
759 <question><para> | |
760 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
761 </para></question> | |
762 <answer><para> | |
763 Use the <option>-dvd-device</option> option to refer to the directory | |
764 that contains the files: | |
765 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
766 mplayer dvd://1 -dvd-device <replaceable>/path/to/directory</replaceable> |
13511 | 767 </screen> |
768 </para></answer> | |
769 </qandaentry> | |
9675 | 770 </qandadiv> |
771 | |
772 <qandadiv id="faq-features"> | |
773 <title>Feature requests</title> | |
774 <qandaentry> | |
775 <question><para> | |
11540 | 776 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
777 <application>MPlayer</application> ceases to be paused. I would like to be able | |
778 to seek in the paused movie. | |
9675 | 779 </para></question> |
780 <answer><para> | |
781 This is very tricky to implement without losing A/V synchronization. | |
782 All attempts have failed so far, but patches are welcome. | |
783 </para></answer> | |
784 </qandaentry> | |
10373 | 785 |
9675 | 786 <qandaentry> |
787 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
788 I'd like to seek +/- 1 frame instead of 10 seconds. |
9675 | 789 </para></question> |
790 <answer><para> | |
14312 | 791 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 792 If the movie was not paused it will be paused afterwards |
793 (see the man page for details). | |
14309 | 794 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 795 </para></answer> |
796 </qandaentry> | |
797 </qandadiv> | |
798 | |
799 <qandadiv id="faq-encoding"> | |
800 <title>Encoding</title> | |
801 <qandaentry> | |
802 <question><para> | |
10042 | 803 How can I encode? |
804 </para></question> | |
805 <answer><para> | |
11540 | 806 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
807 section. | |
10042 | 808 </para></answer> |
809 </qandaentry> | |
10373 | 810 |
10042 | 811 <qandaentry> |
812 <question><para> | |
15493 | 813 How can I dump a full DVD title into a file? |
15430 | 814 </para></question> |
815 <answer><para> | |
15493 | 816 Once you have selected your title, and made sure it plays fine with |
817 <application>MPlayer</application>, use the option <option>-dumpstream</option>. | |
15430 | 818 For example: |
819 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
820 mplayer dvd://5 -dumpstream -dumpfile <replaceable>dvd_dump.vob</replaceable> |
15430 | 821 </screen> |
822 will dump the 5th title of the DVD into the file | |
823 <replaceable>dvd_dump.vob</replaceable> | |
824 </para></answer> | |
825 </qandaentry> | |
826 | |
827 <qandaentry> | |
828 <question><para> | |
15830 | 829 How can I create (S)VCDs automatically? |
10042 | 830 </para></question> |
831 <answer><para> | |
832 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
833 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
834 and even burn them directly to CD. | |
835 </para></answer> | |
836 </qandaentry> | |
10373 | 837 |
10042 | 838 <qandaentry> |
839 <question><para> | |
15836 | 840 How can I create (S)VCDs? |
15830 | 841 </para></question> |
842 <answer><para> | |
843 Newer versions of <application>MEncoder</application> can directly | |
15836 | 844 generate MPEG-2 files that can be used as a base to create a VCD or SVCD and |
845 are likely to be playable out of the box on all platforms (for example, | |
15830 | 846 to share a video from a digital camcorder with your computer-illiterate |
847 friends). | |
15981
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
848 Please read |
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
849 <link linkend="menc-feat-vcd-dvd">Using MEncoder to create VCD/SVCD/DVD-compliant files</link> |
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
850 for more details. |
15830 | 851 </para></answer> |
852 </qandaentry> | |
853 | |
854 <qandaentry> | |
855 <question><para> | |
10042 | 856 How can I join two video files? |
857 </para></question> | |
858 <answer><para> | |
14975 | 859 MPEG files can be concatenated into a single file with luck. |
860 For AVI files, you can use <application>MEncoder</application>'s | |
861 multiple file support like this: | |
862 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
863 mencoder -ovc copy -oac copy -o <replaceable>out.avi</replaceable> <replaceable>file1.avi</replaceable> <replaceable>file2.avi</replaceable> |
14975 | 864 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
865 This will only work if the files are of the same resolution |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
866 and use the same codec. |
14975 | 867 You can also try |
10042 | 868 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and |
869 <application>avimerge</application> (part of the | |
14975 | 870 <ulink url="http://www.transcoding.org/">transcode</ulink> |
871 tool set). | |
10042 | 872 </para></answer> |
873 </qandaentry> | |
10373 | 874 |
10042 | 875 <qandaentry> |
876 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
877 How can I fix AVI files with a broken index or bad interleaving? |
15112
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
878 </para></question> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
879 <answer><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
880 To avoid having to use <option>-idx</option> to be able to seek in |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
881 AVI files with a broken index or <option>-ni</option> to play AVI |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
882 files with bad interleaving, use the command |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
883 <screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
884 mencoder <replaceable>input.avi</replaceable> -idx -ovc copy -oac copy -o <replaceable>output.avi</replaceable> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
885 </screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
886 to copy the video and audio streams into a new AVI file while |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
887 regenerating the index and correctly interleaving the data. |
15112
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
888 Of course this cannot fix possible bugs in the video and/or audio streams. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
889 </para></answer> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
890 </qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
891 |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
892 <qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
893 <question><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
894 How can I fix the aspect ratio of an AVI file? |
15253
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
895 </para></question> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
896 <answer><para> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
897 You can do such a thing thanks to <application>MEncoder</application>'s |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
898 <option>-force-avi-aspect</option> option, which overrides the aspect |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
899 stored in the AVI OpenDML vprp header option. For example: |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
900 <screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
901 mencoder <replaceable>input.avi</replaceable> -ovc copy -oac copy -o <replaceable>output.avi</replaceable> -force-avi-aspect 4/3 |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
902 </screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
903 </para></answer> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
904 </qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
905 |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
906 <qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
907 <question><para> |
9675 | 908 I can't encode DVD subtitles into the AVI! |
909 </para></question> | |
910 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
911 You have to properly specify the <option>-sid</option> option. |
9675 | 912 </para></answer> |
913 </qandaentry> | |
10373 | 914 |
9675 | 915 <qandaentry> |
916 <question><para> | |
917 How can I encode only selected chapters from a DVD? | |
918 </para></question> | |
919 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
920 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option>. |
9675 | 921 </para></answer> |
922 </qandaentry> | |
10373 | 923 |
9675 | 924 <qandaentry> |
925 <question><para> | |
926 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
927 </para></question> | |
928 <answer><para> | |
929 No, VFAT doesn't support 2GB+ files. | |
930 </para></answer> | |
931 </qandaentry> | |
10373 | 932 |
9675 | 933 <qandaentry> |
934 <question><para> | |
10042 | 935 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 936 </para></question> |
937 <answer><para> | |
938 Because the bitrate you encoded the audio with is too large to fit the | |
939 movie on any CD. Check if you have libmp3lame installed properly. | |
940 </para></answer> | |
941 </qandaentry> | |
10448 | 942 |
943 <qandaentry> | |
944 <question><para> | |
14024 | 945 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 946 </para></question> |
947 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
948 Since ASF uses variable framerate but AVI uses a fixed one, you |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
949 have to set it by hand with the <option>-ofps</option> option. |
10448 | 950 </para></answer> |
951 </qandaentry> | |
952 | |
10631 | 953 |
954 <qandaentry> | |
955 <question><para> | |
956 How can I put subtitles in the output file? | |
957 </para></question> | |
958 <answer><para> | |
959 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 960 respectively) option to <application>MEncoder</application>. |
10631 | 961 </para></answer> |
962 </qandaentry> | |
963 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
964 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
965 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
966 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
967 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
968 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
969 It's not possible directly, but you can try this (note the |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
970 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
971 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
972 <screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
973 mkfifo encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
974 mplayer -ao pcm -aofile encode dvd://1 & |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
975 lame <replaceable>your_opts</replaceable> encode music.mp3 |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
976 rm encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
977 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
978 This allows you to use any encoder, not only <application>LAME</application>, |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
979 just replace <command>lame</command> with your favorite audio encoder in the |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
980 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
981 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
982 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
983 |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
984 <qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
985 <question><para> |
15925 | 986 Why do third-party players fail to play MPEG-4 movies encoded by |
987 <application>MEncoder</application> versions later than 1.0pre7? | |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
988 </para></question> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
989 |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
990 <answer><para> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
991 <systemitem class="library">libavcodec</systemitem>, the native MPEG-4 |
15922 | 992 encoding library usually shipped with <application>MEncoder</application>, |
993 used to set the FourCC to 'DIVX' when encoding MPEG-4 videos | |
994 (the FourCC is an AVI tag to identify the software used to encode and | |
995 the intended software to use for decoding the video). | |
996 This led many people to think that | |
997 <systemitem class="library">libavcodec</systemitem> | |
998 was a DivX encoding library, when in fact it is a completely different | |
15925 | 999 MPEG-4 encoding library which implements the MPEG-4 standard much |
15942 | 1000 better than DivX does. |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1001 Therefore, the new default FourCC used by |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1002 <systemitem class="library">libavcodec</systemitem> is 'FMP4', but you |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1003 may override this behavior using <application>MEncoder</application>'s |
15922 | 1004 <option>-ffourcc</option> option. |
15925 | 1005 You may also change the FourCC of existing files in the same way: |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1006 <screen> |
15922 | 1007 mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -ffourcc XVID |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1008 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1009 Note that this will set the FourCC to XVID rather than DIVX. |
15922 | 1010 This is recommended as DIVX FourCC means DivX4, which is a very basic |
1011 MPEG-4 codec, whereas DX50 and XVID both mean full MPEG-4 (ASP). | |
1012 Therefore, if you change the FourCC to DIVX, some bad software or | |
1013 hardware players may choke on some advanced features that | |
1014 <systemitem class="library">libavcodec</systemitem> supports, but DivX | |
15925 | 1015 doesn't; on the other hand <systemitem class="library">XviD</systemitem> |
1016 is closer to <systemitem class="library">libavcodec</systemitem> in | |
1017 terms of functionality, and is supported by all decent players. | |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1018 </para></answer> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1019 </qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1020 |
9675 | 1021 </qandadiv> |
1022 </qandaset> | |
1023 | |
15835 | 1024 </chapter> |