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