# How to capture live video online in (https://www.openprocessing.org/)

**URL:** <https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623>\
**Category:** Libraries\
**Created:** [September 18, 2018, 1:47am UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623 "2018-09-18T01:47:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diaaahmed](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@diaaahmed](https://discourse.processing.org/u/diaaahmed)\
**Post date:** [September 18, 2018, 1:47am UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623/1 "2018-09-18T01:47:52Z")

</div>

[https://www.openprocessing.org/](https://www.openprocessing.org/)

Dear all, I am trying to capture a live video online by writing codes in openprocessing. Although the code work well in processing itself, it does not work in openprocessing and the message (Capture is not defined) usually appears.

what shall i do to fix this problem

this is the used code:

```auto
import processing.video.*;

Capture video;

void setup(){
  size(640,480);
  video= new Capture(this,640,480);
  video.start();
}

void captureEvent( Capture video){
  video.read();
}

void draw(){
  image(video,0,0,width,height);
}

```

---

<div class="post-metadata">

**Author:** ![TheWizardBear](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/thewizardbear/32/3552_2.png) [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)\
**Post date:** [September 18, 2018, 12:08pm UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623/2 "2018-09-18T12:08:43Z")

</div>

Unfortunately, Processing libraries (and some of the less commonly used p5.js ones) are not supported on Open Processing unless you buy a “Plus” account.

I recommend just switching to p5.js.  
[Here](https://www.openprocessing.org/sketch/433957) is an Open Processing p5.js sketch using video.

If you need help converting your code from Processing to p5 just ask.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 18, 2018, 1:19pm UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623/3 "2018-09-18T13:19:48Z")

</div>

> [@Can i import my stuff into wallpaper engine?](https://discourse.processing.org/t/can-i-import-my-stuff-into-wallpaper-engine/153):
>
> \*\*Welcome slight_smile \*\* My name is Luc(16) and last week I installed processing. the past week I have been making quite some stuff with processing already. I showed what I made to a couple of friends and asked me if I would be so kind to get the application running in [wallpaper engine](https://store.steampowered.com/app/431960/Wallpaper_Engine/). processing is able to make .exe files as most of you may already know. however, when I try to open up the .exe file in wallpaper engine it just opens the application instead of setting it as background. Does …
