annotate DOCS/formats.html @ 6583:4b7d097a9c69

big update
author gabucino
date Fri, 28 Jun 2002 06:07:46 +0000
parents ed50937a1321
children 38b10ce1d871
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6403
c0f189e49ee4 Background color now set by CSS, added doctype and default character set,
diego
parents: 6393
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
2 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
3
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
4 <HEAD>
6391
4e5c236ade69 small updates
gabucino
parents: 6357
diff changeset
5 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
6403
c0f189e49ee4 Background color now set by CSS, added doctype and default character set,
diego
parents: 6393
diff changeset
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
7 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
8
6403
c0f189e49ee4 Background color now set by CSS, added doctype and default character set,
diego
parents: 6393
diff changeset
9 <BODY>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
10
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
11
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
12 <P><B><A NAME=2.1>2.1. Supported formats</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
13
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
14 <P>It is important to clarify a common mistake. When people see a file with a
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
15 <B>.AVI</B> extension, they immediately conclude that it is not an MPEG file.
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
16 That is not true. At least not entirely. Contrary to popular belief such a file
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
17 <B>can</B> contain MPEG1 video.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
18
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
19 <P>You see, a <B>codec</B> is not the same as a <B>file format</B>.<BR>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
20 Examples of video <B>codecs</B> are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.<BR>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
21 Examples of file <B>formats</B> are: MPG, AVI, ASF.<BR>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
22 </P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
23
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
24 <P>In theory, you can put an OpenDivX video and MP3 audio
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
25 into an <B>MPG</B> format file. However, most players will not play it, since
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
26 they expect MPEG1 video and MP2 audio (unlike <B>AVI</B>, <B>MPG</B> does not have the
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
27 necessary fields to describe its video and audio streams).
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
28 Or you might put MPEG1 video into an AVI file. <A HREF="http://ffmpeg.sourceforge.net">FFmpeg</A>
4177
cab4ac1467e4 many small updates
gabucino
parents: 3818
diff changeset
29 and <A HREF="encoding.html">MEncoder</A> can create these files.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
30
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
31
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
32
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
33 <P><B><A NAME=2.1.1>2.1.1. Video formats</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
34
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
35
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
36 <P><B><A NAME=2.1.1.1>2.1.1.1. MPEG files</A></B></P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
37
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
38 <P>MPEG files come in different guises:</P>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
39
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
40 <UL>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
41 <LI>MPG: This is the most <B>basic</B> form of the MPEG file formats. It contains
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
42 MPEG1 video, and MP2 (MPEG-1 layer 2) or rarely MP1 audio.</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
43 <LI>DAT: This is the very same format as MPG with a different extension. It is used
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
44 on <B>Video CD</B>s. Due to the way VCDs are created and Linux is designed,
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
45 the DAT files cannot be played nor copied from VCDs as regular files. You have
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
46 to use the <CODE>-vcd</CODE> option to play the Video CD.</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
47 <LI>VOB: This is the MPEG file format on <B>DVD</B>s. It is the same as MPG, plus the
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
48 capability to contain subtitles or non-MPEG (AC3) audio. It contains encoded MPEG2
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
49 video and usually AC3 audio, but DTS, MP2 and uncompressed LPCM are allowed, too.<BR>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
50 <B>Read the <A HREF="cd-dvd.html#4.2">DVD section</A> !</B></LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
51 </UL>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
52
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
53 <P>Series of frames form independent groups in MPEG files. This means that you
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
54 can cut/join an MPEG file with standard file tools (like dd, cut), and it
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
55 remains completely functional.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
56
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
57 <P>One important feature of MPGs is that they have a field to describe
2761
24797a1d36d6 *** empty log message ***
gabucino
parents: 2745
diff changeset
58 the aspect ratio of the video stream within. For example SVCDs have
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
59 480x480 resolution video, and in the header that field is set to 4:3, so that
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
60 it is played at 640x480. AVI files do not have this field, so they have to be
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
61 rescaled during encoding or played with the <CODE>-aspect</CODE> option.</P>
2761
24797a1d36d6 *** empty log message ***
gabucino
parents: 2745
diff changeset
62
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
63
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
64 <P><B><A NAME=2.1.1.2>2.1.1.2. AVI files</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
65
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
66 <P>Designed by Micro$oft, <B>AVI (Audio Video Interleaved)</B> is a
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
67 widespread multipurpose format currently used mostly for DivX and DivX4
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
68 video. It has many known drawbacks and shortcomings (for example in streaming).
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
69 It supports one video stream and 0 to 99 audio streams and can be as big as
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
70 2GB. There exists an extension allowing bigger files called <B>OpenDMS</B>.
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
71 M$ currently strongly discourages its use and encourages ASF/WMV. Not that
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
72 anybody cares.<BR>
5444
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
73
6175
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
74 <P>There is a hack that allows AVI files to contain an Ogg Vorbis audio
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
75 stream, but makes them incompatible with standard AVI. <B>MPlayer</B>
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
76 supports playing these files. Seeking is also implemented but severely
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
77 hampered by badly encoded files with confusing headers. Unfortunately the
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
78 only encoder currently capable of creating these files, nandub, has this
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
79 problem.</P>
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
80
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
81 <P><B>NOTE:</B> DV cameras create raw DV streams that DV grabbing utilities
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
82 convert to two different types of AVI files. The AVI will then contain either
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
83 separate audio and video streams that <B>MPlayer</B> can play or the raw DV
9c2cca3804c0 better wording, patch by Diego Biurrun <diego@biurrun.de>
arpi
parents: 6168
diff changeset
84 stream for which support is under development.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
85
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
86 <P>There are two kinds of AVI files:</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
87 <UL>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
88 <LI><B>Interleaved:</B> Audio and video content is interleaved. This is the
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
89 standard usage. Recommended and mostly used. Some tools create interleaved
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
90 AVIs with bad sync. <B>MPlayer</B> detects these as interleaved, and this
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
91 climaxes in loss of A/V sync, probably at seeking. These files should be
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
92 played as non-interleaved (with the <CODE>-ni</CODE> option).</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
93 <LI><B>Non-interleaved:</B> First comes the whole video stream, then the whole
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
94 audio stream. It thus needs a lot of seeking, making playing from network or
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
95 CD-Rom difficult.</LI>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
96 </UL>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
97
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
98 <P><B>MPlayer</B> supports two kinds of timings for AVI files:</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
99 <UL>
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
100 <LI><B>bps-based</B>: It is based on the bitrate/samplerate of the video/audio stream. This
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
101 method is used by most players, including <A HREF="http://avifile.sourceforge.net">avifile</A>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
102 and windows media player.
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
103 Files with broken headers, and files created with VBR audio but not
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
104 VBR-compliant encoder will result in A/V desync with this method (mostly at
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
105 seeking).</LI>
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
106 <LI><B>interleaving-based</B>: It does not use the bitrate value of the header, instead
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
107 it uses the relative position of interleaved audio and video chunks, making
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
108 badly encoded files with VBR audio playable.</LI>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
109 </UL>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
110
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
111 <P>Any audio and video codec is allowed, but note that VBR audio is not well
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
112 supported by most players. The file format makes it possible to use VBR
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
113 audio, but most players expect CBR audio, thus they fail with VBR. VBR is
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
114 uncommon and Microsoft's AVI specs only describe CBR audio. I also noticed that
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
115 most AVI encoders/multiplexers create bad files when using VBR audio. There are only
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
116 two exceptions (known to me): NaNDub and <A HREF="encoding.html">MEncoder</A>.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
117
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
118
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
119 <P><B><A NAME=2.1.1.3>2.1.1.3. ASF/WMV files</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
120
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
121 <P>ASF (active streaming format) comes from Microsoft. They developed two
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
122 variants of ASF, v1.0 and v2.0. v1.0 is used by their media tools (windows
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
123 media player and windows media encoder) and is very secret. v2.0 is published
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
124 and patented :). Of course they differ, there is no compatibility at all (it is
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
125 just another legal game). <B>MPlayer</B> supports only v1.0, as nobody has ever seen
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
126 v2.0 files :). Note that ASF files nowadays come with the extension .WMA or
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
127 .WMV.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
128
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
129
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
130 <P><B><A NAME=2.1.1.4>2.1.1.4. QuickTime/MOV files</A></B></P>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
131
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
132 <P>These formats were designed by Apple. They usually have a .QT or .MOV extension. Note
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
133 that since the MPEG4 group chose QuickTime as the recommended file format
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
134 for MPEG4, their MOV files come with a .MPG or .MP4 extension (Interestingly
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
135 the video and audio streams in these files are real MPG and AAC files. With the
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
136 <CODE>-dumpvideo</CODE> and <CODE>-dumpaudio</CODE> options you can even extract them!).</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
137
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
138 <P><B>Codecs</B>: Any codec is allowed, both CBR and VBR. Note: most new QuickTime files use
6583
4b7d097a9c69 big update
gabucino
parents: 6443
diff changeset
139 <B>Sorenson</B> video and QDesign Music audio. See our
4b7d097a9c69 big update
gabucino
parents: 6443
diff changeset
140 <A HREF="codecs.html#2.2.1.10">Sorenson</A> codec section. QDesign Music
4b7d097a9c69 big update
gabucino
parents: 6443
diff changeset
141 audio currently can't be played.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
142
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
143
6168
741712dcfa0d applied Diego Biurrun's patch
gabucino
parents: 5959
diff changeset
144 <P><B><A NAME=2.1.1.5>2.1.1.5. VIVO files</A></B></P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
145
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
146 <P><B>MPlayer</B> happily demuxes VIVO file formats. The biggest disadvantage of
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
147 the format is that it has no index block, nor a fixed packet size or sync bytes
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
148 and most files lack even keyframes, so forget seeking!</P>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
149
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
150 <P>The video codec of VIVO/1.0 files is standard <B>h.263</B>. The video codec
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
151 of VIVO/2.0 files is a modified, nonstandard <B>h.263v2</B>. The audio is the same,
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
152 it may be <B>g.723</B> (standard), or <B>Vivo Siren</B>.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
153
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
154 <P>See the <A HREF="codecs.html#2.2.1.4">VIVO video codec</A>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
155 and <A HREF="codecs.html#2.2.2.4">VIVO audio codec</A> sections for installation
2855
8bb4e195d7d7 *** empty log message ***
gabucino
parents: 2761
diff changeset
156 instructions.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
157
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
158
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
159 <P><B><A NAME=2.1.1.6>2.1.1.6. FLI files</A></B></P>
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
160
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
161 <P><B>FLI</B> is a very old file format used by Autodesk Animator, but it is
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
162 a common file format for short animations on the net. <B>MPlayer</B> demuxes
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
163 and decodes FLI movies and is even able to seek within them (useful when
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
164 looping with the <CODE>-loop</CODE> option). FLI files do not have keyframes, so the picture
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
165 will be messy for a short time after seeking.</P>
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
166
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
167
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
168 <P><B><A NAME=2.1.1.7>2.1.1.7. RealMedia (RM) files</A></B></P>
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
169
6357
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
170 <P>Yes, <B>MPlayer</B> can read (demux) RealMedia (.rm) files. Seeking works,
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
171 but you have to explicitly specify the <CODE>-forceidx</CODE> option
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
172 (the format supports keyframes). Here are the lists of the supported
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
173 <A HREF="codecs.html#2.2.1.8">RealVideo</A>
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
174 and <A HREF="codecs.html#2.2.2.5">RealAudio</A> codecs.</P>
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
175
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
176 <P>It's recommended to download and install RealPlayer8 or RealONE, because
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
177 <B>MPlayer</B> can use their libraries to decode files with RealVideo 2.0 or
6443
ed50937a1321 Recent changes in configure should take care of the Real lib locations.
diego
parents: 6410
diff changeset
178 RealVideo 3.0 video!</P>
6357
748bb00cb05b RealVideo libraries support
gabucino
parents: 6175
diff changeset
179
6443
ed50937a1321 Recent changes in configure should take care of the Real lib locations.
diego
parents: 6410
diff changeset
180 <P>NOTE: RealPlayer libraries currently <B>can only be used with Linux or FreeBSD
ed50937a1321 Recent changes in configure should take care of the Real lib locations.
diego
parents: 6410
diff changeset
181 on the x86 platform</B>!</P>
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
182
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
183
3816
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
184 <P><B><A NAME=2.1.1.8>2.1.1.8. NuppelVideo files</A></B></P>
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
185
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
186 <P><A HREF="http://mars.tuwien.ac.at/~roman/nuppelvideo">NuppelVideo</A>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
187 is a TV grabber tool (AFAIK:). <B>MPlayer</B> can read its .NUV
3816
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
188 files (only NuppelVideo 5.0). Those files can contain uncompressed YV12,
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
189 YV12+RTJpeg compressed, YV12 RTJpeg+lzo compressed, and YV12+lzo compressed
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
190 frames. <B>MPlayer</B> decodes (and also <B>encodes</B> them with MEncoder to
5958
fab9784e8365 NUV seeking works
gabucino
parents: 5860
diff changeset
191 DivX/etc!) them all. Seeking works.</P>
3816
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
192
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
193
3818
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
194 <P><B><A NAME=2.1.1.9>2.1.1.9. yuv4mpeg files</A></B></P>
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
195
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
196 <P><A HREF="http://mjpeg.sourceforge.net">yuv4mpeg / yuv4mpeg2</A> is
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
197 a file format used by the <A HREF="http://mjpeg.sf.net">mjpegtools programs</A>.
5122
0d1642a26189 "sok ize, mutyur, bizbasz." --Gabucino, Feb 12 23:39:36 2002
arpi
parents: 5094
diff changeset
198 You can grab, produce, filter or encode video in this format using these.
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
199 The file format is really a sequence of uncompressed YUV 4:2:0 images.
5122
0d1642a26189 "sok ize, mutyur, bizbasz." --Gabucino, Feb 12 23:39:36 2002
arpi
parents: 5094
diff changeset
200 </P>
3818
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
201
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
202
4339
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
203 <P><B><A NAME=2.1.1.10>2.1.1.10. FILM files</A></B></P>
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
204
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
205 <P>This format is used on old Sega Saturn CD-Rom games.</P>
4339
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
206
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
207
4503
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
208 <P><B><A NAME=2.1.1.11>2.1.1.11. RoQ files</A></B></P>
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
209
4584
f6a0e7c2fd0f better RoQ explanation
gabucino
parents: 4503
diff changeset
210 <P>RoQ files are multimedia files used in some ID games such as Quake III and
f6a0e7c2fd0f better RoQ explanation
gabucino
parents: 4503
diff changeset
211 Return to Castle Wolfenstein.</P>
4503
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
212
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
213
5860
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
214 <P><B><A NAME=2.1.1.12>2.1.1.12. OGG files</A></B></P>
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
215
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
216 <P>This is a new fileformat from Xiphophorus, developed to contain Vorbis
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
217 audio. You'll need <CODE>libogg</CODE> and <CODE>libvorbis</CODE> installed
5959
63967701d295 html fix, noticed by aleksz
gabucino
parents: 5958
diff changeset
218 before compiling <B>MPlayer</B> to be able to play it.</P>
5860
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
219
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
220
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
221 <P><B><A NAME=2.1.2>2.1.2. Audio formats</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
222
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
223 <P><B>MPlayer</B> is a <B>Movie</B> and not a <B>Media</B> player, although
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
224 it can play some audio file formats (they are listed in the sections below).
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
225 This is not a recommended usage of <B>MPlayer</B>, you better use
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
226 <A HREF="http://www.xmms.org">xmms</A>.</P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
227
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
228
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
229 <P><B><A NAME=2.1.2.1>2.1.2.1. MP3 files</A></B></P>
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
230
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
231 <P>You may have problems playing certain MP3 files that <B>MPlayer</B> will
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
232 misdetect as MPEGs and play incorrectly or not at all. This cannot be fixed
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
233 without dropping support for certain broken MPEG files and thus will remain
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
234 like this for the foreseeable future. The <CODE>-demuxer</CODE> flag described
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
235 in the manpage may help you in these cases.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
236
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
237
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
238 <P><B><A NAME=2.1.2.2>2.1.2.2. WAV files</A></B></P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
239
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
240
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
241 <P><B><A NAME=2.1.2.3>2.1.2.3. OGG files (Vorbis)</A></B></P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
242
5860
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
243 <P>Requires properly installed <CODE>libogg</CODE> and
e96469da680c more libdvd* text removed
gabucino
parents: 5444
diff changeset
244 <CODE>libvorbis</CODE>.</P>
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
245
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
246
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
247 <P><B><A NAME=2.1.2.4>2.1.2.4. WMA/ASF files</A></B></P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
248
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
249
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
250 <P><B><A NAME=2.1.2.5>2.1.2.5. MP4 files</A></B></P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
251
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
252 </BODY>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
253 </HTML>