Video Capture to unreal engine 4

I have a decklink card and blackmagic 4k,I want capture video to ue4,
and I already uesd decklink SDK to write a .dll , the dll have a function, it can out put rgb Bytes form decklink capture.
How can I assign this rbg Bytes to some material in unreal engine ?
Is this have some good idear?

This is not possible yet, but we’re working on it.

I heard some news with James Golding. he said Plan to suppot capturing video int the engine directly in the future. Hope this features coming soon!

There is a plugin by The Mill for Deckling capture card in UE4
https://github.com/themill/DeckLinkMedia