annotate DOCS/xml/en/formats.xml @ 17153:c0b147bdf49d

Harcoded eng strings on libmpdemux/network.c to help_mp
author reynaldo
date Sat, 10 Dec 2005 01:40:18 +0000
parents e660acd11abe
children 7f9fcf5245a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10679
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <sect1 id="formats">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Supported formats</title>
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 <emphasis role="bold">file 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.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 Examples of file <emphasis role="bold">formats</emphasis> are: MPG, AVI, ASF.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 In theory, you can put an OpenDivX video and MP3 audio
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 into an <emphasis role="bold">MPG format file</emphasis>. However, most
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
24 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
25 <emphasis role="bold">AVI</emphasis>, <emphasis role="bold">MPG</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 does not have the necessary fields to describe its video and audio streams).
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
27 Or you might put MPEG-1 video into an AVI file.
13977
7895a1b73828 URL updates
diego
parents: 13974
diff changeset
28 <ulink url="http://ffmpeg.org/">FFmpeg</ulink> and
11540
d480f7e36b74 <application> attack
wight
parents: 11483
diff changeset
29 <link linkend="mencoder"><application>MEncoder</application></link> can create these files.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <sect2 id="video-formats">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <title>Video formats</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <sect3 id="mpg-vob-dat">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 <title>MPEG files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 MPEG files come in different guises:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 MPG: This is the most <emphasis role="bold">basic</emphasis> form of the
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
46 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
47 rarely MP1 audio.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 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
51 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
52 are created and Linux is designed, the DAT files cannot be played nor copied
10184
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9683
diff changeset
53 from VCDs as regular files. You have to use <option>vcd://</option>
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 9683
diff changeset
54 to play a Video CD.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 VOB: This is the MPEG file format on <emphasis role="bold">DVDs</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 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
59 (AC3) audio. It contains encoded MPEG-2 video and usually AC3 audio, but DTS,
9683
nicolas
parents: 9675
diff changeset
60 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
61 <link linkend="dvd">DVD</link> section</emphasis>!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 </simpara></listitem>
14836
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
63 <listitem><simpara>
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
64 TY: This is a TiVo MPEG stream. It contains MPEG PES data for audio and
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
65 video streams, as well as extra information like closed captions. The
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
66 container is not an MPEG program stream, but a closed format created by
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
67 TiVo. For more information on TiVo stream format, please refer to
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
68 <ulink url="http://dvd-create.sourceforge.net/tystudio/tystream.shtml">
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
69 the TyStudio page</ulink>.
8b9738526dd7 added a stream module for the vstream client library
joey
parents: 14126
diff changeset
70 </simpara></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 Series of frames form independent groups in MPEG files. This means that you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 can cut/join an MPEG file with standard file tools (like
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 <command>dd</command>, <command>cut</command>), and it remains completely
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 functional.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 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
82 aspect ratio of the video stream within. For example SVCDs have 480x480
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 resolution video, and in the header that field is set to 4:3, so that it is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 played at 640x480. AVI files do not have this field, so they have to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 rescaled during encoding or played with the <option>-aspect</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 <sect3 id="avi">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <title>AVI files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 Designed by Microsoft, <emphasis role="bold">AVI (Audio Video Interleaved)</emphasis>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
96 is a widespread multipurpose format currently used mostly for MPEG-4 (DivX and DivX4)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 video. It has many known drawbacks and shortcomings (for example in streaming). It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 supports one video stream and 0 to 99 audio streams and can be as big as
9683
nicolas
parents: 9675
diff changeset
99 2GB, but there exists an extension allowing bigger files called
nicolas
parents: 9675
diff changeset
100 <emphasis role="bold">OpenDML</emphasis>. Microsoft currently strongly
nicolas
parents: 9675
diff changeset
101 discourages its use and encourages ASF/WMV. Not that anybody cares.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 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
106 stream, but makes them incompatible with standard AVI.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 <application>MPlayer</application> supports playing these files. Seeking is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 also implemented but severely hampered by badly encoded files with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 confusing headers. Unfortunately the only encoder currently capable of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 creating these files, <application>NanDub</application>, has this problem.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 DV cameras create raw DV streams that DV grabbing utilities convert to two
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 different types of AVI files. The AVI will then contain either separate
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 audio and video streams that <application>MPlayer</application> can play or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 the raw DV stream for which support is under development.
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 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 There are two kinds of AVI files:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 <emphasis role="bold">Interleaved:</emphasis> Audio and video content is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 interleaved. This is the standard usage. Recommended and mostly used. Some tools
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 create interleaved AVIs with bad sync. <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 detects these as interleaved, and this climaxes in loss of A/V sync,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 probably at seeking. These files should be played as non-interleaved
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 (with the <option>-ni</option> option).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 <emphasis role="bold">Non-interleaved:</emphasis> First comes the whole
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 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
136 making playing from network or CD-ROM difficult.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 <application>MPlayer</application> supports two kinds of timings for AVI
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 files:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 <emphasis role="bold">bps-based:</emphasis> It is based on the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 bitrate/samplerate of the video/audio stream. This method is used by
13977
7895a1b73828 URL updates
diego
parents: 13974
diff changeset
148 most players, including <ulink url="http://avifile.sf.net">avifile</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 and <application>Windows Media Player</application>. Files with broken
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 headers, and files created with VBR audio but not VBR-compliant encoder
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 will result in A/V desync with this method (mostly at seeking).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 <emphasis role="bold">interleaving-based:</emphasis> It does not use the bitrate
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 value of the header, instead it uses the relative position of interleaved
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 audio and video chunks, making badly encoded files with VBR audio playable.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 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
163 supported by most players. The file format makes it possible to use VBR
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 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
165 uncommon and Microsoft's AVI specs only describe CBR audio. I also noticed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 that most AVI encoders/multiplexers create bad files when using VBR audio.
11540
d480f7e36b74 <application> attack
wight
parents: 11483
diff changeset
167 There are only two known exceptions: <application>NanDub</application> and
d480f7e36b74 <application> attack
wight
parents: 11483
diff changeset
168 <link linkend="mencoder"><application>MEncoder</application></link>.
9675
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 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <sect3 id="asf-wmv">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 <title>ASF/WMV files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 ASF (Active Streaming Format) comes from Microsoft. They developed two
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (<application>Windows
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 Media Player</application> and <application>Windows Media Encoder</application>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 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
180 there is no compatibility at all (it is just another legal game).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 <application>MPlayer</application> supports only v1.0, as nobody has ever seen
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 v2.0 files :). Note that ASF files nowadays come with the extension
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 <filename>.WMA</filename> or <filename>.WMV</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187
14086
7a2d81d187c2 better label
diego
parents: 14024
diff changeset
188 <sect3 id="mov">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 <title>QuickTime/MOV files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 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
193 They usually have a <filename>.QT</filename> or <filename>.MOV</filename>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
194 extension. Note that since the MPEG-4 group chose QuickTime as the recommended
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
195 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
196 <filename>.MP4</filename> extension (Interestingly the video and audio
9683
nicolas
parents: 9675
diff changeset
197 streams in these files are real MPG and AAC files. You can even extract them with the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 <option>-dumpvideo</option> and <option>-dumpaudio</option> options.).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 Most new QuickTime files use <emphasis role="bold">Sorenson</emphasis> video and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 QDesign Music audio. See our <link linkend="sorenson">Sorenson</link> codec section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 <sect3 id="vivo">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <title>VIVO files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 <application>MPlayer</application> happily demuxes VIVO file formats. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 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
216 fixed packet size or sync bytes and most files lack even keyframes, so
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 forget seeking!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 The video codec of VIVO/1.0 files is standard <emphasis role="bold">h.263</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 The video codec of VIVO/2.0 files is a modified, nonstandard
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 <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
224 <emphasis role="bold">g.723 (standard)</emphasis>, or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <emphasis role="bold">Vivo Siren</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 See the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 <link linkend="vivo-video">VIVO video codec</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 <link linkend="vivo-audio">VIVO audio codec</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 sections for installation instructions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <sect3 id="fli">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 <title>FLI files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <emphasis role="bold">FLI</emphasis> is a very old file format used by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 Autodesk Animator, but it is a common file format for short animations on the net.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 <application>MPlayer</application> demuxes and decodes FLI movies and is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 even able to seek within them (useful when looping with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 <option>-loop</option> option). FLI files do not have keyframes, so the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 picture will be messy for a short time after seeking.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 <sect3 id="realmedia">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 <title>RealMedia (RM) files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 Yes, <application>MPlayer</application> can read (demux) RealMedia
12690
bc34137bb0b0 Seeking in RM works now.
diego
parents: 11731
diff changeset
255 (<filename>.rm</filename>) files.
bc34137bb0b0 Seeking in RM works now.
diego
parents: 11731
diff changeset
256 Here are the lists of the supported <link
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 linkend="realvideo">RealVideo</link> and <link
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 linkend="realaudio">RealAudio</link> codecs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 <sect3 id="nuppelvideo">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 <title>NuppelVideo files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 <para>
14126
a3a6fef739cf URL updates
diego
parents: 14122
diff changeset
266 <ulink url="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/">NuppelVideo</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 is a TV grabber tool (AFAIK:). <application>MPlayer</application> can read
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 its <filename>.NUV</filename> files (only NuppelVideo 5.0). Those files can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 contain uncompressed YV12, YV12+RTJpeg compressed, YV12 RTJpeg+lzo
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 compressed, and YV12+lzo compressed frames.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 <application>MPlayer</application> decodes (and also <emphasis role="bold">encodes</emphasis>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13977
diff changeset
272 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
273 Seeking works.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 <sect3 id="yuv4mpeg">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <title>yuv4mpeg files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <para>
13977
7895a1b73828 URL updates
diego
parents: 13974
diff changeset
281 <ulink url="http://mjpeg.sf.net">yuv4mpeg / yuv4mpeg2</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 is a file format used by the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <ulink url="http://mjpeg.sf.net">mjpegtools programs</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 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
285 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
286 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 <sect3 id="film">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 <title>FILM files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 This format is used on old Sega Saturn CD-ROM games.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 <sect3 id="roq">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 <title>RoQ files</title>
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 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
302 Return to Castle Wolfenstein.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 <sect3 id="ogg">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 <title>OGG/OGM files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 This is a new fileformat from <ulink url="http://www.xiph.org">Xiphophorus</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 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
312 <systemitem class="library">libogg</systemitem> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 <systemitem class="library">libvorbis</systemitem> installed before
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 compiling <application>MPlayer</application> to be able to play it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 <sect3 id="sdp">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 <title>SDP files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 <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
323 IETF standard format for describing video and/or audio RTP streams.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 (The &quot;<ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>&quot;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 are required.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 <sect3 id="pva">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 <title>PVA files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 PVA is an MPEG-like format used by DVB TV boards' software (e.g.:
10679
f5bc733989d5 Parenthesis mistake
nauj27
parents: 10184
diff changeset
334 <application>MultiDec</application>, <application>WinTV</application> under Windows).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338
12759
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
339 <sect3 id="nsv">
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
340 <title>NSV files</title>
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
341 <para>
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
342 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
343 <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
344 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
345 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
346 <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
347 Please note that most files from the
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
348 <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
349 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
350 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
351 unplayable anyway because they use VLB audio).
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
352 </para>
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
353 </sect3>
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
354
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12690
diff changeset
355
16131
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
356 <sect3 id="matroska">
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
357 <title>Matroska files</title>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
358 <para>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
359 Matroska is an open container format.
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
360 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
361 </para>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
362 </sect3>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
363
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
364
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
365 <sect3 id="nut">
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
366 <title>NUT files</title>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
367 <para>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
368 NUT is the container format developed by <application>MPlayer</application> and
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
369 <application>FFmpeg</application> folks. Both projects support it.
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
370 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
371 </para>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
372 </sect3>
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
373
e660acd11abe some preliminary entries about nut and matroska
alex
parents: 14836
diff changeset
374
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 <sect3 id="gif">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 <title>GIF files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 The <emphasis role="bold">GIF</emphasis> format is a common format for web
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 graphics. There are two versions of the GIF spec, GIF87a and GIF89a. The
11540
d480f7e36b74 <application> attack
wight
parents: 11483
diff changeset
380 main difference is that GIF89a allows for animation. <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11483
diff changeset
381 supports both formats through use of <systemitem class="library">libungif</systemitem> or
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 another libgif-compatible library. Non-animated GIFs will be displayed as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 single frame videos. (Use the <option>-loop</option> and <option>-fixed-vo</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 options to display these longer.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 <application>MPlayer</application> currently does not support seeking in GIF
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 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
390 framerate. Rather, each frame is of independent size and is supposed to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 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
392 controlled by an optional block before each frame that specifies the next
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 frame's delay in centiseconds.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397 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
398 palette. These frames are usually LZW-compressed, although some GIF encoders
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399 produce uncompressed frames to avoid patent issues with LZW compression.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
402 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
403 If your distribution does not come with <systemitem class="library">libungif</systemitem>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 download a copy from the
14126
a3a6fef739cf URL updates
diego
parents: 14122
diff changeset
405 <ulink url="http://sourceforge.net/projects/libungif">libungif
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406 homepage</ulink>. For detailed technical information, have a look at the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 <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
408 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 <sect2 id="audio-formats">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 <title>Audio formats</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418 <application>MPlayer</application> is a <emphasis role="bold">movie</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 and not a <emphasis role="bold">media</emphasis> player, although it can play
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 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
421 a recommended usage of <application>MPlayer</application>, you better use <ulink
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 url="http://www.xmms.org">XMMS</ulink>.
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
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425 <sect3 id="mp3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 <title>MP3 files</title>
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 You may have problems playing certain MP3 files that
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 <application>MPlayer</application> will misdetect as MPEGs and play
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 incorrectly or not at all. This cannot be fixed without dropping support
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 for certain broken MPEG files and thus will remain like this for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 foreseeable future. The <option>-demuxer</option> flag described in the
11731
diego
parents: 11540
diff changeset
433 man page may help you in these cases.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437 <sect3 id="wav">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
438 <title>WAV files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 <sect3 id="ogg-vorbis">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444 <title>OGG/OGM files (Vorbis)</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 Requires properly installed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447 <systemitem class="library">libogg</systemitem> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 <systemitem class="library">libvorbis</systemitem>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 <sect3 id="wma-asf">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453 <title>WMA/ASF files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 <sect3 id="mp4">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
459 <title>MP4 files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 <para></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
461 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 <sect3 id="cdda">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 <title>CD audio</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466 <application>MPlayer</application> can use <application>cdparanoia</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 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
468 <application>cdparanoia</application>'s features.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 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
473 options to <application>cdparanoia</application>.
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 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
476
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
477 <sect3 id="xmms">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
478 <title>XMMS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 <application>MPlayer</application> can use <application>XMMS</application> input
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
481 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
482 tunes (from Commodore 64), many Amiga formats, .xm, .it, VQF, musepack, Bonk,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
483 shorten and many others. You can find them at the
14121
3ebb4191be3f link updates, noticed by Nicolas Le Gaillart
diego
parents: 14086
diff changeset
484 <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
485 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
487 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488 For this feature you need to have <application>XMMS</application> and compile
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489 <application>MPlayer</application> with <filename>./configure --enable-xmms</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
490 If that does not work, you might need to set the <application>XMMS</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 plugin and library path explicitly by way of the <option>--with-xmmsplugindir</option>
11002
d8c03c27af4f Configure option typo found by Piotr Michniewski <cobra_666@poczta.onet.pl>
diego
parents: 10913
diff changeset
492 and <option>--with-xmmslibdir</option> options.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
493 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496 </sect1>