问题描述
我正在尝试使用MediaCapture类向WPF平台应用添加自定义视频效果。 我有相应的库引用来添加调用,但是我遇到了通过VideoEffectDefinition访问效果的问题。 我刚收到
a"class not registered"错误。 我已经尝试引用这个作为常规外部库构建的类,但没有运气。 我可以实例化该类并在其上调用方法,但VideoEffectDefinition因某些原因无法找到它。
我不能包含这个作为Windows运行时构建的库,因为我在尝试使用.NET Framework应用程序尝试将.NETCORE库混合时会遇到无效的情况。 有没有人能够做到这一点,或者这是否可能?
Martin Autry
I am trying to add a custom video effect to a WPF platform app utilizing the MediaCapture class. I have the appropriate libraries referenced to add the calls, but I am having issues accessing the effect via VideoEffectDefinition. I just get a "class not registered" error. I have tried referencing this class built as a regular external library, but no luck. I can instantiate the class and call methods on it, but the VideoEffectDefinition just cannot find it for some reason. I cannot include this library built as a windows runtime as I get an invalid scenario for trying the meld a .NETCORE library with a .NET Framework app. Has anyone been able to do this, or is this even possible??
Martin Autry
推荐答案
这篇关于在WPF平台上使用MediaCapture自定义效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!