h265web.js
h265web.js copied to clipboard
Replace YUV2RGB with correct BT.709 matrix
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.
(Top = Correct, Bottom = Wrong)
For further information, see https://zhuanlan.zhihu.com/p/493035194
I will test it and merge