Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 15901:7938b1ee8986
Remove obsolete/outdated entries.
author | diego |
---|---|
date | Sun, 03 Jul 2005 12:13:48 +0000 |
parents | 26204cc17ab7 |
children | c821dbc2c21b |
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 | |
15029 | 28 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-docs</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> | |
10373 | 94 Are there binary (RPM/deb) packages of <application>MPlayer</application>? |
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> | |
14654
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
104 How can I build a 32 bit <application>MPlayer</application> on 64 bit Athlon? |
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> | |
10373 | 127 I have a Matrox G200/G400/G450/G550, how do I compile/use the mga_vid driver? |
9675 | 128 </para></question> |
129 <answer><para> | |
10373 | 130 Read the <link linkend="mga_vid">mga_vid</link> section. |
9675 | 131 </para></answer> |
132 </qandaentry> | |
133 | |
134 <qandaentry> | |
135 <question><para> | |
11540 | 136 During 'make', <application>MPlayer</application> complains about X11 libraries. |
137 I don't understand, I DO have X installed!? | |
9675 | 138 </para></question> |
139 <answer><para> | |
140 ... but you don't have the X development package installed. Or not correctly. | |
141 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
|
142 <filename>xlibs-dev</filename> under Debian Woody, |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
143 <filename>libx11-dev</filename> under Debian Sarge. Also check if the |
9675 | 144 <filename class="directory">/usr/X11</filename> and |
145 <filename class="directory">/usr/include/X11</filename> symlinks exist (this | |
146 can be a problem on Mandrake systems). They can be created with these commands: | |
147 <screen> | |
11364
428974d67179
These directories are usually only writable by root, so insinuate being
diego
parents:
11272
diff
changeset
|
148 # ln -sf /usr/X11R6 /usr/X11 |
428974d67179
These directories are usually only writable by root, so insinuate being
diego
parents:
11272
diff
changeset
|
149 # ln -sf /usr/X11R6/include/X11 /usr/include/X11 |
9675 | 150 </screen> |
151 Your distribution may differ from the | |
152 <ulink url="http://www.pathname.com/fhs/">Filesystem Hierarchy Standard</ulink>. | |
153 </para></answer> | |
154 </qandaentry> | |
155 | |
156 <qandaentry> | |
157 <question><para> | |
11540 | 158 I compiled <application>MPlayer</application> with libdvdcss/libdivxdecore support, |
159 but when I try to start it, it says: | |
9675 | 160 <screen> |
161 error while loading shared libraries: lib*.so.0: cannot load shared object file: No such file or directory | |
162 </screen> | |
163 I checked up on the file and it IS there in <filename class="directory">/usr/local/lib</filename> ... | |
164 </para></question> | |
165 <answer><para> | |
166 Add <filename class="directory">/usr/local/lib</filename> to <filename>/etc/ld.so.conf</filename> | |
167 and run <command>ldconfig</command>. | |
168 </para></answer> | |
169 </qandaentry> | |
170 | |
171 <qandaentry> | |
172 <question><para> | |
11540 | 173 <application>MPlayer</application> dies with segmentation fault upon pthread check! |
9675 | 174 </para></question> |
175 <answer><para> | |
176 <command>chmod 644 /usr/lib/libc.so</command> | |
177 </para></answer> | |
178 </qandaentry> | |
179 | |
180 <qandaentry> | |
181 <question><para> | |
182 I'd like to compile <application>MPlayer</application> on Minix! | |
183 </para></question> | |
184 <answer><para> | |
185 Me too. :) | |
186 </para></answer> | |
187 </qandaentry> | |
188 | |
189 </qandadiv> | |
190 | |
191 <qandadiv id="faq-general"> | |
192 <title>General questions</title> | |
10373 | 193 |
9675 | 194 <qandaentry> |
195 <question><para> | |
10373 | 196 Are there any mailing lists on <application>MPlayer</application>? |
9675 | 197 </para></question> |
198 <answer><para> | |
10373 | 199 Yes. See the <link linkend="mailinglists">mailing lists</link> |
200 section. | |
9675 | 201 </para></answer> |
202 </qandaentry> | |
203 | |
204 <qandaentry> | |
205 <question><para> | |
10373 | 206 I've found a nasty bug when I tried to play my favorite video! Who should I inform? |
9675 | 207 </para></question> |
208 <answer><para> | |
10373 | 209 Please read the |
210 <link linkend="bugreports">bug reporting guidelines</link> | |
211 and follow the instructions. | |
9675 | 212 </para></answer> |
213 </qandaentry> | |
214 | |
215 <qandaentry> | |
216 <question><para> | |
10373 | 217 I have problems playing files with the ... codec. Can I use them? |
9675 | 218 </para></question> |
219 <answer><para> | |
15316 | 220 Check the <ulink url="../../codecs-status.html">codec status</ulink>, |
10373 | 221 if it doesn't contain your codec, read the <link linkend="codecs">codec documentation</link>, |
14061 | 222 especially the <link linkend="codec-importing">codec importing HOWTO</link> and contact us. |
9675 | 223 </para></answer> |
224 </qandaentry> | |
225 | |
226 <qandaentry> | |
227 <question><para> | |
10373 | 228 When I start playing, I get this message but everything seems fine: |
229 <screen>Linux RTC init: ioctl (rtc_pie_on): Permission denied</screen> | |
9675 | 230 </para></question> |
231 <answer><para> | |
10373 | 232 You need root privileges or a specially set up kernel to use the new timing |
11483 | 233 code. For details see the <link linkend="rtc">RTC</link> section of the documentation. |
9675 | 234 </para></answer> |
235 </qandaentry> | |
236 | |
237 <qandaentry> | |
238 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
239 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
|
240 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
241 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
242 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
|
243 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
|
244 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
|
245 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
246 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
247 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
248 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
249 <question><para> |
9675 | 250 The <option>-xy</option> or <option>-fs</option> option doesn't work with |
251 the x11 driver (<option>-vo x11</option>) ... | |
252 </para></question> | |
253 <answer><para> | |
254 It does, but you have to explicitly specify software scaling (very slow) with the | |
255 <option>-zoom</option> option. You better use XF86VidMode support: You must | |
256 specify the <option>-vm</option> and the <option>-fs</option> option, and you're | |
257 done. Make sure you have the right modelines in your <filename>XF86Config</filename> | |
258 file, and try to make the <link linkend="dga">DGA driver</link> and | |
259 <link linkend="sdl">SDL's DGA driver</link> work for you. It's much | |
260 faster. If SDL's DGA works, use that, it'll be even faster. | |
261 </para></answer> | |
262 </qandaentry> | |
263 | |
264 <qandaentry> | |
265 <question><para> | |
266 What is the meaning of the numbers on the status line? | |
267 </para></question> | |
268 <answer><para> | |
269 Example: | |
270 <screen>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%</screen> | |
271 <itemizedlist> | |
272 <listitem><para>A: audio position in seconds</para></listitem> | |
273 <listitem><para>V: video position in seconds</para></listitem> | |
274 <listitem><para>A-V: audio-video difference in seconds (delay)</para></listitem> | |
275 <listitem><para>ct: total A-V sync correction done</para></listitem> | |
276 <listitem><para>frames played (counting from last seek)</para></listitem> | |
277 <listitem><para>frames decoded (counting from last seek)</para></listitem> | |
12348 | 278 <listitem><para>video codec CPU usage in percent (for slices and DR this includes |
9675 | 279 video_out)</para></listitem> |
12348 | 280 <listitem><para>video_out CPU usage</para></listitem> |
281 <listitem><para>audio codec CPU usage in percent</para></listitem> | |
9675 | 282 <listitem><para>frames needed to drop to maintain A-V sync</para></listitem> |
283 <listitem><para>current level of image postprocessing (when using | |
284 <option>-autoq</option>)</para></listitem> | |
285 <listitem><para>current cache size used (around 50% is normal)</para></listitem> | |
13947 | 286 <listitem><para>playback speed as a factor of original speed</para></listitem> |
9675 | 287 </itemizedlist> |
288 Most of them are for debug purposes and will be removed at some point. | |
289 </para></answer> | |
290 </qandaentry> | |
291 | |
292 <qandaentry> | |
293 <question><para> | |
294 What if I don't want them to appear? | |
295 </para></question> | |
296 <answer><para> | |
297 Use the <option>-quiet</option> option and read the man page. | |
298 </para></answer> | |
299 </qandaentry> | |
300 | |
301 <qandaentry> | |
302 <question><para> | |
12348 | 303 Why is video_out CPU usage zero (0%) for some files? |
9675 | 304 </para></question> |
305 <answer><para> | |
306 It's not zero, but it's called from the codec and thus cannot be measured | |
307 separately. You should try to play the file using <option>-vo null</option> and | |
308 then <option>-vo ...</option> and check the difference to see the video_out speed. | |
309 </para></answer> | |
310 <answer><para> | |
311 You are using Direct Rendering, where the codec renders to the video memory | |
312 itself. In this case, the decoding percentage contains the display percentage, too. | |
313 </para></answer> | |
314 </qandaentry> | |
315 | |
316 <qandaentry> | |
317 <question><para> | |
10185
d927b21b57c1
/usr/local/lib/codecs is now the default codecs directory.
diego
parents:
10042
diff
changeset
|
318 There are error messages about file not found <filename>/usr/local/lib/codecs/</filename> ... |
9675 | 319 </para></question> |
320 <answer><para> | |
15711
e807a82eeb06
Win32 codecs --> binary codecs, references to avifile are pointless nowadays.
diego
parents:
15493
diff
changeset
|
321 Download the binary codecs from our |
9675 | 322 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</ulink> |
15711
e807a82eeb06
Win32 codecs --> binary codecs, references to avifile are pointless nowadays.
diego
parents:
15493
diff
changeset
|
323 and install it. |
9675 | 324 </para></answer> |
325 </qandaentry> | |
326 | |
327 <qandaentry> | |
328 <question><para> | |
329 Umm, what is "IdegCounter"? | |
330 </para></question> | |
331 <answer><para> | |
332 A combination of a Hungarian and an English word. "Ideg" in Hungarian | |
11400
0180e49c3b71
Missing & + quotes should be entities, pointed out by
diego
parents:
11364
diff
changeset
|
333 means the same as "nerve" in English, and is pronounced as something like |
0180e49c3b71
Missing & + quotes should be entities, pointed out by
diego
parents:
11364
diff
changeset
|
334 "ydaegh". It was first used to measure the nervousness of A'rpi, after |
9675 | 335 some (umm) "mysterious" disappearance of CVS code ;) |
336 </para></answer> | |
337 </qandaentry> | |
338 | |
339 <qandaentry> | |
340 <question><para> | |
10042 | 341 And what is "Faszom(C)ounter"? |
9675 | 342 </para></question> |
343 <answer><para> | |
344 "Fasz" is a Hungarian word you don't want to know, the others are | |
11540 | 345 connected to the perverted minds of the <application>MPlayer</application> developers. |
9675 | 346 </para></answer> |
347 </qandaentry> | |
348 | |
349 <qandaentry> | |
350 <question><para> | |
351 Subtitles are very nice, the most beautiful I've ever seen, but they | |
352 slow down playing! I know it's unlikely ... | |
353 </para></question> | |
354 <answer><para> | |
355 After running <filename>./configure</filename>, edit <filename>config.h</filename> | |
356 and replace <systemitem>#undef FAST_OSD</systemitem> with | |
357 <systemitem>#define FAST_OSD</systemitem>. Then recompile. | |
358 </para></answer> | |
359 </qandaentry> | |
360 | |
361 <qandaentry> | |
362 <question><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
363 What exactly is this <systemitem class="library">libavcodec</systemitem> thing? |
9675 | 364 </para></question> |
365 <answer><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
366 See the |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
367 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
368 section. |
9675 | 369 </para></answer> |
370 </qandaentry> | |
371 | |
372 <qandaentry> | |
373 <question><para> | |
11532 | 374 But configure tells me |
375 <screen>Checking for libavcodec ... no</screen> | |
9675 | 376 </para></question> |
377 <answer><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
378 You need to get <systemitem class="library">libavcodec</systemitem> from |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
379 FFmpeg's CVS. Read the instructions in the |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
380 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
381 section. |
9675 | 382 </para></answer> |
383 </qandaentry> | |
384 | |
385 <qandaentry> | |
386 <question><para> | |
10042 | 387 I can't access the GUI menu. I press right click, but I can't |
388 access any menu items! | |
389 </para></question> | |
390 <answer><para> | |
391 Are you using FVWM? Try the following: | |
392 <orderedlist> | |
393 <listitem><para>Start -> Settings -> Configuration -> Base Configuration</para></listitem> | |
11532 | 394 <listitem><para>Set <systemitem>Use Applications position hints</systemitem> |
395 to <systemitem>Yes</systemitem></para></listitem> | |
10042 | 396 </orderedlist> |
397 </para></answer> | |
398 </qandaentry> | |
399 | |
400 <qandaentry> | |
401 <question><para> | |
11540 | 402 How can I run <application>MPlayer</application> in the background? |
9675 | 403 </para></question> |
404 <answer><para> | |
405 Use: | |
406 <screen>mplayer <replaceable>options</replaceable> <replaceable>filename</replaceable> < /dev/null &</screen> | |
407 </para></answer> | |
408 </qandaentry> | |
409 </qandadiv> | |
410 | |
411 <qandadiv id="faq-playback"> | |
412 <title>Playback problems</title> | |
10490 | 413 |
414 <qandaentry> | |
415 <question><para> | |
14995 | 416 I cannot pinpoint the cause of some strange playback problem. |
417 </para></question> | |
418 <answer><para> | |
419 Do you have a stray <filename>codecs.conf</filename> file in | |
420 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
421 <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
|
422 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
|
423 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
|
424 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
|
425 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
|
426 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
|
427 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
|
428 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
|
429 system, you should remove it now. |
14995 | 430 </para></answer> |
431 </qandaentry> | |
432 | |
433 <qandaentry> | |
434 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
435 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
|
436 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
437 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
438 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
|
439 (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
|
440 (subtitle language), for example: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
441 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
442 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
|
443 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
|
444 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
445 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
|
446 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
447 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
|
448 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
|
449 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
450 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
451 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
452 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
453 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
454 <question><para> |
12437 | 455 I'm trying to play a random stream off the internet but it fails. |
456 </para></question> | |
457 <answer><para> | |
458 Try playing the stream with the <option>-playlist</option> option. | |
459 </para></answer> | |
460 </qandaentry> | |
461 | |
462 <qandaentry> | |
463 <question><para> | |
12323 | 464 I downloaded a movie off a P2P network and it doesn't work! |
465 </para></question> | |
466 <answer><para> | |
467 Your file is most probably broken or a fake file. If you got it from | |
468 a friend, and he says it works, try comparing | |
469 <application>md5sum</application> hashes. | |
470 </para></answer> | |
471 </qandaentry> | |
472 | |
473 <qandaentry> | |
474 <question><para> | |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
475 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
|
476 open a video file it causes a fatal error: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
477 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
478 Error opening/initializing the selected video_out (-vo) device. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
479 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
480 How can I solve my problem? |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
481 </para></question> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
482 <answer><para> |
12348 | 483 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
|
484 a list of available video output drivers: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
485 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
486 mplayer -vo help |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
487 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
488 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
|
489 your configuration file. Add |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
490 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
491 vo = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
492 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
493 to <filename>~/.mplayer/config</filename> and/or |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
494 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
495 vo_driver = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
496 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
497 to <filename>~/.mplayer/gui.conf</filename>. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
498 </para></answer> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
499 </qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
500 |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
501 <qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
502 <question><para> |
12323 | 503 I'm having trouble getting my subtitles to display, help!! |
504 </para></question> | |
505 <answer><para> | |
506 Make sure you have installed fonts properly. Run through the steps in the | |
507 <link linkend="mpsub-install">OSD and subtitle</link> part of the installation | |
508 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
|
509 <systemitem class="library">FreeType</systemitem> library installed. |
12323 | 510 Other things include checking your subtitles in a text editor or with other |
511 players. Also try converting them to another format. | |
512 </para></answer> | |
513 </qandaentry> | |
514 | |
515 <qandaentry> | |
516 <question><para> | |
12026 | 517 Why doesn't <application>MPlayer</application> work on Fedora Core? |
518 </para></question> | |
519 <answer><para> | |
520 There is a bad interaction on Fedora between exec-shield, | |
521 prelink, and any applications which use Windows DLLs | |
522 (such as <application>MPlayer</application>). | |
523 </para> | |
524 <para> | |
525 The problem is that exec-shield randomizes the load addresses of all the | |
526 system libraries. This randomization happens at prelink time (once every | |
527 two weeks). | |
528 </para> | |
529 <para> | |
530 When <application>MPlayer</application> tries to load a Windows DLL it | |
531 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
|
532 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
|
533 will crash. |
12026 | 534 (A typical symptom would be a segmentation fault when trying |
535 to play Windows Media 9 files.) | |
536 </para> | |
537 <para> | |
538 If you run into this problem you have two options: | |
539 <itemizedlist> | |
540 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
541 <listitem><para>Relink all the binaries on the system with different | |
542 prelink options. Here are step by step instructions:</para> | |
543 <para> | |
544 <orderedlist> | |
545 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
546 <para> | |
547 <programlisting> | |
548 PRELINK_OPTS=-mR | |
549 </programlisting> | |
550 </para> | |
551 <para> | |
552 to | |
553 <programlisting> | |
554 PRELINK_OPTS="-mR --no-exec-shield" | |
555 </programlisting> | |
556 </para> | |
557 </listitem> | |
558 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
559 <listitem><para><command>/etc/cron.daily/prelink</command> | |
560 (This relinks all the applications, and it takes | |
561 quite a while.)</para></listitem> | |
562 <listitem> | |
563 <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
|
564 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 565 </para> |
566 </listitem> | |
567 </orderedlist> | |
568 </para> | |
569 </listitem> | |
570 </itemizedlist> | |
571 </para></answer> | |
572 </qandaentry> | |
573 | |
574 <qandaentry> | |
575 <question><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
576 ... works with <application>xine/vlc/...</application> but doesn't with |
10042 | 577 <application>MPlayer</application>. |
9675 | 578 </para></question> |
579 <answer><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
580 <application>MPlayer</application> is not <application>xine/vlc/...</application>. |
10373 | 581 Although these players have some code in common, the codecs (DLL) set, |
582 synchronization, demultiplexing etc is different and should not be | |
583 compared. If you have a file <application>MPlayer</application> fails to | |
584 play correctly but works in another player, please read the | |
585 <link linkend="bugreports">bug reporting guidelines</link> and upload | |
586 the file to our FTP server. | |
9675 | 587 </para></answer> |
588 </qandaentry> | |
10373 | 589 |
9675 | 590 <qandaentry> |
591 <question><para> | |
592 Audio goes out of sync playing an AVI file. | |
593 </para></question> | |
594 <answer><para> | |
595 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
|
596 improve, read the |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
597 <link linkend="bugreports">bug reporting guidelines</link> |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
598 and upload the file to FTP. |
9675 | 599 </para></answer> |
600 </qandaentry> | |
10373 | 601 |
9675 | 602 <qandaentry> |
603 <question><para> | |
12348 | 604 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound |
9675 | 605 too slow. When I use <option>-nosound</option> option, everything is OK (but quiet). |
606 </para></question> | |
607 <answer><para> | |
12348 | 608 Your machine is too slow or your sound card driver is broken. Consult the |
9675 | 609 documentation to see if you can improve performance. |
610 </para></answer> | |
611 </qandaentry> | |
10373 | 612 |
9675 | 613 <qandaentry> |
614 <question><para> | |
11532 | 615 <application>MPlayer</application> dies with |
616 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 617 </para></question> |
618 <answer><para> | |
11540 | 619 Try running <application>MPlayer</application> on the machine you compiled on. |
620 Or recompile with runtime CPU detection | |
621 (<command>./configure --enable-runtime-cpudetection</command>). | |
622 Don't use <application>MPlayer</application> on a CPU different from the one | |
623 it was compiled on, without using the feature mentioned just now. | |
9675 | 624 </para></answer> |
625 </qandaentry> | |
10373 | 626 |
9675 | 627 <qandaentry> |
628 <question><para> | |
629 I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... | |
630 </para></question> | |
631 <answer><para> | |
632 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us | |
633 a proper bug report. | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
634 Also try experimenting with the <option>-fstype</option> option. |
9675 | 635 </para></answer> |
636 </qandaentry> | |
10373 | 637 |
9675 | 638 <qandaentry> |
639 <question><para> | |
640 When starting <application>MPlayer</application> under KDE I just get a black | |
641 screen and nothing happens. After about one minute the video starts playing. | |
642 </para></question> | |
643 <answer><para> | |
644 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 645 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 646 arts sound, specify audio output via our native arts audio driver |
647 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
648 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 649 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 650 </para></answer> |
651 </qandaentry> | |
10373 | 652 |
9675 | 653 <qandaentry> |
654 <question><para> | |
655 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
656 crashes with the following message: | |
657 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
658 </para></question> | |
659 <answer><para> | |
660 This can have multiple reasons. | |
661 <itemizedlist> | |
662 <listitem><para> | |
663 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 664 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 665 dropped frames counter goes up fast). |
666 </para></listitem> | |
667 <listitem><para> | |
668 If it is an AVI, maybe it has bad interleaving. Try the <option>-ni</option> option. | |
669 </para></listitem> | |
670 <listitem><para> | |
671 Your sound driver is buggy, or you use ALSA 0.5 with <option>-ao oss</option>. | |
13912
c66b1514ce5b
Remove pointless devices section, make video and audio top level sections.
diego
parents:
13766
diff
changeset
|
672 See the <link linkend="audio">sound card section</link>. |
9675 | 673 </para></listitem> |
674 <listitem><para> | |
675 The AVI has a bad header, try the <option>-nobps</option> option, and/or <option>-mc 0</option>. | |
676 </para></listitem> | |
677 </itemizedlist> | |
678 </para></answer> | |
679 </qandaentry> | |
10373 | 680 |
9675 | 681 <qandaentry> |
682 <question><para> | |
683 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
684 applications. | |
685 </para></question> | |
686 <answer><para> | |
12348 | 687 Your card probably reports some colorspaces as supported when in fact |
688 it does not support them. Try with YUY2 instead of the | |
10373 | 689 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 690 </para></answer> |
691 </qandaentry> | |
10373 | 692 |
9675 | 693 <qandaentry> |
694 <question><para> | |
695 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
696 </para></question> | |
697 <answer><para> | |
698 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
|
699 try to play a file which has 22050Hz audio. Try the resample audio filter. |
9675 | 700 </para></answer> |
701 </qandaentry> | |
10373 | 702 |
9675 | 703 <qandaentry> |
704 <question><para> | |
705 I get very strange percentage values (way too big) while playing files on my notebook. | |
706 </para></question> | |
707 <answer><para> | |
708 It's an effect of the power management / power saving system of your notebook | |
10042 | 709 (BIOS, not kernel). Plug the external power connector in |
710 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
711 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
712 (a SpeedStep interface for Linux) helps you. | |
9675 | 713 </para></answer> |
714 </qandaentry> | |
10373 | 715 |
9675 | 716 <qandaentry> |
717 <question><para> | |
718 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
719 as root on my notebook. It works normal when i run it as a user. | |
720 </para></question> | |
721 <answer><para> | |
722 This is again a power management effect (see above). Plug the external power | |
723 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
724 or use the <option>-nortc</option> option. | |
725 </para></answer> | |
726 </qandaentry> | |
10373 | 727 |
728 <qandaentry> | |
9722 | 729 <question><para> |
10042 | 730 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 731 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
732 </para></question> | |
733 <answer><para> | |
10042 | 734 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 735 Try <option>-nocache</option>. |
736 </para></answer> | |
737 </qandaentry> | |
15835 | 738 </qandadiv> |
11124 | 739 |
9675 | 740 <qandadiv id="faq-driver"> |
741 <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
|
742 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
743 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
744 <question><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
745 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
|
746 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
747 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
748 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
749 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
750 <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
|
751 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
|
752 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
753 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
754 |
9675 | 755 <qandaentry> |
756 <question><para> | |
757 I have no sound when playing a video and get error messages similar to this one: | |
758 <screen> | |
759 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
760 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
761 couldn't open/init audio device -> NOSOUND | |
762 Audio: no sound!!! | |
763 Start playing... | |
764 </screen> | |
765 </para></question> | |
766 <answer><para> | |
767 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
768 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 769 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
|
770 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
|
771 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
|
772 directly use the ALSA audio output driver. |
9675 | 773 </para></answer> |
774 </qandaentry> | |
10373 | 775 |
9675 | 776 <qandaentry> |
777 <question><para> | |
778 OpenGL (<option>-vo gl</option>) output doesn't work (hang/black window/X11 | |
779 errors/...). | |
780 </para></question> | |
781 <answer><para> | |
782 Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). | |
783 It's known not to work with nVidia's binary mess. It's known to work with | |
784 Utah-GLX/DRI and Matrox G400 cards. Also with DRI and Radeon cards. It won't | |
785 work with DRI and other cards. it will not work with 3DFX cards because of | |
786 the 256x256 texture size limit. | |
787 </para></answer> | |
788 </qandaentry> | |
789 </qandadiv> | |
790 | |
791 <qandadiv id="faq-dvd"> | |
792 <title>DVD playback</title> | |
793 <qandaentry> | |
794 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
795 What about DVD navigation/menus? |
9675 | 796 </para></question> |
797 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
798 <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
|
799 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
|
800 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
|
801 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
|
802 <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
|
803 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
|
804 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
|
805 undertaking. |
9675 | 806 </para></answer> |
807 </qandaentry> | |
10373 | 808 |
9675 | 809 <qandaentry> |
810 <question><para> | |
11540 | 811 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 812 </para></question> |
813 <answer><para> | |
10373 | 814 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 815 </para></answer> |
816 </qandaentry> | |
10373 | 817 |
9675 | 818 <qandaentry> |
819 <question><para> | |
820 How can I set the region code of my DVD-drive? I don't have Windows! | |
821 </para></question> | |
822 <answer><para> | |
14113 | 823 Use the <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. |
9675 | 824 </para></answer> |
825 </qandaentry> | |
10373 | 826 |
9675 | 827 <qandaentry> |
828 <question><para> | |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
829 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 830 </para></question> |
831 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
832 No. However you must have the proper rights |
9675 | 833 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
834 </para></answer> | |
835 </qandaentry> | |
10373 | 836 |
9675 | 837 <qandaentry> |
838 <question><para> | |
839 Where can I get libdvdread and libdvdcss packages? | |
840 </para></question> | |
841 <answer><para> | |
842 You don't need to. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is | |
11540 | 843 present in the <application>MPlayer</application> source, and used by default. |
844 You can get the mentioned packages from the | |
845 <ulink url="http://www.dtek.chalmers.se/groups/dvd/">Ogle site</ulink>. | |
9675 | 846 </para></answer> |
847 </qandaentry> | |
10373 | 848 |
9675 | 849 <qandaentry> |
850 <question><para> | |
851 Is it possible to play/encode only selected chapters? | |
852 </para></question> | |
853 <answer><para> | |
854 Yes, try the <option>-chapter</option> option. | |
855 </para></answer> | |
856 </qandaentry> | |
10373 | 857 |
9675 | 858 <qandaentry> |
859 <question><para> | |
860 My DVD playback is sluggish! | |
861 </para></question> | |
862 <answer><para> | |
863 Use the <option>-cache</option> option (described in the man page) and try | |
864 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 865 in the <link linkend="drives">CD chapter</link>). |
9675 | 866 </para></answer> |
867 </qandaentry> | |
13511 | 868 |
869 <qandaentry> | |
870 <question><para> | |
871 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
872 </para></question> | |
873 <answer><para> | |
874 Use the <option>-dvd-device</option> option to refer to the directory | |
875 that contains the files: | |
876 <screen> | |
877 mplayer dvd://1 -dvd-device /path/to/directory | |
878 </screen> | |
879 </para></answer> | |
880 </qandaentry> | |
9675 | 881 </qandadiv> |
882 | |
883 <qandadiv id="faq-features"> | |
884 <title>Feature requests</title> | |
885 <qandaentry> | |
886 <question><para> | |
11540 | 887 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
888 <application>MPlayer</application> ceases to be paused. I would like to be able | |
889 to seek in the paused movie. | |
9675 | 890 </para></question> |
891 <answer><para> | |
892 This is very tricky to implement without losing A/V synchronization. | |
893 All attempts have failed so far, but patches are welcome. | |
894 </para></answer> | |
895 </qandaentry> | |
10373 | 896 |
9675 | 897 <qandaentry> |
898 <question><para> | |
899 I'd like to seek +/- 1 frames instead of 10 seconds. | |
900 </para></question> | |
901 <answer><para> | |
14312 | 902 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 903 If the movie was not paused it will be paused afterwards |
904 (see the man page for details). | |
14309 | 905 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 906 </para></answer> |
907 </qandaentry> | |
10373 | 908 |
9675 | 909 <qandaentry> |
910 <question><para> | |
11540 | 911 How can I make <application>MPlayer</application> remember the options I use |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
912 for a particular file, e.g. <filename>movie.avi</filename>? |
9675 | 913 </para></question> |
914 <answer><para> | |
915 Create a file named <filename>movie.avi.conf</filename> with the file-specific | |
916 options in it and put it in <filename class="directory">~/.mplayer</filename> or | |
917 in the same directory as the file. | |
918 </para></answer> | |
919 </qandaentry> | |
920 </qandadiv> | |
921 | |
922 <qandadiv id="faq-encoding"> | |
923 <title>Encoding</title> | |
924 <qandaentry> | |
925 <question><para> | |
10042 | 926 How can I encode? |
927 </para></question> | |
928 <answer><para> | |
11540 | 929 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
930 section. | |
10042 | 931 </para></answer> |
932 </qandaentry> | |
10373 | 933 |
10042 | 934 <qandaentry> |
935 <question><para> | |
15493 | 936 How can I dump a full DVD title into a file? |
15430 | 937 </para></question> |
938 <answer><para> | |
15493 | 939 Once you have selected your title, and made sure it plays fine with |
940 <application>MPlayer</application>, use the option <option>-dumpstream</option>. | |
15430 | 941 For example: |
942 <screen> | |
943 mplayer -dumpstream dvd://5 -dumpfile <replaceable>dvd_dump.vob</replaceable> | |
944 </screen> | |
945 will dump the 5th title of the DVD into the file | |
946 <replaceable>dvd_dump.vob</replaceable> | |
947 </para></answer> | |
948 </qandaentry> | |
949 | |
950 <qandaentry> | |
951 <question><para> | |
15830 | 952 How can I create (S)VCDs automatically? |
10042 | 953 </para></question> |
954 <answer><para> | |
955 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
956 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
957 and even burn them directly to CD. | |
958 </para></answer> | |
959 </qandaentry> | |
10373 | 960 |
10042 | 961 <qandaentry> |
962 <question><para> | |
15836 | 963 How can I create (S)VCDs? |
15830 | 964 </para></question> |
965 <answer><para> | |
966 Newer versions of <application>MEncoder</application> can directly | |
15836 | 967 generate MPEG-2 files that can be used as a base to create a VCD or SVCD and |
968 are likely to be playable out of the box on all platforms (for example, | |
15830 | 969 to share a video from a digital camcorder with your computer-illiterate |
970 friends). | |
971 <screen> | |
972 mencoder -of mpeg -oac toolame -toolameopts br=224 -srate 44100 \ | |
973 -af-adv force=1 -ovc lavc -mpegopts format=xsvcd -vf harddup -ofps 25 \ | |
974 -lavcopts vcodec=mpeg2video:mbd=2:keyint=25:vrc_buf_size=917:vrc_minrate=600:vbitrate=2500:vrc_maxrate=2500 \ | |
975 <replaceable>in.avi</replaceable> -o <replaceable>xsvcd.mpg</replaceable> | |
976 </screen> | |
977 This will convert the input file <replaceable>in.avi</replaceable> into | |
978 the output file <replaceable>xsvcd.mpg</replaceable>, converting the | |
979 audio with <systemitem class="library">toolame</systemitem> at 224kbps | |
15836 | 980 and the video with <systemitem class="library">libavcodec</systemitem> |
981 at 2500kbps, making sure the bitrate never goes below 600 and never | |
982 exceeds 2500kbps, in order to respect the (S)VCD norm and ensure an | |
983 smooth playback. | |
15830 | 984 </para><para> |
985 Please note that in order to make the GOP structure SVCD compliant the | |
986 <option>keyint</option> option should be 15 for PAL and 18 for NTSC, | |
987 although very often files with much longer GOPs play correctly (25 should | |
988 never lead to any problem). | |
989 Also, even though leaving out <option>-ofps</option> should work in most | |
15847
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
990 cases (as your source is likely to have the appropriate framerate |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
991 already), PAL requires <option>-ofps</option> 25 and NTSC requires |
15830 | 992 <option>-ofps</option> 30000/1001. |
15847
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
993 What's more, PAL SVCDs only support 480x576 and 352x288 resolutions, |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
994 whereas NTSC only supports 480x480 and 352x240. |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
995 If the source video has a different resolution, then you must rescale |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
996 with the <option>scale</option> video filter, which will make your filter |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
997 chain look like for example <option>-vf scale=480:480,harddup</option> for |
26204cc17ab7
More fixes by the Wanderer and tip about another SVCD constrain suggested by Giacomo Comes
gpoirier
parents:
15836
diff
changeset
|
998 an NTSC SVCD or <option>-vf scale=352:288,harddup</option> for a PAL SVCD. |
15830 | 999 </para><para> |
15836 | 1000 As far as the audio is concerned, SVCD only supports MPEG-1 layer II audio, |
1001 therefore you have to use one of | |
15830 | 1002 <systemitem class="library">toolame</systemitem>, |
1003 <systemitem class="library">twolame</systemitem>, or as a last resort | |
1004 <systemitem class="library">libavcodec</systemitem>'s MPEG-1 layer II | |
1005 encoder (as its quality is far from being as good as the former two | |
1006 libraries). | |
1007 Both <systemitem class="library">toolame</systemitem> and | |
1008 <systemitem class="library">twolame</systemitem> follow the same syntax, | |
1009 so you depending on which one you managed to install, the example only | |
15836 | 1010 requires a small change. If you do need to use |
15830 | 1011 <systemitem class="library">libavcodec</systemitem>'s MPEG-1 layer II |
1012 encoder, replace | |
1013 <screen> | |
1014 -oac toolame -toolameopts br=224 | |
1015 </screen> | |
15836 | 1016 if you use toolame or |
1017 <screen> | |
1018 -oac twolame -twolameopts br=224 | |
1019 </screen> | |
1020 if you use twolame by: | |
15830 | 1021 <screen> |
1022 -oac lavc -lavcopts acodec=mp2:abitrate=224 | |
1023 </screen> | |
1024 </para><para> | |
15836 | 1025 The resulting <replaceable>xsvcd.mpg</replaceable> is an extended |
15830 | 1026 SVCD (that is why it is called xsvcd), mainly because it does not contain |
15836 | 1027 scan offsets. If you need to generate an SVCD image out of it, you |
15830 | 1028 should pass it to |
1029 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>. | |
1030 </para></answer> | |
1031 </qandaentry> | |
1032 | |
1033 <qandaentry> | |
1034 <question><para> | |
10042 | 1035 How can I join two video files? |
1036 </para></question> | |
1037 <answer><para> | |
14975 | 1038 MPEG files can be concatenated into a single file with luck. |
1039 For AVI files, you can use <application>MEncoder</application>'s | |
1040 multiple file support like this: | |
1041 <screen> | |
1042 mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi | |
1043 </screen> | |
1044 This will only work if the files are of the same resolution and codec. | |
1045 You can also try | |
10042 | 1046 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and |
1047 <application>avimerge</application> (part of the | |
14975 | 1048 <ulink url="http://www.transcoding.org/">transcode</ulink> |
1049 tool set). | |
10042 | 1050 </para></answer> |
1051 </qandaentry> | |
10373 | 1052 |
10042 | 1053 <qandaentry> |
1054 <question><para> | |
15130 | 1055 How can I fix AVI files with broken index or interleaving? |
15112
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1056 </para></question> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1057 <answer><para> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1058 Simply copy the video and audio streams into a new file, and |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1059 <application>MEncoder</application> generates the index. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1060 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
|
1061 It also fixes files with broken interleaving, thus the |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1062 <option>-ni</option> option will not be needed for them anymore. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1063 <screen> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1064 mencoder -idx <replaceable>input.avi</replaceable> -ovc copy -oac copy -o <replaceable>output.avi</replaceable> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1065 </screen> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1066 </para></answer> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1067 </qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1068 |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1069 <qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1070 <question><para> |
15253
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1071 How can I fix the aspect ration of an AVI file? |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1072 </para></question> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1073 <answer><para> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1074 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
|
1075 <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
|
1076 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
|
1077 <screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1078 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
|
1079 </screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1080 </para></answer> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1081 </qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1082 |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1083 <qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1084 <question><para> |
9675 | 1085 I can't encode DVD subtitles into the AVI! |
1086 </para></question> | |
1087 <answer><para> | |
1088 You have to specify the <option>-sid</option> option correctly! | |
1089 </para></answer> | |
1090 </qandaentry> | |
10373 | 1091 |
9675 | 1092 <qandaentry> |
1093 <question><para> | |
1094 How can I encode only selected chapters from a DVD? | |
1095 </para></question> | |
1096 <answer><para> | |
1097 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option> | |
1098 </para></answer> | |
1099 </qandaentry> | |
10373 | 1100 |
9675 | 1101 <qandaentry> |
1102 <question><para> | |
1103 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1104 </para></question> | |
1105 <answer><para> | |
1106 No, VFAT doesn't support 2GB+ files. | |
1107 </para></answer> | |
1108 </qandaentry> | |
10373 | 1109 |
9675 | 1110 <qandaentry> |
1111 <question><para> | |
10042 | 1112 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1113 </para></question> |
1114 <answer><para> | |
1115 Because the bitrate you encoded the audio with is too large to fit the | |
1116 movie on any CD. Check if you have libmp3lame installed properly. | |
1117 </para></answer> | |
1118 </qandaentry> | |
10448 | 1119 |
1120 <qandaentry> | |
1121 <question><para> | |
14024 | 1122 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 1123 </para></question> |
1124 <answer><para> | |
12815 | 1125 Because ASF uses variable frame rate but AVI uses a fixed one, you |
10461 | 1126 have to set it by hand using <option>-ofps</option>. |
10448 | 1127 </para></answer> |
1128 </qandaentry> | |
1129 | |
10631 | 1130 |
1131 <qandaentry> | |
1132 <question><para> | |
1133 How can I put subtitles in the output file? | |
1134 </para></question> | |
1135 <answer><para> | |
1136 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 1137 respectively) option to <application>MEncoder</application>. |
10631 | 1138 </para></answer> |
1139 </qandaentry> | |
1140 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1141 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1142 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1143 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1144 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1145 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1146 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
|
1147 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1148 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1149 <screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1150 mkfifo encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1151 mplayer -ao pcm -aofile encode dvd://1 & |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1152 lame <replaceable>your_opts</replaceable> encode music.mp3 |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1153 rm encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1154 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1155 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
|
1156 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
|
1157 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1158 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1159 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1160 |
9675 | 1161 </qandadiv> |
1162 </qandaset> | |
1163 | |
15835 | 1164 </chapter> |