-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix gpu decode #38
base: main
Are you sure you want to change the base?
Fix gpu decode #38
Conversation
LGTM |
谢谢, 找到原因了 ,你替换这行代码 |
现在色度是准确的👍, 但是我觉这里用 |
nv12的uv分量是交错的,所以每行的字节与y分量是一样的。 |
懂了, 我以为是单个 U / V, 多谢指点! |
在i5-7200u中, gpu为 intel HD Graphics 620 中,解码没问题,编码出现远端查看只渲染一帧画面就卡死了。 // Finally init the encoder
sts = m_pmfx_enc_->Init(&m_mfx_enc_params_);
if (MFX_WRN_PARTIAL_ACCELERATION == sts) {
sts = MFX_ERR_NONE;
} else if (MFX_WRN_INCOMPATIBLE_VIDEO_PARAM == sts) {
RTC_LOG(LS_ERROR) << "Invalid video param detected.";
} else if (MFX_ERR_NONE != sts) {
return WEBRTC_VIDEO_CODEC_ERROR;
} 错误日志如下:
|
修复Intel GPU解码问题