comparison DOCS/formats.html @ 7814:988498df1996

<B>MPlayer</B> ---> MPlayer
author diego
date Sun, 20 Oct 2002 12:20:39 +0000
parents 76940a39405a
children a340de6b3e3a
comparison
equal deleted inserted replaced
7813:76940a39405a 7814:988498df1996
72 2GB, but there exists an extension allowing bigger files called 72 2GB, but there exists an extension allowing bigger files called
73 <B>OpenDMS</B>. Microsoft currently strongly discourages its use and 73 <B>OpenDMS</B>. Microsoft currently strongly discourages its use and
74 encourages ASF/WMV. Not that anybody cares.</P> 74 encourages ASF/WMV. Not that anybody cares.</P>
75 75
76 <P>There is a hack that allows AVI files to contain an Ogg Vorbis audio 76 <P>There is a hack that allows AVI files to contain an Ogg Vorbis audio
77 stream, but makes them incompatible with standard AVI. <B>MPlayer</B> 77 stream, but makes them incompatible with standard AVI. MPlayer
78 supports playing these files. Seeking is also implemented but severely 78 supports playing these files. Seeking is also implemented but severely
79 hampered by badly encoded files with confusing headers. Unfortunately the 79 hampered by badly encoded files with confusing headers. Unfortunately the
80 only encoder currently capable of creating these files, NanDub, has this 80 only encoder currently capable of creating these files, NanDub, has this
81 problem.</P> 81 problem.</P>
82 82
83 <P><B>Note:</B> DV cameras create raw DV streams that DV grabbing utilities 83 <P><B>Note:</B> DV cameras create raw DV streams that DV grabbing utilities
84 convert to two different types of AVI files. The AVI will then contain either 84 convert to two different types of AVI files. The AVI will then contain either
85 separate audio and video streams that <B>MPlayer</B> can play or the raw DV 85 separate audio and video streams that MPlayer can play or the raw DV
86 stream for which support is under development.</P> 86 stream for which support is under development.</P>
87 87
88 <P>There are two kinds of AVI files:</P> 88 <P>There are two kinds of AVI files:</P>
89 <UL> 89 <UL>
90 <LI><B>Interleaved:</B> Audio and video content is interleaved. This is the 90 <LI><B>Interleaved:</B> Audio and video content is interleaved. This is the
91 standard usage. Recommended and mostly used. Some tools create 91 standard usage. Recommended and mostly used. Some tools create
92 non-interleaved AVIs with bad sync. <B>MPlayer</B> detects these as 92 non-interleaved AVIs with bad sync. MPlayer detects these as
93 interleaved, and this climaxes in loss of A/V sync, probably at seeking. 93 interleaved, and this climaxes in loss of A/V sync, probably at seeking.
94 These files should be played as non-interleaved (with the <CODE>-ni</CODE> 94 These files should be played as non-interleaved (with the <CODE>-ni</CODE>
95 option).</LI> 95 option).</LI>
96 <LI><B>Non-interleaved:</B> First comes the whole video stream, then the whole 96 <LI><B>Non-interleaved:</B> First comes the whole video stream, then the whole
97 audio stream. It thus needs a lot of seeking, making playing from network or 97 audio stream. It thus needs a lot of seeking, making playing from network or
98 CD-Rom difficult. (should be played with the <CODE>-ni</CODE> option)</LI> 98 CD-Rom difficult. (should be played with the <CODE>-ni</CODE> option)</LI>
99 </UL> 99 </UL>
100 100
101 <P><B>MPlayer</B> supports two kinds of timings for AVI files:</P> 101 <P>MPlayer supports two kinds of timings for AVI files:</P>
102 <UL> 102 <UL>
103 <LI><B>bps-based</B>: It is based on the bitrate/samplerate of the video/audio stream. This 103 <LI><B>bps-based</B>: It is based on the bitrate/samplerate of the video/audio stream. This
104 method is used by most players, including <A HREF="http://avifile.sourceforge.net">avifile</A> 104 method is used by most players, including <A HREF="http://avifile.sourceforge.net">avifile</A>
105 and Windows Media Player. 105 and Windows Media Player.
106 Files with broken headers, and files created with VBR audio but not with a 106 Files with broken headers, and files created with VBR audio but not with a
123 123
124 <P>ASF (active streaming format) comes from Microsoft. They developed two 124 <P>ASF (active streaming format) comes from Microsoft. They developed two
125 variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (Windows 125 variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (Windows
126 Media Player and Windows Media Encoder) and is very secret. v2.0 is published 126 Media Player and Windows Media Encoder) and is very secret. v2.0 is published
127 and patented :). Of course they differ, there is no compatibility at all (it 127 and patented :). Of course they differ, there is no compatibility at all (it
128 is just another legal game). <B>MPlayer</B> supports only v1.0, as nobody has 128 is just another legal game). MPlayer supports only v1.0, as nobody has
129 ever seen v2.0 files :). Note that ASF files nowadays come with the extension 129 ever seen v2.0 files :). Note that ASF files nowadays come with the extension
130 .WMA or .WMV.</P> 130 .WMA or .WMV.</P>
131 131
132 132
133 <H4><A NAME="mov">2.1.1.4 QuickTime/MOV files</A></H4> 133 <H4><A NAME="mov">2.1.1.4 QuickTime/MOV files</A></H4>
145 section. QDesign Music audio currently cannot be played.</P> 145 section. QDesign Music audio currently cannot be played.</P>
146 146
147 147
148 <H4><A NAME="vivo">2.1.1.5 VIVO files</A></H4> 148 <H4><A NAME="vivo">2.1.1.5 VIVO files</A></H4>
149 149
150 <P><B>MPlayer</B> happily demuxes VIVO file formats. The biggest disadvantage 150 <P>MPlayer happily demuxes VIVO file formats. The biggest disadvantage
151 of the format is that it has no index block, nor a fixed packet size or sync 151 of the format is that it has no index block, nor a fixed packet size or sync
152 bytes and most files lack even keyframes, so forget seeking!</P> 152 bytes and most files lack even keyframes, so forget seeking!</P>
153 153
154 <P>The video codec of VIVO/1.0 files is standard <B>h.263</B>. The video codec 154 <P>The video codec of VIVO/1.0 files is standard <B>h.263</B>. The video codec
155 of VIVO/2.0 files is a modified, nonstandard <B>h.263v2</B>. The audio is the 155 of VIVO/2.0 files is a modified, nonstandard <B>h.263v2</B>. The audio is the
161 161
162 162
163 <H4><A NAME="fli">2.1.1.6 FLI files</A></H4> 163 <H4><A NAME="fli">2.1.1.6 FLI files</A></H4>
164 164
165 <P><B>FLI</B> is a very old file format used by Autodesk Animator, but it is a 165 <P><B>FLI</B> is a very old file format used by Autodesk Animator, but it is a
166 common file format for short animations on the net. <B>MPlayer</B> demuxes 166 common file format for short animations on the net. MPlayer demuxes
167 and decodes FLI movies and is even able to seek within them (useful when 167 and decodes FLI movies and is even able to seek within them (useful when
168 looping with the <CODE>-loop</CODE> option). FLI files do not have keyframes, 168 looping with the <CODE>-loop</CODE> option). FLI files do not have keyframes,
169 so the picture will be messy for a short time after seeking.</P> 169 so the picture will be messy for a short time after seeking.</P>
170 170
171 171
172 <H4><A NAME="real">2.1.1.7 RealMedia (RM) files</A></H4> 172 <H4><A NAME="real">2.1.1.7 RealMedia (RM) files</A></H4>
173 173
174 <P>Yes, <B>MPlayer</B> can read (demux) RealMedia (.rm) files. Seeking works, 174 <P>Yes, MPlayer can read (demux) RealMedia (.rm) files. Seeking works,
175 but you have to explicitly specify the <CODE>-forceidx</CODE> option 175 but you have to explicitly specify the <CODE>-forceidx</CODE> option
176 (the format supports keyframes). Here are the lists of the supported 176 (the format supports keyframes). Here are the lists of the supported
177 <A HREF="codecs.html#realvideo">RealVideo</A> 177 <A HREF="codecs.html#realvideo">RealVideo</A>
178 and <A HREF="codecs.html#realaudio">RealAudio</A> codecs.</P> 178 and <A HREF="codecs.html#realaudio">RealAudio</A> codecs.</P>
179 179
180 180
181 <H4><A NAME="nuppelvideo">2.1.1.8 NuppelVideo files</A></H4> 181 <H4><A NAME="nuppelvideo">2.1.1.8 NuppelVideo files</A></H4>
182 182
183 <P><A HREF="http://mars.tuwien.ac.at/~roman/nuppelvideo">NuppelVideo</A> 183 <P><A HREF="http://mars.tuwien.ac.at/~roman/nuppelvideo">NuppelVideo</A>
184 is a TV grabber tool (AFAIK:). <B>MPlayer</B> can read its .NUV files (only 184 is a TV grabber tool (AFAIK:). MPlayer can read its .NUV files (only
185 NuppelVideo 5.0). Those files can contain uncompressed YV12, YV12+RTJpeg 185 NuppelVideo 5.0). Those files can contain uncompressed YV12, YV12+RTJpeg
186 compressed, YV12 RTJpeg+lzo compressed, and YV12+lzo compressed frames. 186 compressed, YV12 RTJpeg+lzo compressed, and YV12+lzo compressed frames.
187 <B>MPlayer</B> decodes them all (and also <B>encodes</B> them with 187 MPlayer decodes them all (and also <B>encodes</B> them with
188 <B>MEncoder</B> to DivX/etc!). Seeking works.</P> 188 MEncoder to DivX/etc!). Seeking works.</P>
189 189
190 190
191 <H4><A NAME="yuv4mpeg">2.1.1.9 yuv4mpeg files</A></H4> 191 <H4><A NAME="yuv4mpeg">2.1.1.9 yuv4mpeg files</A></H4>
192 192
193 <P><A HREF="http://mjpeg.sourceforge.net">yuv4mpeg / yuv4mpeg2</A> is a file 193 <P><A HREF="http://mjpeg.sourceforge.net">yuv4mpeg / yuv4mpeg2</A> is a file
211 <H4><A NAME="ogg">2.1.1.12 OGG/OGM files</A></H4> 211 <H4><A NAME="ogg">2.1.1.12 OGG/OGM files</A></H4>
212 212
213 <P>This is a new file format from <A HREF="http://www.xiph.org">Xiphophorus</A>. 213 <P>This is a new file format from <A HREF="http://www.xiph.org">Xiphophorus</A>.
214 It can contain any video or audio codec, CBR or VBR. You will need to 214 It can contain any video or audio codec, CBR or VBR. You will need to
215 have <CODE>libogg</CODE> and <CODE>libvorbis</CODE> installed 215 have <CODE>libogg</CODE> and <CODE>libvorbis</CODE> installed
216 before compiling <B>MPlayer</B> to be able to play it.</P> 216 before compiling MPlayer to be able to play it.</P>
217 217
218 218
219 <H4><A NAME="sdp">2.1.1.13 SDP files</A></H4> 219 <H4><A NAME="sdp">2.1.1.13 SDP files</A></H4>
220 220
221 <P><A HREF="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</A> 221 <P><A HREF="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt">SDP</A>
224 libraries are required.)</P> 224 libraries are required.)</P>
225 225
226 226
227 <H3><A NAME="audio_formats">2.1.2 Audio formats</A></H3> 227 <H3><A NAME="audio_formats">2.1.2 Audio formats</A></H3>
228 228
229 <P><B>MPlayer</B> is a <B>Movie</B> and not a <B>Media</B> player, although 229 <P>MPlayer is a <B>Movie</B> and not a <B>Media</B> player, although
230 it can play some audio file formats (they are listed in the sections below). 230 it can play some audio file formats (they are listed in the sections below).
231 This is not a recommended usage of <B>MPlayer</B>, you better use 231 This is not a recommended usage of MPlayer, you better use
232 <A HREF="http://www.xmms.org">xmms</A>.</P> 232 <A HREF="http://www.xmms.org">xmms</A>.</P>
233 233
234 234
235 <H4><A NAME="mp3">2.1.2.1 MP3 files</A></H4> 235 <H4><A NAME="mp3">2.1.2.1 MP3 files</A></H4>
236 236
237 <P>You may have problems playing certain MP3 files that <B>MPlayer</B> will 237 <P>You may have problems playing certain MP3 files that MPlayer will
238 misdetect as MPEGs and play incorrectly or not at all. This cannot be fixed 238 misdetect as MPEGs and play incorrectly or not at all. This cannot be fixed
239 without dropping support for certain broken MPEG files and thus will remain 239 without dropping support for certain broken MPEG files and thus will remain
240 like this for the foreseeable future. The <CODE>-demuxer</CODE> flag 240 like this for the foreseeable future. The <CODE>-demuxer</CODE> flag
241 described in the man page may help you in these cases.</P> 241 described in the man page may help you in these cases.</P>
242 242