# Webcam capture fails for .exe on win10

**URL:** <https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834>\
**Category:** Libraries\
**Created:** [November 30, 2021, 3:48pm UTC](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834 "2021-11-30T15:48:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario60](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mario60](https://discourse.processing.org/u/mario60)\
**Post date:** [November 30, 2021, 3:48pm UTC](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834/1 "2021-11-30T15:48:32Z")

</div>

Hi

I am trying a simple webcam script on a Win10 machine, which runs fine. Still, the exported .exe fails, I do believe because it fails to upload GStreamer.

Note folder structure is created as:  
script\_win64  
– java  
– lib  
---- gstreamer-1.0  
–source  
.exe

thanks  
m.

---

<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:** [November 30, 2021, 3:57pm UTC](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834/2 "2021-11-30T15:57:13Z")

</div>

> [@Exporting Sketch With Movie Is Blank](https://discourse.processing.org/t/exporting-sketch-with-movie-is-blank/27983/5):
>
> Assuming you’re trying Windows 64-bit when you mention .exe, try creating a folder called windows64 inside the libraries folder of the exported sketch. Move all the .dll files and the gstreamer-1.0 folder into it. Does this now work?

---

<div class="post-metadata">

**Author:** ![mario60](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mario60](https://discourse.processing.org/u/mario60)\
**Post date:** [December 1, 2021, 1:44pm UTC](https://discourse.processing.org/t/webcam-capture-fails-for-exe-on-win10/33834/3 "2021-12-01T13:44:30Z")

</div>

YES, it works! Thanks so much.  
Take care  
m.
