AudioVideoConverter
AudioVideoConverter is a Rust library that provides functionality to convert between audio and video files using the FFmpeg library.
Features
- Convert Audio to Video: Convert an audio file to a video file by combining with a background image.
- Convert Video to Audio: Extract audio from a video file and save it as a separate audio file.
Installation
Run the following Cargo command in your project directory:
Add this to your Cargo.toml
:
[]
= "0.1.1"
Usage
Error
- The functions return Result<(), io::Error>. Errors can occur due to issues with the conversion process or I/O operations. Handle errors appropriately in your code.
Dependencies
- This crate depends on FFmpeg. Make sure FFmpeg is installed on your system and available in your PATH.