在linux-x64x11版本的cobalt上加载Youtube视频时,Cobalt崩溃。我能够加载首页,查看缩略图并进行搜索,但是,单击视频后,我会被发送到包含建议视频的加载屏幕,然后整个浏览器崩溃。它显示以下警告/错误消息:
[13996:4115963444:WARNING:ffmpeg_dynamic_load_dispatch_impl.cc(168)] Unable to open shared library libavutil.so
[13996:4115963891:WARNING:ffmpeg_dynamic_load_dispatch_impl.cc(168)] Unable to open shared library libavutil.so
[13996:4115964177:WARNING:ffmpeg_dynamic_load_dispatch_impl.cc(168)] Unable to open shared library libavutil.so
[13996:4115964217:FATAL:ffmpeg_dynamic_load_audio_decoder_impl.cc(34)] Check failed: false.
starboard::logging::LogMessage::~LogMessage() [0x2f11b25]
starboard::shared::ffmpeg::AudioDecoder::Create() [0x847b348]
starboard::shared::starboard::player::filter::(anonymous namespace)::PlayerComponentsImpl::CreateAudioComponents() [0x83cce1f]
starboard::shared::starboard::player::filter::PlayerComponents::CreateAudioRenderer() [0x838907e]
starboard::shared::starboard::player::filter::FilterBasedPlayerWorkerHandler::Init() [0x83815e2]
starboard::shared::starboard::player::PlayerWorker::DoInit() [0x836c55c]
starboard::shared::starboard::player::PlayerWorker::RunLoop() [0x836bd4c]
starboard::shared::starboard::player::PlayerWorker::ThreadEntryPoint() [0x836aac3]
(anonymous namespace)::ThreadFunc() [0x2efb313]
start_thread [0x7f01db7316ba]
<unknown> [0x7f01dad4041d]
Caught signal: SIGILL (4)
starboard::shared::signal::(anonymous namespace)::Crash() [0x2efbda3]
<unknown> [0x7f01db73b390]
SbSystemBreakIntoDebugger [0x2ef8009]
<unknown> [0x2f10d9e]
starboard::logging::LogMessage::~LogMessage() [0x2f11d01]
starboard::shared::ffmpeg::AudioDecoder::Create() [0x847b348]
starboard::shared::starboard::player::filter::(anonymous namespace)::PlayerComponentsImpl::CreateAudioComponents() [0x83cce1f] starboard::shared::starboard::player::filter::PlayerComponents::CreateAudioRenderer() [0x838907e]
starboard::shared::starboard::player::filter::FilterBasedPlayerWorkerHandler::Init() [0x83815e2]
starboard::shared::starboard::player::PlayerWorker::DoInit() [0x836c55c]
starboard::shared::starboard::player::PlayerWorker::RunLoop() [0x836bd4c]
starboard::shared::starboard::player::PlayerWorker::ThreadEntryPoint() [0x836aac3]
(anonymous namespace)::ThreadFunc() [0x2efb313]
start_thread [0x7f01db7316ba]
<unknown> [0x7f01dad4041d]
Illegal instruction
答案 0 :(得分:1)
您张贴的最有说服力的故障信息似乎是前三行日志,这表明您没有我们的右舷/共享代码当前支持的ffmpeg的三个版本之一。
有关在何处设置受支持的ffmpeg版本的详细信息,请参见https://cobalt.googlesource.com/cobalt/+/993f480a798eca567dfb8088d8d0c1e712d2149c/src/starboard/shared/ffmpeg/ffmpeg.gyp#37。
同样,请参阅日志错误消息的源以查看如何搜索库:https://cobalt.googlesource.com/cobalt/+/993f480a798eca567dfb8088d8d0c1e712d2149c/src/starboard/shared/ffmpeg/ffmpeg_dynamic_load_dispatch_impl.cc#160。