Jump to content

Use a video stream (RTSP/RTP) to show as video on a Texture


photo

Recommended Posts

We want to display a video stream over network with rtsp/rtp protocol onto a material.

Is it possible to achieve this with Unigine to use a dynamic video stream as a texture? And when yes how?

Thanks

Link to comment

Hi Sebastian,

That's definitely possible. The main culprit here is the performance of copying CPU image to GPU texture.

Here's the very similar topics with some source code examples, but not directly related to how the read data from RTSP:

So, basically you need to convert recived from the network protocol data into the pixels and map it to texture.

Hope that helps a bit :)

Thanks!

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...