HydrogenAudio

Lossless Audio Compression => Lossless / Other Codecs => Topic started by: MondayMassacre on 2013-10-20 20:45:25

Title: A question on frame bitrate
Post by: MondayMassacre on 2013-10-20 20:45:25
Hi there,

I've been reading up on some of the principles of lossless compression, yet I fail to grasp the possibly obvious. As far as I understand, there are several possibilities and steps to compress audio data; blocking, prediction, residual coding and some other stuff I'm not even sure I wanna know of, otherwise it would make my head spin even further. But probably this might be the problem...

So there I have this piece of music, moderately complex (meaning neither total silence nor pure noise) and when I open this (e.g.) flac-file in VLC and open the media information dialog, I see the bitrate fluctuating heavily. Now my question is: Is this bitrate indeed reflecting a combination of the three "basic" elements of samplerate * depth * channels or is this simply the amount of encoded data VLC is currently reading from the flac-file?
If a lossless format uses a bitrate as high as necessary to restore the signal, which part of the signal can be left out? What's variable? The samplerate? The bit depth?

Confused greetings from Austria
M
Title: A question on frame bitrate
Post by: saratoga on 2013-10-20 21:00:28
Now my question is: Is this bitrate indeed reflecting a combination of the three "basic" elements of samplerate * depth * channels or is this simply the amount of encoded data VLC is currently reading from the flac-file?


Its the average size of the compressed audio over some interval. 

If a lossless format uses a bitrate as high as necessary to restore the signal, which part of the signal can be left out? What's variable? The samplerate? The bit depth?


Nothing is left out.  Lossless formats are lossless.  Zero loss.

This may be helpful to you:  http://en.wikipedia.org/wiki/Lossless_compression (http://en.wikipedia.org/wiki/Lossless_compression)
Title: A question on frame bitrate
Post by: MondayMassacre on 2013-10-20 21:45:57
So EVERY uncompressed sample weighs in at 44.1kHz * 16 Bit depth * 2 channels = 1.411.200 bits, no matter if noise or silence, yet the size of the stored data of the sample is dependent on the compression, and hence the bitrate is, as mentioned above, the amount of encoded data for some time interval? So the bitrate reflects the amount of data (i.e. compression ratio) used by an algorithm to store 1.411.200 bits of information (per time interval)?

Therefore: 1.411 kbit/s mean, the signal in that second is too complex to be compressed even a bit. And any bitrate below equals a compression rate of ([bitrate] / (1.411.200 / 100))% of the signal in that second.

Thanks! I think I will go and let Huffman make my head spin a bit more.
Title: A question on frame bitrate
Post by: saratoga on 2013-10-20 22:01:36
That's correct.  An incompressible signal would have a bit rate of 1.411 kbit/s or perhaps even higher due to overhead.  Most music signals can be compressed to perhaps two thirds of their original size for stero cd pcm.
Title: A question on frame bitrate
Post by: Nystagmus on 2014-02-21 00:26:51
That's correct.  An incompressible signal would have a bit rate of 1.411 kbit/s or perhaps even higher due to overhead.  Most music signals can be compressed to perhaps two thirds of their original size for stero cd pcm.


Unless the original audio is greater than 44.1 kHz 16-bit (1411 kbps) also!  Each sample rate / bit resolution has it's own characteristics.  Not everything in the audio world is RedBook audio.  I realise it's obvious to many of us but it's worth saying.  Other than that, I totally agree with Saratoga.  Interesting thread too.