video-accessibility/backend/app/tasks
michael a6cd4cde07 fix: store source video coordinates in pause points for correct re-rendering
The re-render task was using pause point coordinates from the accessible
video timeline (which includes freeze frame durations) instead of the
original source video coordinates. This caused pause points to exceed
the source video duration and get clamped incorrectly.

Changes:
- Add source_ms field to PausePointData model to store source video cut point
- Update video_renderer.py to populate source_ms when building pause points
- Update rerender_accessible_video.py to use source_ms for placement calculations
- Apply user adjustments as relative offsets (delta-based adjustment)
- Update API responses and TypeScript types to include source_ms
- Add backward compatibility fallback for jobs without source_ms

Note: Existing jobs need to be re-processed from initial render to populate
the new source_ms field.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 10:48:41 -06:00
..
__pycache__ removed mongodb change stream monitoring, added global websockets monitoring for notifications, broke symmetry between toasts and persistent notifications (and refined which notifications get sent and how) 2025-08-25 15:48:18 -05:00
__init__.py fix: register rerender_accessible_video task with Celery worker 2026-01-11 10:12:50 -06:00
ffmpeg_operations.py feat: add dedicated ffmpeg queue to prevent server overload 2025-12-26 17:56:23 -06:00
ingest_and_ai.py feat: add QC accessible video review and editing capabilities 2026-01-11 08:32:27 -06:00
notify.py added websockets for live job status updates with toast notifications on job list page 2025-08-24 19:41:23 -05:00
render_accessible_video.py feat: add QC accessible video review and editing capabilities 2026-01-11 08:32:27 -06:00
rerender_accessible_video.py fix: store source video coordinates in pause points for correct re-rendering 2026-01-11 10:48:41 -06:00
translate_and_synthesize.py feat: add QC accessible video review and editing capabilities 2026-01-11 08:32:27 -06:00
tts_synthesis.py feat: auto-rewrite TTS cues that fail synthesis 2026-01-05 14:42:50 -06:00
whisper_transcribe.py fix: add authentication for Cloud Run service calls 2026-01-02 11:41:07 -06:00