Lossless compression.


Free Download Mp4Gain
picture

Compression methods can work lossless or lossy. Lossless compression consists of reducing the content of the information in such a way that it can be reproduced exactly when it is reproduced. With this method, only clearly redundant databases are compressed without any information being modified or deleted. The reproduction is one hundred percent of the original. Lossless compression is used, for example, in text compression, audio compression, or image compression.

Lossless Compression

With lossless compression, data is reduced by using statistical frequencies. For example, when compressing text, letters that appear more frequently, such as “e”, are assigned short codes, and letters that appear rarely, such as “y”, are assigned long codes. And with image compression, only the differences between two pixels are saved. With lossless compression, unlike lossy compression, only significantly lower compression rates can be achieved.

Lossless Compression

One of the most popular lossless compression methods is the ZIP file format, which displays text and graphics in different file formats compressed with extremely high compression rates. Other known methods include the RAR file format, Huffman encoding, the LZW algorithm, Run Length Encoding (RLE), and a JPEG mode.

With lossless predictive audio compression (LPAC) and lossless transform audio compression (LTAC), there are two methods for audio compression which are considered in MPEG-4 as MPEG-4 audio lossless encoding (ALS ). Other lossless compression methods include OptimFrog, Monkeys Audio (APE), Free Lossless Audio Codec (FLAC), and Apple Lossless Audio Codec (ALAC).


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is a codec and what are the different forms of codecs?

Codecs are encoders / decoders that digitally encode and decode data or signals to send it over a data network. In VoIP telephony, these play a particularly important role, as they determine how and with what quality the audio and video data is transported within a network.

CODECS

A general distinction is made between compressed and uncompressed codecs.

In the case of codec compression, a distinction is also made between lossy and lossy compression of multimedia data. With a codec, there is always a trade-off between available bandwidth, the computing power to compress the data, and the quality of voice in both video and audio streaming. Wideband codecs allow very high quality voice transmission. Narrowband codecs allow low-bandwidth voice transmission, but call quality suffers noticeably. In general, a bandwidth of at least 100 kBit / s in both directions is recommended.

Codecs

With lossless codecs, all audio or video information contained in the original data is preserved in its original quality. With lossy codecs, which often result in a loss of quality, higher compression can be achieved to require less bandwidth during transmission.

If, for example, the audio quality is too low or there are jerks and cuts during the call, it may make sense to change the codec. A common source of poor audio quality with Voice over IP is that the required bandwidth for the codec is not available from the Internet connection. The following codecs are currently used as standard formats:

Audio codecs
GSM: 13 kbit / s voice data rate (full rate method), 20 ms frames

iLBC – 15 kbps, 20 ms voice frames: 13.3 kbps, 30 ms frames

ITU G.711 – 64 kbit / s, based on samples. Also known as the A-law / µ-law method.

ITU G.722 – 48/56/64 Kbit / s

ITU G.723.1 – 5.3 / 6.3 kbit / s, 30 ms frames

ITU G.726 – 16/24/32/40 Kbit / s

ITU G.728 – 16 kbit / s

ITU G.729 – 8 kbit / s, 10 ms frames

Speex: 2.15 to 44.2 kbps

LPC10: 2.5 kbps

DoD CELP – 4.8 kbps

Average Opinion Score (MOS) is a measurement method that allows you to compare the voice quality of different codecs with each other. A group determines how close a codec is to the original human language. The scale ranges from 1 (poor) to 5 (excellent). Values ​​greater than 4 correspond to the voice quality in the ISDN network.

Video codecs
VP8: Free codec to compress HD video (also for streaming)

H.264 / MPEG-4 Part 10 or AVC (Advanced Video Coding) – Very popular paid codec for compressing HD video

All standards are optimized for low data transfer speeds and low video shake. Data transfer rates are not defined.

Codec

In electronics and telecommunications, the term codec is used for integrated circuits or chips that perform data conversion. In this context, the term is an acronym for encoder / decoder. This type of codec combines functions for analog-to-digital conversion with functions for digital-to-analog conversion on a single chip.

