• 请不要在回答技术问题时复制粘贴 AI 生成的内容
LLaMA
V2EX  ›  程序员

opus 压缩音乐效果也比 aac 好吗?记得之前看见过 v 友实验,只有语音场景好,音乐场景同码率下 opus 音质比 aac 下降明显。

  •  
  •   LLaMA · Mar 25, 2023 · 2621 views
    This topic created in 1144 days ago, the information mentioned may be changed or developed.
    8 replies    2023-03-27 22:19:25 +08:00
    sommio
        1
    sommio  
       Mar 25, 2023   ❤️ 2
    有损编码器近十年在音质上并没有可观的进步,大多只是些小修小补,首先不同 AAC 编码器的质量不一
    libopus 的问题是不怎么热衷于处理社区杀手样本,这点多数视频网站和安卓用的 fdk_aac 也差不多
    且 [fdk_aac lowpass cutoff]( https://android.googlesource.com/platform/external/aac/+/master/libAACenc/src/bandwidth.cpp#L114) 比较保守,最高为 17khz ,使得它在技术上不可能达到透明(既感知无损)
    至于 fdk_aac 的 VBR 虽然没有 cutoff 问题,但处于不受官方支持状态,所以也没人测它在高等级时表现
    如果对透明有要求的话建议用 Apple AAC ( QAAC )

    ![]( https://s2.loli.net/2023/03/24/YoWiL974ck6fpPT.png)
    ![]( https://s2.loli.net/2023/03/24/LHNQ3MpG859l6tg.png)
    sommio
        2
    sommio  
       Mar 25, 2023
    sommio
        3
    sommio  
       Mar 26, 2023
    如果只是想达到 ITU-R 五等级中的 4.0 “能感知到失真,但不恼人”水平,例如无杂音之类的
    exhale/opus@~96Kbps(VBR) 和 libfdk_aac@128Kbps (CBR) 就足够了
    sommio
        4
    sommio  
       Mar 26, 2023
    不太清楚你的具体用例是什么,如果要考虑到 Apple 用户的话建议使用 AAC
    因为 Apple 设备可能包含 AAC 硬件解码器( kAppleHardwareAudioCodecManufacturer )
    jimzhong
        5
    jimzhong  
       Mar 26, 2023
    个人体验 opus 和 aac 码率大于 128kbps 情况下效果差不多。opus 的优点是商业使用无需授权。
    sommio
        6
    sommio  
       Mar 26, 2023
    @jimzhong

    aac 只向编解码器开发商收取授权费
    fdk_aac 编码器是免费的
    > An AAC patent license is needed by manufacturers or developers of end-user encoder and/or decoder products.


    [AAC FAQs]( https://www.via-corp.com/licensing/aac/aac-faqs/)
    [FDK AAC License]( https://fedoraproject.org/wiki/Licensing/FDK-AAC)
    ysc3839
        7
    ysc3839  
       Mar 27, 2023 via Android
    @sommio 从链接里面看 FDK AAC 只是源代码免费授权,不包含专利授权的。
    “is needed by manufacturers or developers of end-user encoder and/or decoder products”我觉得是你开发的产品里包含了编解码代码就需要授权。
    sommio
        8
    sommio  
       Mar 27, 2023   ❤️ 1
    @ysc3839
    这段要配合 AAC FAQs 看,这只意味着不能基于 FDK AAC 开发自己的编解码器,不意味着使用它需要付费
    OPUS 也不包含专利授权
    [License Terms]( https://www.opuspool.com/licence-terms)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 21:22 · PVG 05:22 · LAX 14:22 · JFK 17:22
    ♥ Do have faith in what you're doing.