|
|
75d0149f34
|
feat(audio): Implement audio extraction module (Phase 1 complete)
Added comprehensive audio extraction module with the following features:
**Core Functionality:**
- Audio track detection via ffprobe with JSON parsing
- Multi-track selection with checkboxes
- Format conversion: MP3, AAC, FLAC, WAV
- Quality presets and custom bitrate settings
- Queue integration for batch processing
- Config persistence (saves user preferences)
**UI Components:**
- Left panel: Video drop zone, file info, track list
- Right panel: Format/quality settings, normalization options, output directory
- Status bar with progress indication
- Extract Now and Add to Queue buttons
**Technical Implementation:**
- Created audio_module.go with all UI and logic
- Implemented executeAudioJob() for FFmpeg extraction
- Added audioTrackInfo struct for track metadata
- Config persistence using JSON (~/config/VideoTools/audio.json)
- Proper error handling and logging
**Files Modified:**
- audio_module.go (NEW) - Complete audio module
- main.go - Audio state fields, module registration, navigation
- internal/queue/queue.go - JobTypeAudio already existed
**Remaining Phase 1 Tasks:**
- Two-pass loudnorm normalization
- Batch mode for multiple videos
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2025-12-31 21:12:26 -05:00 |
|