Skip to content
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

Cannot retrieve BlackMagic video stream in compositor window from Canon Camera #296

Open
benjamincoven opened this issue Jul 23, 2018 · 1 comment

Comments

@benjamincoven
Copy link

benjamincoven commented Jul 23, 2018

Overview

The compositor window shows the Holograms corectly according to the Hololens on Camera, however the background is black and the video live is not working.

There is no error in the console beside "Failed to call static function Reset because an object was provided" when opening compositor window.

The video live is working well on the BlackMagic Media Express software.

I am using a Canon 5D Mark IV

I have not installed the Canon SDK with the Compositor project as it is indicated as optionnal on SV documentation.

When the camera is plugged in, and after stopping the play mode in editor, Unity crashes 50% of the time (doesn't happen when camera is unplugged)

I have tried some debuging on ShaderManager file, when the camera is plugged in, the methods SetXXXFrame are executed twice instead of one time.

I didn't change any code in Compositor project before building DLL.

Expected Behavior

The compositor window shows camera live instead of black background and Unity doesn't crash half of the time when stopping play mode.

Unity Editor Version

2018.1.2f1

Mixed Reality Toolkit Release Version

2017.4.0.0

Mixed Reality Toolkit Companion Kit Release Version

Master branch up to date on July 23 2018

@benjamincoven
Copy link
Author

benjamincoven commented Jul 24, 2018

I successfully found a workaround but I have no idea from where the problem is coming:

I took a very old project from my company that was working, and I copied the dll to my project. then I comented the call to UpdateSpectatorView in SpectatorViewManager because it doesn't exist in former dll. I will test this with Hololens.

Edit: Full setup works with former Compositor dll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant