what is codec in VOIP? What is codec?
What is codec in VoIP?
A codec is either a hardware device or a software-based process that compresses and decompresses large amounts of data used in voice over IP, video conferencing and streaming media. A codec takes data in one form, encodes it into another form and decodes it at the egress point in the communications session.
A codec is a device or piece of software capable of encoding or decoding a digital stream or a signal for transmission over a data network. A codec can be for audio or video content. The only basic difference between these two is that one is an algorithm designed to compress and decompress audio files and the other is for video files. These two codecs can be divided into two further categories: lossless codec and lossy codecs.
A codec, which stands for coder-decoder, converts an audio signal into compressed digital form for transmission and then back into an uncompressed audio signal for replay. It's the essence of VoIP. Codecs accomplish the conversion by sampling the audio signal several thousand times per second.
The purpose of codecs:-
There are two types of codecs used in communications. The first codec is typically hardware-based, and it performs analog-to-digital and digital-to-analog conversion. A common example is a modem used for sending data traffic over analog voice circuits. In this case, the term codec is an acronym for coder/decoder.
The second type of codec is now more commonly used to describe the process of encoding source voice and video captured by a microphone or video camera in digital form for transmission to other participants in calls, video conferences, and streams or broadcasts. In this example, the term codec stands for compression/decompression.
How codecs work?
A codec's primary job is data transformation and encapsulation for transmission across a network. Voice and video codecs use a software algorithm running on a common processor or in specialty hardware optimized for data encapsulation and decapsulation.
Predictive codecs use an algorithm to convert data into a byte sequence for easy transmission across a data network, and then convert the byte sequence back into voice or video for reception at the endpoint.
Codecs can run entirely on specialized hardware, on general-purpose hardware or on a combination of both. Most smartphones provide optimized hardware to support video codecs.
Types of codecs:-
Voice and video codecs are categorized by whether they are lossy or lossless and compressed or uncompressed. Lossy codecs capture only a portion of the data needed by a predictive algorithm to produce a near-identical copy of the original voice or video data at the far end, thus minimizing bandwidth requirements for media transmission. Lossless codecs capture, transmit and decode all audio and video information at the far end at the expense of higher bandwidth requirements.
Voice codecs can be defined as narrowband or wideband, depending on the breadth of the voice spectrum that they are able to capture and reproduce. Wideband codecs, often marketed as HD voice, produce the highest quality voice experience.
The following is a list of Codecs that are in common use today:
Audio Codecs:
GSM – 13 Kbps (full rate), 20ms frame size.
iLBC – 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size.
ITU G.711 – 64 Kbps, sample-based. Also known as A-law/µ-law.
ITU G719 – 32/48/64/128 Kbps, 28 ms Frame Size.
ITU G.722 – 48/56/64 Kbps.
ITU G.723.1 – 5.3/6.3 Kbps, 30ms frame size.
ITU G.726 – 16/24/32/40 Kbps.
ITU G.728 – 16 Kbps.
ITU G.729 – 8 Kbps, 10ms frame size.
Speex – 2.15 to 44.2 Kbps.
LPC10 – 2.5 Kbps.
DoD CELP – 4.8 Kbps.
Video Codecs:
VP8 is the codec used for the encoding and decoding of high definition video as either a file or a bit-stream for viewing. The VP8 codec is – in contrast to the H.264 codec – free for use.
H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is currently one of the most commonly used video formats for the recording, compression and video playback in high definition. In contrast to VP8, H.264 is not free.
Good Work Sir Ji.
ReplyDeleteHi,
ReplyDeleteIt is very useful command for getting info.