Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What is way correct for capture rtsp stream from IP Camera?

Hi! Could you advice right way for capture rtsp stream from network (ip) camera? I use OpenCV 4.1.0 on Windows 10 x64. VS 2017, C++. I rebuilt sources with gstreamer support and try capture stream directly in my app. But I not satisfied of results. One rtsp stream (from VLC) open correctly, but after one minute a get increase delay between realtime video and those which show in my app. Another stream from camera not open at all. Demo rtsp stream from Internet openes, but showed empty frames ;(

All of above rtsp samples I also tested in VLC player and they played correctly.

I thinking about use ffmpeg separately for capture rtsp and restream to pipe and then capture it in OpenCV from this pipe. But I doubt what it right way.

Could you explain what I do wrong and advice correct way?

What is way correct for capture rtsp stream from IP Camera?

Hi! Could you advice right way for capture rtsp stream from network (ip) camera? I use OpenCV 4.1.0 on Windows 10 x64. VS 2017, C++. I rebuilt sources with gstreamer support and try capture stream directly in my app. But I not satisfied of results. One rtsp stream (from VLC) open correctly, but after one minute a get increase delay between realtime video and those which show in my app. Another stream from camera not open at all. Demo rtsp stream from Internet openes, but showed show empty frames ;(

All of above rtsp samples I also tested in VLC player and they played correctly.

I thinking about use ffmpeg separately for capture rtsp and restream to pipe and then capture it in OpenCV from this pipe. But I doubt what it right way.

Could you explain what I do wrong and advice correct way?