0

I am trying to run a mp4 video in Java using Processing.

I'm trying to use Intellij IDEA, but when I try to import processing.video.* it doesn't find the video library.

Where can I find and how can I import this library?

Cœur
  • 37,241
  • 25
  • 195
  • 267
  • See https://stackoverflow.com/questions/1051640/ and https://www.jetbrains.com/help/idea/library.html – Slaw Dec 24 '18 at 19:15

1 Answers1

0

You need to do two things:

  1. Find the .jar files (and any other files) required by the library.
  2. Add those files to your classpath.

You can find the library files in your Processing directory. For me mine are in C:\Users\kevin\Documents\Processing\libraries\video\library, but it's going to depend on your OS and where you installed Processing.

You can also build the library yourself from this GitHub repo.

Now that you have those files, you can add them to your classpath. Since you're using Intellij, the links in Slaw's comment should get you pretty far:

Kevin Workman
  • 41,537
  • 9
  • 68
  • 107