Announcement

Collapse
No announcement yet.

Enable CEF3(UMG Webbrowser widget) play h5 video(mp4 code)?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Enable CEF3(UMG Webbrowser widget) play h5 video(mp4 code)?

    Hello ,

    I added MP4 support in CEF3, as other people does, add this option: ffmpeg_branding=Chrome, when build and compile CEF3, and it will play h5 video(mp4 code).

    I recompile CEF3 frome source use same version 3071 as UE4 4.21.3 does, then I replace those dlls, lib, source file in UE4 and recompile UE4.
    Everything was worked in UE4 editor mode, but after I packaged my project, when I lunch my project, after a while my project will freeze(crash), I have to use Task Manager to close my project.

    And here is the project's CEF3 log run in ue4 Editor, But CEF3 still work fine:
    [0831/233218.494:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
    [0831/233218.511:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost
    [0831/234133.857:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost
    [0901/002152.912:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost
    [0901/003824.465:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost
    [0901/005200.595:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost
    But, I packaged my project run it, after few seconds, it Freezed(Crash), And here is CEF3 log :
    [0904/100427.649:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"video decode error"}
    [0904/100427.651:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR PIPELINE_ERROR_DECODE



    Could anyone help to check how to solve it?

    I'm appreciate it!

    #2
    Do you solve the problem? can you upload the cef3 folder and dll files? thanks

    Comment

    Working...
    X