-
Notifications
You must be signed in to change notification settings - Fork 74
Description
We are using python to capture and pre-process a stream of images which then have to be sent over the network. At the moment we use the following pipeline:
python -> syphon / spout -> ultragrid sender -> network -> ultragrid receiver -> syphon / spout -> application
It works but it would be great to skip the syphon / spout step, at least on the sending side. How is it possible to create a stream in python which then can be consumed by ultragrid directly?
We currently convert opencv mats into textures and render them in an opengl context to be shared by syphon / spout. And it would of course make more sense to directly offer a stream to ultragrid. I assume ffmpeg or GStreamer are needed, and I would prefer ffmpeg.
Maybe I missed it in the documentation, but I only read about examples where you are specifying the source which will be streamed, instead of having a third party app (except syphon / spout / ndi) which offers the stream.