HTML5中的音频、视频(HTML Multimedia)

Format File Description
AVI .avi AVI (Audio Video Interleave) was developed by Microsoft, and is therefore playable on all Windows computers. It is commonly used in video cameras and TV hardware, but is difficult to play on non-Windows computers.
WMV .wmv WMV (Windows Media Video) was developed by Microsoft, and is therefore playable on all Windows computers. It is commonly used in video cameras and by TV hardware, but is difficult to play on non-Windows computers.(同上,微软自家出的,不能跨平台)
QuickTime .mov QuickTime was developed by Apple, and is therefore playable on all Apple computers. It is commonly used in video cameras and by TV hardware, but is difficult to play on non-Apple computers.(苹果出的,不能跨平台)
RealVideo .rm
.ram
RealVideo was developed by Real Media to allow video streaming with low bandwidths. It is still used for online video and Internet TV, but because of the low bandwidth priority, the quality is also low.(低带宽低画质的视频流,在线视频)
Flash .swf
.flv
Flash was developed by Macromedia. Flash requires an extra component to play in a browser.(需要额外组件在浏览器中播放)
Ogg .ogg Theora Ogg was developed by the Xiph.Org Foundation.
WebM .webm WebM is a project (www.webmproject.org) by the web giants, Mozilla, Opera, Adobe, and Google.
MPEG .mpg
.mpeg
MPEG, developed by the Moving Pictures Expert Group, used to be the most popular video format on the Internet. It used to be supported by all major browsers, but it is not supported by HTML5.(支持所有浏览器,出身不好的‘英雄’,不被html5支持)
MPEG-4
or MP4
.mp4 MP4 is the upcoming format on the internet. It is supported by all major browsers in HTML5. YouTube recommends using MP4, and it is commonly used in newer video cameras and TV hardware.


Only MP4, WebM, and Ogg video is supported by the newest HTML5 standard.(这几个是HTML5支持的)



Format File Description
MIDI .mid
.midi
MIDI (Musical Instrument Digital Interface) is a format for electronic music devices like synthesizers and PC sound cards. MIDI files do not contain sound, but digital musical instructions (notes) that can be played by electronics (like your PC's sound card).

Click here to play The Beatles.

Since MIDI files only contains instructions; they are extremely small. The example above is only 23K in size, but it plays for nearly 5 minutes. MIDI is supported by many software systems/platforms. Because it is the main format for binary music, it is supported by most software, including Internet browsers.

MIDI(乐器数字接口)是电子音乐设备的格式,如合成器和PC声卡 MIDI文件不包含声音,但数字音乐的说明笔记),可以通过电子播放就像你的电脑的声卡
 
由于MIDI文件只包含指示;他们是非常小的。上面的例子仅仅是23K大小,但它扮演了近5分钟。 MIDI是由许多软件系统/平台的支持。因为它是二进制的音乐的主要形式它是由大多数的软件支持包括互联网浏览器

RealAudio .rm
.ram
RealAudio was developed Real Media to allow streaming of audio (online music, Internet radio) with low bandwidths.(低带宽低音质的音频流)
WMA .wma

WMA (Windows Media Audio), compares in quality to MP3, and is compatible with most music players, except the iPod. WMA files can be delivered as a continuous flow of data, which makes it practical for use in Internet radio or on-line music.

WMAWindows媒体音频,和MP3差不多,并且与大多数音乐播放器兼容,除了iPod的 WMA文件可交付作为一个连续的数据这使得它适合在网络电台或在线播放音乐上应用。

AAC .aac AAC (Advanced Audio Coding) was developed by Apple as the default format for iTunes.(苹果家的)
WAV .wav WAVE (more known as WAV) was developed by IBM and Microsoft. WAV is compatible with Windows, Macintosh, and Linux operating systems.
Ogg .ogg  Ogg was developed by the Xiph.Org Foundation.
MP3 .mp3

MP3 files are actually the sound part of MPEG files. MP3 is the most popular format for music players. The encoding system combines good compression (small files) with high quality. It is supported by all major browsers.

MP3文件实际上是MPEG文件声音部分 MP3是音乐播放器最流行的格式编码系统同时具有良好的压缩小文件又能保证高品质所有主流浏览器支持。

MP4 .mp4

MP4 is a video format, but it can also be used with audio only. MP4 video is the upcoming video format on the internet. This can lead to an automatic support for MP4 audio by all major browsers.

MP4是一种视频格式,但它也可以与只有音频使用。 MP4视频是互联网上即将推出的视频格式这可能会引导所有主流浏览器对MP4音频的支持。



Only MP3, WAV, and Ogg audio is supported by the newest HTML5 standard.(这几个是HTML5支持的)

你可能感兴趣的:(.swf,.wav,.mp3,.mp4,.mpg)