• September 28, 2020, 03:10:25 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  


This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Accessing IP Camera using C++ code  (Read 3680 times)


  • Level 1 Member
  • *
  • Posts: 3
Accessing IP Camera using C++ code
« on: February 26, 2014, 05:26:57 AM »

Dear all, I'm trying to accessing via HTTP my D-LINK 942L.
I'm using OpenCV library (open source) to programming that.

When I try to open the streaming using "http://xx.xx.xx.xx" embedded in the C++ class it doesn't work.
VideoCapture vcap("http://xx.xx.xx.xx");

I tried any option: "http://xx.xx.xx.xx:<port>/video.cgi" and so on...nothing!

I set also the userid/pwd in the string, like "http://xx.xx.xx.xx/?user=admin&pwd=xxxx"

Is there a mode to properly open the streaming using code to get the video in C++ code? Anybody at D-LINK can help me?
I stopped the project :-(

Best regards

« Last Edit: February 26, 2014, 05:42:41 AM by JavaLawyer »


  • Level 3 Member
  • ***
  • Posts: 113
Re: Accessing IP Camera using C++ code
« Reply #1 on: February 26, 2014, 06:43:33 PM »

Did you try the feed at http://username:password@IPaddress:portnumber/video/mjpg.cgi