I am trying to do some processing on video being streamed from an Edi-Cam server (https://github.com/drejkim/edi-cam GitHub - drejkim/edi-cam: Video streaming on Intel Edison ) which is written in nodejs.
Is it possible for me to capture video stream from Edi-Cam Server using C++ in openCV?
The C++ coding that i wrote as follow:
using namespace std;
using namespace cv;
VideoCapture cap(" http://192.168.8.102:8080/video.mjpg");
cout<<"Camera not found"<<endl;
while ( cap.isOpened() )
cap >> frame;
if(waitKey(30) >= 0) break;
When running the C++, it does not show me the video and show me "Camera not found".
However, in Intel Edison terminal, it shows:
"GET /video.mjpg 206 87.816 ms - 1248"