Developer builds Rust crate 'pinray' for cross-platform screen and audio capture

A developer released pinray, an open-source Rust crate designed to provide cross-platform screen and system audio capture without relying on large frameworks like ffmpeg. The project was created after the author found existing options — scap, xcap, and waycap-rs — each had significant drawbacks, including poor frame metadata, lack of maintenance, or limited platform support. Pinray communicates directly with native OS capture APIs on Linux (Wayland and X11), macOS 12.3+, and Windows 10+, delivering raw video and audio frames with metadata such as timestamps, pixel format, stride, and dropped-frame notifications. The crate exposes a single unified API across all supported platforms, while deliberately leaving encoding out of scope so output can be piped to tools like ffmpeg, WebRTC, or wgpu. The project is publicly available on GitHub under the repository Itz-Agasta/pinray.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in