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

妖精的绣舞 提交于 2019-12-31 23:18:25

问题


I want to have cef lib with support of mp3 and ffmpeg codecs. How can i re-compile the library of cef with these codec features inside it.

I want to learn, where should I edit inside the cef library or cefsharp? Then how to compile it to reuse it..

I am using cefsharp version 47.


回答1:


NOTE: PLEASE CONSIDER LEGAL ISSUES BEFORE PROCEEDING

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.

Step by step instructions:

a a




回答2:


See this SO question: Chromium Embedded Framework MP3 support

It contains links to build instructions as well as the following:

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.

I suggest reading through the entire answer and related links.



来源:https://stackoverflow.com/questions/35664119/how-to-set-the-support-of-mp3-and-ffmpeg-codec-libraries-to-cef

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!