rodio
mpp
Our great sponsors
rodio | mpp | |
---|---|---|
9 | 3 | |
1,585 | 407 | |
2.8% | 11.8% | |
6.9 | 9.3 | |
4 days ago | 7 days ago | |
Rust | C | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rodio
-
Yew + Tauri WASM Desktop App - Methods of Local Filesystem Access
I'm currently working on creating a desktop app with web UI using Yew (wasm32-unknown-unknown), and Tauri for the desktop packaging side of things. In this particular case, I'd like to be able to play audio files from the user's local filesystem using the rodio crate, and also to process text files for purposes such as configuration, for example by using the csv crate. I know for absolute certain that the app will only be run in a desktop context, i.e, Windows, Linux and MacOS, and therefore will always have a filesystem physically existent despite any WASM sandboxing (which I'm aware of, hence asking for any possible methods).
I'm currently working on creating a desktop app with web UI using Yew, and Tauri for the desktop packaging side of things. In this particular case, I'd like to be able to play audio files from the user's local filesystem using the rodio crate, and also to process text files for purposes such as configuration, for example by using the csv. I know for absolute certain that the app will only be run in a desktop context, i.e, Window, Linux and MacOS, and therefore will always have a filesystem physically existent despite any WASM sandboxing (which I'm aware of, hence asking for any possible methods).
-
An alternative to FFmpeg?
There's symphonia for audio, although it's quite low-level. rodio is a better choice if you just want to play some sounds.
-
Introducing the Music Player: A High-Performance, Extensible Application for Digital Audio Playback
The Music Player is based on Rodio, which is a high-performance audio playback library for Rust, and Symphonia, which is a Rust library for working with music metadata and audio decoding. This allows the Music Player to provide high-quality audio playback and management.
-
What is the simplest way to play an audio sample, across platforms, including web?
https://crates.io/crates/rodio Its based on cpal and has basic necessities like resampler.
-
Dungeoncrawler audio
I believe rodio is generally regarded as a good spot to start for audio in Rust. Open Game Art has a fair few tilesets, you could take a look there.
-
Modify pitch and volume while a sound file is playing
I have tried the https://crates.io/crates/rodio crate already but I did not find a way to change the parameters while the background thread is playing the song.
-
Streaming Youtube Audio/Video with Rust
I changed into mp3 cuz I didn't know how to use rodio to play other file format like m4a, because it needed symphonia and I could'nt find any example of symphonia on the internet.
-
Symphonia v0.3: pure-Rust decoders for MP3, WAV, FLAC, AAC
Also, you can now use Symphonia as a backend in rodio.
mpp
-
Using Rockchip's HW acceleration?
I cloned and built it (after building its dependencies: librga from https://github.com/JeffyCN/rockchip_mirrors/tree/linux-rga ; mpp from https://github.com/rockchip-linux/mpp)
-
An alternative to FFmpeg?
There's also video4linux2 hardware decode APIs and various vendor-specific libraries, e.g. Rockchip's. On many particular platforms, doing hardware decoding without ffmpeg seems pretty approachable. Even making a nice combo library that supports a variety of them seems feasible. And obviously when the hardware's available (exists, the right kernel drivers are loaded, the C library's around if necessary, the permissions are right, it's not busy, etc.) hardware seems preferable. But it'd be nice to also support a fallback to software and then we're back to ffmpeg.
-
RockPro64 RK3399 OpenMax IL
I know Rockchip have their non-standard "MPP" framework for making use of their hardware encoders and decoders at https://github.com/rockchip-linux/mpp which is an option if you're OK with sticking on the 4.4 BSP kernel.
What are some alternatives?
Symphonia - Pure Rust multimedia format demuxing, tag reading, and audio decoding library
hardware-rockchip-omx_il - hardware/rockchip/omx_il
rust-portaudio - PortAudio bindings and wrappers for Rust.
vkQuake - Vulkan Quake port based on QuakeSpasm
cpal - Cross-platform audio I/O library in pure Rust
kawaii-player - Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
rust-fmod - A rust binding for the FMOD library
Entertainment Library Synchronizer - Corionis Entertainment Library Synchronizer data management and back-up tool
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
ffmpeg-rk - 支持rockchip mpp硬件加速编解码的ffmpeg版本。Forked ffmpeg that supports rkmpp decodeing, encoding and rga scaling
openal-rs
onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator