annotate DOCS/formats.html @ 5668:978c6f78022e

align yuv 4:2:0 y position by 2
author arpi
date Wed, 17 Apr 2002 21:50:25 +0000
parents b4206f207ad1
children e96469da680c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
1 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
2
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
3 <HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
4 <STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
5 .text
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
6 {font-family : Verdana, Arial, Helvetica, sans-serif;
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
7 font-size : 14px;}
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
8 </STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
9 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
10
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
11 <BODY BGCOLOR=WHITE>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
12
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4663
diff changeset
13 <FONT CLASS="text">
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
14
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
15 <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
16
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
17 <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
18 <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
19 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
20 <B>can</B> contain MPEG1 video.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
21
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
22 <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
23 Examples of video <B>codecs</B> are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.<BR>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
24 Examples of file <B>formats</B> are: MPG, AVI, ASF.<BR>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
25 </P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
26
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
27 <P>In theory, you can put an OpenDivX video and MP3 audio
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
28 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
29 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
30 necessary fields to describe its video and audio streams).
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
31 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
32 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
33
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
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
36 <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
37
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
38
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
39 <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
40
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
41 <P>MPEG files come in different guises:</P>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
42
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
43 <UL>
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
44 <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
45 MPEG1 video, and MP2 (MPEG-1 layer 2) or rarely MP1 audio.</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
46 <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
47 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
48 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
49 to use the <CODE>-vcd</CODE> option to play the Video CD.</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
50 <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
51 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
52 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
53 <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
54 </UL>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
55
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
56 <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
57 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
58 remains completely functional.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
59
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
60 <P>One important feature of MPGs is that they have a field to describe
2761
24797a1d36d6 *** empty log message ***
gabucino
parents: 2745
diff changeset
61 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
62 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
63 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
64 rescaled during encoding or played with the <CODE>-aspect</CODE> option.</P>
2761
24797a1d36d6 *** empty log message ***
gabucino
parents: 2745
diff changeset
65
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
66
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
67 <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
68
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
69 <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
70 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
71 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
72 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
73 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
74 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
75 anybody cares.<BR>
5444
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
76
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
77 <P>There is a hack for AVI files that enhances them to contain Ogg Vorbis audio
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
78 stream, but makes them incompatible with standard AVI. <B>MPlayer</B>
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
79 supports playing these files, though seeking is currently unimplemented.</P>
b4206f207ad1 remark about Ogg-in-AVI suxxhaxx
gabucino
parents: 5395
diff changeset
80
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
81 <B>NOTE:</B> DV cameras can create two types of AVI formats. One is common and
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
82 playable, the other is neither.</P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
83
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
84 <P>There are two kinds of AVI files:</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
85 <UL>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
86 <LI><B>Interleaved:</B> Audio and video content is interleaved. This is the
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
87 standard usage. Recommended and mostly used. Some tools create interleaved
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
88 AVIs with bad sync. <B>MPlayer</B> detects these as interleaved, and this
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
89 climaxes in loss of A/V sync, probably at seeking. These files should be
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
90 played as non-interleaved (with the <CODE>-ni</CODE> option).</LI>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
91 <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
92 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
93 CD-Rom difficult.</LI>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
94 </UL>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
95
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
96 <P><B>MPlayer</B> supports two kinds of timings for AVI files:</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
97 <UL>
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
98 <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
99 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
100 and windows media player.
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
101 Files with broken headers, and files created with VBR audio but not
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
102 VBR-compliant encoder will result in A/V desync with this method (mostly at
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
103 seeking).</LI>
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
104 <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
105 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
106 badly encoded files with VBR audio playable.</LI>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
107 </UL>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
108
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
109 <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
110 supported by most players. The file format makes it possible to use VBR
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
111 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
112 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
113 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
114 two exceptions (known to me): NaNDub and <A HREF="encoding.html">MEncoder</A>.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
115
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
116
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
117 <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
118
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
119 <P>ASF (active streaming format) comes from Microsoft. They developed two
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
120 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
121 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
122 and patented :). Of course they differ, there is no compatibility at all (it is
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
123 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
124 v2.0 files :). Note that ASF files nowadays come with the extension .WMA or
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
125 .WMV.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
126
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
127
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
128 <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
129
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
130 <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
131 that since the MPEG4 group chose QuickTime as the recommended file format
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
132 for MPEG4, their MOV files come with a .MPG or .MP4 extension (Interestingly
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
133 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
134 <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
135
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
136 <P><B>Codecs</B>: Any codec is allowed, both CBR and VBR. Note: most new QuickTime files use
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
137 <B>Sorensen</B> video and QDesign Music audio. These formats have not been
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
138 disclosed and will probably remain so in the future, making Apple's QuickTime
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
139 player the only player able to play these files (on Windows/Mac OS only).</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
140
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
141
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
142 <P><B><A NAME=2.1.1.5>2.1.1.5. VIV files</A></B></P>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
143
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
144 <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
145 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
146 and most files lack even keyframes, so forget seeking!</P>
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
147
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
148 <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
149 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
150 it may be <B>g.723</B> (standard), or <B>Vivo Siren</B>.</P>
2865
72c750bbc249 *** empty log message ***
gabucino
parents: 2855
diff changeset
151
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
152 <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
153 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
154 instructions.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
155
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
156
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
157 <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
158
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
159 <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
160 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
161 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
162 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
163 will be messy for a short time after seeking.</P>
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
164
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
165
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
166 <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
167
5094
570ffe8dcc67 RM seeking works (?)
gabucino
parents: 4982
diff changeset
168 <P>Yes, <B>MPlayer</B> can read (demux) RealMedia (.rm) files. Seeking works
570ffe8dcc67 RM seeking works (?)
gabucino
parents: 4982
diff changeset
169 (the format supports keyframes). Here are the lists of the supported
570ffe8dcc67 RM seeking works (?)
gabucino
parents: 4982
diff changeset
170 <A HREF="codecs.html#2.2.1.8">RealVideo</A>
3806
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
171 and <A HREF="codecs.html#2.2.2.5">RealAudio</A> codecs.
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
172
053ea3e7c5d8 new 'RealMedia' 'Realvideo' 'RealAudio' sections
gabucino
parents: 3239
diff changeset
173
3816
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
174 <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
175
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
176 <P><A HREF="http://mars.tuwien.ac.at/~roman/nuppelvideo">NuppelVideo</A>
5395
c8e3d5241531 applied Diego's patch
gabucino
parents: 5378
diff changeset
177 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
178 files (only NuppelVideo 5.0). Those files can contain uncompressed YV12,
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
179 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
180 frames. <B>MPlayer</B> decodes (and also <B>encodes</B> them with MEncoder to
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
181 DivX/etc!) them all. Seeking is being implemented.</P>
3816
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
182
57221064b0b7 nuppelvideo added to supported formats
gabucino
parents: 3806
diff changeset
183
3818
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
184 <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
185
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
186 <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
187 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
188 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
189 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
190 </P>
3818
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
191
6793c7088abb yuv4mpeg support
gabucino
parents: 3816
diff changeset
192
4339
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
193 <P><B><A NAME=2.1.1.10>2.1.1.10. FILM files</A></B></P>
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
194
5362
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
195 <P>This format is used on old Sega Saturn CD-Rom games.</P>
4339
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
196
4b231f3778a6 entudjam?
gabucino
parents: 4177
diff changeset
197
4503
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
198 <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
199
4584
f6a0e7c2fd0f better RoQ explanation
gabucino
parents: 4503
diff changeset
200 <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
201 Return to Castle Wolfenstein.</P>
4503
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
202
0ae360217690 RoQ fileformat added, anything it is ;)
gabucino
parents: 4339
diff changeset
203
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
204 <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
205
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
206 <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
207 it can play some audio file formats (they are listed in the sections below).
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
208 This is not a recommended usage of <B>MPlayer</B>, you better use
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
209 <A HREF="http://www.xmms.org">xmms</A>.</P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
210
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
211
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
212 <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
213
5882b38e1c2d applied Diego's cosmetics patch :) with some small fixes
arpi
parents: 5122
diff changeset
214 <P>You may have problems playing certain MP3 files that <B>MPlayer</B> will
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
215 misdetect as MPEGs and play incorrectly or not at all. This cannot be fixed
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
216 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
217 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
218 in the manpage may help you in these cases.</P>
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
219
5378
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
220
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
221 <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
222
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
223
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
224 <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
225
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
226 <P>Requires properly installed <CODE>libvorbis</CODE>.</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.4>2.1.2.4. WMA/ASF files</A></B></P>
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
230
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
231
1a7fd8f13ac0 small update
gabucino
parents: 5362
diff changeset
232 <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
233
2745
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
234 </BODY>
62bcea66003e oh my god what have i done...
gabucino
parents:
diff changeset
235 </HTML>