Answer the question
In order to leave comments, you need to log in
What are the libraries for capturing video stream besides opencv that work with Qt?
Hello. Recently I started to deal with capturing images. At hand was opencv 2.4.13. I quickly dashed off the class, the capture is on. While we managed to capture from the webcam, mjpeg camera stream, rtsp.
Everything works, but in the openvc method for capturing VideoCapture::read(Mat&) there are too few methods to manage. For example, when I unplug the camera, the stream stops and the read() method keeps trying to get the image. And so on ad infinitum. In fact, the method hangs until either the camera is connected back, or you kill the object of my class. Support has already asked this question. The answer is something like this - the method is designed for a continuous stream from the camera, and does not work out exceptions and errors.
In this regard, I have a question. Are there any analogues of Opencv in terms of RTSP/MJPEG capture that work with Qt? Definitely cross-platform.
Answer the question
In order to leave comments, you need to log in
ffmpeg/libav can haw RTSP stream, I had experience for a long time just worked with IP cameras
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question