Formen generieren

Bezierkurve : bezierVertex oder PShape?

Bezierkurve: 

beginShape();
vertex(30, 10);
bezierVertex(80, 0, 80, 75, 30, 75);
bezierVertex(50, 80, 60, 25, 30, 20);
endShape();

PShape:

PShape s;  // The PShape object

void setup() {
  size(100, 100, P2D);
  // Creating a custom PShape as a square, by
  // specifying a series of vertices.
  s = createShape();
  s.beginShape();
  s.fill(0, 0, 255);
  s.noStroke();
  s.vertex(0, 0);
  s.vertex(0, 50);
  s.vertex(50, 50);
  s.vertex(50, 0);
  s.endShape(CLOSE);
}

void draw() {
  shape(s, 25, 25);
}
http://processing.org/reference/PShape.html
bezierVertex(80, 0, 80, 75, 30, 75);

Videostream Einzelbilder speichern

http://cam-01.doldernetwork.ch/axis-cgi/mjpg/video.cgi

http://cam-01.doldernetwork.ch/mjpg/video.mjpg

http://cam-01.doldernetwork.ch/jpg/image.jpg

Auflösung

http://cam-01.doldernetwork.ch/jpg/image.jpg?camera=1&resolution=640×480

ohne Textzusatz

http://cam-01.doldernetwork.ch/jpg/image.jpg?camera=1&resolution=640×480&date=0&clock=0&textstring=

mit bestimmter Position

http://cam-01.doldernetwork.ch/jpg/image.jpg?camera=1&resolution=640×480&date=0&clock=0&cgotoserverpresetname=Eis_mitte&camera=1&textstring=

http://cam-01.doldernetwork.ch/axis-cgi/com/ptz.cgi?gotoserverpresetname=Eis_mitte&camera=1

http://cam-01.doldernetwork.ch/axis-cgi/com/ptz.cgi?gotoserverpresetname=Eis_links1&camera=1

Direkter Aufruf im Browser bewirkt, dass Kamera verschoben wird.

Wie kann ich dasselbe aus einem php-Script heraus erreichen?

 

 

in VLC öffnen möglich

get image from mjpg/video.cgi

http://stackoverflow.com/questions/21755542/take-images-from-video-stream

http://www.ispyconnect.com/man.aspx?n=Axis

 

 <?php
print("start");
$timestamp = time();
$dateiname=$timestamp.".jpg";
copy("http://cam-01.doldernetwork.ch/jpg/image.jpg?camera=1&resolution=1280×720&date=0&clock=0&textstring=", $dateiname);
print("done");
?>