A simple desktop application built with Tauri, Vue 3, and Rust to easily convert video files into animated WebP images.
Note: This application is currently designed and configured for macOS devices with Apple Silicon (M1/M2/M3/etc.).
- Drag & Drop Interface: Easily add videos by dragging them into the application window.
- Batch Conversion: Queue multiple files and convert them all at once.
- Customizable Settings: Control output quality with adjustable parameters:
- FPS: Set the frame rate for smooth animations or smaller file sizes.
- Quality: Adjust compression level.
- Scale: Resize the output dimension.
- Looping: Toggle animation looping.
- Skip Frames: Skip the initial N frames of the video.
- Conversion Management:
- Clear All: Remove all items from the queue.
- Clear Done: Remove only completed conversions.
- Overwriting: Option to overwrite existing files.
- Optimized for Apple Silicon: Leverages native performance on M-series Macs.
- Frontend: Vue 3, TypeScript, Vite
- Backend & Window Management: Rust, Tauri
- Media Processing: FFmpeg
Before running the application, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/yourusername/video2webp.git cd video2webp -
Install dependencies:
npm install
-
FFmpeg Setup: The application requires FFmpeg binaries to be placed in
src-tauri/binaries/. You can use the included script to download them (if available) or download them manually. Note: Ensure the binary name matches the target platform (e.g.,ffmpeg-aarch64-apple-darwinfor Apple Silicon Mac).npm run download:ffmpeg
-
Run the application in development mode:
npm run tauri dev
-
Build for production:
npm run tauri build
- Launch the application.
- Drag and drop video files onto the designated area.
- Adjust settings in the "Settings" panel on the right.
- Click "Convert All" to start processing.
- Converted files will be saved in the same directory as the source video.
src/: Vue frontend components and logic.src-tauri/: Rust backend and Tauri configuration.scripts/: Utility scripts (e.g., ffmpeg downloader).