Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 30686:688c1e685fe7
Unconditionally declare fast_memcpy() and mem2agpcpy().
This fixes the following warnings on non-x86 systems:
libvo/aclib.c:162: warning: no previous prototype for 'fast_memcpy'
libvo/aclib.c:196: warning: no previous prototype for 'mem2agpcpy'
author | diego |
---|---|
date | Thu, 25 Feb 2010 13:20:56 +0000 |
parents | db8a23c94c16 |
children | dcf876ac1c8a |
rev | line source |
---|---|
20535 | 1 <?xml version="1.0" encoding="utf-8"?> |
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 |
21521 | 72 <!-- ********** --> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
73 |
16665
dfa3bd6ee92b
Rename compilation section to compilation and installation.
diego
parents:
16658
diff
changeset
|
74 <qandadiv id="faq-compilation-installation"> |
dfa3bd6ee92b
Rename compilation section to compilation and installation.
diego
parents:
16658
diff
changeset
|
75 <title>Compilation and installation</title> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
76 |
9675 | 77 <qandaentry> |
78 <question><para> | |
14824 | 79 Compilation fails with an error and <application>gcc</application> bails out |
80 with some cryptic message containing the phrase | |
81 <systemitem>internal compiler error</systemitem> or | |
21912 | 82 <systemitem>unable to find a register to spill</systemitem> or |
83 <systemitem>can't find a register in class `GENERAL_REGS' | |
23574
9f2d63b24552
added some carriage returns and full stops, plus a missing 'option'
ptt
parents:
21912
diff
changeset
|
84 while reloading `asm'</systemitem>. |
9f2d63b24552
added some carriage returns and full stops, plus a missing 'option'
ptt
parents:
21912
diff
changeset
|
85 </para></question> |
14824 | 86 <answer><para> |
87 You have stumbled over a bug in <application>gcc</application>. Please | |
88 <ulink url="http://gcc.gnu.org/bugs.html">report it to the gcc team</ulink> | |
89 but not to us. For some reason <application>MPlayer</application> seems to | |
90 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
|
91 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
|
92 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
|
93 stable, or upgrade frequently. |
14824 | 94 </para></answer> |
95 </qandaentry> | |
96 | |
97 <qandaentry> | |
98 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
99 Are there binary (RPM/Debian) packages of <application>MPlayer</application>? |
10373 | 100 </para></question> |
101 <answer><para> | |
102 See the <link linkend="debian">Debian</link> and <link linkend="rpm">RPM</link> | |
103 section for details. | |
104 </para></answer> | |
105 </qandaentry> | |
106 | |
107 <qandaentry> | |
108 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
109 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
|
110 </para></question> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
111 <answer><para> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
112 Try the following configure options: |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
113 <screen> |
27651
f445847b8ec1
fix FAQ about compiling 32 bit mplayer on x86_64
gpoirier
parents:
27198
diff
changeset
|
114 ./configure --target=i386-linux --cc="gcc -m32" --as="as --32" --with-extralibdir=/usr/lib |
14654
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
115 </screen> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
116 </para></answer> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
117 </qandaentry> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
118 |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
119 <qandaentry> |
ca1f3ca346b3
Add Reimar's hint for building 32 bit MPlayer on Athlon64.
diego
parents:
14615
diff
changeset
|
120 <question><para> |
11540 | 121 Configure ends with this text, and <application>MPlayer</application> won't compile! |
9675 | 122 <screen>Your gcc does not support even i386 for '-march' and '-mcpu'</screen> |
123 </para></question> | |
124 <answer><para> | |
13697 | 125 Your gcc isn't installed correctly, check the <filename>configure.log</filename> |
9675 | 126 file for details. |
127 </para></answer> | |
128 </qandaentry> | |
129 | |
130 <qandaentry> | |
131 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
132 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
|
133 <systemitem>mga_vid</systemitem> driver? |
9675 | 134 </para></question> |
135 <answer><para> | |
10373 | 136 Read the <link linkend="mga_vid">mga_vid</link> section. |
9675 | 137 </para></answer> |
138 </qandaentry> | |
139 | |
140 <qandaentry> | |
141 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
142 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
|
143 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
|
144 have X11 installed!? |
9675 | 145 </para></question> |
146 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
147 ... but you don't have the X11 development package installed. Or not correctly. |
20641 | 148 It's called <filename>XFree86-devel*</filename> under Red Hat, |
149 <filename>xlibs-dev</filename> under Debian Woody and | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
150 <filename>libx11-dev</filename> under Debian Sarge. Also check if the |
9675 | 151 <filename class="directory">/usr/X11</filename> and |
23588
a44fc12de744
Nico claims to never have had any problems with X11 compilation on Mandrake.
diego
parents:
23574
diff
changeset
|
152 <filename class="directory">/usr/include/X11</filename> symlinks exist. |
9675 | 153 </para></answer> |
154 </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
|
155 |
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 <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
|
157 <question><para> |
23574
9f2d63b24552
added some carriage returns and full stops, plus a missing 'option'
ptt
parents:
21912
diff
changeset
|
158 Building on Mac OS 10.3 leads to several link errors. |
9f2d63b24552
added some carriage returns and full stops, plus a missing 'option'
ptt
parents:
21912
diff
changeset
|
159 </para></question> |
21689 | 160 <answer> |
161 <para> | |
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
|
162 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
|
163 <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
|
164 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
|
165 _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
|
166 _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
|
167 </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
|
168 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
|
169 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
|
170 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
|
171 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
|
172 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
|
173 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
|
174 Here is a better solution. |
21689 | 175 </para> |
176 <para> | |
177 Get an | |
178 <ulink url="http://rapidshare.de/files/20281171/CompatFrameworks.tgz.html">older copy of the frameworks</ulink>. | |
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
|
179 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
|
180 7.0.1 Framework and a 10.3.9 QuartzCore Framework. |
21689 | 181 </para> |
182 <para> | |
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
|
183 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
|
184 (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
|
185 <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
|
186 Using this older copy is only meant to get around link errors!) |
21689 | 187 <screen>gunzip < CompatFrameworks.tgz | tar xvf -</screen> |
28617 | 188 In config.mak, you should append |
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
|
189 <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
|
190 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
|
191 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
|
192 frameworks instead of the system ones. |
21689 | 193 </para> |
194 <para> | |
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
|
195 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
|
196 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
|
197 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
|
198 (You can verify this using <systemitem>otool -l</systemitem>). |
21689 | 199 </para> |
200 </answer> | |
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
|
201 </qandaentry> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
202 </qandadiv> |
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
|
203 |
21521 | 204 <!-- ********** --> |
9675 | 205 |
206 <qandadiv id="faq-general"> | |
207 <title>General questions</title> | |
10373 | 208 |
9675 | 209 <qandaentry> |
210 <question><para> | |
10373 | 211 Are there any mailing lists on <application>MPlayer</application>? |
9675 | 212 </para></question> |
213 <answer><para> | |
19726
a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
diego
parents:
19713
diff
changeset
|
214 Yes. Look at the |
19795 | 215 <ulink url="http://www.mplayerhq.hu/design7/mailing_lists.html">mailing lists section</ulink> |
19726
a7c1cd01d515
Mailing list descriptions are on the homepage, remove from here.
diego
parents:
19713
diff
changeset
|
216 of our homepage. |
9675 | 217 </para></answer> |
218 </qandaentry> | |
219 | |
220 <qandaentry> | |
221 <question><para> | |
21521 | 222 I've found a nasty bug when I tried to play my favorite video! |
223 Who should I inform? | |
9675 | 224 </para></question> |
225 <answer><para> | |
21521 | 226 Please read the <link linkend="bugreports">bug reporting guidelines</link> |
10373 | 227 and follow the instructions. |
9675 | 228 </para></answer> |
229 </qandaentry> | |
230 | |
231 <qandaentry> | |
232 <question><para> | |
28165 | 233 I get a core dump when trying to dump streams, what's wrong? |
234 </para></question> | |
235 <answer><para> | |
236 Don't panic. Make sure you know where your towel is.</para> | |
237 <para> | |
238 Seriously, notice the smiley and start looking for files that end in | |
239 <filename>.dump</filename>. | |
240 </para></answer> | |
241 </qandaentry> | |
242 | |
243 <qandaentry> | |
244 <question><para> | |
10373 | 245 When I start playing, I get this message but everything seems fine: |
246 <screen>Linux RTC init: ioctl (rtc_pie_on): Permission denied</screen> | |
9675 | 247 </para></question> |
248 <answer><para> | |
21521 | 249 You need a specially set up kernel to use the RTC timing code. |
250 For details see the <link linkend="rtc">RTC</link> section of the documentation. | |
9675 | 251 </para></answer> |
252 </qandaentry> | |
253 | |
254 <qandaentry> | |
255 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
256 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
|
257 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
258 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
259 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
|
260 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
|
261 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
|
262 </para> |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
263 <para> |
9b05da9f128c
Screenshots can now be taken with -vf screenshot, based on a patch by Oded.
diego
parents:
16341
diff
changeset
|
264 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
|
265 <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
|
266 (<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
|
267 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
|
268 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
269 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
270 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
271 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
272 <question><para> |
9675 | 273 What is the meaning of the numbers on the status line? |
274 </para></question> | |
275 <answer><para> | |
276 Example: | |
21521 | 277 <screen> |
278 A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x | |
279 </screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
280 <variablelist> |
21521 | 281 <varlistentry> |
282 <term><systemitem>A: 2.1</systemitem></term> | |
283 <listitem><para>audio position in seconds</para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
284 </varlistentry> |
21521 | 285 <varlistentry> |
286 <term><systemitem>V: 2.2</systemitem></term> | |
287 <listitem><para>video position in seconds</para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
288 </varlistentry> |
21521 | 289 <varlistentry> |
290 <term><systemitem>A-V: -0.167</systemitem></term> | |
291 <listitem><para>audio-video difference in seconds (delay)</para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
292 </varlistentry> |
21521 | 293 <varlistentry> |
294 <term><systemitem>ct: 0.042</systemitem></term> | |
295 <listitem><para>total A-V sync correction done</para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
296 </varlistentry> |
21521 | 297 <varlistentry> |
298 <term><systemitem>57/57</systemitem></term> | |
299 <listitem><para> | |
300 frames played/decoded (counting from last seek) | |
301 </para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
302 </varlistentry> |
21521 | 303 <varlistentry> |
304 <term><systemitem>41%</systemitem></term> | |
305 <listitem><para> | |
306 video codec CPU usage in percent | |
307 (for slice rendering and direct rendering this includes video_out) | |
308 </para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
309 </varlistentry> |
21521 | 310 <varlistentry> |
311 <term><systemitem>0%</systemitem></term> | |
312 <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
|
313 </varlistentry> |
21521 | 314 <varlistentry> |
315 <term><systemitem>2.6%</systemitem></term> | |
316 <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
|
317 </varlistentry> |
21521 | 318 <varlistentry> |
319 <term><systemitem>0</systemitem></term> | |
320 <listitem><para>frames dropped to maintain A-V sync</para></listitem> | |
321 </varlistentry> | |
322 <varlistentry> | |
323 <term><systemitem>4</systemitem></term> | |
324 <listitem><para> | |
325 current level of image postprocessing (when using <option>-autoq</option>) | |
326 </para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
327 </varlistentry> |
21521 | 328 <varlistentry> |
329 <term><systemitem>49%</systemitem></term> | |
330 <listitem><para> | |
331 current cache size used (around 50% is normal) | |
332 </para></listitem> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
333 </varlistentry> |
21521 | 334 <varlistentry> |
335 <term><systemitem>1.00x</systemitem></term> | |
336 <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
|
337 </varlistentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
338 </variablelist> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
339 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
|
340 option to make them disappear. |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
341 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
|
342 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
|
343 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
|
344 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
|
345 your usual video output driver. |
9675 | 346 </para></answer> |
347 </qandaentry> | |
348 | |
349 <qandaentry> | |
350 <question><para> | |
21521 | 351 There are error messages about file not found |
352 <filename>/usr/local/lib/codecs/</filename> ... | |
9675 | 353 </para></question> |
354 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
355 Download and install the binary codecs from our |
19803
a8367d5b416b
link fix: The codecs page was merged into the download page.
diego
parents:
19795
diff
changeset
|
356 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download page</ulink>. |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
357 </para></answer> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
358 </qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
359 |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
360 <qandaentry> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
361 <question><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
362 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
|
363 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
|
364 </para></question> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
365 <answer><para> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
366 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
|
367 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
|
368 or in the same directory as the file. |
9675 | 369 </para></answer> |
370 </qandaentry> | |
371 | |
372 <qandaentry> | |
373 <question><para> | |
374 Subtitles are very nice, the most beautiful I've ever seen, but they | |
375 slow down playing! I know it's unlikely ... | |
376 </para></question> | |
377 <answer><para> | |
21521 | 378 After running <filename>./configure</filename>, |
379 edit <filename>config.h</filename> and replace | |
380 <systemitem>#undef FAST_OSD</systemitem> with | |
9675 | 381 <systemitem>#define FAST_OSD</systemitem>. Then recompile. |
382 </para></answer> | |
383 </qandaentry> | |
384 | |
385 <qandaentry> | |
386 <question><para> | |
11540 | 387 How can I run <application>MPlayer</application> in the background? |
9675 | 388 </para></question> |
389 <answer><para> | |
390 Use: | |
21521 | 391 <screen> |
392 mplayer <replaceable>options</replaceable> <replaceable>filename</replaceable> < /dev/null & | |
393 </screen> | |
9675 | 394 </para></answer> |
395 </qandaentry> | |
396 </qandadiv> | |
397 | |
21521 | 398 <!-- ********** --> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
399 |
9675 | 400 <qandadiv id="faq-playback"> |
401 <title>Playback problems</title> | |
10490 | 402 |
403 <qandaentry> | |
404 <question><para> | |
14995 | 405 I cannot pinpoint the cause of some strange playback problem. |
406 </para></question> | |
407 <answer><para> | |
408 Do you have a stray <filename>codecs.conf</filename> file in | |
409 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
410 <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
|
411 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
|
412 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
|
413 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
|
414 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
|
415 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
|
416 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
|
417 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
|
418 system, you should remove it now. |
14995 | 419 </para></answer> |
420 </qandaentry> | |
421 | |
422 <qandaentry> | |
423 <question><para> | |
16821 | 424 How can I get subtitles to appear on the black margins around a movie? |
425 </para></question> | |
426 <answer><para> | |
427 Use the <systemitem>expand</systemitem> video filter to increase the | |
428 area onto which the movie is rendered vertically and place the movie | |
429 at the top border, for example: | |
21689 | 430 <screen>mplayer -vf expand=0:-100:0:0 -slang de dvd://1</screen> |
16821 | 431 </para></answer> |
432 </qandaentry> | |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
433 |
16821 | 434 <qandaentry> |
435 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
436 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
|
437 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
438 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
439 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
|
440 (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
|
441 (subtitle language), for example: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
442 <screen> |
16822
7fba58dee6c7
Add a few more XML tags for better semantics markup.
diego
parents:
16821
diff
changeset
|
443 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
|
444 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
|
445 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
446 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
|
447 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
448 mplayer -vo null -ao null -frames 0 -v <replaceable>filename</replaceable> | grep sid |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
449 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
|
450 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
451 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
452 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
453 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
454 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
455 <question><para> |
12437 | 456 I'm trying to play a random stream off the internet but it fails. |
457 </para></question> | |
458 <answer><para> | |
459 Try playing the stream with the <option>-playlist</option> option. | |
460 </para></answer> | |
461 </qandaentry> | |
462 | |
463 <qandaentry> | |
464 <question><para> | |
12323 | 465 I downloaded a movie off a P2P network and it doesn't work! |
466 </para></question> | |
467 <answer><para> | |
468 Your file is most probably broken or a fake file. If you got it from | |
469 a friend, and he says it works, try comparing | |
470 <application>md5sum</application> hashes. | |
471 </para></answer> | |
472 </qandaentry> | |
473 | |
474 <qandaentry> | |
475 <question><para> | |
476 I'm having trouble getting my subtitles to display, help!! | |
477 </para></question> | |
478 <answer><para> | |
479 Make sure you have installed fonts properly. Run through the steps in the | |
19822
db95db082c37
Move subtitles and OSD section from the installation to the usage chapter.
diego
parents:
19821
diff
changeset
|
480 <link linkend="fonts-osd">Fonts and OSD</link> part of the installation |
12323 | 481 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
|
482 <systemitem class="library">FreeType</systemitem> library installed. |
12323 | 483 Other things include checking your subtitles in a text editor or with other |
484 players. Also try converting them to another format. | |
485 </para></answer> | |
486 </qandaentry> | |
487 | |
488 <qandaentry> | |
489 <question><para> | |
12026 | 490 Why doesn't <application>MPlayer</application> work on Fedora Core? |
491 </para></question> | |
492 <answer><para> | |
493 There is a bad interaction on Fedora between exec-shield, | |
494 prelink, and any applications which use Windows DLLs | |
495 (such as <application>MPlayer</application>). | |
496 </para> | |
497 <para> | |
498 The problem is that exec-shield randomizes the load addresses of all the | |
499 system libraries. This randomization happens at prelink time (once every | |
500 two weeks). | |
501 </para> | |
502 <para> | |
503 When <application>MPlayer</application> tries to load a Windows DLL it | |
504 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
|
505 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
|
506 will crash. |
12026 | 507 (A typical symptom would be a segmentation fault when trying |
508 to play Windows Media 9 files.) | |
509 </para> | |
510 <para> | |
511 If you run into this problem you have two options: | |
512 <itemizedlist> | |
21521 | 513 <listitem><para> |
514 Wait two weeks. It might start working again. | |
515 </para></listitem> | |
516 <listitem><para> | |
517 Relink all the binaries on the system with different | |
518 prelink options. Here are step by step instructions: | |
519 </para> | |
520 <procedure> | |
521 <step><para> | |
21689 | 522 Edit <filename>/etc/syconfig/prelink</filename> and change |
523 <programlisting>PRELINK_OPTS=-mR</programlisting> to | |
524 <programlisting>PRELINK_OPTS="-mR --no-exec-shield"</programlisting> | |
21521 | 525 </para></step> |
526 <step><para> | |
527 <command>touch /var/lib/misc/prelink.force</command> | |
528 </para></step> | |
21689 | 529 <step><para> |
530 <command>/etc/cron.daily/prelink</command> | |
531 (This relinks all the applications, and it takes quite a while.) | |
21521 | 532 </para></step> |
533 <step><para> | |
534 <command>execstack -s <replaceable>/path/to/</replaceable>mplayer</command> | |
535 (This turns off exec-shield for the | |
21689 | 536 <application>MPlayer</application> binary.) |
21521 | 537 </para></step> |
538 </procedure> | |
12026 | 539 </listitem> |
540 </itemizedlist> | |
541 </para></answer> | |
542 </qandaentry> | |
543 | |
544 <qandaentry> | |
545 <question><para> | |
11532 | 546 <application>MPlayer</application> dies with |
547 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 548 </para></question> |
549 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
550 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
|
551 it was compiled on or recompile with runtime CPU detection |
11540 | 552 (<command>./configure --enable-runtime-cpudetection</command>). |
9675 | 553 </para></answer> |
554 </qandaentry> | |
10373 | 555 |
9675 | 556 <qandaentry> |
557 <question><para> | |
21521 | 558 When I try to grab from my tuner, it works, but colors are strange. |
559 It's OK with other applications. | |
9675 | 560 </para></question> |
561 <answer><para> | |
12348 | 562 Your card probably reports some colorspaces as supported when in fact |
563 it does not support them. Try with YUY2 instead of the | |
10373 | 564 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 565 </para></answer> |
566 </qandaentry> | |
10373 | 567 |
9675 | 568 <qandaentry> |
569 <question><para> | |
21521 | 570 I get very strange percentage values (way too big) |
571 while playing files on my notebook. | |
9675 | 572 </para></question> |
573 <answer><para> | |
574 It's an effect of the power management / power saving system of your notebook | |
10042 | 575 (BIOS, not kernel). Plug the external power connector in |
21521 | 576 <emphasis role="bold">before</emphasis> you power on your notebook. You can |
577 also try whether | |
578 <ulink url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufreq.html">cpufreq</ulink> | |
10042 | 579 (a SpeedStep interface for Linux) helps you. |
9675 | 580 </para></answer> |
581 </qandaentry> | |
10373 | 582 |
9675 | 583 <qandaentry> |
584 <question><para> | |
21521 | 585 The audio/video gets totally out of sync when I run |
586 <application>MPlayer</application> as | |
587 <systemitem class="username">root</systemitem> on my notebook. | |
588 It works normal when i run it as a user. | |
9675 | 589 </para></question> |
590 <answer><para> | |
591 This is again a power management effect (see above). Plug the external power | |
592 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
28672
db8a23c94c16
Update faq about power management effect taking into account that
bircoph
parents:
28625
diff
changeset
|
593 or make sure you do not use the <option>-rtc</option> option. |
9675 | 594 </para></answer> |
595 </qandaentry> | |
10373 | 596 |
597 <qandaentry> | |
9722 | 598 <question><para> |
10042 | 599 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 600 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
601 </para></question> | |
602 <answer><para> | |
10042 | 603 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 604 Try <option>-nocache</option>. |
605 </para></answer> | |
606 </qandaentry> | |
15835 | 607 </qandadiv> |
11124 | 608 |
21521 | 609 <!-- ********** --> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
610 |
9675 | 611 <qandadiv id="faq-driver"> |
612 <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
|
613 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
614 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
615 <question><para> |
16007
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
616 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
|
617 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
|
618 </para></question> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
619 <answer><para> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
620 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
|
621 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
|
622 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
|
623 <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
|
624 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
|
625 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
|
626 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
|
627 option explicitly enables software scaling. |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
628 </para></answer> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
629 </qandaentry> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
630 |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
631 <qandaentry> |
1759eaaf3382
FAQ No 1: Fullscreen is not working, black borders around unscaled image.
diego
parents:
16006
diff
changeset
|
632 <question><para> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
633 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
|
634 open a video file it causes a fatal error: |
21689 | 635 <screen>Error opening/initializing the selected video_out (-vo) device.</screen> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
636 How can I solve my problem? |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
637 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
638 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
639 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
|
640 a list of available video output drivers: |
21521 | 641 <screen>mplayer -vo help</screen> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
642 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
|
643 your configuration file. Add |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
644 <programlisting> |
21521 | 645 vo = <replaceable>selected_vo</replaceable> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
646 </programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
647 to <filename>~/.mplayer/config</filename> and/or |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
648 <programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
649 vo_driver = <replaceable>selected_vo</replaceable> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
650 </programlisting> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
651 to <filename>~/.mplayer/gui.conf</filename>. |
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 problems with <replaceable>[your window manager]</replaceable> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
658 and fullscreen xv/xmga/sdl/x11 modes ... |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
659 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
660 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
661 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
|
662 a proper bug report. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
663 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
|
664 </para></answer> |
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 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
667 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
668 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
669 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
|
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 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
|
673 improve, read the |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
674 <link linkend="bugreports">bug reporting guidelines</link> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
675 and upload the file to FTP. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
676 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
677 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
678 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
679 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
680 <question><para> |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
681 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
|
682 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
683 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
684 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
685 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
686 <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
|
687 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
|
688 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
689 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
690 |
9675 | 691 <qandaentry> |
692 <question><para> | |
693 I have no sound when playing a video and get error messages similar to this one: | |
694 <screen> | |
21521 | 695 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) |
28622 | 696 [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy |
697 Could not open/initialize audio device -> no sound. | |
698 Audio: no sound | |
699 Starting playback... | |
9675 | 700 </screen> |
701 </para></question> | |
702 <answer><para> | |
16341 | 703 Are you running KDE or GNOME with the aRts or ESD sound daemon? Try disabling |
21521 | 704 the sound daemon or use the <option>-ao arts</option> or |
705 <option>-ao esd</option> option to make <application>MPlayer</application> use | |
706 aRts or ESD. | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
707 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
|
708 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
|
709 directly use the ALSA audio output driver. |
9675 | 710 </para></answer> |
711 </qandaentry> | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
712 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
713 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
714 <question><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
715 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
|
716 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
|
717 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
718 <answer><para> |
16341 | 719 The KDE aRts sound daemon is blocking the sound device. Either wait until the |
720 video starts or disable the aRts daemon in control center. If you want to use | |
721 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
|
722 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL |
16341 | 723 (<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
|
724 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
|
725 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
726 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
727 |
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 <question><para> |
21521 | 730 I have A/V sync problems. |
731 Some of my AVIs play fine, but some play with double speed! | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
732 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
733 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
734 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
|
735 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
|
736 <systemitem>resample</systemitem> audio filter. |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
737 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
738 </qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
739 |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
740 <qandaentry> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
741 <question><para> |
21521 | 742 When I play this movie I get video-audio desync and/or |
743 <application>MPlayer</application> crashes with the following message: | |
744 <screen> | |
28625 | 745 Too many (945 in 8390980 bytes) video packets in the buffer! |
21521 | 746 </screen> |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
747 </para></question> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
748 <answer><para> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
749 This can have multiple reasons. |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
750 <itemizedlist> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
751 <listitem><para> |
21521 | 752 Your CPU <emphasis>and/or</emphasis> video card <emphasis>and/or</emphasis> |
753 bus is too slow. <application>MPlayer</application> displays a message if | |
754 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
|
755 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
756 <listitem><para> |
21521 | 757 If it is an AVI, maybe it has bad interleaving, try the |
23574
9f2d63b24552
added some carriage returns and full stops, plus a missing 'option'
ptt
parents:
21912
diff
changeset
|
758 <option>-ni</option> option to work around this. |
21521 | 759 Or it may have a bad header, in this case <option>-nobps</option> |
760 and/or <option>-mc 0</option> can help. | |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
761 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
762 <listitem><para> |
24010 | 763 Many FLV files will only play correctly with <option>-correct-pts</option>. |
24015 | 764 Unfortunately <application>MEncoder</application> does not have this option, |
765 but you can try setting <option>-fps</option> to the correct value manually | |
766 if you know it. | |
24010 | 767 </para></listitem> |
768 <listitem><para> | |
21521 | 769 Your sound driver is buggy. |
16005
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
770 </para></listitem> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
771 </itemizedlist> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
772 </para></answer> |
9f297ab810a0
Moved some entries from playback problems to video/audio driver section
diego
parents:
16004
diff
changeset
|
773 </qandaentry> |
17036 | 774 |
775 <qandaentry> | |
776 <question><para> | |
21521 | 777 How can I get rid of A/V desynchronization |
778 while seeking through RealMedia streams? | |
17036 | 779 </para></question> |
780 <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
|
781 <option>-mc 0.1</option> can help. |
17036 | 782 </para></answer> |
783 </qandaentry> | |
9675 | 784 </qandadiv> |
785 | |
21521 | 786 <!-- ********** --> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
787 |
9675 | 788 <qandadiv id="faq-dvd"> |
789 <title>DVD playback</title> | |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
790 |
9675 | 791 <qandaentry> |
792 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
793 What about DVD navigation/menus? |
9675 | 794 </para></question> |
795 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
796 <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
|
797 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
|
798 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
|
799 another player like <application>xine</application>, |
26958 | 800 <application>VLC</application> or <application>Ogle</application>. |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
801 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
|
802 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
|
803 undertaking. |
9675 | 804 </para></answer> |
805 </qandaentry> | |
10373 | 806 |
9675 | 807 <qandaentry> |
808 <question><para> | |
11540 | 809 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 810 </para></question> |
811 <answer><para> | |
10373 | 812 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 813 </para></answer> |
814 </qandaentry> | |
10373 | 815 |
9675 | 816 <qandaentry> |
817 <question><para> | |
818 How can I set the region code of my DVD-drive? I don't have Windows! | |
819 </para></question> | |
820 <answer><para> | |
21521 | 821 Use the |
822 <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. | |
9675 | 823 </para></answer> |
824 </qandaentry> | |
10373 | 825 |
9675 | 826 <qandaentry> |
827 <question><para> | |
17424
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
828 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
|
829 </para></question> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
830 <answer><para> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
831 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
|
832 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
|
833 </para></answer> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
834 </qandaentry> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
835 |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
836 <qandaentry> |
2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
rathann
parents:
17139
diff
changeset
|
837 <question><para> |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
838 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 839 </para></question> |
840 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
841 No. However you must have the proper rights |
9675 | 842 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
843 </para></answer> | |
844 </qandaentry> | |
10373 | 845 |
9675 | 846 <qandaentry> |
847 <question><para> | |
848 Is it possible to play/encode only selected chapters? | |
849 </para></question> | |
850 <answer><para> | |
851 Yes, try the <option>-chapter</option> option. | |
852 </para></answer> | |
853 </qandaentry> | |
10373 | 854 |
9675 | 855 <qandaentry> |
856 <question><para> | |
857 My DVD playback is sluggish! | |
858 </para></question> | |
859 <answer><para> | |
860 Use the <option>-cache</option> option (described in the man page) and try | |
21521 | 861 enabling DMA for the DVD drive with the <command>hdparm</command> tool |
862 (described in the <link linkend="drives">CD chapter</link>). | |
9675 | 863 </para></answer> |
864 </qandaentry> | |
13511 | 865 |
866 <qandaentry> | |
867 <question><para> | |
868 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
869 </para></question> | |
870 <answer><para> | |
871 Use the <option>-dvd-device</option> option to refer to the directory | |
872 that contains the files: | |
873 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
874 mplayer dvd://1 -dvd-device <replaceable>/path/to/directory</replaceable> |
13511 | 875 </screen> |
876 </para></answer> | |
877 </qandaentry> | |
9675 | 878 </qandadiv> |
879 | |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
880 |
9675 | 881 <qandadiv id="faq-features"> |
882 <title>Feature requests</title> | |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
883 |
9675 | 884 <qandaentry> |
885 <question><para> | |
21521 | 886 If <application>MPlayer</application> is paused and I try to seek or press any |
887 key at all, <application>MPlayer</application> ceases to be paused. | |
888 I would like to be able to seek in the paused movie. | |
9675 | 889 </para></question> |
890 <answer><para> | |
891 This is very tricky to implement without losing A/V synchronization. | |
892 All attempts have failed so far, but patches are welcome. | |
893 </para></answer> | |
894 </qandaentry> | |
10373 | 895 |
9675 | 896 <qandaentry> |
897 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
898 I'd like to seek +/- 1 frame instead of 10 seconds. |
9675 | 899 </para></question> |
900 <answer><para> | |
14312 | 901 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 902 If the movie was not paused it will be paused afterwards |
903 (see the man page for details). | |
14309 | 904 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 905 </para></answer> |
906 </qandaentry> | |
907 </qandadiv> | |
908 | |
21521 | 909 <!-- ********** --> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
910 |
9675 | 911 <qandadiv id="faq-encoding"> |
912 <title>Encoding</title> | |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
913 |
9675 | 914 <qandaentry> |
915 <question><para> | |
10042 | 916 How can I encode? |
917 </para></question> | |
918 <answer><para> | |
11540 | 919 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
920 section. | |
10042 | 921 </para></answer> |
922 </qandaentry> | |
10373 | 923 |
10042 | 924 <qandaentry> |
925 <question><para> | |
15493 | 926 How can I dump a full DVD title into a file? |
15430 | 927 </para></question> |
928 <answer><para> | |
15493 | 929 Once you have selected your title, and made sure it plays fine with |
930 <application>MPlayer</application>, use the option <option>-dumpstream</option>. | |
15430 | 931 For example: |
932 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
933 mplayer dvd://5 -dumpstream -dumpfile <replaceable>dvd_dump.vob</replaceable> |
15430 | 934 </screen> |
935 will dump the 5th title of the DVD into the file | |
936 <replaceable>dvd_dump.vob</replaceable> | |
937 </para></answer> | |
938 </qandaentry> | |
939 | |
940 <qandaentry> | |
941 <question><para> | |
15830 | 942 How can I create (S)VCDs automatically? |
10042 | 943 </para></question> |
944 <answer><para> | |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
26958
diff
changeset
|
945 Try the <filename>mencvcd.sh</filename> script from the |
21521 | 946 <filename class="directory">TOOLS</filename> subdirectory. |
947 With it you can encode DVDs or other movies to VCD or SVCD format | |
10042 | 948 and even burn them directly to CD. |
949 </para></answer> | |
950 </qandaentry> | |
10373 | 951 |
10042 | 952 <qandaentry> |
953 <question><para> | |
15836 | 954 How can I create (S)VCDs? |
15830 | 955 </para></question> |
956 <answer><para> | |
957 Newer versions of <application>MEncoder</application> can directly | |
15836 | 958 generate MPEG-2 files that can be used as a base to create a VCD or SVCD and |
959 are likely to be playable out of the box on all platforms (for example, | |
15830 | 960 to share a video from a digital camcorder with your computer-illiterate |
961 friends). | |
15981
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
962 Please read |
c20bd4b50521
Remove rencently added FAQ entry because we now have a much better and detailed doc elsewhere.
gpoirier
parents:
15942
diff
changeset
|
963 <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
|
964 for more details. |
15830 | 965 </para></answer> |
966 </qandaentry> | |
967 | |
968 <qandaentry> | |
969 <question><para> | |
10042 | 970 How can I join two video files? |
971 </para></question> | |
972 <answer><para> | |
14975 | 973 MPEG files can be concatenated into a single file with luck. |
974 For AVI files, you can use <application>MEncoder</application>'s | |
975 multiple file support like this: | |
976 <screen> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
977 mencoder -ovc copy -oac copy -o <replaceable>out.avi</replaceable> <replaceable>file1.avi</replaceable> <replaceable>file2.avi</replaceable> |
14975 | 978 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
979 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
|
980 and use the same codec. |
14975 | 981 You can also try |
10042 | 982 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and |
983 <application>avimerge</application> (part of the | |
14975 | 984 <ulink url="http://www.transcoding.org/">transcode</ulink> |
985 tool set). | |
10042 | 986 </para></answer> |
987 </qandaentry> | |
10373 | 988 |
10042 | 989 <qandaentry> |
990 <question><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
991 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
|
992 </para></question> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
993 <answer><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
994 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
|
995 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
|
996 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
|
997 <screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
998 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
|
999 </screen> |
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1000 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
|
1001 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
|
1002 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
|
1003 </para></answer> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1004 </qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1005 |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1006 <qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1007 <question><para> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1008 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
|
1009 </para></question> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1010 <answer><para> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1011 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
|
1012 <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
|
1013 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
|
1014 <screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1015 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
|
1016 </screen> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1017 </para></answer> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1018 </qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1019 |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1020 <qandaentry> |
da146d62612b
explains how to fix the aspect ratio of an AVI file
gpoirier
parents:
15130
diff
changeset
|
1021 <question><para> |
19498 | 1022 How can I backup and encode a VOB file with a broken beginning? |
1023 </para></question> | |
1024 <answer><para> | |
1025 The main problem when you want to encode a VOB file which is corrupted | |
1026 <footnote id='fn-corrupted-files-or-copy-protection'><para> | |
1027 To some extent, some forms of copy protection used in DVDs can be | |
1028 assumed to be content corruption. | |
1029 </para></footnote> | |
1030 is that it will be hard to get an encode with perfect A/V sync. | |
1031 One workaround is to just shave off the corrupted part and encode just the | |
1032 clean part. | |
1033 First you need to find where the clean part starts: | |
1034 <screen> | |
1035 mplayer <replaceable>input.vob</replaceable> -sb <replaceable>nb_of_bytes_to_skip</replaceable> | |
1036 </screen> | |
1037 Then you can create a new file which contains just the clean part: | |
1038 <screen> | |
1039 dd if=<replaceable>input.vob</replaceable> of=<replaceable>output_cut.vob</replaceable> skip=1 ibs=<replaceable>nb_of_bytes_to_skip</replaceable> | |
1040 </screen> | |
1041 </para></answer> | |
1042 </qandaentry> | |
1043 | |
1044 <qandaentry> | |
1045 <question><para> | |
9675 | 1046 I can't encode DVD subtitles into the AVI! |
1047 </para></question> | |
1048 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1049 You have to properly specify the <option>-sid</option> option. |
9675 | 1050 </para></answer> |
1051 </qandaentry> | |
10373 | 1052 |
9675 | 1053 <qandaentry> |
1054 <question><para> | |
1055 How can I encode only selected chapters from a DVD? | |
1056 </para></question> | |
1057 <answer><para> | |
21521 | 1058 Use the <option>-chapter</option> option correctly, |
1059 like: <option>-chapter 5-7</option>. | |
9675 | 1060 </para></answer> |
1061 </qandaentry> | |
10373 | 1062 |
9675 | 1063 <qandaentry> |
1064 <question><para> | |
1065 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1066 </para></question> | |
1067 <answer><para> | |
1068 No, VFAT doesn't support 2GB+ files. | |
1069 </para></answer> | |
1070 </qandaentry> | |
10373 | 1071 |
9675 | 1072 <qandaentry> |
1073 <question><para> | |
21521 | 1074 What is the meaning of the numbers on the status line |
1075 during the encoding process? | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1076 </para></question> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1077 <answer><para> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1078 Example: |
21521 | 1079 <screen> |
1080 Pos: 264.5s 6612f ( 2%) 7.12fps Trem: 576min 2856mb A-V:0.065 [2126:192] | |
1081 </screen> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1082 <variablelist> |
21521 | 1083 <varlistentry> |
1084 <term><systemitem>Pos: 264.5s</systemitem></term> | |
1085 <listitem><para>time position in the encoded stream</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1086 </varlistentry> |
21521 | 1087 <varlistentry> |
1088 <term><systemitem>6612f</systemitem></term> | |
1089 <listitem><para>number of video frames encoded</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1090 </varlistentry> |
21521 | 1091 <varlistentry> |
1092 <term><systemitem>( 2%)</systemitem></term> | |
1093 <listitem><para>portion of the input stream encoded</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1094 </varlistentry> |
21521 | 1095 <varlistentry> |
1096 <term><systemitem>7.12fps</systemitem></term> | |
1097 <listitem><para>encoding speed</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1098 </varlistentry> |
21521 | 1099 <varlistentry> |
1100 <term><systemitem>Trem: 576min</systemitem></term> | |
1101 <listitem><para>estimated remaining encoding time</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1102 </varlistentry> |
21521 | 1103 <varlistentry> |
1104 <term><systemitem>2856mb</systemitem></term> | |
1105 <listitem><para>estimated size of the final encode</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1106 </varlistentry> |
21521 | 1107 <varlistentry> |
1108 <term><systemitem>A-V:0.065</systemitem></term> | |
1109 <listitem><para>current delay between audio and video streams</para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1110 </varlistentry> |
21521 | 1111 <varlistentry> |
1112 <term><systemitem>[2126:192]</systemitem></term> | |
1113 <listitem><para> | |
1114 average video bitrate (in kb/s) and average audio bitrate (in kb/s) | |
1115 </para></listitem> | |
20298
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1116 </varlistentry> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1117 </variablelist> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1118 </para></answer> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1119 </qandaentry> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1120 |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1121 <qandaentry> |
3c469a2030e7
What is the meaning of the numbers on the status line during the encoding process?
gpoirier
parents:
19822
diff
changeset
|
1122 <question><para> |
21521 | 1123 Why is the recommended bitrate printed by <application>MEncoder</application> |
1124 negative? | |
9675 | 1125 </para></question> |
1126 <answer><para> | |
1127 Because the bitrate you encoded the audio with is too large to fit the | |
1128 movie on any CD. Check if you have libmp3lame installed properly. | |
1129 </para></answer> | |
1130 </qandaentry> | |
10448 | 1131 |
1132 <qandaentry> | |
1133 <question><para> | |
14024 | 1134 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 1135 </para></question> |
1136 <answer><para> | |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1137 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
|
1138 have to set it by hand with the <option>-ofps</option> option. |
10448 | 1139 </para></answer> |
1140 </qandaentry> | |
1141 | |
10631 | 1142 <qandaentry> |
1143 <question><para> | |
1144 How can I put subtitles in the output file? | |
1145 </para></question> | |
1146 <answer><para> | |
1147 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 1148 respectively) option to <application>MEncoder</application>. |
10631 | 1149 </para></answer> |
1150 </qandaentry> | |
1151 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1152 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1153 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1154 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1155 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1156 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1157 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
|
1158 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1159 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1160 <screen> |
21521 | 1161 mkfifo <replaceable>encode</replaceable> |
1162 mplayer -ao pcm -aofile <replaceable>encode</replaceable> dvd://1 & | |
1163 lame <replaceable>your_opts</replaceable> <replaceable>encode</replaceable> <replaceable>music.mp3</replaceable> | |
1164 rm <replaceable>encode</replaceable> | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1165 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1166 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
|
1167 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
|
1168 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1169 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1170 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1171 |
15921
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1172 <qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1173 <question><para> |
15925 | 1174 Why do third-party players fail to play MPEG-4 movies encoded by |
1175 <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
|
1176 </para></question> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1177 <answer><para> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1178 <systemitem class="library">libavcodec</systemitem>, the native MPEG-4 |
15922 | 1179 encoding library usually shipped with <application>MEncoder</application>, |
1180 used to set the FourCC to 'DIVX' when encoding MPEG-4 videos | |
1181 (the FourCC is an AVI tag to identify the software used to encode and | |
1182 the intended software to use for decoding the video). | |
1183 This led many people to think that | |
1184 <systemitem class="library">libavcodec</systemitem> | |
1185 was a DivX encoding library, when in fact it is a completely different | |
15925 | 1186 MPEG-4 encoding library which implements the MPEG-4 standard much |
15942 | 1187 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
|
1188 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
|
1189 <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
|
1190 may override this behavior using <application>MEncoder</application>'s |
15922 | 1191 <option>-ffourcc</option> option. |
15925 | 1192 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
|
1193 <screen> |
21521 | 1194 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
|
1195 </screen> |
16004
3bed758b6eae
Big cleanup all over the place; wording/grammar/typo fixes as usual, many
diego
parents:
15981
diff
changeset
|
1196 Note that this will set the FourCC to XVID rather than DIVX. |
15922 | 1197 This is recommended as DIVX FourCC means DivX4, which is a very basic |
1198 MPEG-4 codec, whereas DX50 and XVID both mean full MPEG-4 (ASP). | |
1199 Therefore, if you change the FourCC to DIVX, some bad software or | |
1200 hardware players may choke on some advanced features that | |
1201 <systemitem class="library">libavcodec</systemitem> supports, but DivX | |
20860 | 1202 doesn't; on the other hand <systemitem class="library">Xvid</systemitem> |
15925 | 1203 is closer to <systemitem class="library">libavcodec</systemitem> in |
1204 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
|
1205 </para></answer> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1206 </qandaentry> |
c821dbc2c21b
New FAQ entry: Explain why libavcodec now sets FMP4 FourCC, and how to enventualy change it.
gpoirier
parents:
15901
diff
changeset
|
1207 |
16658
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1208 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1209 <question><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1210 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
|
1211 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1212 <answer><para> |
27198
305dc504c407
Give all shell scripts a .sh suffix for consistency.
diego
parents:
26958
diff
changeset
|
1213 Use <filename>aconvert.sh</filename> from the |
16658
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1214 <filename class="directory">TOOLS</filename> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1215 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
|
1216 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1217 </qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1218 |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1219 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1220 <question><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1221 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
|
1222 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1223 <answer><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1224 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
|
1225 <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
|
1226 <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
|
1227 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1228 </qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1229 |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1230 <qandaentry> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1231 <question><para> |
28496
147df13f0d46
Replace a mention of MPlayer by MEncoder in the MEncoder section.
diego
parents:
28495
diff
changeset
|
1232 MEncoder won't... |
16658
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1233 </para></question> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1234 <answer><para> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1235 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
|
1236 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
|
1237 <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
|
1238 </para></answer> |
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1239 </qandaentry> |
20642
d2bca7bc01b8
(cosmetics) Unify and clarify blank lines usage
torinthiel
parents:
20641
diff
changeset
|
1240 </qandadiv> |
16658
b733dccdc4c2
MEncoder FAQs as suggested by Compn < tempn - a - twmi - d - rr - d - com >
diego
parents:
16562
diff
changeset
|
1241 |
9675 | 1242 </qandaset> |
1243 | |
15835 | 1244 </chapter> |