I have an IPCamera on my LAN streaming video using RTSP. I have been able to capture and display it successfully using ffplay command:
ffplay rtsp://admin:12
FFmpeg can open rtsp streams directly just like opening local video files. Here is a tutorial code that updates with the most recent version of FFmpeg.