Build something good
Architecture, local builds, and your first contribution.
Small crates. Clear responsibilities.
RLC is an original Rust implementation inspired by VLC architecture. It uses FFmpeg for demuxing and decoding, cpal for audio, winit/wgpu for video, egui for controls, and libass for ASS/SSA subtitle rendering.
| Crate | Responsibility |
|---|---|
| rlc-core | Stream IDs, timestamps, media clock, commands, errors |
| rlc-demux | Probing, stream discovery, packet reads, seeking |
| rlc-codec | Decoder interfaces and FFmpeg adapters |
| rlc-audio | Resampling, bounded PCM ring, cpal callback |
| rlc-video | Plane uploads, YUV conversion, presentation |
| rlc-player | Worker lifecycle, synchronization, stream selection |
| rlc-subs | Subtitle timelines, parsing, track handling |
The application in apps/rlc owns the CLI, event loop, controls, and window. Dependencies point toward core. FFmpeg types stay outside core, and native unsafe code belongs at documented FFI boundaries.
The media pipeline
A local regular file flows through a demux worker into bounded audio and video packet queues. Separate decoder workers feed the PCM ring and video-frame queue. Audio timing observations guide presentation. Controls travel separately so full media queues cannot indefinitely prevent cancellation.
Build & validate
Follow the developer guide for tested toolchains and native prerequisites before running these commands from the source checkout:
cargo build --locked --release -p rlc --bins
cargo fmt --all -- --check
cargo test --workspace --locked
python3 tools/validate.py --output target/validation --stress 20Native-device tests are opt-in. The strict dependency-health gate has known failures; see the dated audit instead of assuming all CI is green.
Your first contribution
- Read CONTRIBUTING.md, the code of conduct, and roadmap.
- Find an existing issue or open a focused proposal. Explain the user-visible behavior and the evidence you will use to validate it.
- Keep changes focused, document new FFI contracts, and include appropriate tests.
- Open a pull request with the problem, the resulting behavior, and actual validation results.
RLC is licensed LGPL-2.1-or-later. Keep licensing and source obligations intact. The current maintainer and review contact is @raman118.
Verified against the inspected RLC checkout, based on 3a7b902 (including local documentation updates) · December 1, 2026. Platform goals are distinct from tested behavior. For the latest changes, check the source repository.