Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 19726:a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
author | diego |
---|---|
date | Thu, 07 Sep 2006 14:03:03 +0000 |
parents | 2e37768bdaa8 |
children | 4c6f19ae1287 |
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 | |
19709 | 28 <ulink url="http://lists.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 | |
17706
83c1acef76d5
New website structure, the /homepage subdirectory is gone.
diego
parents:
17424
diff
changeset
|
39 <ulink url="http://www.mplayerhq.hu/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 | |
19709 | 52 <ulink url="http://lists.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 | |
19709 | 55 <ulink url="http://lists.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 |
16665
dfa3bd6ee92b
Rename compilation section to compilation and installation.
diego
parents:
16658
diff
changeset
|
72 <qandadiv id="faq-compilation-installation"> |
dfa3bd6ee92b
Rename compilation section to compilation and installation.
diego
parents:
16658
diff
changeset
|
73 <title>Compilation and installation</title> |
9675 | 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> | |
18925
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
151 |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
152 |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
153 <qandaentry> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
154 <question><para> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
155 Building on Mac OS 10.3 leads to several link errors</para></question> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
156 <answer><para> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
157 The link error you're experiencing most likely looks like this: |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
158 <screen> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
159 ld: Undefined symbols: |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
160 _LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
161 _LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
162 </screen> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
163 This problem is the result of Apple developers using 10.4 to compile |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
164 their software and distributing the binaries to 10.3 users via |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
165 Software Update. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
166 The undefined symbols are present in Mac OS 10.4, |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
167 but not 10.3. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
168 One solution can be to downgrade to QuickTime 7.0.1. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
169 Here is a better solution. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
170 </para><para> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
171 Get an <ulink url="http://rapidshare.de/files/20281171/CompatFrameworks.tgz.html">older copy of the frameworks</ulink>. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
172 This will give you a compressed file that contains the QuickTime |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
173 7.0.1 Framework and a 10.3.9 QuartzCore Framework. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
174 </para><para> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
175 Uncompress the files somewhere that is not in your System folder. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
176 (i.e. do not install these frameworks into your |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
177 <filename class="directory">/System/Library/Frameworks</filename>! |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
178 Using this older copy is only meant to get around link errors!) |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
179 <screen> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
180 gunzip < CompatFrameworks.tgz | tar xvf - |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
181 </screen> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
182 In config.mak, you should append |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
183 <systemitem>-F/path/to/where/you/extracted</systemitem> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
184 to the <systemitem>OPTFLAGS</systemitem> variable. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
185 If you use <application>X-Code</application>, you can just select these |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
186 frameworks instead of the system ones. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
187 </para><para> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
188 The resulting <application>MPlayer</application> binary will actually |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
189 use the framework that is installed on your system via dynamic links that |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
190 are resolved at run-time. |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
191 (You can verify this using <systemitem>otool -l</systemitem>). |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
192 </para></answer> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
193 </qandaentry> |
7e6f4455b732
Building on Mac OS 10.3 leads to several link errors: this new FAQ entry explains how to overcome this problem
gpoirier
parents:
17706
diff
changeset
|
194 |
9675 | 195 </qandadiv> |
196 | |
197 <qandadiv id="faq-general"> | |
198 <title>General questions</title> | |
10373 | 199 |
9675 | 200 <qandaentry> |
201 <question><para> | |
10373 | 202 Are there any mailing lists on <application>MPlayer</application>? |
9675 | 203 </para></question> |
204 <answer><para> | |
19726
a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
diego
parents:
19713
diff
changeset
|
205 Yes. Look at the |
a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
diego
parents:
19713
diff
changeset
|
206 <ulink url="http://www.mplayerhq.hu/design7/info.html#mailing_lists">mailing lists section</ulink> |
a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
diego
parents:
19713
diff
changeset
|
207 of our homepage. |
9675 | 208 </para></answer> |
209 </qandaentry> | |
210 | |
211 <qandaentry> | |
212 <question><para> | |
10373 | 213 I've found a nasty bug when I tried to play my favorite video! Who should I inform? |
9675 | 214 </para></question> |
215 <answer><para> | |
10373 | 216 Please read the |
217 <link linkend="bugreports">bug reporting guidelines</link> | |
218 and follow the instructions. | |
9675 | 219 </para></answer> |
220 </qandaentry> | |
221 | |
222 <qandaentry> | |
223 <question><para> | |
10373 | 224 I have problems playing files with the ... codec. Can I use them? |
9675 | 225 </para></question> |
226 <answer><para> | |
15316 | 227 Check the <ulink url="../../codecs-status.html">codec status</ulink>, |
10373 | 228 if it doesn't contain your codec, read the <link linkend="codecs">codec documentation</link>, |
14061 | 229 especially the <link linkend="codec-importing">codec importing HOWTO</link> and contact us. |
9675 | 230 </para></answer> |
231 </qandaentry> | |
232 | |
233 <qandaentry> | |
234 <question><para> | |
10373 | 235 When I start playing, I get this message but everything seems fine: |
236 <screen>Linux RTC init: ioctl (rtc_pie_on): Permission denied</screen> | |
9675 | 237 </para></question> |
238 <answer><para> | |
10373 | 239 You need root privileges or a specially set up kernel to use the new timing |
11483 | 240 code. For details see the <link linkend="rtc">RTC</link> section of the documentation. |
9675 | 241 </para></answer> |
242 </qandaentry> | |
243 | |
244 <qandaentry> | |
245 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
246 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
|
247 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
248 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
249 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
|
250 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
|
251 Windows <option>-vo directx:noaccel</option> works. |
16562
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
252 </para> |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
253 <para> |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
254 Alternatively you can run <application>MPlayer</application> with the |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
255 <systemitem>screenshot</systemitem> video filter |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
256 (<option>-vf screenshot</option>), and press the <keycap>s</keycap> |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
257 key to grab a screenshot. |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
258 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
259 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
260 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
261 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
262 <question><para> |
9675 | 263 What is the meaning of the numbers on the status line? |
264 </para></question> | |
265 <answer><para> | |
266 Example: | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
267 <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
|
268 <variablelist> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
269 <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
|
270 <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
|
271 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
272 <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
|
273 <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
|
274 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
275 <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
|
276 <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
|
277 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
278 <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
|
279 <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
|
280 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
281 <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
|
282 <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
|
283 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
284 <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
|
285 <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
|
286 (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
|
287 includes video_out)</para></listitem> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
288 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
289 <varlistentry><term><systemitem>0%</systemitem></term> |
12348 | 290 <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
|
291 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
292 <varlistentry><term><systemitem>2.6%</systemitem></term> |
12348 | 293 <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
|
294 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
295 <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
|
296 <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
|
297 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
298 <varlistentry><term><systemitem>4</systemitem></term> |
9675 | 299 <listitem><para>current level of image postprocessing (when using |
300 <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
|
301 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
302 <varlistentry><term><systemitem>49%</systemitem></term> |
9675 | 303 <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
|
304 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
305 <varlistentry><term><systemitem>1.00x</systemitem></term> |
13947 | 306 <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
|
307 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
308 </variablelist> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
309 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
|
310 option to make them disappear. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
311 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
|
312 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
|
313 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
|
314 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
|
315 your usual video output driver. |
9675 | 316 </para></answer> |
317 </qandaentry> | |
318 | |
319 <qandaentry> | |
320 <question><para> | |
10185
d927b21b57c1
/usr/local/lib/codecs is now the default codecs directory.
diego
parents:
10042
diff
changeset
|
321 There are error messages about file not found <filename>/usr/local/lib/codecs/</filename> ... |
9675 | 322 </para></question> |
323 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
324 Download and install the binary codecs from our |
17706
83c1acef76d5
New website structure, the /homepage subdirectory is gone.
diego
parents:
17424
diff
changeset
|
325 <ulink url="http://www.mplayerhq.hu/design7/codecs.html">codecs page</ulink>. |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
326 </para></answer> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
327 </qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
328 |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
329 <qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
330 <question><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
331 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
|
332 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
|
333 </para></question> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
334 <answer><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
335 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
|
336 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
|
337 or in the same directory as the file. |
9675 | 338 </para></answer> |
339 </qandaentry> | |
340 | |
341 <qandaentry> | |
342 <question><para> | |
343 Subtitles are very nice, the most beautiful I've ever seen, but they | |
344 slow down playing! I know it's unlikely ... | |
345 </para></question> | |
346 <answer><para> | |
347 After running <filename>./configure</filename>, edit <filename>config.h</filename> | |
348 and replace <systemitem>#undef FAST_OSD</systemitem> with | |
349 <systemitem>#define FAST_OSD</systemitem>. Then recompile. | |
350 </para></answer> | |
351 </qandaentry> | |
352 | |
353 <qandaentry> | |
354 <question><para> | |
10042 | 355 I can't access the GUI menu. I press right click, but I can't |
356 access any menu items! | |
357 </para></question> | |
358 <answer><para> | |
359 Are you using FVWM? Try the following: | |
360 <orderedlist> | |
361 <listitem><para>Start -> Settings -> Configuration -> Base Configuration</para></listitem> | |
11532 | 362 <listitem><para>Set <systemitem>Use Applications position hints</systemitem> |
363 to <systemitem>Yes</systemitem></para></listitem> | |
10042 | 364 </orderedlist> |
365 </para></answer> | |
366 </qandaentry> | |
367 | |
368 <qandaentry> | |
369 <question><para> | |
11540 | 370 How can I run <application>MPlayer</application> in the background? |
9675 | 371 </para></question> |
372 <answer><para> | |
373 Use: | |
374 <screen>mplayer <replaceable>options</replaceable> <replaceable>filename</replaceable> < /dev/null &</screen> | |
375 </para></answer> | |
376 </qandaentry> | |
377 </qandadiv> | |
378 | |
379 <qandadiv id="faq-playback"> | |
380 <title>Playback problems</title> | |
10490 | 381 |
382 <qandaentry> | |
383 <question><para> | |
14995 | 384 I cannot pinpoint the cause of some strange playback problem. |
385 </para></question> | |
386 <answer><para> | |
387 Do you have a stray <filename>codecs.conf</filename> file in | |
388 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
389 <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
|
390 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
|
391 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
|
392 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
|
393 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
|
394 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
|
395 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
|
396 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
|
397 system, you should remove it now. |
14995 | 398 </para></answer> |
399 </qandaentry> | |
400 | |
401 <qandaentry> | |
402 <question><para> | |
16821 | 403 How can I get subtitles to appear on the black margins around a movie? |
404 </para></question> | |
405 <answer><para> | |
406 Use the <systemitem>expand</systemitem> video filter to increase the | |
407 area onto which the movie is rendered vertically and place the movie | |
408 at the top border, for example: | |
409 <screen> | |
410 mplayer -vf expand=0:-100:0:0 -slang de dvd://1 | |
411 </screen> | |
412 </para></answer> | |
413 </qandaentry> | |
414 <qandaentry> | |
415 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
416 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
|
417 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
418 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
419 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
|
420 (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
|
421 (subtitle language), for example: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
422 <screen> |
16822
7fba58dee6c7
Add a few more XML tags for better semantics markup.
diego
parents:
16821
diff
changeset
|
423 mplayer -alang eng -slang eng <replaceable>example.mkv</replaceable> |
7fba58dee6c7
Add a few more XML tags for better semantics markup.
diego
parents:
16821
diff
changeset
|
424 mplayer -aid 1 -sid 1 <replaceable>example.mkv</replaceable> |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
425 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
426 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
|
427 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
428 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
|
429 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
|
430 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
431 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
432 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
433 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
434 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
435 <question><para> |
12437 | 436 I'm trying to play a random stream off the internet but it fails. |
437 </para></question> | |
438 <answer><para> | |
439 Try playing the stream with the <option>-playlist</option> option. | |
440 </para></answer> | |
441 </qandaentry> | |
442 | |
443 <qandaentry> | |
444 <question><para> | |
12323 | 445 I downloaded a movie off a P2P network and it doesn't work! |
446 </para></question> | |
447 <answer><para> | |
448 Your file is most probably broken or a fake file. If you got it from | |
449 a friend, and he says it works, try comparing | |
450 <application>md5sum</application> hashes. | |
451 </para></answer> | |
452 </qandaentry> | |
453 | |
454 <qandaentry> | |
455 <question><para> | |
456 I'm having trouble getting my subtitles to display, help!! | |
457 </para></question> | |
458 <answer><para> | |
459 Make sure you have installed fonts properly. Run through the steps in the | |
460 <link linkend="mpsub-install">OSD and subtitle</link> part of the installation | |
461 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
|
462 <systemitem class="library">FreeType</systemitem> library installed. |
12323 | 463 Other things include checking your subtitles in a text editor or with other |
464 players. Also try converting them to another format. | |
465 </para></answer> | |
466 </qandaentry> | |
467 | |
468 <qandaentry> | |
469 <question><para> | |
12026 | 470 Why doesn't <application>MPlayer</application> work on Fedora Core? |
471 </para></question> | |
472 <answer><para> | |
473 There is a bad interaction on Fedora between exec-shield, | |
474 prelink, and any applications which use Windows DLLs | |
475 (such as <application>MPlayer</application>). | |
476 </para> | |
477 <para> | |
478 The problem is that exec-shield randomizes the load addresses of all the | |
479 system libraries. This randomization happens at prelink time (once every | |
480 two weeks). | |
481 </para> | |
482 <para> | |
483 When <application>MPlayer</application> tries to load a Windows DLL it | |
484 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
|
485 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
|
486 will crash. |
12026 | 487 (A typical symptom would be a segmentation fault when trying |
488 to play Windows Media 9 files.) | |
489 </para> | |
490 <para> | |
491 If you run into this problem you have two options: | |
492 <itemizedlist> | |
493 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
494 <listitem><para>Relink all the binaries on the system with different | |
495 prelink options. Here are step by step instructions:</para> | |
496 <para> | |
497 <orderedlist> | |
498 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
499 <para> | |
500 <programlisting> | |
501 PRELINK_OPTS=-mR | |
502 </programlisting> | |
503 </para> | |
504 <para> | |
505 to | |
506 <programlisting> | |
507 PRELINK_OPTS="-mR --no-exec-shield" | |
508 </programlisting> | |
509 </para> | |
510 </listitem> | |
511 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
512 <listitem><para><command>/etc/cron.daily/prelink</command> | |
513 (This relinks all the applications, and it takes | |
514 quite a while.)</para></listitem> | |
515 <listitem> | |
516 <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
|
517 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 518 </para> |
519 </listitem> | |
520 </orderedlist> | |
521 </para> | |
522 </listitem> | |
523 </itemizedlist> | |
524 </para></answer> | |
525 </qandaentry> | |
526 | |
527 <qandaentry> | |
528 <question><para> | |
11532 | 529 <application>MPlayer</application> dies with |
530 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 531 </para></question> |
532 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
533 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
|
534 it was compiled on or recompile with runtime CPU detection |
11540 | 535 (<command>./configure --enable-runtime-cpudetection</command>). |
9675 | 536 </para></answer> |
537 </qandaentry> | |
10373 | 538 |
9675 | 539 <qandaentry> |
540 <question><para> | |
541 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
542 applications. | |
543 </para></question> | |
544 <answer><para> | |
12348 | 545 Your card probably reports some colorspaces as supported when in fact |
546 it does not support them. Try with YUY2 instead of the | |
10373 | 547 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 548 </para></answer> |
549 </qandaentry> | |
10373 | 550 |
9675 | 551 <qandaentry> |
552 <question><para> | |
553 I get very strange percentage values (way too big) while playing files on my notebook. | |
554 </para></question> | |
555 <answer><para> | |
556 It's an effect of the power management / power saving system of your notebook | |
10042 | 557 (BIOS, not kernel). Plug the external power connector in |
558 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
19713 | 559 try whether <ulink url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufreq.html/">cpufreq</ulink> |
10042 | 560 (a SpeedStep interface for Linux) helps you. |
9675 | 561 </para></answer> |
562 </qandaentry> | |
10373 | 563 |
9675 | 564 <qandaentry> |
565 <question><para> | |
566 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
567 as root on my notebook. It works normal when i run it as a user. | |
568 </para></question> | |
569 <answer><para> | |
570 This is again a power management effect (see above). Plug the external power | |
571 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
572 or use the <option>-nortc</option> option. | |
573 </para></answer> | |
574 </qandaentry> | |
10373 | 575 |
576 <qandaentry> | |
9722 | 577 <question><para> |
10042 | 578 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 579 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
580 </para></question> | |
581 <answer><para> | |
10042 | 582 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 583 Try <option>-nocache</option>. |
584 </para></answer> | |
585 </qandaentry> | |
15835 | 586 </qandadiv> |
11124 | 587 |
9675 | 588 <qandadiv id="faq-driver"> |
589 <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
|
590 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
591 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
592 <question><para> |
16007
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
593 When I go into fullscreen mode I just get black borders around the image |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
594 and no real scaling to fullscreen mode. |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
595 </para></question> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
596 <answer><para> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
597 Your video output driver does not support scaling in hardware and since |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
598 scaling in software can be incredibly slow <application>MPlayer</application> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
599 does not automatically enable it. Most likely you are using the |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
600 <systemitem>x11</systemitem> instead of the <systemitem>xv</systemitem> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
601 video output driver. Try adding <option>-vo xv</option> to the command |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
602 line or read the <link linkend="video">video section</link> to find out |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
603 about alternative video output drivers. The <option>-zoom</option> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
604 option explicitly enables software scaling. |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
605 </para></answer> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
606 </qandaentry> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
607 |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
608 <qandaentry> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
609 <question><para> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
610 I've just installed <application>MPlayer</application>. When I want to |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
611 open a video file it causes a fatal error: |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
612 <screen> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
613 Error opening/initializing the selected video_out (-vo) device. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
614 </screen> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
615 How can I solve my problem? |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
616 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
617 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
618 Just change your video output device. Issue the following command to get |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
619 a list of available video output drivers: |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
620 <screen> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
621 mplayer -vo help |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
622 </screen> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
623 After you've chosen the correct video output driver, add it to |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
624 your configuration file. Add |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
625 <programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
626 vo = <replaceable>selected_vo</replaceable> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
627 </programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
628 to <filename>~/.mplayer/config</filename> and/or |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
629 <programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
630 vo_driver = <replaceable>selected_vo</replaceable> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
631 </programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
632 to <filename>~/.mplayer/gui.conf</filename>. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
633 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
634 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
635 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
636 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
637 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
638 I have problems with <replaceable>[your window manager]</replaceable> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
639 and fullscreen xv/xmga/sdl/x11 modes ... |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
640 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
641 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
642 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
643 a proper bug report. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
644 Also try experimenting with the <option>-fstype</option> option. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
645 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
646 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
647 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
648 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
649 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
650 Audio goes out of sync playing an AVI file. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
651 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
652 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
653 Try the <option>-bps</option> or <option>-nobps</option> option. If it does not |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
654 improve, read the |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
655 <link linkend="bugreports">bug reporting guidelines</link> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
656 and upload the file to FTP. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
657 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
658 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
659 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
660 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
661 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
662 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
663 too slow. When I use the <option>-nosound</option> option, everything is OK (but quiet). |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
664 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
665 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
666 Your machine is too slow or your sound card driver is broken. Consult the |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
667 documentation to see if you can improve performance. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
668 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
669 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
670 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
671 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
672 <question><para> |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
673 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
|
674 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
675 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
676 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
677 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
678 <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
|
679 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
|
680 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
681 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
682 |
9675 | 683 <qandaentry> |
684 <question><para> | |
685 I have no sound when playing a video and get error messages similar to this one: | |
686 <screen> | |
687 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
688 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
689 couldn't open/init audio device -> NOSOUND | |
690 Audio: no sound!!! | |
691 Start playing... | |
692 </screen> | |
693 </para></question> | |
694 <answer><para> | |
16341 | 695 Are you running KDE or GNOME with the aRts or ESD sound daemon? Try disabling |
9675 | 696 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> |
16341 | 697 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
|
698 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
|
699 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
|
700 directly use the ALSA audio output driver. |
9675 | 701 </para></answer> |
702 </qandaentry> | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
703 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
704 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
705 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
706 When starting <application>MPlayer</application> under KDE I just get a black |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
707 screen and nothing happens. After about one minute the video starts playing. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
708 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
709 <answer><para> |
16341 | 710 The KDE aRts sound daemon is blocking the sound device. Either wait until the |
711 video starts or disable the aRts daemon in control center. If you want to use | |
712 aRts sound, specify audio output via our native aRts audio driver | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
713 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL |
16341 | 714 (<option>-ao sdl</option>) and make sure your SDL can handle aRts sound. Yet |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
715 another option is to start <application>MPlayer</application> with artsdsp. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
716 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
717 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
718 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
719 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
720 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
721 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
722 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
723 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
724 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you |
16822
7fba58dee6c7
Add a few more XML tags for better semantics markup.
diego
parents:
16821
diff
changeset
|
725 try to play a file which has 22050Hz audio. Try the |
7fba58dee6c7
Add a few more XML tags for better semantics markup.
diego
parents:
16821
diff
changeset
|
726 <systemitem>resample</systemitem> audio filter. |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
727 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
728 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
729 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
730 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
731 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
732 When I play this movie I get video-audio desync and/or <application>MPlayer</application> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
733 crashes with the following message: |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
734 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
735 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
736 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
737 This can have multiple reasons. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
738 <itemizedlist> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
739 <listitem><para> |
16006 | 740 Your CPU <emphasis>and/or</emphasis> video card <emphasis>and/or</emphasis> |
741 bus is too slow. <application>MPlayer</application> displays a message if | |
742 this is the case (and the dropped frames counter goes up fast). | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
743 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
744 <listitem><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
745 If it is an AVI, maybe it has bad interleaving, try the |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
746 <option>-ni</option> to work around this. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
747 Or it may have a bad header, in this case <option>-nobps</option> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
748 and/or <option>-mc 0</option> can help. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
749 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
750 <listitem><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
751 Your sound driver is buggy. See the <link linkend="audio">audio section</link>. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
752 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
753 </itemizedlist> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
754 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
755 </qandaentry> |
17036 | 756 |
757 <qandaentry> | |
758 <question><para> | |
759 How can I get rid of A/V desynchronization while seeking through RealMedia streams? | |
760 </para></question> | |
761 <answer><para> | |
17139
d5433f61d1e1
-mc 0.1 is preferrable to -mc 10 since A/V sync is recovered quicker after seeking.
diego
parents:
17036
diff
changeset
|
762 <option>-mc 0.1</option> can help. |
17036 | 763 </para></answer> |
764 </qandaentry> | |
9675 | 765 </qandadiv> |
766 | |
767 <qandadiv id="faq-dvd"> | |
768 <title>DVD playback</title> | |
769 <qandaentry> | |
770 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
771 What about DVD navigation/menus? |
9675 | 772 </para></question> |
773 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
774 <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
|
775 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
|
776 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
|
777 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
|
778 <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
|
779 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
|
780 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
|
781 undertaking. |
9675 | 782 </para></answer> |
783 </qandaentry> | |
10373 | 784 |
9675 | 785 <qandaentry> |
786 <question><para> | |
11540 | 787 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 788 </para></question> |
789 <answer><para> | |
10373 | 790 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 791 </para></answer> |
792 </qandaentry> | |
10373 | 793 |
9675 | 794 <qandaentry> |
795 <question><para> | |
796 How can I set the region code of my DVD-drive? I don't have Windows! | |
797 </para></question> | |
798 <answer><para> | |
14113 | 799 Use the <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. |
9675 | 800 </para></answer> |
801 </qandaentry> | |
10373 | 802 |
9675 | 803 <qandaentry> |
804 <question><para> | |
17424
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
805 I can't play a DVD, MPlayer hangs or outputs "Encrypted VOB file!" errors. |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
806 </para></question> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
807 <answer><para> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
808 CSS decryption code does not work with some DVD drives unless you set |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
809 the region code appropriately. See the answer to the previous question. |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
810 </para></answer> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
811 </qandaentry> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
812 |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
813 <qandaentry> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
814 <question><para> |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
815 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 816 </para></question> |
817 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
818 No. However you must have the proper rights |
9675 | 819 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
820 </para></answer> | |
821 </qandaentry> | |
10373 | 822 |
9675 | 823 <qandaentry> |
824 <question><para> | |
825 Is it possible to play/encode only selected chapters? | |
826 </para></question> | |
827 <answer><para> | |
828 Yes, try the <option>-chapter</option> option. | |
829 </para></answer> | |
830 </qandaentry> | |
10373 | 831 |
9675 | 832 <qandaentry> |
833 <question><para> | |
834 My DVD playback is sluggish! | |
835 </para></question> | |
836 <answer><para> | |
837 Use the <option>-cache</option> option (described in the man page) and try | |
838 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 839 in the <link linkend="drives">CD chapter</link>). |
9675 | 840 </para></answer> |
841 </qandaentry> | |
13511 | 842 |
843 <qandaentry> | |
844 <question><para> | |
845 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
846 </para></question> | |
847 <answer><para> | |
848 Use the <option>-dvd-device</option> option to refer to the directory | |
849 that contains the files: | |
850 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
851 mplayer dvd://1 -dvd-device <replaceable>/path/to/directory</replaceable> |
13511 | 852 </screen> |
853 </para></answer> | |
854 </qandaentry> | |
9675 | 855 </qandadiv> |
856 | |
857 <qandadiv id="faq-features"> | |
858 <title>Feature requests</title> | |
859 <qandaentry> | |
860 <question><para> | |
11540 | 861 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
862 <application>MPlayer</application> ceases to be paused. I would like to be able | |
863 to seek in the paused movie. | |
9675 | 864 </para></question> |
865 <answer><para> | |
866 This is very tricky to implement without losing A/V synchronization. | |
867 All attempts have failed so far, but patches are welcome. | |
868 </para></answer> | |
869 </qandaentry> | |
10373 | 870 |
9675 | 871 <qandaentry> |
872 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
873 I'd like to seek +/- 1 frame instead of 10 seconds. |
9675 | 874 </para></question> |
875 <answer><para> | |
14312 | 876 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 877 If the movie was not paused it will be paused afterwards |
878 (see the man page for details). | |
14309 | 879 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 880 </para></answer> |
881 </qandaentry> | |
882 </qandadiv> | |
883 | |
884 <qandadiv id="faq-encoding"> | |
885 <title>Encoding</title> | |
886 <qandaentry> | |
887 <question><para> | |
10042 | 888 How can I encode? |
889 </para></question> | |
890 <answer><para> | |
11540 | 891 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
892 section. | |
10042 | 893 </para></answer> |
894 </qandaentry> | |
10373 | 895 |
10042 | 896 <qandaentry> |
897 <question><para> | |
15493 | 898 How can I dump a full DVD title into a file? |
15430 | 899 </para></question> |
900 <answer><para> | |
15493 | 901 Once you have selected your title, and made sure it plays fine with |
902 <application>MPlayer</application>, use the option <option>-dumpstream</option>. | |
15430 | 903 For example: |
904 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
905 mplayer dvd://5 -dumpstream -dumpfile <replaceable>dvd_dump.vob</replaceable> |
15430 | 906 </screen> |
907 will dump the 5th title of the DVD into the file | |
908 <replaceable>dvd_dump.vob</replaceable> | |
909 </para></answer> | |
910 </qandaentry> | |
911 | |
912 <qandaentry> | |
913 <question><para> | |
15830 | 914 How can I create (S)VCDs automatically? |
10042 | 915 </para></question> |
916 <answer><para> | |
917 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
918 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
919 and even burn them directly to CD. | |
920 </para></answer> | |
921 </qandaentry> | |
10373 | 922 |
10042 | 923 <qandaentry> |
924 <question><para> | |
15836 | 925 How can I create (S)VCDs? |
15830 | 926 </para></question> |
927 <answer><para> | |
928 Newer versions of <application>MEncoder</application> can directly | |
15836 | 929 generate MPEG-2 files that can be used as a base to create a VCD or SVCD and |
930 are likely to be playable out of the box on all platforms (for example, | |
15830 | 931 to share a video from a digital camcorder with your computer-illiterate |
932 friends). | |
15981
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
933 Please read |
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
934 <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
|
935 for more details. |
15830 | 936 </para></answer> |
937 </qandaentry> | |
938 | |
939 <qandaentry> | |
940 <question><para> | |
10042 | 941 How can I join two video files? |
942 </para></question> | |
943 <answer><para> | |
14975 | 944 MPEG files can be concatenated into a single file with luck. |
945 For AVI files, you can use <application>MEncoder</application>'s | |
946 multiple file support like this: | |
947 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
948 mencoder -ovc copy -oac copy -o <replaceable>out.avi</replaceable> <replaceable>file1.avi</replaceable> <replaceable>file2.avi</replaceable> |
14975 | 949 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
950 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
|
951 and use the same codec. |
14975 | 952 You can also try |
10042 | 953 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and |
954 <application>avimerge</application> (part of the | |
14975 | 955 <ulink url="http://www.transcoding.org/">transcode</ulink> |
956 tool set). | |
10042 | 957 </para></answer> |
958 </qandaentry> | |
10373 | 959 |
10042 | 960 <qandaentry> |
961 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
962 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
|
963 </para></question> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
964 <answer><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
965 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
|
966 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
|
967 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
|
968 <screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
969 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
|
970 </screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
971 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
|
972 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
|
973 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
|
974 </para></answer> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
975 </qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
976 |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
977 <qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
978 <question><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
979 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
|
980 </para></question> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
981 <answer><para> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
982 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
|
983 <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
|
984 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
|
985 <screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
986 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
|
987 </screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
988 </para></answer> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
989 </qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
990 |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
991 <qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
992 <question><para> |
19498 | 993 How can I backup and encode a VOB file with a broken beginning? |
994 </para></question> | |
995 <answer><para> | |
996 The main problem when you want to encode a VOB file which is corrupted | |
997 <footnote id='fn-corrupted-files-or-copy-protection'><para> | |
998 To some extent, some forms of copy protection used in DVDs can be | |
999 assumed to be content corruption. | |
1000 </para></footnote> | |
1001 is that it will be hard to get an encode with perfect A/V sync. | |
1002 One workaround is to just shave off the corrupted part and encode just the | |
1003 clean part. | |
1004 First you need to find where the clean part starts: | |
1005 <screen> | |
1006 mplayer <replaceable>input.vob</replaceable> -sb <replaceable>nb_of_bytes_to_skip</replaceable> | |
1007 </screen> | |
1008 Then you can create a new file which contains just the clean part: | |
1009 <screen> | |
1010 dd if=<replaceable>input.vob</replaceable> of=<replaceable>output_cut.vob</replaceable> skip=1 ibs=<replaceable>nb_of_bytes_to_skip</replaceable> | |
1011 </screen> | |
1012 </para></answer> | |
1013 </qandaentry> | |
1014 | |
1015 <qandaentry> | |
1016 <question><para> | |
9675 | 1017 I can't encode DVD subtitles into the AVI! |
1018 </para></question> | |
1019 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1020 You have to properly specify the <option>-sid</option> option. |
9675 | 1021 </para></answer> |
1022 </qandaentry> | |
10373 | 1023 |
9675 | 1024 <qandaentry> |
1025 <question><para> | |
1026 How can I encode only selected chapters from a DVD? | |
1027 </para></question> | |
1028 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1029 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option>. |
9675 | 1030 </para></answer> |
1031 </qandaentry> | |
10373 | 1032 |
9675 | 1033 <qandaentry> |
1034 <question><para> | |
1035 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1036 </para></question> | |
1037 <answer><para> | |
1038 No, VFAT doesn't support 2GB+ files. | |
1039 </para></answer> | |
1040 </qandaentry> | |
10373 | 1041 |
9675 | 1042 <qandaentry> |
1043 <question><para> | |
10042 | 1044 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1045 </para></question> |
1046 <answer><para> | |
1047 Because the bitrate you encoded the audio with is too large to fit the | |
1048 movie on any CD. Check if you have libmp3lame installed properly. | |
1049 </para></answer> | |
1050 </qandaentry> | |
10448 | 1051 |
1052 <qandaentry> | |
1053 <question><para> | |
14024 | 1054 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 1055 </para></question> |
1056 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1057 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
|
1058 have to set it by hand with the <option>-ofps</option> option. |
10448 | 1059 </para></answer> |
1060 </qandaentry> | |
1061 | |
10631 | 1062 |
1063 <qandaentry> | |
1064 <question><para> | |
1065 How can I put subtitles in the output file? | |
1066 </para></question> | |
1067 <answer><para> | |
1068 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 1069 respectively) option to <application>MEncoder</application>. |
10631 | 1070 </para></answer> |
1071 </qandaentry> | |
1072 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1073 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1074 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1075 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1076 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1077 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1078 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
|
1079 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1080 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1081 <screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1082 mkfifo encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1083 mplayer -ao pcm -aofile encode dvd://1 & |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1084 lame <replaceable>your_opts</replaceable> encode music.mp3 |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1085 rm encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1086 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1087 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
|
1088 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
|
1089 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1090 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1091 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1092 |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1093 <qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1094 <question><para> |
15925 | 1095 Why do third-party players fail to play MPEG-4 movies encoded by |
1096 <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
|
1097 </para></question> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1098 |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1099 <answer><para> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1100 <systemitem class="library">libavcodec</systemitem>, the native MPEG-4 |
15922 | 1101 encoding library usually shipped with <application>MEncoder</application>, |
1102 used to set the FourCC to 'DIVX' when encoding MPEG-4 videos | |
1103 (the FourCC is an AVI tag to identify the software used to encode and | |
1104 the intended software to use for decoding the video). | |
1105 This led many people to think that | |
1106 <systemitem class="library">libavcodec</systemitem> | |
1107 was a DivX encoding library, when in fact it is a completely different | |
15925 | 1108 MPEG-4 encoding library which implements the MPEG-4 standard much |
15942 | 1109 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
|
1110 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
|
1111 <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
|
1112 may override this behavior using <application>MEncoder</application>'s |
15922 | 1113 <option>-ffourcc</option> option. |
15925 | 1114 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
|
1115 <screen> |
15922 | 1116 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
|
1117 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1118 Note that this will set the FourCC to XVID rather than DIVX. |
15922 | 1119 This is recommended as DIVX FourCC means DivX4, which is a very basic |
1120 MPEG-4 codec, whereas DX50 and XVID both mean full MPEG-4 (ASP). | |
1121 Therefore, if you change the FourCC to DIVX, some bad software or | |
1122 hardware players may choke on some advanced features that | |
1123 <systemitem class="library">libavcodec</systemitem> supports, but DivX | |
15925 | 1124 doesn't; on the other hand <systemitem class="library">XviD</systemitem> |
1125 is closer to <systemitem class="library">libavcodec</systemitem> in | |
1126 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
|
1127 </para></answer> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1128 </qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1129 |
16658
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1130 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1131 <question><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1132 How can I encode an audio only file? |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1133 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1134 <answer><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1135 Use <filename>aconvert</filename> from the |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1136 <filename class="directory">TOOLS</filename> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1137 subdirectory in the MPlayer source tree. |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1138 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1139 </qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1140 |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1141 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1142 <question><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1143 How can I play subtitles embedded in AVI? |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1144 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1145 <answer><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1146 Use <filename>avisubdump.c</filename> from the |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1147 <filename class="directory">TOOLS</filename> subdirectory or read |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1148 <ulink url="http://xlife.zuavra.net/curse/0012/">this document about extracting/demultiplexing subtitles embedded in OpenDML AVI files</ulink>. |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1149 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1150 </qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1151 |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1152 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1153 <question><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1154 MPlayer won't... |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1155 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1156 <answer><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1157 Have a look at the <filename class="directory">TOOLS</filename> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1158 subdirectory for a collection of random scripts and hacks. |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1159 <filename>TOOLS/README</filename> contains documentation. |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1160 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1161 </qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1162 |
9675 | 1163 </qandadiv> |
1164 </qandaset> | |
1165 | |
15835 | 1166 </chapter> |