64ab9c5f7422ab157b175dde735d9d6943896129
DecodedFrame pixels are AV_PIX_FMT_RGBA (memory order R,G,B,A), but SDL names 32-bit formats MSB-first, so SDL_PIXELFORMAT_RGBA8888 reads memory as A,B,G,R: the opaque alpha byte was displayed as red and the image got a strong red tint. The correct constant is SDL_PIXELFORMAT_ABGR8888. Verified with solid red/green/blue synthetic RTP feeds through the real receiver: each hue now lands on its reference YUV values (red Y79/U87/V247, green Y148/U48/V27, blue Y34/U248/V108), where green previously displayed as magenta.
screen_cast
A native Linux peer-to-peer screencast application.
- Send your desktop or a window to another Linux machine.
- Receive a stream and render it in a window.
- Built with C++20, Meson, PipeWire, FFmpeg, RTP/UDP, and SDL.
This project is in early development. The H.264 codec path is implemented; capture, transport, and rendering are still in progress.
Quick start
Requirements:
- C++20 compiler (GCC 12+, Clang 16+)
- Meson >= 0.63
- Ninja
- FFmpeg development packages (
libavcodec,libavutil,libswscale) - (later phases) PipeWire dev, SDL2/3 dev
Build and run tests:
meson setup build
meson compile -C build
meson test -C build --print-errorlogs
Run with verbose test output:
meson test -C build -v
Architecture
See docs/ARCHITECTURE.md for module boundaries and design rules.
Roadmap
Development is split into phases in docs/PHASES.md.
Current phase: Phase 3 — PipeWire screen capture.
License
MIT — see LICENSE (to be added).
Description
Languages
C++
60.6%
Swift
18%
Kotlin
15.2%
Shell
3.9%
Meson
2%
Other
0.2%