How to get live stream from Foscam FI9900p to OpenCV?

Abdallah

n3wb
Joined
Jan 17, 2019
Messages
9
Reaction score
1
Location
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?
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,451
Reaction score
38,164
Location
Alabama
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
 

Abdallah

n3wb
Joined
Jan 17, 2019
Messages
9
Reaction score
1
Location
Canada
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 :'(
 
Top