Ported from PR #50 (Themegaindex) onto current main, adapted to the
billing-mode app.py and the Lumen dashboard:
- subtitles.py: karaoke ASS generation (word-level highlight, glow/pop/box
effects, dim/uppercase), whisper continuation-word merging, env-configurable
whisper model, ASS/font input sanitization, faststart
- editor.py + edit_builder.py: Auto-Edit v2 — Gemini returns a structured
edit-decision list and the FFmpeg filter is built deterministically with
hard caps (no raw filter strings from the LLM), 2s dry-run + one
self-repair round, caption-safe mode blocks zooms on subtitled clips
- app.py: /api/subtitle karaoke fields + re-subtitle prefix walk-back
(fixes double subtitles), has_captions passed to Auto-Edit
- hooks.py: emoji rendering (color-emoji font with strip fallback),
char-level hard wrap, unique temp PNGs, ffmpeg timeouts; keeps the
duration/enable overlay from b1113d7
- translate.py: exponential-backoff retries for transient ElevenLabs errors
- dashboard: 11 caption presets in SubtitleModal; karaoke burns server-side
- tests/: 50 pytest tests; .github/workflows/ci.yml runs them + fe build
Encode settings kept at CRF 18 (medium for post-process steps) per f791a74.
Co-authored-by: Themegaindex <themegaindex@users.noreply.github.com>
- Add AI voice dubbing with ElevenLabs (30+ languages)
- Add TranslateModal component for language selection
- Auto-transcribe dubbed videos for subtitles in new language
- Add ElevenLabs API key settings in frontend
- Add async_upload parameter to Upload-Post integration
- Add MIT LICENSE file
- Add CLAUDE.md for AI-assisted development
- Update README with dubbing feature and badges
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>