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