ogg-batch-speedup 0.1.0

A library for batch processing and speeding up OGG audio files
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 11.06 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 289.93 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lxl66566

ogg-batch-speedup

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.

Features

  • Parallel processing of multiple OGG files recursively, maximizing speed by utilizing multiple CPU cores.
  • Configurable speed adjustment.

Usage

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);
    }
}

Requirements

  • FFmpeg must be installed and available in the system PATH

License

MIT