pafuhana1213 / framegrabbersample Goto Github PK
View Code? Open in Web Editor NEWSample to convert rendering result to texture using FrameGrabber function
License: MIT License
Sample to convert rendering result to texture using FrameGrabber function
License: MIT License
Hi,
Can you please provide another example that compiled in UE4.26/7?
Thanks
Hi~When I tried to use framegrabber without Editor-mode, the program crashed. The crash report was something like these:
__pthread_kill Address = 0x7fff2032792e (filename not found) [in libsystem_kernel.dylib]
Unknown() Address = 0x7fff202ab406 (filename not found) [in libsystem_c.dylib]
Unknown() Address = 0x7fff202aa7d8 (filename not found) [in libsystem_c.dylib]
Unknown() Address = 0x7fff28399ec4 (filename not found) [in Metal]
Unknown() Address = 0x7fff2838845a (filename not found) [in Metal]
Unknown() Address = 0x7fff28382200 (filename not found) [in Metal]
Unknown() Address = 0x7fff282eb0dd (filename not found) [in Metal]
Unknown() Address = 0x7fff6dd3e728 (filename not found) [in AMDMTLBronzeDriver]
FMetalResourceHeap::CreateTexture(mtlpp::TextureDescriptor, FMetalSurface*) Address = 0x14509c3a5 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDeviceContext::CreateTexture(FMetalSurface*, mtlpp::TextureDescriptor) Address = 0x1450ccbc1 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalSurface::FMetalSurface(ERHIResourceType, EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, bool, unsigned int, unsigned int, ETextureCreateFlags, FResourceBulkDataInterface*) Address = 0x14517d285 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalTexture2D::FMetalTexture2D(EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, ETextureCreateFlags, FResourceBulkDataInterface*, FClearValueBinding const&) Address = 0x14519115e (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDynamicRHI::RHICreateTexture2D(unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags, ERHIAccess, FRHIResourceCreateInfo&) Address = 0x145182b9b (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalDynamicRHI::RHICreateTexture2D_RenderThread(FRHICommandListImmediate&, unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags, ERHIAccess, FRHIResourceCreateInfo&) Address = 0x145186f2f (filename not found) [in UE4Editor-MetalRHI.dylib]
FViewportSurfaceReader::Resize(unsigned int, unsigned int)::$_1::operator()(FRHICommandListImmediate&) const Address = 0x12eb798bb (filename not found) [in UE4Editor-MovieSceneCapture.dylib]
TEnqueueUniqueRenderCommandType<FViewportSurfaceReader::Resize(unsigned int, unsigned int)::CreateCaptureFrameTextureName, FViewportSurfaceReader::Resize(unsigned int, unsigned int)::$_1>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x12eb7999e (filename not found) [in UE4Editor-MovieSceneCapture.dylib]
TGraphTask<TEnqueueUniqueRenderCommandType<FViewportSurfaceReader::Resize(unsigned int, unsigned int)::CreateCaptureFrameTextureName, FViewportSurfaceReader::Resize(unsigned int, unsigned int)::$_1> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) Address = 0x12eb7a03a (filename not found) [in UE4Editor-MovieSceneCapture.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x10726e466 (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x10726ca80 (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0x10ff11aa3 (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0x10ff3c407 (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x1073933b8 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x10731f9a4 (filename not found) [in UE4Editor-Core.dylib]
_pthread_start Address = 0x7fff203568fc (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff20352443 (filename not found) [in libsystem_pthread.dylib]`
Have you tested the code without Editor-mode? Thank you very much if you could give me any help~
Hi~Is that possible to change the viewport of framegrabber? For example, I have many cameras and I wish to change the viewport in C++ code. Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.