Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I come back with an interesting fact. I took the latest version of ffmpeg library and built it. I rebuilt opencv - fixed the symlinks to point to the new ffmpeg and then rerun my application with the rtsp stream. It took longer until the stream froze again.

I tried to play the stream using the ffplay tool generated in ffmpeg. With the ffplay there is no blocking of the rtsp stream. So this looks like an implementation issue inside opencv. Does anyone have some sources examples using ffmpeg library in opencv such that I bypass the opencv videocapture object that behind it uses its implementation for grabbing ffmpeg flow? So I want to grab frames like in ffplay and save them as Mat type and use them further.