video-accessibility/backend/app
michael c512bdc184 feat: use AD VTT pause points instead of Gemini video analysis
Optimize the accessible video workflow by eliminating the dedicated
Gemini video analysis call for pause point estimation. Instead:

- Use AD VTT cue start times as initial pause points for Whisper refinement
- Add user-selectable accessible video method (pause_insert/overlay) at QC approval
- Add bulk approval API endpoint with method selection
- Add method selector UI to QCDetail page
- Add bulk approval modal to QCList for jobs with accessible video

Benefits:
- Eliminates expensive Gemini API call with video upload
- Faster workflow (~5-15 seconds saved per job)
- Cost savings on Gemini video analysis
- User control over accessible video integration method

Backend changes:
- Add accessible_video_method to RequestedOutputs and ApproveSourceRequest
- Add POST /jobs/bulk/approve endpoint
- Replace Gemini call with _build_placements_from_ad_vtt() helper
- Mark analyze_accessible_video_placement() as deprecated

Frontend changes:
- Add method selector radio buttons to QCDetail
- Add bulk approval modal with method selection to QCList
- Update API client and React Query hooks

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 19:05:45 -06:00
..
__pycache__ fixed middleware silent swallowing of exceptions FINALLY 2025-10-08 18:19:59 -05:00
api/v1 feat: use AD VTT pause points instead of Gemini video analysis 2026-01-03 19:05:45 -06:00
core feat: add environment-based worker concurrency for Cloud Run mode 2026-01-02 10:27:07 -06:00
lib initial commit 2025-08-24 16:28:33 -05:00
middleware fixed overly aggressive security algorithm 2025-10-08 17:49:20 -05:00
migrations fix: add rendering_video status to MongoDB schema validator 2025-12-27 08:40:23 -06:00
models feat: use AD VTT pause points instead of Gemini video analysis 2026-01-03 19:05:45 -06:00
prompts feat: add video-native translation mode for multi-language content 2025-12-31 13:50:05 -06:00
schemas feat: use AD VTT pause points instead of Gemini video analysis 2026-01-03 19:05:45 -06:00
services feat: use AD VTT pause points instead of Gemini video analysis 2026-01-03 19:05:45 -06:00
tasks feat: use AD VTT pause points instead of Gemini video analysis 2026-01-03 19:05:45 -06:00
telemetry initial commit 2025-08-24 16:28:33 -05:00
main.py feat: add video review with timestamped notes to Final Review 2025-12-26 15:30:00 -06:00