By devContraire
on Fri, 03/15/2019 - 17:22
Hi there,
in my testproject, a video with an alpha channel (webM - transcoded in Unity to VP8) and material "mobile/particles/alpha blended" starts to play as soon as the image target has been found. But the first frames of the video are always white after the tracker has been found. Searching the forums, i found older threads (2014/15) with similar problems, but i could not find a solution for my purpose. Could somebody help me with this issue.
Thanks in advance,
chrispi
Try something like this if
Try something like this if you arn't already. Using this or trying a different codec (if possible and depending on platform) usually works for me. Maybe also try hiding things until the prepareCompleted.
videoPlayer.prepareCompleted += PrepareCompleted;
Hey guys! I found myself
Hey guys! I found myself stocked in the same problem! now everything works fine with tracking and the transparent video+audio, but the first frame is White!
Hey guys! I found myself
Hey guys! I found myself stocked in the same problem! now everything works fine with tracking and the transparent video+audio, but the first frame is White!
Easy solution is to play and
Easy solution is to play and pause the video on the Start method, then play it again on marker detected.
Now, 7 years later, you can't
Now, 7 years later, you can't edit the DefaultTrackableEventHandler because it gets overwritten every time you close and re-open Unity. Have to do this in the inspector.
Hi @sharonj731,
Hi @sharonj731,
Yes, unfortunately with the move to PackageManager this is not possible anymore.
However, please note that you can still inherit from the class.
Hope it helps.
Vuforia Engine Support
Just tweak the materialVideo.
Just tweak the materialVideo.
In the shader (unlit transparent) select a totally transparent texture (I made a little texture...png with 16 x 16 pixels);
So Before first frame loads there is no white or black flash.
Using Vuforia 9.3.3 with
THE FOLLOWING WORKS FOR GETTING RID OF WHITE VIDEO PLANE FLASH AT BEGINNING OF PLAYBACK:
I'm using Vuforia 9.3.3 with Unity 2019.3.Of6 and the following works:
I'm using WebM video file with transparency, VP8 Codec.
I don't know if this is
I don't know if this is useful to anyone, but I had the same problem and IOIO's solution worked for me.
IOIO:
Just tweak the materialVideo.