📄 video-formats.html
字号:
extension. Note that since the MPEG-4 group chose QuickTime as the recommended
file format for MPEG-4, their MOV files come with a <tt class="filename">.MPG</tt> or
<tt class="filename">.MP4</tt> extension (Interestingly the video and audio
streams in these files are real MPG and AAC files. You can even extract them
with the <tt class="option">-dumpvideo</tt> and <tt class="option">-dumpaudio</tt> options.).
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="vivo"></a>6.1.5.聽VIVO files</h3></div></div></div><p>
<span class="application">MPlayer</span> happily demuxes VIVO file formats. The
biggest disadvantage of the format is that it has no index block, nor a
fixed packet size or sync bytes and most files lack even keyframes, so
forget seeking!
</p><p>
The video codec of VIVO/1.0 files is standard
<span class="bold"><strong>h.263</strong></span>.
The video codec of VIVO/2.0 files is a modified, nonstandard
<span class="bold"><strong>h.263v2</strong></span>. The audio is the same, it may be
<span class="bold"><strong>g.723 (standard)</strong></span>, or
<span class="bold"><strong>Vivo Siren</strong></span>.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="fli"></a>6.1.6.聽FLI files</h3></div></div></div><p>
<span class="bold"><strong>FLI</strong></span> is a very old file format used by
Autodesk Animator, but it is a common file format for short animations on the
net.
<span class="application">MPlayer</span> demuxes and decodes FLI movies and is
even able to seek within them (useful when looping with the
<tt class="option">-loop</tt> option). FLI files do not have keyframes, so the
picture will be messy for a short time after seeking.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="realmedia"></a>6.1.7.聽RealMedia (RM) files</h3></div></div></div><p>
Yes, <span class="application">MPlayer</span> can read (demux) RealMedia
(<tt class="filename">.rm</tt>) files.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="nuppelvideo"></a>6.1.8.聽NuppelVideo files</h3></div></div></div><p>
NuppelVideo
is a TV grabber tool (AFAIK:). <span class="application">MPlayer</span> can read
its <tt class="filename">.NUV</tt> files (only NuppelVideo 5.0). Those files can
contain uncompressed YV12, YV12+RTJpeg compressed, YV12 RTJpeg+lzo
compressed, and YV12+lzo compressed frames.
<span class="application">MPlayer</span> decodes (and also
<span class="bold"><strong>encodes</strong></span>
them with <span class="application">MEncoder</span> to MPEG-4 (DivX)/etc!) them all.
Seeking works.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="yuv4mpeg"></a>6.1.9.聽yuv4mpeg files</h3></div></div></div><p>
<a class="ulink" href="http://mjpeg.sf.net" target="_top">yuv4mpeg / yuv4mpeg2</a>
is a file format used by the
<a class="ulink" href="http://mjpeg.sf.net" target="_top">mjpegtools programs</a>.
You can grab, produce, filter or encode video in this format using these tools.
The file format is really a sequence of uncompressed YUV 4:2:0 images.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="film"></a>6.1.10.聽FILM files</h3></div></div></div><p>
This format is used on old Sega Saturn CD-ROM games.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="roq"></a>6.1.11.聽RoQ files</h3></div></div></div><p>
RoQ files are multimedia files used in some ID games such as Quake III and
Return to Castle Wolfenstein.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ogg"></a>6.1.12.聽OGG/OGM files</h3></div></div></div><p>
This is a new fileformat from
<a class="ulink" href="http://www.xiph.org" target="_top">Xiphophorus</a>.
It can contain any video or audio codec, CBR or VBR. You'll need
<code class="systemitem">libogg</code> and
<code class="systemitem">libvorbis</code> installed before
compiling <span class="application">MPlayer</span> to be able to play it.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sdp"></a>6.1.13.聽SDP files</h3></div></div></div><p>
<a class="ulink" href="ftp://ftp.rfc-editor.org/in-notes/rfc2327.txt" target="_top">SDP</a> is an
IETF standard format for describing video and/or audio RTP streams.
(The "<a class="ulink" href="http://www.live555.com/mplayer/" target="_top">LIVE555 Streaming Media</a>"
are required.)
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pva"></a>6.1.14.聽PVA files</h3></div></div></div><p>
PVA is an MPEG-like format used by DVB TV boards' software (e.g.:
<span class="application">MultiDec</span>,
<span class="application">WinTV</span> under Windows).
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="nsv"></a>6.1.15.聽NSV files</h3></div></div></div><p>
NSV (NullSoft Video) is the file format used by the
<span class="application">Winamp</span> player to stream audio and video.
Video is VP3, VP5 or VP6, audio is MP3, AAC or VLB.
The audio only version of NSV has the <tt class="filename">.nsa</tt> extension.
<span class="application">MPlayer</span> can play both NSV streams and files.
Please note that most files from the
<a class="ulink" href="http://www.winamp.com" target="_top">Winamp site</a> use VLB audio, that
can't be decoded yet. Moreover streams from that site need an extra
depacketization layer that still has to be implemented (those files are
unplayable anyway because they use VLB audio).
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="matroska"></a>6.1.16.聽Matroska files</h3></div></div></div><p>
Matroska is an open container format.
Read more on the <a class="ulink" href="http://www.matroska.org/" target="_top">official site</a>.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="nut"></a>6.1.17.聽NUT files</h3></div></div></div><p>
NUT is the container format developed by <span class="application">MPlayer</span> and
<span class="application">FFmpeg</span> folks. Both projects support it.
Read more on the <a class="ulink" href="http://www.nut.hu/" target="_top">official site</a>.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gif"></a>6.1.18.聽GIF files</h3></div></div></div><p>
The <span class="bold"><strong>GIF</strong></span> format is a common format for web
graphics. There are two versions of the GIF spec, GIF87a and GIF89a.
The main difference is that GIF89a allows for animation.
<span class="application">MPlayer</span> supports both formats through use of
<code class="systemitem">libungif</code> or
another libgif-compatible library. Non-animated GIFs will be displayed as
single frame videos. (Use the <tt class="option">-loop</tt> and
<tt class="option">-fixed-vo</tt> options to display these longer.)
</p><p>
<span class="application">MPlayer</span> currently does not support seeking in GIF
files. GIF files do not necessarily have a fixed frame size, nor a fixed
framerate. Rather, each frame is of independent size and is supposed to be
positioned in a certain place on a field of fixed-size. The framerate is
controlled by an optional block before each frame that specifies the next
frame's delay in centiseconds.
</p><p>
Standard GIF files contain 24-bit RGB frames with at most an 8-bit indexed
palette. These frames are usually LZW-compressed, although some GIF encoders
produce uncompressed frames to avoid patent issues with LZW compression.
</p><p>
If your distribution does not come with
<code class="systemitem">libungif</code>, download a copy from the
<a class="ulink" href="http://sourceforge.net/projects/libungif" target="_top">libungif
homepage</a>. For detailed technical information, have a look at the
<a class="ulink" href="http://www.w3.org/Graphics/GIF/spec-gif89a.txt" target="_top">GIF89a specification</a>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="containers.html">Prev</a>聽</td><td width="20%" align="center"><a accesskey="u" href="containers.html">Up</a></td><td width="40%" align="right">聽<a accesskey="n" href="audio-formats.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter聽6.聽Containers聽</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">聽6.2.聽Audio formats</td></tr></table></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -