I want to capture video stream from an ip. I've seen this but the type name cvCreateFileCapture does not exist on cvInvoke in Emgu 3.0 is there any way I can capture video from an ip?
I've tried using this, it didn't work but the message box shows which means capture is not null. imageCamera is empty
_capture = new Capture("http://uname:pass@10.16.33.158/axis-cgi/mjpg/video.cgi");here
if (_capture != null) //if camera capture has been successfully created
{
MessageBox.Show("Capture success");
_capture.ImageGrabbed += ProcessFrame;
_capture.Start();
}
_capture.Retrieve(frame, 0);
Image<Bgra, Byte> newFrame = new Image<Bgra, Byte>(frame.Bitmap);
imageCamera.Image = newFrame;
I entered this http://uname:pass@10.16.33.158/axis-cgi/mjpg/video.cgi in my browser and the video stream is there.
I've seen I've seen this but the type name cvCreateFileCapture does not exist on cvInvoke in Emgu 3.0 is there any way I can capture video from an ip?
Tried entering http://uname:pass@10.16.33.158/axis-cgi/mjpg/video.cgi into VLC -> Media -> Network stream, it works perfectly. But why I can't see it on my capture?