Sending ARGB Frames #51
-
I am sorry to open an issue here but I am trying to send ARGB data (with shape |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
Out of curiosity, where are you getting your ARGB frames from? |
Beta Was this translation helpful? Give feedback.
-
I am trying to send image data with alpha data such that chroma key is not needed. I know how to blend an ARGB image with a background and output RGB. But I would like to send, something like a semi-transparent video, to OBS directly. In this case chroma key won’t work for intermediate opacity. |
Beta Was this translation helpful? Give feedback.
-
(Virtual) webcams generally don't support transparency, as far as I know. The native format of the OBS virtual camera on Windows is NV12 and UVYV on macOS, both of which don't have an alpha channel. |
Beta Was this translation helpful? Give feedback.
-
Oh I see. I just think it’s possible. OBS has an option setting the format to ARGB for other applications’ virtual camera, though, and it does show up a camera capture with alpha channel when I use it. |
Beta Was this translation helpful? Give feedback.
-
I'm not too knowledgeable on OBS itself, but the virtual camera device itself really doesn't support alpha. |
Beta Was this translation helpful? Give feedback.
-
OK, I’ll find others for help or try another way then. Thank you for your replies! |
Beta Was this translation helpful? Give feedback.
-
Good news! After many trials and errors I wrote my ARGB camera with the help of this library! Here is my repository. You will need to manually install the camera by just double clicking I hope if it helps! |
Beta Was this translation helpful? Give feedback.
Good news! After many trials and errors I wrote my ARGB camera with the help of this library!
Here is my repository. You will need to manually install the camera by just double clicking
pyvirtualcam/native_windows_argbcam/install/Install.bat
. (The whole folder is copied from the above library.)I hope if it helps!