How to get live stream from Foscam FI9900p to OpenCV?

Abdallah

n3wb
Jan 17, 2019
9
1
Canada
I bought a foscam fi9900p today, and I am trying to get the live stream into opencv, I had a hikvision before and I added this and it worked "rtsp://admin: pass@1IP/doc/page/previw.asp", I googled how to do it on Foscam, and it said to do this "rtsp://admin: pass@1IP: port/videoMain", but when I run it on OpenCV i keep getting "Missing reference picture, default is 65536" as multiple messages. How can I fix this?
 
I just plugged this URL into VLC and it plays the stream from my Foscam FI9831P just fine. Note that the port is the HTTP port (mine is 88), not the usual RTSP port (554):

Code:
rtsp://username:password@camera-IP:http-PORT/videoMain
 
  • Like
Reactions: Abdallah
I just plugged this URL into VLC and it plays the stream from my Foscam FI9831P just fine. Note that the port is the HTTP port (mine is 88), not the usual RTSP port (554):

Code:
rtsp://username:password@camera-IP:http-PORT/videoMain
Yea it works in VLC for me as well, but not for OpenCV which im not sure why :'(
 
:idk: