SShortSingh.
Back to feed

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

0
·1 views

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.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

Corvorum OS 1.0 Server Edition launches with built-in local AI and DevOps tools

Corvorum OS 1.0 Server Edition is a new Ubuntu-based Linux distribution designed for server environments, featuring integrated local AI via Ollama and pre-configured DevOps tools including Docker, Ansible, and Kubernetes k3s. The OS ships with command-line utilities such as btop and mc, and includes an AI assistant called Odin-assist, built on the Qwen2.5:1.5B model, accessible directly from the terminal. The project is positioned as an alternative to cloud-based AI subscriptions, emphasizing user independence and data privacy by running AI workloads locally. The ISO image is available for free download on SourceForge and supports installation on both virtual machines and amd64-compatible hardware, requiring at least 8 GB of RAM and 20 GB of disk space. Future development plans include an expanded Odin Agent with web search and file management capabilities, an AI agent configuration tool, and a community contribution repository.

0
ProgrammingDEV Community ·

Six reasons your Meta Pixel may not be firing and how to verify each

Meta Pixel failures are a frequent issue for advertisers, often going undetected because tag management dashboards can show a pixel as connected even when no events are actually being sent to Facebook. Common causes include broken consent management platform wiring, duplicate pixel installations that inflate conversion data, and missing dataLayer pushes caused by theme or checkout updates. Redirect-based payment methods and cross-origin iframes can silently prevent purchase events from firing for a significant portion of customers. Ad blockers and browser privacy restrictions also block client-side pixel requests, making server-side tracking via Meta's Conversions API the recommended long-term solution. Each issue can be diagnosed using browser DevTools, GTM Preview mode, or Meta Pixel Helper before any fixes are applied.

0
ProgrammingHacker News ·

Minimum Effective Exercise: What Science Says About Getting Away With Less

A new article published by The Economist on July 3, 2026 explores the minimum amount of exercise required to maintain meaningful health benefits. Researchers and health experts have been examining how little physical activity a person can do while still achieving measurable positive outcomes. The piece challenges the conventional assumption that more exercise is always better, focusing instead on efficiency and thresholds. It highlights scientific findings that suggest even small, targeted amounts of movement can deliver significant health returns. The article has sparked discussion online, particularly among those seeking realistic and sustainable fitness habits.

0
ProgrammingDEV Community ·

VEQRA AI Uses Three Specialized Agents to Resolve Enterprise Incidents in 13 Seconds

A developer has extended VEQRA, an existing Microsoft 365 incident management platform, with an AI layer called VEQRA AI, built during the Qwen Cloud Global AI Hackathon. The system deploys three sequential agents — Memory, BI, and Action — to identify root causes, assess financial impact, and generate a structured response plan without human intervention. All three agents run on Alibaba Cloud's Qwen3-235B model via a DashScope API endpoint compatible with OpenAI's interface. In a demo scenario, a critical overdue leasing contract worth €120,000 was fully resolved within 13 seconds through coordinated JSON-based agent communication. The developer cited consistent structured output generation across agents as the primary engineering challenge, which was addressed through careful prompt design.