π« The Pain Point
You downloaded a great talk show from YouTube, but you just want the audio to listen to in the car. The video file is huge, and your phone wonβt play it with the screen off.
π Agentic Solution
Audio Extractor: Rips the audio stream from the video container without re-encoding quality.
Key Features:
- Format: Output to MP3 (Universal) or WAV (High Quality).
- Batch: Drag 50 videos in, get 50 MP3s out.
βοΈ Phase 1: Commander (Quick Fix)
For a single video conversion.
Prompt:
βWrite a script using
moviepyto extract audio from βvideo.mp4β and save it as βaudio.mp3β.β
Result: A simple extraction script.
ποΈ Phase 2: Architect (Permanent Tool)
For Podcasters/Editors.
Engineering Prompt:
**Role:** Python Media Developer
**Task:** Create a "Batch Video to Audio Converter".
**Requirements:**
1. **GUI:**
* Select Input Folder (Videos).
* Select Output Format (MP3/WAV).
* "Convert" button.
2. **Logic:**
* Loop all video files (`.mp4`, `.mov`, `.mkv`).
* Use `moviepy`: `Clip.audio.write_audiofile()`.
* Show progress bar.
3. **Deliverables:** `extract_audio.py`, `run.bat` (Windows), `run.sh` (Mac).
π§ Prompt Decoding
- Support Formats: Parsing the directory for multiple extensions (
.mov,.mkv) makes the tool robust for any video source, not just MP4.
π οΈ Instructions
- Copy Prompt -> Paste -> Run.
- Select Video Folder -> Convert.