From b9aa04d4a313b34464d1e5be7bc9c9639d90b120 Mon Sep 17 00:00:00 2001 From: "hehihoho3@gmail.com" Date: Fri, 12 Jun 2026 16:23:55 +0900 Subject: [PATCH] feat(rework): synced subtitle extraction via file upload + Whisper, SRT export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 1 of subtitle timeline studio. Upload a video in the rework editor → proxy to Python /transcribe (faster-whisper) → store segments → render a playback-synced segment list and export CapCut-importable SRT. - ScriptSegment + SrtFormatter (pure, unit-tested) with speed rescaling - ChannelVideoScript.segmentsJson column (ddl-auto adds it) - ChannelService.transcribeFromFile + getSegments/parseSegments - POST /{id}/transcribe (multipart), GET /{id}/script.srt?speed=, /script now returns segments - rework.html: upload button, local