Menu

A 1999 LEGO Studios camera webcam driver for macOS
📰

A 1999 LEGO Studios camera webcam driver for macOS

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·2 days ago
#mvf6akNp
#adafruit#camera#driver#extension#frames
Reading 0:00
15s threshold

Ben Kelly has published legocam on GitHub, a user-space driver that makes the 1999 LEGO Studios camera work as a webcam on macOS. The camera shipped with LEGO set 9647, the Education Studios Camera and Software Kit, and it’s a Logitech QuickCam Web inside, USB ID 046d:0850.

The driver is built on libusb , so it doesn’t need a kernel extension. The USB protocol and register values come from the Linux gspca_stv06xx driver.

legocam writes raw 356×292 bayer_grbg8 frames to stdout. ffplay can show them, and a companion tool called obscam passes them to the OBS Virtual Camera. That part is a workaround: macOS only adds a camera through a signed camera extension, and a free Apple developer account can’t sign one. OBS ships a signed extension, so the frames go straight into it without the OBS app running. Apps like Zoom, FaceTime or a browser then pick “OBS Virtual Camera”.

The camera doesn’t have automatic exposure, so exposure (0 to 32768) and gain (0 to 15) are passed as arguments, defaulting to 20000 and 10.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.