video-accessibility/backend/app/services
michael d2d8e32819 feat: add video-native translation mode for multi-language content
Add a new "Video Native Mode" translation option that re-processes the
video through Gemini for each target language, generating captions and
audio descriptions directly from visual context. This produces more
natural and culturally appropriate content compared to traditional VTT
text translation.

Changes:
- Add translation_mode field to RequestedOutputs (video_native | traditional)
- Create gemini_ingestion_targeted.md prompt for target language generation
- Add extract_accessibility_targeted() method to Gemini service
- Modify translate_and_synthesize task to handle both translation modes
- Add Translation Mode UI selector in NewJob screen (video_native is default)
- Remove transcreation UI (replaced by video_native mode)
- Remove Google Translate service (replaced by Gemini translation)
- Add LanguageSelector component with searchable dropdown

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 13:50:05 -06:00
..
__pycache__ better tts config for worker 2025-10-08 18:47:28 -05:00
audit_logger.py initial commit 2025-08-24 16:28:33 -05:00
emailer.py initial commit 2025-08-24 16:28:33 -05:00
gcs.py initial commit 2025-08-24 16:28:33 -05:00
gemini.py feat: add video-native translation mode for multi-language content 2025-12-31 13:50:05 -06:00
gemini_tts.py feat: add TTS_FAILED status and robust error handling for TTS synthesis 2025-12-30 14:26:07 -06:00
microsoft_auth.py added MSAL microsoft authentication 2025-10-10 09:19:39 -05:00
secrets_manager.py initial commit 2025-08-24 16:28:33 -05:00
tts.py feat: add accessible video (MP4 with embedded audio descriptions) 2025-12-26 11:06:41 -06:00
validation.py feat: add accessible video validation, remove AI confidence check 2025-12-26 16:41:57 -06:00
video_renderer.py refactor: simplify pause point algorithm with midpoint snapping and silence buffers 2025-12-29 09:55:40 -06:00
vtt_retimer.py fix: rewrite VTT retiming algorithm to prevent captions during AD segments 2025-12-30 09:01:03 -06:00
websocket.py wrote docker files and deployment instructions 2025-10-08 16:00:12 -05:00
websocket_publisher.py wrote docker files and deployment instructions 2025-10-08 16:00:12 -05:00
whisper_service.py refactor: simplify pause point algorithm with midpoint snapping and silence buffers 2025-12-29 09:55:40 -06:00