Record a video of the filtered camera source
June 24, 2014 Comments
Reactor15 adds that he wants to use the
ChromaKeyFilter, but it seemed to have no effect on the video when enabled. He thinks the alpha channel is being ignored. Lee does not think that those video formats (
YU2) have alpha channels, and clarifies that they use a luminance byte and two or more color bytes to construct an image. He adds that they are neither
Lee suggests using Blend Filter in combination with
ChromaKeyFilter by running the
ChromaKeyFilter on the input video, then blending that layer on top of a custom background that can be provided as another
IImageConsumer. Reactor15 was able to get it working with a test
ColorImageSource for the background, but wants to know how to pass a
StorageFileImageSource from C# to C++. Yan Verdavaine clarifies that
IImageProvider, and hence he could pass it like a property. Reactor15 confirms this to be an acceptable solution.
We featured this discussion to highlight how helpful members of the community sort out issues to their final conclusions.
See About Featured Discussion Board Posts for more information.
Keep those interesting questions coming!