Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Cannot get compositor to render live video with MixedRealityCompanionKit example by Microsoft

Hey all, I'm hoping someone can help me narrow down my issue as I am out of troubleshooting options.

So I am following the MixedRealityCompanionKit sample project listed here to try and get high definition video of a hololens experience. I have followed every step of the instructions listed EXACTLY as they appear. I have even redownloaded the project fresh several times (and retried all the steps), and restarted my computer several times trying to reset the experience, but I have not been able to get the unity compositor to render any video feed.

I am using Unity 5.6.3p2, Blackmagic_DeckLink_SDK_10.9.10, Opencv_3.2 and a Cannon camera (without the sdk hooked up since it said it was optional). If I open the BlackMagic Media viewer, I am able to see a video stream coming in from my camera. However, in Unity my compositor is always a greyed out box. When I open the project (after following the setup instructions) I get the following errors listed below. However I am able to clear the errors and they don't seem to affect the project being able to run

After searching online for any solution, I found this post which weirdly seemed to help slightly https://forums.hololens.com/discussion/9027/spectator-view-how-to-get-the-camera-feed-in-compositor#latest

So I opened the sample project in Unity 5.5, then reopend the project in 5.6. After that, all the errors/warnings were cleared. When I opened the compositor window I was able to see a black background with a hologram in view (so it seems like this is a step in the right direction?). However, no matter what I try I cannot get the live video feed to appear. I am positive no other application is using my camera's video feed. This is what my compositor window looks like currently:

When I take a picture, it just shows an enlarged view of that window (black background with the hologram laid over it) but no real world environment. If I take a video, it doesn't matter how long I try and record for, it always produces a blank video in the "HologramCapture" folder that last about 1 second. I am completely out of options and don't know what else I can do to troubleshoot this issue. Any suggestions or directions would be greatly appreciated. Thanks!

P.S. The very first time I ran through the tutorial and ran the application, I was able to see my camera's video feed in the compositor briefly and I captured an image of it working. However, the very next time I tried to run the application, the feed was gone and I have not been able to get it working again. I tried redoing the sample project several times to no avail.

Tagged:

Answers

Sign In or Register to comment.