VideoTools/internal/convert
Stu Leak 762c840de9 Add audio channel remixing options to convert module
Added advanced audio channel remixing features for videos with imbalanced
left/right audio channels (e.g., music in left ear, vocals in right ear).

New audio channel options using FFmpeg pan filter:
- Left to Stereo: Copy left channel to both speakers
- Right to Stereo: Copy right channel to both speakers
- Mix to Stereo: Downmix both channels together evenly
- Swap L/R: Swap left and right channels

Changes:
- Updated audioChannelsSelect dropdown with 8 options (was 4)
- Implemented pan filter logic in all 4 FFmpeg command builders:
  - buildFFmpegCommandFromJob (main convert)
  - DVD encoding function
  - Convert command builder
  - Snippet generation
- Removed unused "os" import from internal/convert/ffmpeg.go
- Updated DONE.md with audio channel remixing feature

The pan filter syntax allows precise channel routing:
- pan=stereo|c0=c0|c1=c0 (left to both)
- pan=stereo|c0=c1|c1=c1 (right to both)
- pan=stereo|c0=0.5*c0+0.5*c1|c1=0.5*c0+0.5*c1 (mix)
- pan=stereo|c0=c1|c1=c0 (swap)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 21:07:48 -05:00
..
dvd_regions.go Implement DVD-NTSC encoding support with multi-region capabilities 2025-11-29 19:30:05 -05:00
dvd.go Implement DVD-NTSC encoding support with multi-region capabilities 2025-11-29 19:30:05 -05:00
ffmpeg.go Add audio channel remixing options to convert module 2025-12-20 21:07:48 -05:00
format_name.go Normalize MP4 format label, improve log readability, and prep reduction display 2025-12-08 18:46:34 -05:00
presets.go Add metadata map to VideoSource and add MP4 H.265 preset 2025-12-08 16:02:53 -05:00
types.go Add unit selector for target file size 2025-12-20 13:35:39 -05:00