google / grafika

Grafika test app
Apache License 2.0
6.07k stars 1.46k forks source link

Rendering a camera stream on GlSurfaceView #94

Open ARPatrick opened 6 years ago

ARPatrick commented 6 years ago

Hi, As the Issue title suggest i am trying to render a camera stream on an opengl surface. The Goal here is that i can add some extra Shaders into the live CameraFeed. I have tried to utilize this Project by streaming my camera to a webserver and then rendering the webview to the OpenGLSurface, sadly this seems to ignore any videos/CameraStreams. Subsequently i have been looking for other ways but haven't found anything in 3 days of Internet "research". Any Tips on how to implement this or where i can read up on how one would accomplish this would be greatly appreciated. Patrick PS: Currently i am testing this with a cheap logitech webcam and motion which streams the images in mjpeg format.