Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

streaming from ip camera issue

$
0
0

Dear team,

We have an IP-camera (foscam C1). (cgi cmds=http://www.foscam.es/descarga/Foscam-IPCamera-CGI-User-Guide-AllPlatforms-2015.11.06.pdf)

we try to access the stream with Processing 3.

we used the IP_Capture example in the examples. The example works correctly. However when using our own ip-address it only takes a snapshot and doesn't refresh to new frames . We would be helped to which changes could get the frames refreshing. Tried some cgi-cmd's but not sure if that is the primary issue).

the code used:

import ipcapture.*;

IPCapture cam;

void setup() {
  size(640,360);
 // cam = new IPCapture(this, "http://195.235.198.107:3346/axis-cgi/mjpg/video.cgi?resolution=320x240", "", "");    //<-- EXAMPLE WORKS

 cam = new IPCapture(this, "http://abt_bfi_2017:cv_2017@192.168.0.16:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=NAME&pwd=EXAMPLE","","");    //<-- OWN IP LINK WONT WORK



 cam.start();


}

void draw() {

  if (cam.isAvailable()) {
    cam.read();
    image(cam,0,0);
    println("hi");
  }
}


Viewing all articles
Browse latest Browse all 2896

Trending Articles