问题
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