xxfxxf / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 0 forks source link

cannot play proprietary audio or video formats #371

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open url http://gk.lka.hu/old2/html5/
2. video,audio test
3. r306

What is the expected output? What do you see instead?
audio can not play.

What version of the product are you using? On what operating system?
r306, win7

Please provide any additional information below.

Original issue reported on code.google.com by wum...@gmail.com on 10 Oct 2011 at 5:59

GoogleCodeExporter commented 9 years ago
http://html5test.com/

Original comment by wum...@gmail.com on 10 Oct 2011 at 6:22

GoogleCodeExporter commented 9 years ago
CEF only supports open formats. For example, ogg audio plays fine: 
http://www.w3schools.com/html5/html5_audio.asp

Original comment by magreenb...@gmail.com on 21 Oct 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Please visit this link: http://html5test.com/

audio + mp3  no support

The result is 
PCM audio support   Yes ✔
MP3 support No ✘
AAC support No ✘
Ogg Vorbis support  Yes ✔
WebM support    Yes ✔

Original comment by wum...@gmail.com on 2 Nov 2011 at 6:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
One test page.

Original comment by wum...@gmail.com on 2 Nov 2011 at 7:07

Attachments:

GoogleCodeExporter commented 9 years ago
avcodec-53.dll
avformat-53.dll
avutil-51.dll

the version is older ?

I replace them with Chrome'14. Then audio_test.html can work.

Original comment by wum...@gmail.com on 2 Nov 2011 at 8:29

GoogleCodeExporter commented 9 years ago
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.

Original comment by magreenb...@gmail.com on 21 Nov 2011 at 5:29

GoogleCodeExporter commented 9 years ago
In order to use proprietary audio and video codecs in Chromium/CEF you need to:

1. Acquire ffmpeg libraries that support the proprietary codecs.
2. 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.

Original comment by magreenb...@gmail.com on 5 Dec 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Issue 849 has been merged into this issue.

Original comment by magreenb...@gmail.com on 22 Jan 2013 at 2:48

GoogleCodeExporter commented 9 years ago
Issue 848 has been merged into this issue.

Original comment by magreenb...@gmail.com on 22 Jan 2013 at 2:48

GoogleCodeExporter commented 9 years ago
Issue 1213 has been merged into this issue.

Original comment by magreenb...@gmail.com on 20 Feb 2014 at 11:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I add that 'proprietary_codecs': 1 to my cef.gypi.
and test it with http://html5test.com it works as google chrome and chromium.

But cefclient still can't playback *.mp4 file. 
it error return code is MEDIA_ERR_SRC_NOT_SUPPORTED : 4 

Original comment by ti...@digbil.com on 28 Mar 2014 at 6:30

GoogleCodeExporter commented 9 years ago
Hello!

I have the same problem, I want to enable proprietary codecs like MP3, MP4, 
.... . We were able to add proprietary_codecs=1 to the cef.gypi file, and 
opening the CefClient app and visiting the http://html5test.com/ website told 
that the browser support these proprietary codecs, but it failed to playback 
the files. With the instructions provided by nook from previous replies, I 
copied the libffmpegsumo.dll file from Chrome next to CefClient, and the video 
playback just worked.

How can we build the libffmpegsumo.dll with the proprietary codecs in cef? I 
see some flags that might be useful, but wasn't able to build a 
libffmpegsumo.dll with the propreitary codecs in it. 
I've tried the following flags:
        build_ffmpegsumo
        use_system_ffmpeg
                ffmpeg_branding
                ffmpeg_branding=Chrome

Thanks for the help!
Balazs

Original comment by Szanto90...@gmail.com on 23 Jul 2014 at 11:39

GoogleCodeExporter commented 9 years ago
@#14: Answered in 
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/9EqnUb2fDvg.

Original comment by magreenb...@gmail.com on 29 Jul 2014 at 2:44

GoogleCodeExporter commented 9 years ago
I have the same problem!
I don't know how to support mp3 in CEF3.
Who can help me?

Original comment by fengshen...@gmail.com on 23 Jan 2015 at 7:09

GoogleCodeExporter commented 9 years ago
My system is windows7-64bit and develop tool is VS2010.

Original comment by fengshen...@gmail.com on 23 Jan 2015 at 7:14