Answer the question
In order to leave comments, you need to log in
How to open RTSP stream from camera in OpenCV?
Good afternoon!
Tell me how to open a network RTSP stream from an IP camera?
Already recompiled the sources (having previously configured all the necessary dependencies there)
Added and replaced the compiled binaries to the main OpenCV bin folder (and libs in lib).
Truth in info says:
Video I/O:
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (58.35.100)
avformat: YES (58.20.100)
avutil: YES (56.22.100)
swscale: YES (5.3.100)
avresample: YES (4.0.0)
GStreamer: NO
DirectShow: YES
Media Foundation: YES
DXVA: YES
...
cv::VideoCapture * stream = new cv::VideoCapture("rtsp://192.168.88.17:5554/");
if (!stream->isOpened()) return -1;
cv::namedWindow("rtsp_stream", WINDOW_AUTOSIZE);
cv::Mat frame;
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question