ArmainAP/UnrealCam

Cant get it working.

Closed this issue · 3 comments

I get black screen. Testing it with Streamlabs.
Whats the order of things?
I need to run script inside Releasex64 and that's it?

Yes, that is correct. I would also recommand a computer restart.

It is supposed to work only with DirectShow compatible software.
DirectShow was already being deprecated by newer APIs when I created this repository. I do not know the current status of DirectShow compatible applications and if Streamlabs supported it...just as a note, I previously used to test this with OBS.

Thank you.
I had to restart computer, and now it works.

I have on more question:
Haw can you get transparent alpha with it?
In the code i see it packs only 3 channels:

data[dataIndex + 2] = ColorBuffer[i].G;
data[dataIndex + 1] = ColorBuffer[i].R;
data[dataIndex] = ColorBuffer[i].B;

Also received image flipped and darker:
image

Colors are inverted because UE4 engine has texture (that are not power of 4 dimension) in BGRA format.