Hello everyone,
I want to get the IP camera image to my processing sketch, using RTSP protocol. I investigated the subject and found some code using the GSVideo library. When I use the library according to the examples I get the error:
When I use 64bit version it gives the error suggesting 32bits and vice versa.
Here is my code:
import codeanticode.gsvideo.*;
import processing.video.*;
import codeanticode.syphon.*;
GSPipeline pipe;
void setup() {
size(1280,720);
pipe = new GSPipeline(this, "rtspsrc location=rtsp://192.168.1.100/?h26x=0");
pipe.play();
}
void draw() {
if (pipe.available()) {
pipe.read();
image(pipe,0,0);
}
}
What are your suggestions? I would appreciate any ideas.
Thank you.