# Playing Live Video Captures on Linux

**URL:** <https://forums.unrealengine.com/t/playing-live-video-captures-on-linux/474030>\
**Category:** Platform & Builds\
**Tags:** live-video, Linux, unreal-engine, question\
**Created:** [November 9, 2020, 9:57pm UTC](https://forums.unrealengine.com/t/playing-live-video-captures-on-linux/474030 "2020-11-09T21:57:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bf76a51c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bf76a51c](https://forums.unrealengine.com/u/anonymous_user_bf76a51c)\
**Post date:** [November 9, 2020, 9:57pm UTC](https://forums.unrealengine.com/t/playing-live-video-captures-on-linux/474030/1 "2020-11-09T21:57:50Z")

</div>

Is there any way to take a live video feed from my webcam and play it directly inside UE4 on Linux?

I have followerd this document: [Playing Live Video Captures in Unreal Engine | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/en-US/Engine/MediaFramework/HowTo/UsingWebCams/index.html)

But, the Capture Devices button on MediaPlayer asset is empty, looks like there is no support for V4L2

How should I write the Media URL on Linux?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b7505e2e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b7505e2e](https://forums.unrealengine.com/u/anonymous_user_b7505e2e)\
**Post date:** [November 21, 2020, 1:08pm UTC](https://forums.unrealengine.com/t/playing-live-video-captures-on-linux/474030/2 "2020-11-21T13:08:28Z")

</div>

Dear valued Unreal Engine user,

As you seem to have realized, it looks as though a IMediaCaptureSupport has not yet been implemented for video cameras on Linux.

So unfortunately, there may not be a way to do this without additional code.

Potentially, you could try using this plugin as a template and then implement your own support.

`Engine/PluginsMedia/AndroidCamera/Source/AndroidCamera/Private/AndroidCameraModule.cpp`

It looks as though you would just need to create a module that inherits from `IMediaCaptureSupport` and then register it with the `MediaModule`. There may already be plugins available on github. If there are none, and you do have to write your own plugin; it would be encouraged to either share the repo here or submit a pull request!

For other user’s who are not familar with V4L2. Webcams are available on the `/dev/video` camera device files, and more information can be found here:

[https://www.kernel.org/doc/html/v4.10/media/uapi/v4l/dev-output.html](https://www.kernel.org/doc/html/v4.10/media/uapi/v4l/dev-output.html)

Thank you for your continued support,
