Bitrate peeling

Bitrate peeling

Bitrate Peeling is a technique used in Ogg Vorbis audio encoded streams, wherein a stream can be encoded at one bitrate but can be served at that or any lower bitrate.Bitrate Peeling is similar in overall effect to Real Networks' technology called "SureStream", which basically creates a single media clip that contains multiple bitrates. The purpose is to provide access to the clip for people with slower Internet connections, and yet still allow people with faster connection to enjoy the higher quality content. The server automatically chooses which stream to deliver to the user, depending on user's connection speed.

As of 2005, Ogg Vorbis bitrate peeling exists only as a concept as there is not yet an encoder capable of producing peelable datastreams [http://wiki.xiph.org/Bounties#Ogg_Vorbis_Bitrate_Peeling] .

An experimental implementation of bitrate peeling can be found [http://www.vinjey.com/ogg_downloads.html here] . However, re-encoding files at a lower bitrate will preserve more quality than this experimental bitrate peeler.

Difference from other technologies

The difference between SureStream and Bitrate Peeling is that SureStream is limited to only a handful of pre-defined bitrates, with significant difference between them, and SureStream encoded files are big because they contain all of the bitrates used, while Bitrate Peeling uses much smaller steps to change the available bitrate and quality, and only the highest bitrate is used to encode the file/stream, which results in smaller files on servers.

Lossy + Correction

A similar technology is to feature a combination of a lossy format and a lossless correction; this allows stripping the correction to easily obtain a lossy file. Such formats include MPEG-4 SLS (Scalable to Lossless), WavPack, and OptimFROG DualStream.

ureStream example

A SureStream encoded file is encoded at bitrates of 16 kbit/s, 32 kbit/s and 96 kbit/s. The file will be about the same in size as three separate files encoded at those bitrates and put together, or one file encoded at the sum of those bitrates, which is about 144 kbit/s (16+32+96).When a dial-up user has only about 28 kbit/s of bandwidth available, the Real server will serve the 16 kbit/s stream. If the dial-up connection is of higher quality, and maybe about 42 kbit/s is available, the server will automatically switch to the 32 kbit/s stream. A DSL or Cable Internet user will be served the 96 kbit/s stream.This looks good, but even though the user with 28 kbit/s can use a higher bitrate / higher quality stream (maybe 22 to 24 kbit/s), such thing can't be done with SureStream, unless the encoded file contains such a bitrate. This is where Bitrate Peeling comes into play.

Bitrate Peeling example

Contrary to SureStream, Bitrate Peeling requires only the highest bitrate to be used when encoding a file/stream, which is 96 kbit/s in this case. The obvious benefit is much smaller space on a server required by such a file.An additional feature of Bitrate Peeling is a much finer tuning of available bitrate/quality.Now, if a dial-up user with 28 kbit/s available bandwidth connects to an Ogg Vorbis file/stream, the server will "peel" the original 96 kbit/s file/stream down to the available bandwidth, the full 28 kbit/s (or 20 to 24 kbit/s, as overhead reduces the effective bandwidth). This "peeling" process is different from transcoding because transcoding uncompresses the file and recompresses it (a computing-intensive process), whereas the peeling process "cuts the fat" by removing excess bits from the stream without using much processor time.If 42 kbit/s is available, the server will peel the 96 kbit/s down to the maximum available bandwidth, maybe about 36 to 40 kbit/s.The benefit of Bitrate Peeling, besides space savings / smaller files, is smaller steps in bitrate and quality, which means that whatever the currently available bandwidth, the streamed file will be of highest bitrate and quality possible for that bandwidth.These benefits are only theoretical, as the only Vorbis peeler available is still in experimental state and produces file qualities inferior to what transcoding the higher bitrate file to a lower bitrate would.

Comparison with other progressive encodings

Bitrate peeling is theoretically possible, and is implemented in some other formats, notably JPEG 2000, JPEG progressive encoding, and Scalable Video Coding.

The reason that it is not available in Ogg Vorbis is that current encoders do not organize the code-stream to have progressive accuracy, thus peelers cannot tell which data is more or less important.

See also the Adam7 algorithm used in PNG interlacing.

ee also

* Ogg bitstream format
* Vorbis, a free audio compression codec
* Streaming media
* audio file format
* audio signal processing
* audio storage
* codec
* data compression

External links

* [http://www.xiph.org Xiph.org Foundation]
* [http://wiki.xiph.org/Bounties#Ogg_Vorbis_Bitrate_Peeling Xiph.org Bitrate Peeling Bounty]
* [http://www.vorbis.com Ogg Vorbis site]
* [http://www.vorbis.com/ot/20021201.html#id2726625 Ogg Vorbis Bitrate Peeling Description]
* [http://www.vinjey.com/ogg_downloads.html An experimental Ogg vorbis Bitrate Peeler]

* [http://www.hydrogenaudio.org/forums/lofiversion/index.php/t34172.html Bitrate peeling thread on Hydrogenaudio forums]
* [http://lists.xiph.org/pipermail/vorbis/2005-October/026066.html The obvious quick-and-dirty solution to making a peelable encoder?]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Vorbis — This article is about the audio compression codec. For the Discworld character, see Discworld characters. Vorbis Xiph.org Logo Filename extension .ogg .oga …   Wikipedia

  • Transcode — Transcoding is the direct digital to digital conversion of one encoding to another. This is usually done to incompatible or obsolete data in order to convert it into a more suitable format. When transcoding one lossy file to another, the process… …   Wikipedia

  • Lossy compression — A lossy compression method is one where compressing data and then decompressing it retrieves data that may well be different from the original, but is close enough to be useful in some way. Lossy compression is most commonly used to compress… …   Wikipedia

  • MPEG-4 SLS — which commercializes its implementation of the standard under the name of HD AAC.MPEG 4 SLS allows for having both a lossy layer and a lossless correction layer similar to Wavpack Hybrid or OptimFROG DualStream, allowing for backwards… …   Wikipedia

  • Scalable Video Coding — (SVC) is the name given to an extension of the H.264/MPEG 4 AVC video compression standard. H.264/MPEG 4 AVC was developed jointly by ITU T and ISO/IEC JTC 1. These two groups created the Joint Video Team (JVT) to develop the H.264/MPEG 4 AVC… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”