【问题标题】:Render ipcam-view stream into SurfaceTexture -Android将 ipcam-view 流渲染到 SurfaceTexture -Android
【发布时间】:2016-09-25 13:56:47
【问题描述】:

我有 GVRView,它显示一个 OpenGL Surface,我有我想在上面显示的视频流。

ipcam-view 使用使用MjpegSurfaceView,如何扩展它以使其渲染到 GVRView 可以显示的 openGL 表面?

【问题讨论】:

    标签: android mjpeg google-vr


    【解决方案1】:

    您需要从每个视频帧创建纹理并将其绘制在 GvrView 上。我不确定这会有所帮助,但我做了a camera preview example uisng GoogleVR SDK。它使用 SurfaceTexture 将相机预览图像用作 OpenGL ES 纹理并使用着色器绘制纹理。

    【讨论】:

    • 我创建了类似的应用程序,但我不知道如何扩展渲染器
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-31
    • 1970-01-01
    • 2017-05-19
    相关资源
    最近更新 更多