Log in or register to post comments

Video playback with Alpha Channel?

August 2, 2017 - 12:33am #1

Using Unity 5.6.2 and the latest Vuforia, we have succeeded in getting a video to playback with a transparent alpha channel (chromakey effect) using the Unity 5.6 Videoplayer component and one of Unity's built-in transparent shaders, however the audio has some stuttering and there are some lagging/jumping issues with the video playback.

 

So, we then tried using the EasyMovieTexture plugin, but this would not display the transparency when using the same Unity shader.

 

We then tried the solutions outlined in this thread https://developer.vuforia.com/forum/qcar-api/playing-video-alpha-channel-videosample-demo-project but nothing worked correctly.

 

Is there a way to get Unity's built-in Videoplayer to work correctly without audio stuttering or video lag with a transparent shader and a video with an alpha channel?

Video playback with Alpha Channel?

August 4, 2017 - 3:43am #2

If you've already embedded the transparency in the video (using an alpha channel as opposed to using a greenscreen background with a chromakey shader) then the only thing that you can do is to reduce the size, bitrate and spacial quality of the video in Unity. There's little processing power left on mobile devices after handling the camera & Vuforia processes, and there's simply not enough left to process your video each frame at its current size & bitrate (hence the stuttering).

Log in or register to post comments