Having problem with the capturing video with Processing 4

Having problem with the capturing video with Processing 4

< (java.exe:21916): GStreamer-WARNING **: Failed to load plugin 'E:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstlibvisual.dll': 'E:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstlibvisual.dll': The specified module could not be found.>

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);

}
<

Your code runs ok on my Mac system.

Now getting this :

Processing video library using GStreamer 1.14.4
IllegalStateException: Could not find any devices<
but I do have an inbuilt webcam in my laptop and it is perfectly working
I am using windows 10

Hello,

Try removing and adding the Video library:

This is in Tools > Add Tool… > Libraries

:)

I removed the video and reinstalled it:
and this is what I am getting:

The specified module could not be found.

The specified module could not be found.

Native library (win32-x86-64/swresample-3.dll) not found in resource path (C:\Users\Dell\AppData\Local\Temp\sketch_220131a6320690562359372473temp;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\core.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-linux-aarch64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-linux-amd64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-linux-armv6hf.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-linux-i586.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-macosx-universal.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-windows-amd64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt-natives-windows-i586.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\gluegen-rt.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-linux-aarch64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-linux-amd64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-linux-armv6hf.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-linux-i586.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-macosx-universal.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-windows-amd64.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all-natives-windows-i586.jar;D:\processing-4.0b2-windows64\processing-4.0b2\core\library\jogl-all.jar;C:\Users\Dell\OneDrive\Documents\Processing\libraries\video\library\gst1-java-core-1.2.0.jar;C:\Users\Dell\OneDrive\Documents\Processing\libraries\video\library\jna.jar;C:\Users\Dell\OneDrive\Documents\Processing\libraries\video\library\video.jar)
Processing video library using GStreamer 1.14.4<

this is what is happening:

file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/pde.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/core/library/core.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/jna.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/jna-platform.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/antlr.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/ant.jar, file:/D:/processing-3.5.4-windows64/processing-3.5.4/lib/ant-launcher.jar])
Processing video library using GStreamer 1.14.4
IllegalStateException: Could not find any devices
IllegalStateException: Could not find any devices<

That doesn’t look right - seems to be an old version.

Try this Processing can't find the camera - Video Libraries don't work - #13 by neilcsmith