A simple and efficient Python tool to extract audio from video files using FFmpeg
Project description
clipmind - Video to Audio Converter
A simple and efficient Python tool to extract audio from video files using FFmpeg.
Features
- 🎵 Extract high-quality audio (MP3, WAV)
- ✂️ Video tools: merge, crop, overlay, resolve conversion
- ✅ File validation and error handling
- 🖥️ CLI interface and Python library API
- 🛠️ Minimal dependencies
Installation
Prerequisites
- Python 3.6+
- FFmpeg (must be in system PATH)
Install Dependencies
pip install ffmpeg-python
Usage
Method 1: Command Line Interface
Once installed, use the clipmind command:
clipmind -i video.mp4 [-o audio.mp3] [-f mp3]
Examples:
# Basic extraction
clipmind -i video.mp4
# Custom output format
clipmind -i video.mkv -f wav
Method 2: Python Library
from clipmind import get_audio_from_video
# Extract audio
success = get_audio_from_video("video.mp4", "audio.mp3")
# Advanced video tools
from clipmind import merge_videos, crop_video
merge_videos("part1.mp4", "part2.mp4", "merged.mp4")
Project Structure
clipmind/
├── clipmind/ # Core package
│ └── src/
│ ├── cli/ # CLI implementation
│ ├── core/ # Audio & Video tools
│ └── utils/ # Validations
├── pyproject.toml # Build configuration
└── README.md # Documentation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clipmind-1.0.0.tar.gz
(27.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
clipmind-1.0.0-py3-none-any.whl
(29.0 kB
view details)
File details
Details for the file clipmind-1.0.0.tar.gz.
File metadata
- Download URL: clipmind-1.0.0.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecad24335ca6375704190cb5bf204f561fbd8a6ed5651e56decf33f257520a74
|
|
| MD5 |
0e3e6cddc1e1d3c59bec685a2e0acc67
|
|
| BLAKE2b-256 |
8ada933947671aad14bacb481382d0c1a9ca231156fa6cbf7c2cc6b4a0326292
|
File details
Details for the file clipmind-1.0.0-py3-none-any.whl.
File metadata
- Download URL: clipmind-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7286fecac57c4b1358f625892dc8ed0833c3c22774d8aacdfae01e9cce854270
|
|
| MD5 |
634fc21e91c735bbfde3681b3dd72c2b
|
|
| BLAKE2b-256 |
99bafff29b3c8711af4cb3b8fcb926d7eee1775b7ce71939fdfb6f1a7b670f0d
|