-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with LumiaAnalyzerDefinition #24
Comments
Could you be building a Win10 app by any chance? I haven't ported the NuGet to Win10 (Win10 offers similar functionalities built-in). Otherwise, would you have more details about what you mean by 'any definition for "Properties"'? What kind of errors do you get (build error log, exception callstack, etc.)? |
No Way to build it in a W10 App, because we have just W8.1 Phones here :) " LumiaAnalyzerDefinition " contains no definition for " ActivatableClassId " , and it was not found ActivatableClassId extension method that takes a first argument of type ' LumiaAnalyzerDefinition " (are you missing a using directive or an assembly reference ) . The same Text by "Properties". But |
Strange indeed. If you F12 on it or use Object Browser, does it show the class derive from Windows.Media.Effects.IVideoEffectDefinition? That interface is missing in Win81 so I added an extra definition there, but that should not impact WP81 (unless somehow wrong DLLs are getting picked up).
|
I'm new in VS and Windows programming, so i don't understand your example right.
? and yes, the IVideoEffectDefinition are available. |
Did you implement LumiaAnalyzerDefinition in your code? It should come from the DLLs in the NuGet package. |
Hallo, |
Im such a big idiot, your right. I'm create my own LumiaAnalyzerClass. |
Not the right topic but i don't want to create a new topic. |
In W10 IBasicVideoEffect makes VideoEffects mostly obsolete.Otherwise copying the VS project into your solution might work. |
Hello Mr. Maitre,
i have an Problem with the LumiaAnalyzerDefinition class.
await capture.AddEffectAsync(MediaStreamType.VideoPreview, definition.ActivatableClassId, definition.Properties);
My App can't find any definition for "ActivatableClassId" and "Properties".
In my Package.appxmanifest is the binding for the VideoEffects:
<Extension Category="windows.activatableClass.inProcessServer"> <InProcessServer> <Path>VideoEffects.WindowsPhone.dll</Path> <ActivatableClass ActivatableClassId="VideoEffects.CanvasEffect" ThreadingModel="both"/> <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffect" ThreadingModel="both"/> <ActivatableClass ActivatableClassId="VideoEffects.LumiaAnalyzer" ThreadingModel="both"/> <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectBgrx8" ThreadingModel="both"/> <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectNv12" ThreadingModel="both"/> <ActivatableClass ActivatableClassId="VideoEffects.SquareEffect" ThreadingModel="both"/> </InProcessServer> </Extension> </Extensions>
Do you know where the problem is?
Best regards from germany
Peter
The text was updated successfully, but these errors were encountered: