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