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

[css-color] colorspace for video #287

Open
svgeesus opened this Issue Jul 10, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@svgeesus
Contributor

svgeesus commented Jul 10, 2016

https://drafts.csswg.org/css-color/#sRGB

Note that this rule does not apply to videos, since untagged video should be presumed to be in CCIR 601.

Really? Isn’t HD video in Rec.709? Shouldn’t video be consistent with images? Or do implementations really do this differently?

Different issue to #286 because video is typically not explicitly tagged; the colorspace is out of band for broadcast video, and absent for web video.

Presuming untagged video to be CCIR 601 is incorrect for video originating from PAL/SECAM systems, incorrect for HD video, and incorrect for 4k video. It is also probably incorrect for video from SLRs and phones. So CCIR 601 is a poor choice as a default here.

Rec.709 is sufficiently close to sRGB (same primaries, very similar transfer curve) that it may be best to assume sRGB. However, it also depends on what existing implementations do and what colorspace conversions are done by hardware video acceleration in current graphics cards.

@svgeesus svgeesus self-assigned this Jul 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment