Chromium Embedded Framework MP3 support

后端 未结 6 885
攒了一身酷
攒了一身酷 2020-12-03 02:19

I\'ve downloaded Chromium Embedded Framework r306 for Windows and built it. Unfortunately, it shows, that it doesn\'t support mp3:



        
6条回答
  •  时光取名叫无心
    2020-12-03 02:32

    There is a way to enable MP3 support in CEF, but you'll have to modify the cef.gypi in the source distribution, regenerate the visual studio projects and rebuild.

    Detailed build instructions:
    https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding

    Enabling proprietary codecs support:
    http://code.google.com/p/chromiumembedded/issues/detail?id=371

    Add 'proprietary_codecs': 1 to your cef.gypi configuration so that USE_PROPRIETARY_CODECS will be defined as required by net/base/mime_util.cc.

    You'll also need proper builds of the avcodec, avformat and avutil DLLs. Luckily, you can just get these from the installation directory of Google Chrome itself ($User/AppData/Local/Google/Chrome/$Version).

提交回复
热议问题