Skip to content

4k Spout / GL texture over network? #209

Closed

Description

@antithing

Hi, and thank you for making this code available.

My use case is the following:

Capture 4 x GLuint textures simultaneously using Spout
Send each to a different machine over a network.
Receive each, and stream via spout to a third party application on each machine.

Can this be done with this framework?

Is there any example code that does a similar thing?

Thank you.

Activity

  1. MartinPulec commented on Jan 5, 2022

    @MartinPulec
    Collaborator

    Hi @antithing,

    if I understand the setup correctly, it is quite easy - the source will be one machine (sender) and 4 receivers (recv1-4), correct? If so, then:

    sender$ uv -t spout:name=texture1 -c <compression> recv1
    sender$ uv -t spout:name=texture2 -c <compression> recv2
    sender$ uv -t spout:name=texture3 -c <compression> recv3
    sender$ uv -t spout:name=texture4 -c <compression> recv4
    
    recv1-recv4$ uv -d gl:spout:hide_window
    

    The above is just a kick-off, I didn't intentionally specify the compression since it hugely depends on the actual scenario - if it is 4x 4K picture, you'd perhaps need some HW-accelerated codec unless only a small frame-rate is requested.

  2. antithing commented on Jan 5, 2022

    @antithing
    Author

    Thank you! Very helpful. I'll try this.

  3. locked and limited conversation to collaborators on Jun 22, 2022
  4. converted this issue into a discussion #230 on Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions