Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

But how can it fit so much music? (The FLAC Codec #2 – Lossless Audio Compression)

Автор: kleines Filmröllchen

Загружено: 2022-10-05

Просмотров: 9019

Описание:

UPDATE: Martijn van Beurden, one of the two authors of the IETF FLAC spec, has left a comment with some corrections and additional explanations! The comment is pinned below.

Episode 2 of the deep-dive series into FLAC, digital audio and its lossless compression. This video deals with the ideas and theory behind FLAC’s compression methods, including Linear Predictive Coding, Exponential Golomb Coding and Interchannel Decorrelation.

Manim source code for the series: https://github.com/kleinesfilmroellch...
The FLAC specification: https://www.xiph.org/flac/format.html (Official Specification) https://datatracker.ietf.org/doc/html... (Internet Draft as of August 2022; mostly a copy of the specification + corrections)
SerenityOS: https://serenityos.org
95% of this video was created with the Manim animation tool, created by Grant Sanderson (3Blue1Brown) and supported by the Manim community. https://www.manim.community/

Chapters:
00:00 - Previously...
01:43 - Audio compression basics
03:16 - Excursion 1: Polynomials
04:13 - Linear Predictive Coding
09:02 - Excursion 2: Why these specific predictors?
11:40 - Excursion 2: A more formal method
15:54 - Linear Predictive Coding: Final remarks
17:20 - Residuals
19:55 - Residuals: Variable bit depth
22:36 - Residuals: Arbitrary order Exponential Golomb Coding
25:25 - Residuals: Extension to whole numbers
26:09 - Interchannel Decorrelation
27:26 - Ending

Footnotes (square brackets in the video):
[1] It’s more complicated than that. MP3 transforms the samples into the frequency domain using an FFT called MDCT (Modified Discrete Cosine Transform) and then splits those up into subbands which are quantized and reduced in resolution, throwing away information. Also, there’s additional steps before and after the FFT.
[2]    • Taylor series | Chapter 11, Essence of cal...  
[3] This is of course a simplification, not all functions can be approximated well with Taylor series polynomials. However, there is a way of proving or disproving that the Taylor series converges to the original function, which means the infinite Taylor “polynomial” is exactly equal to the approximated function.
[4] Fun fact: Computers use these exact formulas for calculating sine and cosine.
[5] This way of writing series might seem weird to the math-inclined, but it’s how signals in digital signal processing theory are sometimes notated. You might also see regular function notation (that’s what my German textbook does), but I don’t use it here to emphasize the fact that we’re in discrete signal land instead of continuous function land.
[6]    • Solving Wordle using information theory  
[7]    • Pokémon Sprite Decompression Explained  
[8] In case you’re wondering: There’s also the regular Golomb code. Instead of 2^k as a parameter it uses any integer parameter M, and it’s just quotient*factor + remainder encoding where the quotient is M. By framing it this way, Exponential Golomb is both a special case of Elias gamma coding and Golomb coding.
A general note about the LPC coefficient derivation section: I’m skipping over a significant amount of formalism, as the distance between samples is technically a constant h. However, as mentioned in the end of the geometric motivation, in our approximations we assume h=1 which makes all the h-related factors disappear. Therefore, I elected to leave them out entirely in order to simplify the equations.
Another general note about the whole video: I’m leaving out a lot of the concrete implementation considerations, so if you are already thinking hard about how on earth some of these things can work together, it will probably be addressed in the third video.

But how can it fit so much music? (The FLAC Codec #2 – Lossless Audio Compression)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

these compression algorithms could halve our image file sizes (but we don't use them) #SoMEpi

these compression algorithms could halve our image file sizes (but we don't use them) #SoMEpi

Explaining Audio File Formats

Explaining Audio File Formats

Nyquist-Shannon; The Backbone of Digital Sound

Nyquist-Shannon; The Backbone of Digital Sound

But what is digital audio? (The FLAC Codec #1 – (Digital) Audio and PCM)

But what is digital audio? (The FLAC Codec #1 – (Digital) Audio and PCM)

What If Equations and Numbers Could Sing?

What If Equations and Numbers Could Sing?

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

From Waves to Bits: The Psychoacoustic Model in Audio Compression Algorithms #SoME3

From Waves to Bits: The Psychoacoustic Model in Audio Compression Algorithms #SoME3

Можно ли услышать разницу между MP3 и FLAC?

Можно ли услышать разницу между MP3 и FLAC?

The Physics Of Dissonance

The Physics Of Dissonance

Lossless audio is NOT what you think

Lossless audio is NOT what you think

Hi-Res Audio: не тратьте деньги впустую!

Hi-Res Audio: не тратьте деньги впустую!

Alan Resnick - What Codec should I use?

Alan Resnick - What Codec should I use?

The RISC-V Instruction Tier List

The RISC-V Instruction Tier List

Debunking the Digital Audio Myth: The Truth About the 'Stair-Step' Effect

Debunking the Digital Audio Myth: The Truth About the 'Stair-Step' Effect

Instantaneous Variable Bitrate Visualization between Vorbis, WavPack, FLAC, and ALAC

Instantaneous Variable Bitrate Visualization between Vorbis, WavPack, FLAC, and ALAC

Sample Rate, Bit Depth, Bit Rate, and You(r Ears), Explained

Sample Rate, Bit Depth, Bit Rate, and You(r Ears), Explained

Does lossless sound different?

Does lossless sound different?

If you can't hear this then you're not an audiophile [See description for link to followup video]

If you can't hear this then you're not an audiophile [See description for link to followup video]

Making a Pitch Shifter

Making a Pitch Shifter

Пять лучших языков для аудиопрограммирования

Пять лучших языков для аудиопрограммирования

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com