Search Unity

Displaying streaming video as dynamic texture.

Discussion in 'Editor & General Support' started by v0kb0l0k, May 21, 2014.

  1. v0kb0l0k

    v0kb0l0k

    Joined:
    Feb 21, 2013
    Posts:
    9
    Hello!
    We are faced with the task to display streaming video as a dynamic texture in the Unity3D project. We have a standard IP-camera , which is capable of delivering a stream h.264 format via RTSP, and mjpeg via HTTP.

    The most preferred solutution for us is a web-solution using UnityWebPlayer. Nevertheless also acceptable option executable exe- file with external dll.

    We have acquired some solutions to this problem:
    1. Using the video server for transcoding signal format supported Unity3D video . What format of streams can be used as a texture in Unity3D ? Does UnityWebPlayer support these formats?
    2 . Since Unity3D support displaying video from a local Web- camera , we have an idea on the level of the operating system to create a virtual webcam broadcasting stream from IP-cameras . Is it acceptable in your opinion? What restrictions are imposed by Unity3D video stream from a webcam?
    3 . Connecting video using an external dll: WebKit, ffmpeg , etc , but that will not be used by UnityWebPlayer. Is this true? How to use the decoded stream to create a dynamic texture in this case - only replacing manually texture N times per second, or is there a reasonable solution ?
    4 . Transfer ( recompile ) the existing online- stream decoder to Mono environment to include it directly in the project. Will it be possible to use UnityWebPlayer? Please answer this questions and give suggestions on how to address the problem.

    Thnks.
     
    Last edited: May 23, 2014
  2. toddhacker

    toddhacker

    Joined:
    Nov 28, 2016
    Posts:
    2
    wondering if you ever got a response to this or found a solution?