# Having problem with the capturing video with Processing 4

**URL:** <https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862>\
**Category:** Libraries\
**Created:** [January 27, 2022, 5:09pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862 "2022-01-27T17:09:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![maddyna](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@maddyna](https://discourse.processing.org/u/maddyna)\
**Post date:** [January 27, 2022, 5:09pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/1 "2022-01-27T17:09:18Z")

</div>

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

}  
\<

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [January 27, 2022, 5:46pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/2 "2022-01-27T17:46:09Z")

</div>

Your code runs ok on my Mac system.

 ![gStreamer](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/8dcc1adba1c4f64db3e4968a95ceef3b6d62bdfd.png)

---

<div class="post-metadata">

**Author:** ![maddyna](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@maddyna](https://discourse.processing.org/u/maddyna)\
**Post date:** [January 27, 2022, 7:08pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/3 "2022-01-27T19:08:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [January 27, 2022, 10:44pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/4 "2022-01-27T22:44:55Z")

</div>

Hello,

Try removing and adding the Video library:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/dfc45d53a29872cf724ff725cda8e0b5d85b9453.png)

This is in _Tools \> Add Tool… \> Libraries_

`:)`

---

<div class="post-metadata">

**Author:** ![maddyna](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@maddyna](https://discourse.processing.org/u/maddyna)\
**Post date:** [January 31, 2022, 6:59am UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/5 "2022-01-31T06:59:44Z")

</div>

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\<

---

<div class="post-metadata">

**Author:** ![maddyna](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@maddyna](https://discourse.processing.org/u/maddyna)\
**Post date:** [January 31, 2022, 7:11am UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/6 "2022-01-31T07:11:37Z")

</div>

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\<

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [February 1, 2022, 3:23pm UTC](https://discourse.processing.org/t/having-problem-with-the-capturing-video-with-processing-4/34862/7 "2022-02-01T15:23:49Z")

</div>

> [@maddyna](#):
>
> Processing video library using GStreamer 1.14.4

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

> [@maddyna](#):
>
> IllegalStateException: Could not find any devices\<

Try this [Processing can't find the camera - Video Libraries don't work - #13 by neilcsmith](https://discourse.processing.org/t/processing-cant-find-the-camera-video-libraries-dont-work/25128/13)
