I've built CEF with proprietary codecs enabled (GN_DEFINES="use_sysroot=true is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome arm_float_abi=hard symbol_level=1" and even modified features.gni to have default for proprietary_codecs to be true instead of depending on chrome_branding). However when trying to play an mp4 video this does not work.
The build is a release build from the latest master.
The video is used like this:
- Code: Select all
<video controls autoplay>
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
</video>
And the debug logs indicate:
- Code: Select all
[1027/051736.551653:INFO:cpu_info.cc(53)] Available number of cores: 4
[1027/051736.552056:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates
[1027/051736.566342:VERBOSE1:pref_proxy_config_tracker_impl.cc(184)] 0xa9b44640: set chrome proxy config service to 0xa9b23f18
[1027/051736.583004:VERBOSE1:webrtc_internals.cc(119)] Could not get the download directory.
[1027/051736.606913:VERBOSE1:pref_proxy_config_tracker_impl.cc(184)] 0x9fc12f60: set chrome proxy config service to 0xa9b23600
[1027/051736.649929:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: renderer.
[1027/051736.661021:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: renderer.
[1027/051736.737166:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051737.759501:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[1027/051737.901918:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world
[1027/051737.902583:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: 0x4e221a38
URL:
context_type: WEB_PAGE
effective extension id: (none)
effective context type: WEB_PAGE
[1027/051737.904577:VERBOSE1:script_context.cc(117)] Created context:
extension id: (none)
frame: (nil)
URL:
context_type: UNSPECIFIED
effective extension id: (none)
effective context type: UNSPECIFIED
[1027/051737.905227:VERBOSE1:dispatcher.cc(353)] Num tracked contexts: 1
[1027/051737.912454:ERROR:command_buffer_proxy_impl.cc(124)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[1027/051737.945817:VERBOSE1:gles2_cmd_decoder.cc(3788)] GL_EXT_packed_depth_stencil supported.
[1027/051737.967698:VERBOSE1:gles2_cmd_decoder.cc(3788)] GL_EXT_packed_depth_stencil supported.
[1027/051737.973991:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051737.974514:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051737.976013:VERBOSE1:simple_index_file.cc(599)] Simple Cache Index is being restored from disk.
[1027/051738.036300:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.037361:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038116:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038414:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038554:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038667:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038775:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038883:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.038988:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.039091:ERROR:paint_controller.cc(548)] PaintController::FinishCycle() completed
[1027/051738.047683:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051738.048138:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051738.058012:ERROR:batching_media_log.cc(26)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
[1027/051738.058484:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051738.058941:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://techslides.com/demos/sample-videos/small.mp4
[1027/051738.088441:ERROR:batching_media_log.cc(26)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
Except the DEMUXER_ERROR_NO_SUPPORTED_STREAMS there also seem to be some GPU errors, but I am not sure if that is related.
BR
Yanick