First time here? Check out the FAQ!
I am also having the same problem. Can you tell how to build ffmpeg with opencv and use it to read rtsp stream in code