Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 412
Bilgin Kılıç Avatar asked Feb 27 '16 00:02

Bilgin Kılıç


2 Answers

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:

enter image description here enter image description here aenter image description here enter image description here aenter image description here enter image description here

like image 192
null1941 Avatar answered Sep 21 '22 07:09

null1941


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.

like image 37
TehCorwiz Avatar answered Sep 18 '22 07:09

TehCorwiz