• 開源mp3解碼庫 MAD (libmad)

    0
    PHP C/C++ Bash Go MPEG 20202 次瀏覽
    libmad是一個開源mp3解碼庫,其對mp3解碼算法做了很多優化,性能較好,很多播放器如mplayer、xmms等都是使用這個開源庫進行解碼的;如果要設計mp3播放器而又不想研究mp3解碼算法的話,libmad是個不錯的選擇。

    MAD (libmad)是一個開源的高精度 MPEG 音頻解碼庫,支持 MPEG-1(Layer I, Layer II 和 LayerIII(也就是 MP3)。LIBMAD 提供 24-bit 的 PCM 輸出,完全是定點計算,非常適合沒有浮點支持的平臺上使用。使用 libmad 提供的一系列 API,就可以非常簡單地實現 MP3 數據解碼工作。在 libmad 的源代碼文件目錄下的 mad.h 文件中,可以看到絕大部分該庫的數據結構和 API 等。


    MAD is a high-quality MPEG audio decoder. It currently supportsMPEG-1 and theMPEG-2 extension to lower sampling frequencies, as well as the de facto MPEG 2.5 format. All three audio layers — Layer I, Layer II, and Layer III (i.e. MP3) — are fully implemented.

    MAD does not yet support MPEG-2 multichannel audio (although it should be backward compatible with such streams) nor does it currently support AAC.

    MAD has the following special features:

    • 24-bit PCM output
    • 100% fixed-point (integer) computation
    • completely new implementation based on the ISO/IEC standards
    • available under the terms of the GNU General Public License (GPL)

    哪些應用程序使用了 MAD

    The following third party applications use or plan to use MAD for audio decoding. These links are provided for convenience only; no endorsement or any other representation is intended by this list.

    相似問題

    相關經驗

    相關資訊

    相關文檔

  • sesese色