LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   24 bit Ogg Vorbis encoding ? (http://www.linuxquestions.org/questions/linux-software-2/24-bit-ogg-vorbis-encoding-882126/)

DJ Shaji 05-22-2011 03:08 PM

24 bit Ogg Vorbis encoding ?
 
Does Ogg Vorbis (or any other lossy format) support 24 bit encoding? I googled but couldn't find anything on this, so perhaps it doesn't. In any case, the whole point of being a lossy format would be lost if all of the information would be conserved, eh? But still, a very interesting question (to me, at least). FLAC does support 24 bit, obviously.

David the H. 05-22-2011 03:46 PM

From the wikipedia page on audio bit depth.
Quote:

Technically speaking, bit depth is only meaningful when applied to pure PCM devices. Non-PCM formats, such as DSD or lossy compression systems like MP3, have bit depths that are not defined in the same sense as PCM. This is particularly true for lossy audio compression, where bits are allocated to other types of information, and the bits actually allocated to individual samples are allowed to fluctuate within the constraints imposed by the allocation algorithm.
So no, it's not a meaningful factor in lossy compression formats. Bitrate and samplerate are the important qualities to look at. I just tried converting a 24b/96k flac file with oggenc, and while the samplerate was preserved, no bit depth shows up in the metadata.

The man page for oggdec shows a bit depth setting for decoding back to pcm/wav, but you can only choose between 8 and 16 bits.


All times are GMT -5. The time now is 03:35 PM.