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

Replace YUV2RGB with correct BT.709 matrix #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SuperSodaSea
Copy link

The original matrix is for BT.601 colorspace, however nowadays most of the videos are using BT.709 colorspace, and the wrong matrix can cause a slightly different (wrong) output.

image
(Top = Correct, Bottom = Wrong)

For further information, see https://zhuanlan.zhihu.com/p/493035194

@girlbymirror
Copy link
Collaborator

I will test it and merge

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

Successfully merging this pull request may close these issues.

2 participants