# IP Camera Integration \\w GSVideo Lib

**URL:** https://discourse.processing.org/t/ip-camera-integration-w-gsvideo-lib/9838
**Category:** Libraries
**Created:** [April 1, 2019, 2:00pm UTC](https://discourse.processing.org/t/ip-camera-integration-w-gsvideo-lib/9838 "2019-04-01T14:00:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ikerkan](https://avatars.discourse-cdn.com/v4/letter/i/57b2e6/32.png) [@ikerkan](https://discourse.processing.org/u/ikerkan)
#### Post date: [April 1, 2019, 2:00pm UTC](https://discourse.processing.org/t/ip-camera-integration-w-gsvideo-lib/9838/1 "2019-04-01T14:00:24Z")

</div>

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:

![Processing%20GSVideo%20Lib%20Error](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/0f76f39e4cce02f0bbe0ee8e8242f46ae153b919.png)

When I use 64bit version it gives the error suggesting 32bits and vice versa.

Here is my code:

```auto
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.
