Vuforia load White Rectangle instead of Video - unity3d

I have a problem with the app I'm building in Unity. I am using Vuforia to detect an image and to overlay it with a video. It works on the Unity editor, but when I use it on my android, it still detects the image but instead of the video it appears a white rectangle.
Does anyone know how to solve this? Thank you!

The format .mov wasn't working. I changed it to .mp4 and it worked!

Related

Transparent video in Android AR Scene

I am looking to solve the problem of displaying a transparent video in the AR scenes using Unity ARFoundation and Android platform.
I mean, accurately with a simple effect presented for the iOS platform: https://www.youtube.com/watch?v=vralbqaeqrk
In the normal 3D application I use the transcoded .Webm file and I achieve the intended purpose.
Using the same solution in the AR (ARCore) scene the background color is visible.
Can you use specialized/dedicated assets? Or should I stop dreaming about such a result using Unity and Android?
You need to make sure that your video clip does have an alpha channel then just click keep alpha property in video importing section and hit apply. However it will only show if your video does have an alpha.
Then just attach a Video player component to the gameobject which has a Mesh renderer.
Make sure the Render mode is Material override and Material property tells unity on which map of the material video output will be displayed.
If you want to play it on UI, just make a render texture and assign it to RawImage and assign the Video player with following settings.
Lastly make sure the render texture you created does have support for alpha.

Minimising the shaking or jumpiness of AR video when played over marker image using Vuforia in Unity3D

I am playing video over image target using vuforia plugin in unity3d. It is simple green screen video. I am using shader to remove it.
Sometimes when video played over image target it becomes too shaky and jittery and thus reducing the AR experience. How can I avoid or reduce it.
I tried multiple ways to get rid of it but no success. Here is what I tried:
Previously I was embedding the video in a Plane then I used Quad
but no success.
I tried to change AR camera (World Center Mode) to different
values like FIRST_TARGET,CAMERA and SPECIFIC_TARGET but still same problem.
Also my vuforia target image has 5 rating in vuforia database.
What could be the solution to this problem. Any help would be highly appreciated. Thanks!

How do I zoom out in Unity's play mode?

I am new to Unity, following this rolling ball tutorial and I think I clicked something but my play mode camera is super zoomed in. How do I fix it?
I can't seem to upload it but here are pics.
http://imgur.com/qAFdCHr
http://imgur.com/iPX3yOU

How to play an Alpha video inside an Unlit sphere in Unity?

I'm trying to play an Alpha Video inside a sphere which has a StereoPanoSphereMaterial using a shader "GoogleVR/Demo/VideoDemo InsideShader" and is used to play a 360 degree video.
I'm using a GoogleVR/Unlit/TransparentOVerlay shader on a Quad to run my Alpha Video inside the sphere. It appears to be running fine when I run it in the editor but when I run it on my device it just shows a blank Quad which is supposed to be transparent and the video cannot be seen as well.
I've tried playing it with other given shaders as well like FX/Flare, Unlit/Transparent to no use.
Any tips on how to play an Alpha video inside my 360 degree video sphere?
Game View in the Editor
Scene View in the Editor
View on Phone
So for anybody following this thread. The problem is that GVR SDK apparently do not support .mov format as of now even when Unity does. So we converted the video in a .webm format and it is working not to the best of our expectations but does the job of playing the Alpha Videos inside the sphere playing the stereoscopic video for now.
Also note that out of the shaders present in default with Unity only FX/Flare shader works well with this format to play videos in VR.
P.S. I also tried to place a PNG image as a component inside the view, even that is not working for now, even when it works in Unity.

Getting ARcamera background pixel color at runtime using Vuforia in Unity

I was trying to take pixel color of what Vuforia ARcamera showing at specific position in Unity. firstly I was trying to capture the screen and get pixel however the interval to get the frame was too long. I need to get the color of specific position on what ARcamera showing as soon as my app detect the target. Is there any suggestion or any way to do that ?
I am using unity with latest vuforia 3.0 .
Thanks
I think what you are looking is Background Texture Access https://developer.vuforia.com/resources/dev-guide/unity-camera-image-access