# Web camera plugin

**URL:** <https://forums.unrealengine.com/t/web-camera-plugin/53841>\
**Category:** Plugins\
**Tags:** unreal-engine\
**Created:** [January 28, 2016, 7:45pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841 "2016-01-28T19:45:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Temaran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Temaran](https://forums.unrealengine.com/u/Temaran)\
**Post date:** [January 28, 2016, 7:45pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/1 "2016-01-28T19:45:42Z")

</div>

Hello!

I had to access the web camera in-engine for one of my projects, so I though I would share it with the community!

> **[GitHub - Temaran/UE4Webcamera: Adds support for web cameras in Unreal Engine 4](https://github.com/Temaran/UE4Webcamera)**
>
> Adds support for web cameras in Unreal Engine 4. Contribute to Temaran/UE4Webcamera development by creating an account on GitHub.

I implemented it using directshow, so only windows support for now.

Hopefully it’s useful to someone 🙂  
And if you would like to contribute, please do! It still needs multiplatform support, Easy BP support etc.

Best regards,  
Temaran

* * *

Some of my projects related to UE4:

> **[GitHub - Temaran/UE4Webcamera: Adds support for web cameras in Unreal Engine 4](https://github.com/Temaran/UE4Webcamera)**
>
> Adds support for web cameras in Unreal Engine 4. Contribute to Temaran/UE4Webcamera development by creating an account on GitHub.

> **[GitHub - Temaran/UE4RenderDocPlugin: A plugin that adds easy access to...](https://github.com/Temaran/UE4RenderDocPlugin)**
>
> A plugin that adds easy access to Renderdoc inside UE4 - GitHub - Temaran/UE4RenderDocPlugin: A plugin that adds easy access to Renderdoc inside UE4

> **[GitHub - Temaran/UE4ShaderPluginDemo: A tutorial project that shows how to...](https://github.com/Temaran/UE4ShaderPluginDemo)**
>
> A tutorial project that shows how to implement HLSL Pixel and Compute shaders in UE4 - GitHub - Temaran/UE4ShaderPluginDemo: A tutorial project that shows how to implement HLSL Pixel and Compute sh...

[GitHub - Temaran/EyeXforUE4: A plugin to enable Tobii EyeX functionality in Unreal Engine 4](https://github.com/Temaran/EyeXforUE4) (Forked from Tobii. It was moved there from my github :))

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_10f3a621](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_10f3a621](https://forums.unrealengine.com/u/anonymous_user_10f3a621)\
**Post date:** [January 28, 2016, 10:47pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/2 "2016-01-28T22:47:57Z")

</div>

Very nice! Thank you for sharing your work!

---

<div class="post-metadata">

**Author:** ![Temaran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Temaran](https://forums.unrealengine.com/u/Temaran)\
**Post date:** [January 29, 2016, 1:57pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/3 "2016-01-29T13:57:21Z")

</div>

Np ^^

/Temaran

---

<div class="post-metadata">

**Author:** ![DragonROSE](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dragonrose/32/491333_2.png) [@DragonROSE](https://forums.unrealengine.com/u/DragonROSE)\
**Post date:** [February 3, 2016, 9:52am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/4 "2016-02-03T09:52:08Z")

</div>

Temaran, many thanks for camera plugin!

---

<div class="post-metadata">

**Author:** ![andtheand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andtheand](https://forums.unrealengine.com/u/andtheand)\
**Post date:** [February 25, 2016, 12:25pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/5 "2016-02-25T12:25:04Z")

</div>

Thanks a lot for sharing this. I realy would love to implement this in my project for typing in VR like here: [RiftSketch: Hands, Leap Motions, birds, trees and tweets - YouTube](https://www.youtube.com/watch?v=SKPYx4CEIlM)

When I try to open your project file I get this:  
 ![Error.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/1/d11104cad317bc0ee025828b93c9bb4f4fbbd52a.png)

I’m using 4.10.4 at the moment. In your installation instructions you point out not to forget to run UE4’s Generate Project Files. Does this mean it has to be a C++ project and that I have to recompile it with visual studio? Or do I have to install the engine from source code?

Sorry for these noob questions but I’m unfamiliar with C++ and really need this plugin up and running. The last plugin I used (ocean plugin) worked without any C++ so I am unsure if this is even necessary here.

Thanks a lot for your help!

---

<div class="post-metadata">

**Author:** ![Parvan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/parvan/32/1137391_2.png) [@Parvan](https://forums.unrealengine.com/u/Parvan)\
**Post date:** [February 28, 2016, 9:01pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/6 "2016-02-28T21:01:22Z")

</div>

> [@andtheand;481095](#):
>
> Thanks a lot for sharing this. I realy would love to implement this in my project for typing in VR like here: [https://www.youtube.com/watch?v=SKPYx4CEIlM](https://www.youtube.com/watch?v=SKPYx4CEIlM)
> 
> When I try to open your project file I get this:  
> ![Error.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/1/d11104cad317bc0ee025828b93c9bb4f4fbbd52a.png)
> 
> I’m using 4.10.4 at the moment. In your installation instructions you point out not to forget to run UE4’s Generate Project Files. Does this mean it has to be a C++ project and that I have to recompile it with visual studio? Or do I have to install the engine from source code?
> 
> Sorry for these noob questions but I’m unfamiliar with C++ and really need this plugin up and running. The last plugin I used (ocean plugin) worked without any C++ so I am unsure if this is even necessary here.
> 
> Thanks a lot for your help!

Do you have Visual Studio 2015 installed? If you do, then you might not have the right features installed. UE4 requires the C++ part of the install. Click modify on your install and choose to install that optional feature. I can’t remember what it’s called exactly.

---

<div class="post-metadata">

**Author:** ![Parvan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/parvan/32/1137391_2.png) [@Parvan](https://forums.unrealengine.com/u/Parvan)\
**Post date:** [February 28, 2016, 9:05pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/7 "2016-02-28T21:05:35Z")

</div>

This plugin is pretty cool, thanks!

---

<div class="post-metadata">

**Author:** ![andtheand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andtheand](https://forums.unrealengine.com/u/andtheand)\
**Post date:** [February 29, 2016, 10:58am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/8 "2016-02-29T10:58:07Z")

</div>

Cool, I got it working. It just had to be a C++ Project. Thanks for this awesome plugin!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2fca2ef5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2fca2ef5](https://forums.unrealengine.com/u/anonymous_user_2fca2ef5)\
**Post date:** [March 2, 2016, 4:23pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/9 "2016-03-02T16:23:23Z")

</div>

Thanks for the plugin, got it compiled using version 4.11. Had to rename an override in WebcameraPluginHUD.h, is now ShowHUD (if I’m correct)  
This shouldn’t affect the plugin itself. Runs smoothly using x amount of registered webcams. Was able to catch an internet stream using a virtual cam spawned in vMix or magicCam

Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![grifgont](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grifgont/32/549565_2.png) [@grifgont](https://forums.unrealengine.com/u/grifgont)\
**Post date:** [March 31, 2016, 1:30pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/10 "2016-03-31T13:30:36Z")

</div>

andtheand, how to install it? It`s not working for me. ![error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/2/523efe18d8955381813e2614c2b6c6e5259beb56.jpeg)

---

<div class="post-metadata">

**Author:** ![grifgont](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grifgont/32/549565_2.png) [@grifgont](https://forums.unrealengine.com/u/grifgont)\
**Post date:** [March 31, 2016, 7:45pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/11 "2016-03-31T19:45:32Z")

</div>

please make simple tutorial how to add web camera video to texture!

---

<div class="post-metadata">

**Author:** ![andtheand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andtheand](https://forums.unrealengine.com/u/andtheand)\
**Post date:** [April 8, 2016, 11:25am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/12 "2016-04-08T11:25:51Z")

</div>

@grifgont: you need visiual studio installed with c++ libaries. If you then open the example project from the gitub download it will recompile. But I still have some problems integrating this in my own project which was blueprint only.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3df7ed02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3df7ed02](https://forums.unrealengine.com/u/anonymous_user_3df7ed02)\
**Post date:** [August 12, 2016, 2:32am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/13 "2016-08-12T02:32:41Z")

</div>

Glad to this plugin,but a problem appears in UE4.12

i am glad to find this plugin using directshow to show my web camera,before i hace used opencv plugin to show two web cameras but it can’t show two same web camera at the same time,can show two differ web camera at the same time.  
so i find your plugin using direct show,but when want to open ,it appears can’t compile, i opened the project by visual studio ,see some problems i can’t solve.could you help me?  
the problems shows like the pic:

 ![QQ图片20160812103109.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/b/e8b41c6b8552b12dc47803720a061800083bda89.png)  
 ![QQ图片20160812103203.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/a/75af586306606009ba93973e61b729e5bc715419.png)

---

<div class="post-metadata">

**Author:** ![Carlo\_Gioventu](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/carlo_gioventu/32/1008006_2.png) [@Carlo\_Gioventu](https://forums.unrealengine.com/u/Carlo_Gioventu)\
**Post date:** [August 26, 2016, 11:30pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/15 "2016-08-26T23:30:16Z")

</div>

Alas! cannot compile for 4.12, deprecated functions

---

<div class="post-metadata">

**Author:** ![tetorea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tetorea](https://forums.unrealengine.com/u/tetorea)\
**Post date:** [September 13, 2016, 7:37am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/16 "2016-09-13T07:37:47Z")

</div>

just comment the line with the error and it should compile.  
This line is part of the demo, not the plugin, so it’s not important

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0d2c0de](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0d2c0de](https://forums.unrealengine.com/u/anonymous_user_b0d2c0de)\
**Post date:** [October 18, 2016, 6:32am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/17 "2016-10-18T06:32:55Z")

</div>

I am very new to Unreal guys. I am working on a project for work. I need to get this plugin working for HTC VICE. I am getting errors and would not allow me to open the plugin. Not sure what to do. Please Help.

Regards,  
Sam

---

<div class="post-metadata">

**Author:** ![Vahid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vahid](https://forums.unrealengine.com/u/Vahid)\
**Post date:** [October 31, 2016, 6:26am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/18 "2016-10-31T06:26:54Z")

</div>

I want to use this with VIVE, I’ll check this plugin today.  
Thanks

---

<div class="post-metadata">

**Author:** ![Vahid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vahid](https://forums.unrealengine.com/u/Vahid)\
**Post date:** [November 7, 2016, 6:34am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/19 "2016-11-07T06:34:46Z")

</div>

I don’t know where is the problem but it can not start VIVE front camera, i test Unreal4AR plugin that plugin could start VIVE front camera is there any solution ?

---

<div class="post-metadata">

**Author:** ![Ansjj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ansjj](https://forums.unrealengine.com/u/Ansjj)\
**Post date:** [November 18, 2016, 6:42pm UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/20 "2016-11-18T18:42:08Z")

</div>

How can I make it work with 4.13 or later?  
Really need help.

---

<div class="post-metadata">

**Author:** ![Vahid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vahid](https://forums.unrealengine.com/u/Vahid)\
**Post date:** [November 19, 2016, 6:17am UTC](https://forums.unrealengine.com/t/web-camera-plugin/53841/21 "2016-11-19T06:17:15Z")

</div>

It’s working with 4.13

[Next page](https://forums.unrealengine.com/t/web-camera-plugin/53841.md?page=2)
