Ogg格式文件
2011-01-24 15:24:33 阿炯

什么是Ogg Vorbis
Ogg Vorbis 是一种新的音频压缩格式,类似于MP3等现有的音乐格式。但有一点不同的是,它是完全免费、开放和没有专利限制的。Vorbis 是这种音频压缩机制的名字,而Ogg则是一个计划的名字,该计划意图设计一个完全开放性的多媒体系统。目前该计划只实现了OggVorbis这一部分。

Ogg Vorbis文件的扩展名是.OGG。这种文件的设计格式是非常先进的。现在创建的OGG文件可以在未来的任何播放器上播放,因此,这种格式的文件可以不断地进行大小和音质的改良,而不影响旧有的编码器或播放器。

Ogg是一个自由且开放标准的容器格式,由Xiph.Org 基金会所维护。Ogg格式並不受到软件专利的限制,并设计用于有效率地串流媒体和处理理高品质的数位多媒体。

它可直接在FireFox和Opera中播放,但在使用中仍然有些问题,比如这个格式需要特殊的解决方案来转换如使用fireogg的插件;OGG带来更大的带宽压力,因为它的传播效果远比不上一些成熟视频技术如H.264。

特性
Ogg是一种先进的有损的音频压缩技术,正式名称是Ogg Vorbis,是一种免费的开源音频格式。OGG编码格式远比90年代开发成功的MP3先进,它可以在相对较低的数据速率下实现比MP3更好的音质。此外,Ogg Vorbis支持VBR(可变比特率)和ABR(平均比特率)两种编码方式,Ogg还具有比特率缩放功能,可以不用重新编码便可调节文件的比特率。OGG格式可以对所有声道进行编码,支持多声道模式,而不像MP3只能编码双声道。多声道音乐会带来更多临场感,欣赏电影和交响乐时更有优势,这场革命性的变化是MP3无法支持的。在而且未来人们对音质要求不断提高,Ogg的优势将更加明显。

为何要使用Ogg Vorbis格式
众所周知,MP3是有损压缩格式,因此压缩后的数据与标准的CD音乐相比是有损失的。VORBIS也是有损压缩,但通过使用更加先进的声学模型去减少损失,因此,同样位速率(Bit Rate)编码的OGG与MP3相比听起来更好一些。另外,还有一个原因,MP3格式是受专利保护的。如果你想使用MP3格式发布自己的作品,则需要付给 Fraunhofer(发明MP3的公司)专利使用费。而VORBIS就完全没有这个问题。

对于音乐迷来说,使用OGG文件的显著好处是可以用更小的文件获得优越的声音质量。而且由于 OGG是完全开放和免费的,制作OGG文件将不受任何专利限制,可望可以获得大量的编码器和播放器。这也是为何现在MP3编码器如此少而且大多是商业软件的原因,因为Fraunhofer要收取专利使用费。

Ogg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs. As with all Xiph.org technology is it an open format free for anyone to use.

As with most container formats it encapsulates raw compressed data and allows the interleaving of audio and video data inside a single convient format. Other examples of container formats are Quicktime .mov, the MPEG program stream, and AVI.

In addition to encapsulation and interleave of multiple data streams, Ogg provides packet framing, error detection, and periodic timestamps for seeking, and in a small, bounded percentage bitrate overhead.

Ogg is a stream oriented container, meaning it can be written and read in one pass, making it a natural fit for internet streaming and use in processing pipelines. This stream orientation is the major design difference over other file-based container formats.

Ogg Vorbis is a new audio compression format. It is roughly comparable to other formats used to store and play digital music, such as MP3, VQF, AAC, and other digital audio formats. It is different from these other formats because it is completely free, open, and unpatented.

Ogg
    Ogg is the name of Xiph.org's container format for audio, video, and metadata.

Vorbis
    Vorbis is the name of a specific audio compression scheme that's designed to be contained in Ogg. Note that other formats are capable of being embedded in Ogg such as FLAC and Speex.
 
项目主页:http://www.xiph.org/ogg/

该文章最后由 阿炯 于 2013-02-21 20:52:59 更新,目前是第 2 版。