Forum Discussion
Hi Evan,
Thanks for the the info, I will wait for your results.
Thanks
Regards
Kian
- EvanHamiltonJAVS2 years ago
New Contributor
Hey Kian,
I have implemented this new approach into my design. I am inputting YCbCr 4:2:2 through a gstreamer pipeline and converting it to RGB before the chroma keying. I have also changed the chroma keying logic to handle RGB data.
Input YCbCr 4:2:2 -> Convert and resample to RGB 4:4:4 -> Chroma key into RGBA 4:4:4 -> Separate RGB and A -> Convert and resample RGB 4:4:4 to YCbCr 4:2:2 -> Combine YCbCr with Alpha -> Output
I used intel's Color Plane Sequencer to separate RGB and A. I was not able to use this same component to combine YCbCr with Alpha since YCbCr is in 4:2:2 and has different bit sizes for each color space. I made the custom combiner component to handle this.
Y(8 bits) Cb(4 bits) Cr(4 bits)
I have not been getting adequate results so I learnt how to use the Signal Tap Logic Analyzer to debug. The custom combiner I made does not seem to be outputting any data. I will provide my new chroma keyer and custom combiner component. The chroma keyer signals and ports are still the same names as before because I haven't manually changed them yet but the logic has been changed to handle RGB.
The goal is to chroma key RGB 4:4:4 video data to remove the green residuals leftover from chroma keying YCbCr 4:2:2, but the output still needs to receive YCbCr w/ A 4:2:2
Thanks,
Evan