如何设置mp3和ffmpeg编解码库对cef的支持?

how to set the support of mp3 and ffmpeg codec libraries to cef?

我想要支持 mp3 和 ffmpeg 编解码器的 cef 库。我如何重新编译其中包含这些编解码器功能的 cef 库。

我想学习,我应该在cef库或cefsharp里面编辑什么地方? 那么如何编译重用..

我使用的是 cefsharp 47 版。

看到这个问题:Chromium Embedded Framework MP3 support

它包含构建说明的链接以及以下内容:

Codecs like MP3 and AAC are included in Google Chrome releases but not Chromium builds. This is because these formats are not open and require licensing. Distributing these codecs with your application without a licensing agreement may violate the law in certain countries. You should discuss with a lawyer if appropriate.

我建议通读整个答案和相关链接。

注意:请在继续之前考虑法律问题

有一种方法可以在 CEF 中启用 MP3 支持,但您必须修改源分发中的 cef.gypi,重新生成 visual studio 项目并重新构建。

分步说明:

a a