# Video library not working for exported application of the sketch

**URL:** <https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264>\
**Category:** Libraries\
**Created:** [November 8, 2020, 12:13am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264 "2020-11-08T00:13:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@aditya1](https://discourse.processing.org/u/aditya1)\
**Post date:** [November 8, 2020, 12:13am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/1 "2020-11-08T00:13:36Z")

</div>

My sketch works totally fine when I run in the Processing software containing the Processing video library. But when I export the sketch as exe application the same code doesn’t work.

To try I removed the movie from the code and it works when I export.  
So the issue boils down to Processing Video Library only

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [November 10, 2020, 12:28am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/2 "2020-11-10T00:28:53Z")

</div>

Hi,

Welcome to the forum! 🙂

When you describe an error, please show us the error message by either using the `</>` button to insert a code snippet or make a screenshot (after searching it online of course !)

---

<div class="post-metadata">

**Author:** ![twillert](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@twillert](https://discourse.processing.org/u/twillert)\
**Post date:** [November 27, 2020, 12:32pm UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/3 "2020-11-27T12:32:41Z")

</div>

The basic examples from the video library also do not export properly. I think that is already good enough for testing?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [November 27, 2020, 6:07pm UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/4 "2020-11-27T18:07:24Z")

</div>

Hi,

Welcome to the forum! 🙂

> [@twillert](#):
>
> I think that is already good enough for testing?

Not really, what platform are you using? (Linux, Window or Mac?) Please also give the Processing version and the Video library one.

And also explain “do not export properly”, does it crash? Does it shows an error in the console (do you know how to run an executable from the console?)

---

<div class="post-metadata">

**Author:** ![chocoT](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@chocoT](https://discourse.processing.org/u/chocoT)\
**Post date:** [February 6, 2021, 9:29am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/5 "2021-02-06T09:29:30Z")

</div>

Hi, I am facing the same problem.

Whatever platform do I use, Mac or Windows, it dose not work.

I can export the sketch, it would notice that " Done exporting". But when I click the app or exe, it will not run, just showing an empty window. Not only does my sketch, but also the examples from _Video Library_ are facing the situation. You can have a try with the example _Loop_.

 ![截屏2021-02-06 下午5.27.24](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/8863eb98529c6bb24f75e51c5a6cbad0c47a7a4d.jpeg)

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [February 6, 2021, 5:09pm UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/6 "2021-02-06T17:09:26Z")

</div>

Hi,

Are you sure that you have a `data` folder inside your sketch folder that contains the video you are using in the code?

---

<div class="post-metadata">

**Author:** ![chocoT](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@chocoT](https://discourse.processing.org/u/chocoT)\
**Post date:** [February 7, 2021, 2:03am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/7 "2021-02-07T02:03:03Z")

</div>

Thank you for your response.

Yes! I do have the data folder, which you could find in the screenshot, and the sketch run correctly in processing. Maybe you could have a try from the examples?

---

<div class="post-metadata">

**Author:** ![AbleYudada](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ableyudada/32/14190_2.png) [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Post date:** [August 5, 2021, 8:01am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/8 "2021-08-05T08:01:19Z")

</div>

I have the same problem!

---

<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:** [August 5, 2021, 9:20am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/9 "2021-08-05T09:20:50Z")

</div>

See [Exporting Sketch With Movie Is Blank - #5 by neilcsmith](https://discourse.processing.org/t/exporting-sketch-with-movie-is-blank/27983/5)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 5, 2021, 9:42am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/10 "2021-08-05T09:42:05Z")

</div>

> [@AbleYudada](#):
>
> I have the same problem!

what is your operation system

---

<div class="post-metadata">

**Author:** ![AbleYudada](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ableyudada/32/14190_2.png) [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Post date:** [August 16, 2021, 6:25am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/11 "2021-08-16T06:25:57Z")

</div>

Both computers are win10

---

<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:** [August 16, 2021, 7:57am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264/12 "2021-08-16T07:57:14Z")

</div>

I linked you to the answer - it’s a known problem.
