ffplayr
ffplayr is an FFmpeg-backed audio playback engine for Rust.
It provides:
- async
play,pause,resume,stop, andstatus - a higher-level
PlaybackAPI for normal library use - optional loudness-aware gain planning via
PlaybackNormalization - optional event hooks through
AudioEventSink - debug helpers for spectrogram and pipeline probe generation
Status
This crate currently uses ffmpeg for decoding, filtering, and resampling, then sends PCM to the output device through rodio/cpal.
Example
use ;
async
Design
Playbackis the recommended public entry point.PlaybackBuildercustomizes the ffmpeg path, event sink, and default normalization policy.AudioEngineremains available for lower-level integrations.