| Crates.io | ffmpeg-decoder |
| lib.rs | ffmpeg-decoder |
| version | 0.1.3 |
| created_at | 2020-03-26 23:22:39.617712+00 |
| updated_at | 2020-09-16 21:40:06.291146+00 |
| description | Decodes audio files using ffmpeg with rust. Can be used as a rodio source. |
| homepage | |
| repository | https://github.com/tarkah/ffmpeg-decoder-rs |
| max_upload_size | |
| id | 223309 |
| size | 24,277 |
Decodes audio files and converts sample format to signed 16bit. Can be used as a playback source with rodio.
Decoder implies rodio's Source trait, as well as Iterator. Enable feature
flag rodio_source to include this. Decoder can then be used as a source for Rodio,
with the benefits of being able to decode everything ffmpeg supports.
.raw alongisde originalcargo run --release -- convert path/to/test.mp3
cargo run --release -- play path/to/test.flac