【问题标题】:What kind of ogg does Android Chrome support?Android Chrome 支持哪种ogg?
【发布时间】:2014-02-22 16:39:50
【问题描述】:

我发现我只能在 Android Chrome 中播放一些 ogg vorbis 文件。最值得注意的是,我无法在此处播放 Mauz Kahn 的演示生成的 ogg 文件:https://www.webrtc-experiment.com/ffmpeg/wav-to-ogg.html 我使用他的演示使用 Windows Chrome 创建了一些测试 ogg 文件,我可以在使用 Window 的 Chrome 时播放它们,但我无法在 Android Chrome 中播放相同的音频文件。我在 Android chrome 中播放过其他 ogg vorbis 文件,所以我怀疑 parameters that Khan's demo invokes ffmpeg with 中存在一个微妙的问题。

【问题讨论】:

  • Ogg 只是一种容器格式。您是在专门讨论 Ogg Vorbis 文件吗?还是您在 Ogg 中使用其他编解码器?
  • AFAICT 它是 vorbis,因为它出现在调用 FFMPEG 的参数中。
  • 我知道 Chrome 支持 Speex,因为我将它与 speex.js 一起使用。

标签: ffmpeg web-audio-api ogg vorbis chrome-for-android


【解决方案1】:

通过使用网络音频容器并在源标签中指定编解码器,我能够在 Android Chrome 中播放 vorbis 音频。更多详情见https://github.com/muaz-khan/WebRTC-Experiment/issues/159

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-11-12
    • 2013-01-15
    • 2016-09-20
    • 1970-01-01
    • 2016-01-08
    • 2011-04-07
    • 1970-01-01
    相关资源
    最近更新 更多