Question by
dominikzisch · Jun 05, 2017 at 10:05 AM ·
colorvideopixel
Get pixelvalues from video clip
I'm trying to get the pixel information of a videoclip and somehow can't manage to get them. I'm on Unity 5.6, so I'm using VideoPlayer. According to the API I can get a texture from the Videoclip, but how do I get the pixel information for that? It's a Texture, not Texture2D, so I can't use getPixels. I tried typecasting the Texture to Texture2D, doesn't work. I've also tried applying the video to a GameObject as a texture, then get the texture from there, also didn't manage to get this to work.
Has anyone had any experience with this or got a hint for me?
Thanks
Comment