by sindre_mehus » Thu Jul 13, 2006 6:46 am
I have good news for you! Subsonic 2.8 will support resampling of VBR files. (Well, at least VBR files with a XING header.)
The problem with MP3 VBR is that there is no way to find the average bitrate except from reading all the MP3 frame headers. (We need to know the average bitrate in order to determine whether downsampling is required). Reading the entire file would be too slow.
To overcome this limitation, some (most?) MP3 encoders adds a special proprietary XING header to the MP3 file. The average bitrate can be found in this header.
As of Subsonic 2.8 the XING header is used when trying to resolve the bitrate.
-Sindre