brokndremes
New Member
Hello,
I'd like to be able to send the stream to a C++ program and mess with it using OpenCV. I found this link which explains how to create a udp stream. I was wondering if it would be possible to broadcast to 127.0.0.1 and then catch that using their videocapture class.
However I have zero experience with OBS at this time, and am clueless to test if the stream is even working. How can I test this? I've tried directing VLC to udp://127.0.0.1:9999. My current recording settings are attached. I'd appreciate any help I can get and will update if I manage to figure this out on my own.
edit1: First dumb mistake - should've been using udp://@127.0.0.1:9999. I was able to... sort of capture the screen using
cv::Mat frame;
cv::VideoCapture stream;
stream.open("udp://@192.168.1.1:9999");
However the frames I've been grabbing are very distorted.
I'd like to be able to send the stream to a C++ program and mess with it using OpenCV. I found this link which explains how to create a udp stream. I was wondering if it would be possible to broadcast to 127.0.0.1 and then catch that using their videocapture class.
However I have zero experience with OBS at this time, and am clueless to test if the stream is even working. How can I test this? I've tried directing VLC to udp://127.0.0.1:9999. My current recording settings are attached. I'd appreciate any help I can get and will update if I manage to figure this out on my own.
edit1: First dumb mistake - should've been using udp://@127.0.0.1:9999. I was able to... sort of capture the screen using
cv::Mat frame;
cv::VideoCapture stream;
stream.open("udp://@192.168.1.1:9999");
However the frames I've been grabbing are very distorted.
Attachments
Last edited: