HELP Please : CEF3 Client not rendering Local mp4 video file

2,770 views
Skip to first unread message

Kumar Varun

unread,
Jan 28, 2013, 3:41:42 PM1/28/13
to cefp...@googlegroups.com
Hi,

i was creating a small app that need to render video file from local drive in HTML 5 Video. i did similar app in pygtkwebkit in ubuntu, and wanted to port the same in Windows, bit so far no luck due to webkit issues.

Just to check CEF i run CEF 3 Client app and tried to open a dummy html page for me. having just a video tag

<video id="video_class" width="50%" controls="controls">
  <source src="file:///c:/test/test_video.mp4" type="video/mp4" >
  Your browser does not support the video tag.
</video>

This is being rendered in Chrome perfectly, but when i tried to open it in CEF3 Client. I could only see the container and Video-Control. ( See attachment)

Please tell me if i'm doing something wrong? 
or
This is an issue only in Client App?
or
Its an issue in CEF3?

Thanks in Advance.


CEF3_LCL_VDO_ISSUE.png

Czarek Tomczak

unread,
Jan 28, 2013, 3:56:21 PM1/28/13
to cefp...@googlegroups.com
Hi Kumar,

It seems that MPEG-4 and H.264 are proprietary video codecs and they are not included
in Chromium, though in Google Chrome they are supported. When I visit http://html5test.com/
using CEF 3 this is what I get in Video section:

MPEG-4 supportNo 
H.264 supportNo 
Ogg Theora supportYes 
WebM supportYes 
CEF 3 official release supports only Ogg Theora & Webm video codecs. 
It would be possible to create a build with mp4 & h264 support, but there are
licensing issues:
 
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.

The above quote is from comment #7 in the CEF Issue 371:
"Cannot play proprietary audio or video formats"

The solution for you would be to convert the video to WebM or Ogg Theora 
format.

Cheers,
Czarek.


Czarek Tomczak

unread,
Jan 28, 2013, 4:14:43 PM1/28/13
to cefp...@googlegroups.com
I've created Audio & Video support wiki page:

Czarek.

Kumar Varun

unread,
Jan 29, 2013, 3:49:41 PM1/29/13
to cefp...@googlegroups.com
Thanks a lot.

it's working well with OGG and WEBM video.

now i got another issue. let me write that in new topic.
Reply all
Reply to author
Forward
0 new messages