Streaming IDeckLinkVideoInputFrame through an UDP socket

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

matver

  • Posts: 1
  • Joined: Fri May 27, 2022 7:50 pm
  • Real Name: Matheus Berçot

Streaming IDeckLinkVideoInputFrame through an UDP socket

PostFri May 27, 2022 8:14 pm

Greetings,

My current code has to get an IDeckLinkVideoInputFrame video frame object and send it through an UDP socket. I've already implemented the socket in my code and created an external client to receive the data.

However, to send data I need to have it in const char*. I imagine the path I would have to adopt involves transforming the video frame into a string, parsing it in many parts and transforming these parts into const char* to rebuild it on the client. It would be a slow method but I can definitely settle for 10-20 FPS for this very specific part of the application without a lot of reliability.

Unfortunately, I do not know how I'd make this transformation from frame to string though.

Regards.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 25 guests