The video library which is downloadable through the Processing Contribution Manager adds the ability to use videos and camera inputs in your Processing sketches. The wiki page about Video Processing shows how to use the library and some of its possibilities.
Why should we update?
...
Use the Contribution Manager
The most simple way to install the library is through the Processing contribution Manager. Before trying out the extended steps that follow, first try it out if this one works for you already.
...
How to update?
Download the latest pre-release of version 2 from the github releases (current: r6r8-v22.0-beta4)
Unzip the file and move the folder to your Processing library folder (overwrite existing video folder in necessary)
🎉🙌🏻 (at least on Unix & Windows)
From now on, make sure that you always provider a camera to the Capture constructor in your sketch:
Code Block | ||
---|---|---|
| ||
String[] cameras = Capture.list(); video = new Capture(this, 640, 480, cameras[0]"pipeline:autovideosrc"); |
MacOS Mojave / Catalina / BigSur Issues
Quarantine
Native libraries that are not notarised by Apple will be blocked by GateKeeper, Apples internal anti-virus software. To allow the native libraries of gstreamer, they have to be removed from the quarantine. To do this, open the console (terminal) Application and run following command by copy and paste it into the terminal and hit enter:
...