In practice, compression is used primarily to optimize the storage space requirements of a large file, such as a video. Compression is achieved by eliminating redundancies in the data.

Compression works for any type of file, including text, program, image, audio, video, or virtual reality (VR) files. The compression rate achieved depends on several factors. In some cases, compression can reduce the size of a file by a factor of 100 or more. For example, a video 30 terabytes in size can be reduced to three terabytes (or less).

Compression achieves the greatest benefit in transmitting data. Uncompressed files like the video file just mentioned are very large and therefore take a long time to upload and download. The compressed file, on the other hand, can generally be downloaded in a few seconds or minutes. In order for the video to be seen again after downloading, a decompression algorithm has to “undo” the compression.

There are numerous standard codec systems. Some are used primarily to minimize file transfer times and are implemented over the Internet. Others are designed to maximize the amount of data to be stored on a storage medium.

What is a codec? – clearly explained

Codecs are crucial to the quality and efficiency of data encoding. In this practical tip we explain exactly what a codec is.

What is a video codec

What is a codec? – 10 facts

The following information will help you understand what a codec is. The following example shows the differences between format, encoder, and decoder and shows how quality and efficiency depend on the codec.

What Is A Codec

-A codec is a combination of encoder and decoder.
-The objective of a codec is usually to reduce the amount of data for transmission or storage.
-Codecs are used in particular for audio, video and image data, as well as for text compression and encryption.
-In the audio sector there are special codecs for voice or music. -Video and graphics codecs are specially designed for comics / cartoons and real pictures / movies.
Lossy data reduction primarily uses psychophysical tricks to inaccurately encode those parts of image and sound that humans can barely or barely perceive.
-The most popular audio codecs are FLAC and MP3, where FLAC specifies both the format and the codec. MP3 is a codec for audio in MPEG I or MPEG II format.
-The MP3 decoder side is standardized by Fraunhofer and can be obtained without a license. However, the encoder is paid. Therefore, many use the free LAME encoder.
-G.722.2 and Full Rate (FR) voice codecs are used especially in telephony.
-The most popular video codecs are H.265 for UHD TV, DivX and XviD in MPEG-4 Part 2 and H.264 for QuickTime.
-Often various encoded formats like MP3 and JPG are combined into one container file, for example in AVI, MKV, MP4 and FLV.

A simple codec example

The principle of a codec is clarified with an example. An abbreviation codec reduces typed text to abbreviated text and uses it to generate typed text:

-Format: Your digital font format might dictate how all the letters and characters you use are encoded in binary.
-You define the type of encoding in a specification, for example, the rule that each character consists of 8 bits. To do this, write a table showing which bit sequence is assigned to which letter or character.
-Codec: You can now create an abbreviation codec to convert typed text into font formatted abbreviated text.
-To do this, your codec must specify which words will be abbreviated and how, for example, through a set of rules, a large list of abbreviations or a combination.
Encoder – An encoder can now convert typed text to abbreviation format using the rules and directory.
Decoder: a decoder can convert it to written text.
-The efficiency of data reduction is highly dependent on your codec.
-If you only created a directory with three abbreviations, most of the texts will not be noticeably shorter. Compression is low.
-If your list of abbreviations is huge, the device that is going to encode and / or decode the text must have a large memory and a high reading speed.
-However, if you set up a smart set of rules for encoding, your codec is ideally small and the end device doesn’t have to do a lot of computing or reading work.
-If a word can be abbreviated in more than one way, that’s fine. A good encoder would use the most efficient abbreviation.
-However, if an abbreviation can have multiple meanings, you have lost information. This will probably render your codec unusable.
-However, if only the words that you know you are omitting were abbreviated ambiguously, you would have invented a lossy psychophysical encoding. This takes advantage of the fact that you do not visually perceive every existing word optically.
-This idea is not entirely false. Because, as this example shows, we don’t necessarily read exactly what is written.