letmaik / pyvirtualcam

🎥 Send frames to a virtual camera from Python
GNU General Public License v2.0
452 stars 49 forks source link

NV12 & UYVY support, Camera.native_fmt, fix for GRAY & YUYV on Linux #43

Closed letmaik closed 3 years ago

letmaik commented 3 years ago

NV12 & UYVY was added to allow pass-through (without internal conversions) on all backends (in case someone has the need for it), which previously was only possible on Linux. NV12 is the native format on the OBS Windows backend, and UYVY on the OBS macOS backend. The Linux backend has multiple native formats (GRAY, I420, NV12, YUYV, UYVY).