video-processorlisted
Install: claude install-skill aiskillstore/marketplace
# Video Processor
## Instructions
This skill provides video processing utilities including audio extraction, format conversion, and audio transcription using FFmpeg and OpenAI's Whisper model.
### Prerequisites
**Required tools** (must be installed in your environment):
- **FFmpeg**: Multimedia framework for video/audio processing
```bash
# macOS
brew install ffmpeg
# Ubuntu/Debian
apt-get install ffmpeg
# Verify installation
ffmpeg -version
```
- **OpenAI Whisper**: Speech-to-text transcription model
```bash
# Install via pip
pip install -U openai-whisper
# Verify installation
whisper --help
```
**Python packages** (included in script via PEP 723):
- click (CLI framework)
- ffmpeg-python (Python wrapper for FFmpeg)
### Workflow
Use the `scripts/video_processor.py` script for all video processing tasks. The script provides a simple CLI with the following commands:
#### 1. **Extract Audio from Video**
Extract the audio track from a video file:
```bash
uv run .claude/skills/video-processor/scripts/video_processor.py extract-audio input.mp4 output.wav
```
Options:
- `--format`: Output audio format (default: wav). Supports: wav, mp3, aac, flac
- Output is suitable for transcription or standalone audio use
#### 2. **Convert Video to MP4**
Convert any video file to MP4 format:
```bash
uv run .claude/skills/video-processor/scripts/video_processor.py to-mp4 input.avi output.mp4
```
Options:
- `--codec`: Video codec (default: libx264). Co