Hi,
I have a project in C# using Emgu.CV.
In my project I have a IP camera with video encoder H.264. The encode gave 2 strings to access the camera video,
1) http://192.168.0.11:35271/image1
2) rtsp://192.168.0.11/stream1.sdp
With the following code I can access the video and show it in ImageBox
_capture = new VideoCapture("http://192.168.0.11:35271/image1", VideoCapture.API.Any);
which seems MJPEG format
But for the following code I can not access the video and show it in ImageBox in same way,
_capture = new VideoCapture("rtsp://192.168.0.11/stream1.sdp", VideoCapture.API.Any);
which seems H.264.
I need H.264 format to keep the storage low and low bandwidth as ultimately I am going to add radio communication instead of Ethernet cable.
Do anybody have similar issue? Can somebody help please?
I add this code,
var flag = _capture.IsOpened;
Console.WriteLine(flag); //for the rtsp flag = false?
What I have tried:
_capture = new VideoCapture("http://192.168.0.11:35271/image1", VideoCapture.API.Any);
_capture = new VideoCapture("rtsp://192.168.0.11/stream1.sdp", VideoCapture.API.Any);
var flag = _capture.IsOpened;
Console.WriteLine(flag);