Capturing a Multicast UDP Video stream using OpenCV

后端 未结 2 782
难免孤独
难免孤独 2021-01-14 23:26

I have a multi-cast UDP Video stream that I need my OPenCV (Emgu ) 2.4.x app to capture and process (\"client\").

On the client, I can capture the stream using VLC

2条回答
  •  醉话见心
    2021-01-14 23:51

    IplImage* frame;
    CvCapture* pCapture;
    pCapture = cvCaptureFromFile("udp://ip:port/path");
    frame = cvQueryFrame(pCapture);
    

    This will also do the job in case you don't have videoInput libraries

提交回复
热议问题