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

FormatFileDescription
AVI.aviAVI (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.wmvWMV (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.movQuickTime 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.oggTheora Ogg was developed by the Xiph.Org Foundation.
WebM.webmWebM 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
.mp4MP4 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支持的)



FormatFileDescription
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.

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

AAC.aacAAC (Advanced Audio Coding) was developed by Apple as the default format for iTunes.(苹果家的)
WAV.wavWAVE (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支持的)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值