Using chroma key-advanded, I get fringed edges in the the resulting mask. Mask has pixelation in half resolution. Even using slope, the chroma key has a resolution of only 960 x 540 pixels instead of Full-HD. Footage comes from usual full-HD camera. See the attached shot. (done by “show mask” and “export frame”, but with preview scaling OFF. Foto then enlarged). Only the slightly visible small pixels are in full resolution; they obviously come from the luma criterion (intensity delta). But the chroma and hue delta make the large pixelation. Of course there is chroma subsampling, but this should not be visible. (For any rendering such images, there must be a smoothener to the croma signal to low-pass it’s spacial frequency, for fulfilling the sampling theorem).
Is it possible that this smoothening is missing before the chroma key catches the image?
What can I do to get smooth mask? Blurring the mask afterwards seems to be no good option, this should happen to the chroma signal before reaching the chroma key (as long as it is linear).
I just tested it, it happens without any other filters before or after.
Just take chroma-key advanced, color-space “hue-chroma-intensity”. Then take “alpha-channel:view”.
(Usually I have hue-delta narrower than intensity-delta. But basically the pixelation happens in all settings once chroma is involved).
I also played the same video in “media player (classic home cinema)” in original size and I took a screenshot of it. This I loaded into shotcut and apllied the same filter. Result: the mask is 100% o.k. as it should be!
Thank you! it’s great tutorial. I’ll try it.
He blurrs the chroma key afterwards and then does key-spill,
which surely will help me, even without solving the initial problem.
Maybe his footage comes from better camera.
Under the track is 1 other track (the background to be punched-in)…But for the alpha channel this is irrelevant. The double size pixels appear already in alpha channel, as visible by “alpha channel: view”.
I think it is easy to reproduce. Use footage directly from camera, not down-sized before. Use the color-space “hue-saturation-intensity”, with narrow hue. Check at a place where brightness of blue-screen is similar to the image.