| Crates.io | ogg-batch-speedup |
| lib.rs | ogg-batch-speedup |
| version | 0.1.0 |
| created_at | 2025-04-15 14:09:15.460767+00 |
| updated_at | 2025-04-15 14:09:15.460767+00 |
| description | A library for batch processing and speeding up OGG audio files |
| homepage | |
| repository | https://github.com/lxl66566/xp3-audio-speedup/tree/main/ogg-batch-speedup |
| max_upload_size | |
| id | 1634507 |
| size | 11,062 |
English | 简体中文
A Rust library for batch processing and speeding up OGG audio files using ffmpeg.
This crate is primarily designed for visual novel audio speedup, as visual novels typically use a large number of OGG files for their audio system.
use ogg_batch_speedup::process_audio_files;
use std::path::Path;
fn main() {
let folder = Path::new("path/to/audio/files");
let speed = 1.5; // 1.5x speed
if let Err(e) = process_audio_files(folder, speed) {
eprintln!("Error processing audio files: {}", e);
}
}
MIT