{{Unreferenced, date=April 2010
The cook codec is a
lossy
In information technology, lossy compression or irreversible compression is the class of data compression methods that uses inexact approximations and partial data discarding to represent the content. These techniques are used to reduce data size ...
codec
A codec is a device or computer program that encodes or decodes a data stream or signal. ''Codec'' is a portmanteau of coder/decoder.
In electronic communications, an endec is a device that acts as both an encoder and a decoder on a signal or da ...
developed by
RealNetworks
RealNetworks, Inc. is a provider of artificial intelligence and computer vision based products. RealNetworks was a pioneer in Internet streaming software and services. They are based in Seattle, Washington, United States. The company also p ...
. It is also known as Cooker, Gecko, RealAudio G2, and RealAudio 8 low bitrate (RA8LBR).
Introduced in 1998, the cook codec was the first audio codec developed by RealNetworks in-house, and was named after its author, Ken Cooke. The design was largely based on
G.722.1
G.722.1 is a licensed royalty-free ITU-T standard audio codec providing high quality, moderate bit rate (24 and 32 kbit/s) wideband (50 Hz – 7 kHz audio bandwidth, 16 ksps (kilo- samples per second) audio coding. It is a partial imple ...
. It is a pure transform codec based on the
modified discrete cosine transform
The modified discrete cosine transform (MDCT) is a transform based on the type-IV discrete cosine transform (DCT-IV), with the additional property of being lapped transform, lapped: it is designed to be performed on consecutive blocks of a larger ...
with a single block size.
In 2003, RealNetworks introduced a
surround sound
Surround sound is a technique for enriching the fidelity and depth of sound reproduction by using multiple audio channels from speakers that surround the listener ( surround channels). Its first application was in movie theaters. Prior to sur ...
version of cook, called RealAudio Multichannel. This was initially designated by the four-character code 'whrl', but is now identified as 'cook', as mono/stereo files are.
Although RealNetworks never published a technical description of the cook codec, others have
reverse engineered
Reverse engineering (also known as backwards engineering or back engineering) is a process or method through which one attempts to understand through deductive reasoning how a previously made device, process, system, or piece of software accompli ...
the format, and as of December 2005,
FFmpeg
FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing of vid ...
libavcodec
libavcodec is a free and open-source library of codecs for encoding and decoding video and audio data.
libavcodec is an integral part of many open-source multimedia applications and frameworks. The popular MPV, xine and VLC media players use ...
contains a decoder capable of playing cook-encoded files. As of July 2009,
Rockbox
Rockbox is a free and open-source software replacement for the OEM firmware in various forms of digital audio players (DAPs) with an original kernel. It offers an alternative to the player's operating system, in many cases without removing the or ...
is capable of playing cook-encoded files as well.
See also
*
RealAudio
RealAudio, or also spelled as Real Audio is a proprietary audio format developed by RealNetworks and first released in April 1995. It uses a variety of audio codecs, ranging from low-bitrate formats that can be used over dialup modems, to high-fid ...