# Importing processing.video

**URL:** <https://discourse.processing.org/t/importing-processing-video/20290>\
**Category:** Processing.py\
**Created:** [April 30, 2020, 3:15am UTC](https://discourse.processing.org/t/importing-processing-video/20290 "2020-04-30T03:15:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cupofcalculus](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@cupofcalculus](https://discourse.processing.org/u/cupofcalculus)\
**Post date:** [April 30, 2020, 3:15am UTC](https://discourse.processing.org/t/importing-processing-video/20290/1 "2020-04-30T03:15:47Z")

</div>

I’m trying to import the processing.video and it doesn’t seem to be working. It raises an exception stating ‘This sketch requires the “video” library.’ Where/how do I get it?

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [April 30, 2020, 3:44am UTC](https://discourse.processing.org/t/importing-processing-video/20290/2 "2020-04-30T03:44:38Z")

</div>

Hi @cupofcalculus!

Are you trying to use Processing.py from the command line or in an external IDE?  
I’ve heard that using some built-in libraries in these circumstaces can be hard.

But in the Processing IDE, the best way to import Java libraries is to choose from the Sketch menu.  
**Sketch \> Import Library\> Video** that will get you this line of code:

```auto
add_library('video')

```

You will use `import` statements for the Python standard library and pure Python modules mostly (note that IDE tabs work like modules in Python mode).

---

<div class="post-metadata">

**Author:** ![cupofcalculus](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@cupofcalculus](https://discourse.processing.org/u/cupofcalculus)\
**Post date:** [April 30, 2020, 4:32am UTC](https://discourse.processing.org/t/importing-processing-video/20290/3 "2020-04-30T04:32:19Z")

</div>

Well that was just TOO easy.
