Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
My head hurts & I need a drink - when you guys have finished debating can you please yell loudly, wake the rest of us up and tell us what your conclusion is - thanks in advance
I find the colour space conversion relatively straightforward to visualise - I'm less sure about the 8-10 bit.I understand how you can get 4:4:4 from downscaling 4k to 2k. But how do you get 10-bit, as some people are claiming?
To clarify the scale that's involved, let's assume that each pixel in our 8-bit group of four is at maximum value -- 255. So, 255 + 255 + 255 + 255 = 1020.harddrive said:Let's assume on our 8 bit system black is represented by binary 0, white by 255, and on the 10 bit system by black 0, white 1023 (10 "1"'s)
Let's further assume a mid-grey that is 120 (say) on the 8 bit system, and 480 on the 10 bit system.
A simple algorithm for doing the downscale would simply take groups of 4 pixels, and add the values to get a single 10 bit value. So 120+120+120+120=480.
That's exactly what happens. If one scans a row of pixels from left to right in a digital image, the colors and values usually start to vary at some point. Scanning the next row of pixels below, the points where such value transitions occur might differ from the row above by one or two pixels. Such slight differences in the location of these transitions is where/why the resolution factor of color depth is so important.harddrive said:But it's possible that slight increase in level may make one of the original group of four be 121, whilst the rest remain 120 - the summation would then give 481 for that slight increase in input.
That only happens in the smooth areas of the image, As mentioned earlier in this thread, if banding exists in the 8-bit original image, it will appear in the 10-bit version, unless something artificial is introduced (dithering, noise, etc).harddrive said:It's conceivable that from the original four 120 value state, then as the light is slowly increased then what was described above doesn't happen - but rather that nothing happens for a while, then all the values go to 121 at pretty much the same time. Hence the 10 bit values jump from 480 to 484 to 488...... You've got 8 bit values in a 10 bit wrapper.
Actually, one of the primary motivations in sacrificing resolution for increased bit depth is to reduce noise.harddrive said:It also takes no account of noise, and that could mask any theoretical benefits of 10 bit resolution anyway.
Ah, well, that's why you're having a hard time understanding it -- in the 10-bit conversion you don't average at all. You add, but don't average.The way I see it, you're averaging four 8-bit images, and calling the result 10-bit.
To the OP, greenscreening in 4K 4:2:0 is a breeze.
But as has been said so many times now on this thread - only if the source justifies it.4:2:2 is better, though.
Progressive or interlace? That makes a big difference. But this thread is about 4k 4:2:0, and how it can be scaled down to 1080, 4:2:0 1080 is a different matter. Though it depends where it comes from - if a 1920x1080 Bayer sensor, 4:2:0 or 4:2:2 won't make much difference for all the reasons over the last few pages. A camera with 3 1920x1080 chips is a different matter.Keying 4:2:0 in 1080 source is something I try to avoid.
Quoted for truth. 4:2:0 in interlaced is a nightmare. 4:2:0 in progressive is much more reasonable. And 4:2:2 (from a source that justifies it) can be much better.Progressive or interlace? That makes a big difference.
Again, QFT. Three chips can deliver a full 4:4:4 signal, and recording in 4:2:2 will show definite and substantial benefits over recording that signal in 4:2:0.A camera with 3 1920x1080 chips is a different matter.
if a 1920x1080 Bayer sensor, 4:2:0 or 4:2:2 won't make much difference for all the reasons over the last few pages.
Thank you @Barry_Green! That was an amazingly clear explanation.
One more question. I mulling over a few different workflows for getting the best quality 2K/1080p output from my 4K/UHD source footage:
1. I can downscale all of my footage and convert it to ProRes at the same time, using 5DtoRGB Batch. This is what I used to use with my GH2, and it still works well with my GH4. I use ITU-R BT.601, Full Range of Luminance, and sometimes apply Technicolor CineStyle as a default LUT if I shot flat but don't want to do heavier color-grading later.
2. I could do the same as above, minus the LUT, using Adobe Media Encoder.
3. I could pass my 4K / UHD footage through Adobe Media Encoder, converting it into a 4K / UHD ProRes 422 preset, thereby putting the 8-bit values into a 10-bit container, and ostensibly allowing for 10-bit calculations to happen automatically when I downscale it later?
4. I could import the original 4K/UHD footage directly into Premiere on a 4K or UHD sequence, and when I'm ready to export, choose a 2K or 1080p output profile (usually h.264). In this case, I would assume that toggling on "Render At Maximum Depth" would be advisable?
5. I could import the original 4K/UHD footage directly into Premiere, on a 10-bit 2K or 1080p sequence, and scale the footage down by 50%. I would assume that here I should still enable Render At Maximum Depth at export?
Basically, the tools most readily at my disposal are 5DtoRGB Batch, Adobe Media Encoder, and Adobe Premiere. As a Creative Cloud subscriber I do also have access to After Effects, but I don't want to add that to my workflow if I don't need to. So, what's the best way to get 10-bit 4:4:4 from my GH4's footage, using these tools?
edit -- over on EOSHD, a user shared a command-line tool for converting the GH4's 4K footage into 4:4:4 10-bit 2K. But isn't it possible and much easier using one of the options above?
I'm still sticking to what I wrote, which is that 4:2:2 is going to look substantially better. Again, GH4 4:2:0 as recorded comes with a lossy color space conversion plus compression, which means you don't have the original color fidelity anymore.
If you want to describe all Bayer sensors as inherently 4:2:0, it makes sense on its face, except for the fact that interpolation is better with more advanced debayers, so that the net result is better than 4:2:0.
For instance, Red (who I know is not unbiased) explains it like this: "those with a video encoding background may want to try and apply the 4:2:2, 4:1:1, etc. categorizations to a Bayer sensor, but this terminology is intended for compression methodologies and final images, not the sensors themselves. A 4K Bayer sensor is capable of producing full 4K 4:4:4 RGB files, for example; 4:2:2 is what could be applied to this file afterwards." - http://www.red.com/learn/red-101/bayer-sensor-strategy
Arri agrees with this as well, which is why the Alexa (which has a Bayer sensor) can output 4:4:4 RGB and 4:2:2 YCbCr.
You don't want to loose any color information, even if it does have interpolated data, since the chroma subsampling is a step you can't come back from.
Once subsampling occurs (because it can only be done in YCbCr) the original color fidelity is compromised.
It's easy to comprehend - since you're not working with the raw data, any step in the compression chain is going to negatively impact the image.
There may be two discussions going on here. The argument that harddrive is making, if I'm not mistaken, is that 4:2:0 encodes all the available color RESOLUTION from a Bayer sensor. Discussions about color space conversions etc. may be relevant in discussing overall image fidelity, but in terms of actual resolved detail, 4:2:0 encoding is sufficient to handle anything a Bayer sensor can output (assuming, obviously, that the frame size is the same as the native frame size of the Bayer sensor.)I'm still sticking to what I wrote, which is that 4:2:2 is going to look substantially better.
Well, yes, that could be argued, but -- you're discussing interpolation methods at that point. There is no factual increase in actual resolved detail. And the question is whether the in-camera conversion is done better than it could be handled in post, etc.If you want to describe all Bayer sensors as inherently 4:2:0, it makes sense on its face, except for the fact that interpolation is better with more advanced debayers, so that the net result is better than 4:2:0.
While technically true on the face of it, this is profoundly misleading. I mean, first of all, all RGB files are inherently stored as 4:4:4; it cannot be any other way. That's really the inherent meaning of RGB, is that there is pixel data for red, green, and blue stored for every pixel. But where this becomes extremely misleading is in the idea that just because you can pour a gallon of gas into a five-gallon container, that doesn't mean you have five gallons of gas. And scaling up Bayer's blue and red channels through interpolation and up-rezzing may result in creating a color value for each pixel, but it most definitely does not represent what true 4:4:4 sampling would have delivered.A 4K Bayer sensor is capable of producing full 4K 4:4:4 RGB files, for example; 4:2:2 is what could be applied to this file afterwards."
Again, outputting 4:4:4 does not mean the same thing as sampling 4:4:4. I can import VHS tapes onto my computer and export them as 1080p 4:4:4, but I think you and everyone else would agree with me that while technically the frame I exported would be 1920x1080, and while technically there would be red, green, and blue color info in each pixel position, there's no way anyone would confuse that VHS-sourced material for true 1080p 4:4:4. It is, again, pouring a gallon of gas into a 5-gallon can. You can CALL it a 5-gallon gas can, but the fact of the matter is that there's only a gallon of gas in it.Arri agrees with this as well, which is why the Alexa (which has a Bayer sensor) can output 4:4:4 RGB and 4:2:2 YCbCr.
Exactly - though to be a pedant "virtually all" may be more precise. And it's also with one highly important caveat. That we're talking about a 4:2:0 recording system where "Y" is the same as the Bayer sensor dimensions.The argument that harddrive is making, if I'm not mistaken, is that 4:2:0 encodes all the available color RESOLUTION from a Bayer sensor.
And again, exactly so, and well put. The size of the container doesn't mean it's filled. Obvious with everyday objects, maybe less so with resolution and recording formats and subsampling - but the analogy is spot on.It is, again, pouring a gallon of gas into a 5-gallon can. You can CALL it a 5-gallon gas can, but the fact of the matter is that there's only a gallon of gas in it.
And the same goes with any Bayer-sourced footage; the sensor is incapable of sampling more data than can be represented in a 4:2:0 encode. A Bayer sensor may be equivalent to a four-gallon gas tank, and there's only one gallon of red in it.
Yes, it's everything to do with ratios, so increase the basic resolution and you increase the chroma resolution in proportion. With 4k, and with 4:2:0, the chroma resolution by itself becomes the same value as luminance for HD!It is all about ratios. SD it was pretty normal to say you really had to have 4:2:2 because well we really did.