Mercurial > mplayer.hg
annotate DOCS/xml/en/containers.xml @ 20335:fccaabde1978
Remove obsolete parts, some updates.
author | diego |
---|---|
date | Sat, 21 Oct 2006 20:07:49 +0000 |
parents | 05710b19651f |
children | c0687e92d463 |
rev | line source |
---|---|
9675 | 1 <?xml version="1.0" encoding="iso-8859-1"?> |
10913
49b1a67e7381
Add revision keyword to english xml files, to ease translation synchronization
lumag
parents:
10679
diff
changeset
|
2 <!-- $Revision$ --> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
3 <chapter id="containers"> |
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
4 <title>Containers</title> |
9675 | 5 |
6 <para> | |
7 It is important to clarify a common mistake. When people see a file with a | |
8 <filename>.AVI</filename> extension, they immediately conclude that it is | |
9 not an MPEG file. That is not true. At least not entirely. Contrary to | |
14024 | 10 popular belief such a file <emphasis>can</emphasis> contain MPEG-1 video. |
9675 | 11 </para> |
12 | |
13 <para> | |
14 You see, a <emphasis role="bold">codec</emphasis> is not the same as a | |
17338
217b6c98f815
Remove empty sections, speak of container formats, not file formats.
diego
parents:
17321
diff
changeset
|
15 <emphasis role="bold">container format</emphasis>. |
14024 | 16 Examples of video <emphasis role="bold">codecs</emphasis> are: MPEG-1, MPEG-2, |
17 MPEG-4 (DivX), Indeo5, 3ivx. | |
17338
217b6c98f815
Remove empty sections, speak of container formats, not file formats.
diego
parents:
17321
diff
changeset
|
18 Examples of container <emphasis role="bold">formats</emphasis> are: MPG, AVI, ASF. |
9675 | 19 </para> |
20 | |
21 <para> | |
22 In theory, you can put an OpenDivX video and MP3 audio | |
17338
217b6c98f815
Remove empty sections, speak of container formats, not file formats.
diego
parents:
17321
diff
changeset
|
23 into an <emphasis role="bold">MPG container</emphasis>. However, most |
14024 | 24 players will not play it, since they expect MPEG-1 video and MP2 audio (unlike |
9675 | 25 <emphasis role="bold">AVI</emphasis>, <emphasis role="bold">MPG</emphasis> |
26 does not have the necessary fields to describe its video and audio streams). | |
14024 | 27 Or you might put MPEG-1 video into an AVI file. |
13977 | 28 <ulink url="http://ffmpeg.org/">FFmpeg</ulink> and |
11540 | 29 <link linkend="mencoder"><application>MEncoder</application></link> can create these files. |
9675 | 30 </para> |
31 | |
32 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
33 <sect1 id="video-formats"> |
9675 | 34 <title>Video formats</title> |
35 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
36 <sect2 id="mpg-vob-dat"> |
9675 | 37 <title>MPEG files</title> |
38 | |
39 <para> | |
40 MPEG files come in different guises: | |
41 </para> | |
42 | |
43 <itemizedlist> | |
44 <listitem><simpara> | |
45 MPG: This is the most <emphasis role="bold">basic</emphasis> form of the | |
14024 | 46 MPEG file formats. It contains MPEG-1 video, and MP2 (MPEG-1 layer 2) or |
9675 | 47 rarely MP1 audio. |
48 </simpara></listitem> | |
49 <listitem><simpara> | |
50 DAT: This is the very same format as MPG with a different extension. It | |
51 is used on <emphasis role="bold">Video CDs</emphasis>. Due to the way VCDs | |
52 are created and Linux is designed, the DAT files cannot be played nor copied | |
10184
b6c63ab184a4
Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents:
9683
diff
changeset
|
53 from VCDs as regular files. You have to use <option>vcd://</option> |
b6c63ab184a4
Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents:
9683
diff
changeset
|
54 to play a Video CD. |
9675 | 55 </simpara></listitem> |
56 <listitem><simpara> | |
57 VOB: This is the MPEG file format on <emphasis role="bold">DVDs</emphasis>. | |
58 It is the same as MPG, plus the capability to contain subtitles or non-MPEG | |
14024 | 59 (AC3) audio. It contains encoded MPEG-2 video and usually AC3 audio, but DTS, |
9683 | 60 MP2 and uncompressed LPCM are allowed, too. <emphasis role="bold">Read the |
11483 | 61 <link linkend="dvd">DVD</link> section</emphasis>! |
9675 | 62 </simpara></listitem> |
14836
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
63 <listitem><simpara> |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
64 TY: This is a TiVo MPEG stream. It contains MPEG PES data for audio and |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
65 video streams, as well as extra information like closed captions. The |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
66 container is not an MPEG program stream, but a closed format created by |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
67 TiVo. For more information on TiVo stream format, please refer to |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
68 <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml"> |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
69 the TyStudio page</ulink>. |
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14126
diff
changeset
|
70 </simpara></listitem> |
9675 | 71 </itemizedlist> |
72 | |
73 <para> | |
74 Series of frames form independent groups in MPEG files. This means that you | |
75 can cut/join an MPEG file with standard file tools (like | |
76 <command>dd</command>, <command>cut</command>), and it remains completely | |
77 functional. | |
78 </para> | |
79 | |
80 <para> | |
81 One important feature of MPGs is that they have a field to describe the | |
82 aspect ratio of the video stream within. For example SVCDs have 480x480 | |
83 resolution video, and in the header that field is set to 4:3, so that it is | |
18246
efd37d974b0b
AVI files *can* contain aspect ration information, closes #483.
diego
parents:
17462
diff
changeset
|
84 played at 640x480. AVI files often lack this field, so they have to be |
9675 | 85 rescaled during encoding or played with the <option>-aspect</option> |
86 option. | |
87 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
88 </sect2> |
9675 | 89 |
90 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
91 <sect2 id="avi"> |
9675 | 92 <title>AVI files</title> |
93 | |
94 <para> | |
95 Designed by Microsoft, <emphasis role="bold">AVI (Audio Video Interleaved)</emphasis> | |
14024 | 96 is a widespread multipurpose format currently used mostly for MPEG-4 (DivX and DivX4) |
9675 | 97 video. It has many known drawbacks and shortcomings (for example in streaming). It |
98 supports one video stream and 0 to 99 audio streams and can be as big as | |
9683 | 99 2GB, but there exists an extension allowing bigger files called |
100 <emphasis role="bold">OpenDML</emphasis>. Microsoft currently strongly | |
101 discourages its use and encourages ASF/WMV. Not that anybody cares. | |
9675 | 102 </para> |
103 | |
104 <para> | |
105 There is a hack that allows AVI files to contain an Ogg Vorbis audio | |
106 stream, but makes them incompatible with standard AVI. | |
107 <application>MPlayer</application> supports playing these files. Seeking is | |
108 also implemented but severely hampered by badly encoded files with | |
109 confusing headers. Unfortunately the only encoder currently capable of | |
110 creating these files, <application>NanDub</application>, has this problem. | |
111 </para> | |
112 | |
113 <note> | |
114 <para> | |
115 DV cameras create raw DV streams that DV grabbing utilities convert to two | |
116 different types of AVI files. The AVI will then contain either separate | |
117 audio and video streams that <application>MPlayer</application> can play or | |
118 the raw DV stream for which support is under development. | |
119 </para> | |
120 </note> | |
121 | |
122 <para> | |
123 There are two kinds of AVI files: | |
124 <itemizedlist> | |
125 <listitem><simpara> | |
126 <emphasis role="bold">Interleaved:</emphasis> Audio and video content is | |
127 interleaved. This is the standard usage. Recommended and mostly used. Some tools | |
128 create interleaved AVIs with bad sync. <application>MPlayer</application> | |
129 detects these as interleaved, and this climaxes in loss of A/V sync, | |
130 probably at seeking. These files should be played as non-interleaved | |
131 (with the <option>-ni</option> option). | |
132 </simpara></listitem> | |
133 <listitem><simpara> | |
134 <emphasis role="bold">Non-interleaved:</emphasis> First comes the whole | |
135 video stream, then the whole audio stream. It thus needs a lot of seeking, | |
136 making playing from network or CD-ROM difficult. | |
137 </simpara></listitem> | |
138 </itemizedlist> | |
139 </para> | |
140 | |
141 <para> | |
142 <application>MPlayer</application> supports two kinds of timings for AVI | |
143 files: | |
144 <itemizedlist> | |
145 <listitem><simpara> | |
146 <emphasis role="bold">bps-based:</emphasis> It is based on the | |
147 bitrate/samplerate of the video/audio stream. This method is used by | |
13977 | 148 most players, including <ulink url="http://avifile.sf.net">avifile</ulink> |
9675 | 149 and <application>Windows Media Player</application>. Files with broken |
150 headers, and files created with VBR audio but not VBR-compliant encoder | |
151 will result in A/V desync with this method (mostly at seeking). | |
152 </simpara></listitem> | |
153 <listitem><simpara> | |
154 <emphasis role="bold">interleaving-based:</emphasis> It does not use the bitrate | |
155 value of the header, instead it uses the relative position of interleaved | |
156 audio and video chunks, making badly encoded files with VBR audio playable. | |
157 </simpara></listitem> | |
158 </itemizedlist> | |
159 </para> | |
160 | |
161 <para> | |
162 Any audio and video codec is allowed, but note that VBR audio is not well | |
163 supported by most players. The file format makes it possible to use VBR | |
164 audio, but most players expect CBR audio, thus they fail with VBR. VBR is | |
165 uncommon and Microsoft's AVI specs only describe CBR audio. I also noticed | |
166 that most AVI encoders/multiplexers create bad files when using VBR audio. | |
11540 | 167 There are only two known exceptions: <application>NanDub</application> and |
168 <link linkend="mencoder"><application>MEncoder</application></link>. | |
9675 | 169 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
170 </sect2> |
9675 | 171 |
172 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
173 <sect2 id="asf-wmv"> |
9675 | 174 <title>ASF/WMV files</title> |
175 <para> | |
176 ASF (Active Streaming Format) comes from Microsoft. They developed two | |
177 variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (<application>Windows | |
178 Media Player</application> and <application>Windows Media Encoder</application>) | |
179 and is very secret. v2.0 is published and patented :). Of course they differ, | |
180 there is no compatibility at all (it is just another legal game). | |
181 <application>MPlayer</application> supports only v1.0, as nobody has ever seen | |
182 v2.0 files :). Note that ASF files nowadays come with the extension | |
183 <filename>.WMA</filename> or <filename>.WMV</filename>. | |
184 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
185 </sect2> |
9675 | 186 |
187 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
188 <sect2 id="mov"> |
9675 | 189 <title>QuickTime/MOV files</title> |
190 | |
191 <para> | |
192 These formats were designed by Apple and can contain any codec, CBR or VBR. | |
193 They usually have a <filename>.QT</filename> or <filename>.MOV</filename> | |
14024 | 194 extension. Note that since the MPEG-4 group chose QuickTime as the recommended |
195 file format for MPEG-4, their MOV files come with a <filename>.MPG</filename> or | |
9675 | 196 <filename>.MP4</filename> extension (Interestingly the video and audio |
9683 | 197 streams in these files are real MPG and AAC files. You can even extract them with the |
9675 | 198 <option>-dumpvideo</option> and <option>-dumpaudio</option> options.). |
199 </para> | |
200 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
201 </sect2> |
9675 | 202 |
203 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
204 <sect2 id="vivo"> |
9675 | 205 <title>VIVO files</title> |
206 | |
207 <para> | |
208 <application>MPlayer</application> happily demuxes VIVO file formats. The | |
209 biggest disadvantage of the format is that it has no index block, nor a | |
210 fixed packet size or sync bytes and most files lack even keyframes, so | |
211 forget seeking! | |
212 </para> | |
213 | |
214 <para> | |
215 The video codec of VIVO/1.0 files is standard <emphasis role="bold">h.263</emphasis>. | |
216 The video codec of VIVO/2.0 files is a modified, nonstandard | |
217 <emphasis role="bold">h.263v2</emphasis>. The audio is the same, it may be | |
218 <emphasis role="bold">g.723 (standard)</emphasis>, or | |
219 <emphasis role="bold">Vivo Siren</emphasis>. | |
220 </para> | |
221 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
222 </sect2> |
9675 | 223 |
224 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
225 <sect2 id="fli"> |
9675 | 226 <title>FLI files</title> |
227 <para> | |
228 <emphasis role="bold">FLI</emphasis> is a very old file format used by | |
229 Autodesk Animator, but it is a common file format for short animations on the net. | |
230 <application>MPlayer</application> demuxes and decodes FLI movies and is | |
231 even able to seek within them (useful when looping with the | |
232 <option>-loop</option> option). FLI files do not have keyframes, so the | |
233 picture will be messy for a short time after seeking. | |
234 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
235 </sect2> |
9675 | 236 |
237 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
238 <sect2 id="realmedia"> |
9675 | 239 <title>RealMedia (RM) files</title> |
240 | |
241 <para> | |
242 Yes, <application>MPlayer</application> can read (demux) RealMedia | |
12690 | 243 (<filename>.rm</filename>) files. |
9675 | 244 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
245 </sect2> |
9675 | 246 |
247 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
248 <sect2 id="nuppelvideo"> |
9675 | 249 <title>NuppelVideo files</title> |
250 <para> | |
19731 | 251 NuppelVideo |
9675 | 252 is a TV grabber tool (AFAIK:). <application>MPlayer</application> can read |
253 its <filename>.NUV</filename> files (only NuppelVideo 5.0). Those files can | |
254 contain uncompressed YV12, YV12+RTJpeg compressed, YV12 RTJpeg+lzo | |
255 compressed, and YV12+lzo compressed frames. | |
256 <application>MPlayer</application> decodes (and also <emphasis role="bold">encodes</emphasis> | |
14024 | 257 them with <application>MEncoder</application> to MPEG-4 (DivX)/etc!) them all. |
13961
2946cbf097b5
DivX is MPEG4, so let's call it MPEG4 to avoid confusion.
diego
parents:
12759
diff
changeset
|
258 Seeking works. |
9675 | 259 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
260 </sect2> |
9675 | 261 |
262 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
263 <sect2 id="yuv4mpeg"> |
9675 | 264 <title>yuv4mpeg files</title> |
265 <para> | |
13977 | 266 <ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink> |
9675 | 267 is a file format used by the |
268 <ulink url="http://mjpeg.sf.net">mjpegtools programs</ulink>. | |
269 You can grab, produce, filter or encode video in this format using these tools. | |
270 The file format is really a sequence of uncompressed YUV 4:2:0 images. | |
271 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
272 </sect2> |
9675 | 273 |
274 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
275 <sect2 id="film"> |
9675 | 276 <title>FILM files</title> |
277 <para> | |
278 This format is used on old Sega Saturn CD-ROM games. | |
279 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
280 </sect2> |
9675 | 281 |
282 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
283 <sect2 id="roq"> |
9675 | 284 <title>RoQ files</title> |
285 <para> | |
286 RoQ files are multimedia files used in some ID games such as Quake III and | |
287 Return to Castle Wolfenstein. | |
288 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
289 </sect2> |
9675 | 290 |
291 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
292 <sect2 id="ogg"> |
9675 | 293 <title>OGG/OGM files</title> |
294 <para> | |
295 This is a new fileformat from <ulink url="http://www.xiph.org">Xiphophorus</ulink>. | |
296 It can contain any video or audio codec, CBR or VBR. You'll need | |
297 <systemitem class="library">libogg</systemitem> and | |
298 <systemitem class="library">libvorbis</systemitem> installed before | |
299 compiling <application>MPlayer</application> to be able to play it. | |
300 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
301 </sect2> |
9675 | 302 |
303 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
304 <sect2 id="sdp"> |
9675 | 305 <title>SDP files</title> |
306 <para> | |
307 <ulink url="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</ulink> is an | |
308 IETF standard format for describing video and/or audio RTP streams. | |
17462 | 309 (The "<ulink url="http://www.live555.com/mplayer/">LIVE555 Streaming Media</ulink>" |
9675 | 310 are required.) |
311 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
312 </sect2> |
9675 | 313 |
314 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
315 <sect2 id="pva"> |
9675 | 316 <title>PVA files</title> |
317 <para> | |
318 PVA is an MPEG-like format used by DVB TV boards' software (e.g.: | |
10679 | 319 <application>MultiDec</application>, <application>WinTV</application> under Windows). |
9675 | 320 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
321 </sect2> |
9675 | 322 |
323 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
324 <sect2 id="nsv"> |
12759
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
325 <title>NSV files</title> |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
326 <para> |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
327 NSV (NullSoft Video) is the file format used by the |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
328 <application>Winamp</application> player to stream audio and video. |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
329 Video is VP3, VP5 or VP6, audio is MP3, AAC or VLB. |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
330 The audio only version of NSV has the <filename>.nsa</filename> extension. |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
331 <application>MPlayer</application> can play both NSV streams and files. |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
332 Please note that most files from the |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
333 <ulink url="http://www.winamp.com">Winamp site</ulink> use VLB audio, that |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
334 can't be decoded yet. Moreover streams from that site need an extra |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
335 depacketization layer that still has to be implemented (those files are |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
336 unplayable anyway because they use VLB audio). |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
337 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
338 </sect2> |
12759
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
339 |
111a9feec18c
NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents:
12690
diff
changeset
|
340 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
341 <sect2 id="matroska"> |
16131 | 342 <title>Matroska files</title> |
343 <para> | |
344 Matroska is an open container format. | |
345 Read more on the <ulink url="http://www.matroska.org/">official site</ulink>. | |
346 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
347 </sect2> |
16131 | 348 |
349 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
350 <sect2 id="nut"> |
16131 | 351 <title>NUT files</title> |
352 <para> | |
353 NUT is the container format developed by <application>MPlayer</application> and | |
354 <application>FFmpeg</application> folks. Both projects support it. | |
355 Read more on the <ulink url="http://www.nut.hu/">official site</ulink>. | |
356 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
357 </sect2> |
16131 | 358 |
359 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
360 <sect2 id="gif"> |
9675 | 361 <title>GIF files</title> |
362 <para> | |
363 The <emphasis role="bold">GIF</emphasis> format is a common format for web | |
364 graphics. There are two versions of the GIF spec, GIF87a and GIF89a. The | |
11540 | 365 main difference is that GIF89a allows for animation. <application>MPlayer</application> |
366 supports both formats through use of <systemitem class="library">libungif</systemitem> or | |
9675 | 367 another libgif-compatible library. Non-animated GIFs will be displayed as |
368 single frame videos. (Use the <option>-loop</option> and <option>-fixed-vo</option> | |
369 options to display these longer.) | |
370 </para> | |
371 | |
372 <para> | |
373 <application>MPlayer</application> currently does not support seeking in GIF | |
374 files. GIF files do not necessarily have a fixed frame size, nor a fixed | |
375 framerate. Rather, each frame is of independent size and is supposed to be | |
376 positioned in a certain place on a field of fixed-size. The framerate is | |
377 controlled by an optional block before each frame that specifies the next | |
378 frame's delay in centiseconds. | |
379 </para> | |
380 | |
381 <para> | |
382 Standard GIF files contain 24-bit RGB frames with at most an 8-bit indexed | |
11271
252fb0cf331a
spelling fixes, mostly by <ismail.donmez@boun.edu.tr>
diego
parents:
11002
diff
changeset
|
383 palette. These frames are usually LZW-compressed, although some GIF encoders |
9675 | 384 produce uncompressed frames to avoid patent issues with LZW compression. |
385 </para> | |
386 | |
387 <para> | |
388 If your distribution does not come with <systemitem class="library">libungif</systemitem>, | |
389 download a copy from the | |
14126 | 390 <ulink url="http://sourceforge.net/projects/libungif">libungif |
9675 | 391 homepage</ulink>. For detailed technical information, have a look at the |
392 <ulink url="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF89a specification</ulink>. | |
393 </para> | |
394 </sect2> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
395 </sect1> |
9675 | 396 |
397 <!-- ********** --> | |
398 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
399 <sect1 id="audio-formats"> |
9675 | 400 <title>Audio formats</title> |
401 | |
402 <para> | |
403 <application>MPlayer</application> is a <emphasis role="bold">movie</emphasis> | |
404 and not a <emphasis role="bold">media</emphasis> player, although it can play | |
405 some audio file formats (they are listed in the sections below). This is not | |
406 a recommended usage of <application>MPlayer</application>, you better use <ulink | |
407 url="http://www.xmms.org">XMMS</ulink>. | |
408 </para> | |
409 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
410 <sect2 id="mp3"> |
9675 | 411 <title>MP3 files</title> |
412 <para> | |
413 You may have problems playing certain MP3 files that | |
414 <application>MPlayer</application> will misdetect as MPEGs and play | |
415 incorrectly or not at all. This cannot be fixed without dropping support | |
416 for certain broken MPEG files and thus will remain like this for the | |
417 foreseeable future. The <option>-demuxer</option> flag described in the | |
11731 | 418 man page may help you in these cases. |
9675 | 419 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
420 </sect2> |
9675 | 421 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
422 <sect2 id="ogg-vorbis"> |
9675 | 423 <title>OGG/OGM files (Vorbis)</title> |
424 <para> | |
425 Requires properly installed | |
426 <systemitem class="library">libogg</systemitem> and | |
427 <systemitem class="library">libvorbis</systemitem>. | |
428 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
429 </sect2> |
9675 | 430 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
431 <sect2 id="cdda"> |
9675 | 432 <title>CD audio</title> |
433 <para> | |
434 <application>MPlayer</application> can use <application>cdparanoia</application> | |
435 to play CDDA (Audio CD). The scope of this section does not contain enumerating | |
436 <application>cdparanoia</application>'s features. | |
437 </para> | |
438 | |
439 <para> | |
440 See the man page's <option>-cdda</option> option which can be used to pass | |
441 options to <application>cdparanoia</application>. | |
442 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
443 </sect2> |
9675 | 444 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
445 <sect2 id="xmms"> |
9675 | 446 <title>XMMS</title> |
447 <para> | |
448 <application>MPlayer</application> can use <application>XMMS</application> input | |
449 plugins to play many file formats. There are plugins for SNES game tunes, SID | |
450 tunes (from Commodore 64), many Amiga formats, .xm, .it, VQF, musepack, Bonk, | |
451 shorten and many others. You can find them at the | |
14121 | 452 <ulink url="http://www.xmms.org/plugins.php?category=input">XMMS input plugin page</ulink>. |
9675 | 453 </para> |
454 | |
455 <para> | |
456 For this feature you need to have <application>XMMS</application> and compile | |
457 <application>MPlayer</application> with <filename>./configure --enable-xmms</filename>. | |
458 If that does not work, you might need to set the <application>XMMS</application> | |
459 plugin and library path explicitly by way of the <option>--with-xmmsplugindir</option> | |
11002
d8c03c27af4f
Configure option typo found by Piotr Michniewski <cobra_666@poczta.onet.pl>
diego
parents:
10913
diff
changeset
|
460 and <option>--with-xmmslibdir</option> options. |
9675 | 461 </para> |
462 </sect2> | |
463 </sect1> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
464 |
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
16131
diff
changeset
|
465 </chapter> |