Hy everyone, I have some questions about color spaces and chroma subsampling that I haven't been able to solve just by searching the web.
YCbCrthe same thing? When I take a look at the information of a random MP4 video file with
MediaInfo, I see that the color space is indicated as
YUV. Is that actually
YCbCrsince we're talking about a digital file?
It doesn't make any sense to say
RGB 4:2:0, right? Because chroma subsampling only applies to the
YCbCrcolor space, taking the (Cb, Cr) components, and deciding how many of them should be but in a 4x2 pixels region. Is that correct?
ffprobeoutputs that a video has a
bits_per_raw_sample(or bit depth) of 8 bits with a
yuv420ppixel format, what does it mean? What is the "raw sample" here? Is the 8 bits value referred to the number of bits used for each component (Y, Cb, Cr) before doing chroma subsampling? In that case, how should I calculate how many bits per pixel (or per 4x2 pixels region [?]) are used after chroma subsampling?
I hope it's ok to have multiple questions in the same post. Thank you.