Capturing RTSP with Emgu CV

I have this line of code:

 _capture = new Capture("rtsp://192.168.0.61/12345");

It captures the rtsp stream for a few seconds and then stops working. What for? If there is work around, what is it? Or if it is an error in OpenCV?

thank

+3
source share
2 answers

This is because the RtspStack used in OpenCV (I think live 555) does not send GET_PARAMETERin order to maintain it according to the transport header returned from the server at the time of the request PLAY.

You can manually save it using another RtspClient, such as the one included here.

http://net7mma.codeplex.com/

And send GET_PARAMETERevery few seconds to keep the stream in stream.

+1

, opencv , rtsp client , .

0

All Articles