How to get live stream from Foscam FI9900p to OpenCV?

Discussion in 'Foscam' started by Abdallah, Feb 13, 2019.

Share This Page

  1. Abdallah

    Abdallah n3wb

    Joined:
    Jan 17, 2019
    Messages:
    9
    Likes Received:
    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?
     
  2. TonyR

    TonyR IPCT Contributor

    Joined:
    Jul 15, 2014
    Messages:
    3,912
    Likes Received:
    3,696
    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 likes this.
  3. Abdallah

    Abdallah n3wb

    Joined:
    Jan 17, 2019
    Messages:
    9
    Likes Received:
    1
    Location:
    Canada
    Yea it works in VLC for me as well, but not for OpenCV which im not sure why :'(
     
  4. TonyR

    TonyR IPCT Contributor

    Joined:
    Jul 15, 2014
    Messages:
    3,912
    Likes Received:
    3,696
    Location:
    Alabama
Tags: