Skip to content
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

视频渲染结果与实际有色差 #3

Open
goplayegg opened this issue Oct 13, 2022 · 0 comments
Open

视频渲染结果与实际有色差 #3

goplayegg opened this issue Oct 13, 2022 · 0 comments

Comments

@goplayegg
Copy link

使用代码里的片段着色器进行YUV转RGB渲染出的视频可能存在色差,黑色不够黑,白色不够白。最后发现跟输入视频的YUV色域有关。视频色域不同,需要用不同的公式转换。参考下面这个文章后解决了,特在此记录。

YUV转RGB有哪些重要的点
https://zhuanlan.zhihu.com/p/436186749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant