Ask Your Question

Revision history [back]

Hi.

Please, try to check this code.

using OpenCvSharp;

using OpenCvSharp.Extensions;

.........................

// There are 2 ways.

VideoCapture capture;

// using the rtsp(Real time streaming protocol) for accessing the video stream

capture = new VideoCapture(@"rtsp://username:[email protected]:10554/tcp/av0_1");

// using the http protocol for accessing the video stream

capture = new VideoCapture(@"'http://192.168.0.137:81/videostream.cgi?loginuse=username&loginpas=password&resolution=32");

Good luck.