Git Product home page Git Product logo

ue4webcamera's People

Contributors

temaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ue4webcamera's Issues

A more fuller tutorial on what to do to get connect and use this class is needed

It's a shame that such a nice project doesn't have a step by step guide on how to play a video.
I got it to build (which was a pain), but the brief and scanty comments on what to do is not enough.
A fuller step by step guide would be great, what should have been done was to make a sample project that plays a video (local file) and nothing else. A small video should have been included in project So that no set up would have been necessary, just running the project would get it to play. And again, a step by step guide on how to do it with a local video file, and another one for a web camera.

Very useful plugin! Taking requests?

I've got the sample project running under 4.14 and have applied the plugin to my project. Currently viewing 3 webcams at the same time under Win10. It is so great to have this functionality and it should probably be part of the engine.

I'm struggling to get the cameras operating in anything beyond 640x480 30fps. I'd like to achieve up to 1900x1080 and 60fps or higher. Can you provide any tips on how to achieve this in the plugin source?

Do you have any plans to improve this project? Or are you perhaps available to do some freelance work based on it?

Regards,
David

Update 4.27 / 5

Hi,

Is it possible to have an update of this project with UE4.27 or UE5 ?

This function seems to be removed in 4.27 :

ENQUEUE_UNIQUE_RENDER_COMMAND_ONEPARAMETER(
			UpdateTextureRegionsData,
			FUpdateTextureRegionsData*, RegionData, RegionData,
			{
				int32 CurrentFirstMip = RegionData->Texture2DResource->GetCurrentFirstMip();
				if (RegionData->MipIndex >= CurrentFirstMip)
				{
					RHIUpdateTexture2D(RegionData->Texture2DResource->GetTexture2DRHI(),
						RegionData->MipIndex - CurrentFirstMip,
						RegionData->Region,
						RegionData->SrcPitch,
						RegionData->SrcData	+ RegionData->Region.SrcY * RegionData->SrcPitch + RegionData->Region.SrcX * RegionData->SrcBpp);
				}

				delete RegionData;
			});

In Source/Private/VideoCallbackHandler.cpp

Thanks

Crashes in FVideoCallbackHandler::SampleCB when stopping the game

Hei,

I'm using your plugin with Unreal 4.15 and it works very well most of the time. Sometimes it crashes after I stop the game from the editor, and the call stack says it comes from the ENQUEUE_UNIQUE_RENDER_COMMAND_ONEPARAMETER block in FVideoCallbackHandler::SampleCB.

My guess is that this block is sometimes executed after the games stops, and the code is accessing deallocated memory. Could you suggest a small fix ?

Access violation - code c0000005 (first/second chance not available)

UE4Editor_Webcamera!FTexture2DResource::GetTexture2DRHI() [c:\program files\epic games\ue_4.15\engine\source\runtime\engine\public\textureresource.h:276]
UE4Editor_Webcamera!`FVideoCallbackHandler::SampleCB'::`8'::EURCMacro_UpdateTextureRegionsData::DoTask() [v:\project\plugins\webcamera\source\private\videocallbackhandler.cpp:74]
UE4Editor_Webcamera!TGraphTask<`FVideoCallbackHandler::SampleCB'::`8'::EURCMacro_UpdateTextureRegionsData>::ExecuteTask() [c:\program files\epic games\ue_4.15\engine\source\runtime\core\public\async\taskgraphinterfaces.h:883]
UE4Editor_Core
UE4Editor_Core
UE4Editor_Engine
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Getting webcam stream as input in unreal

First of all, I would like to thank you for such a great plugin.
I wanna play live streaming in my unreal project, and take the hand movement as input in unreal to control the object movement in the game.
Can you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.