FFmpeg in Docker for transcoding, thumbnail extraction, and metadata parsing. Videos stored in /data/uploads (mounted volume), served via streaming API route with Range headers and HLS segment caching. Upload flow: stream-write MP4 → ffprobe metadata → thumbnail → async HLS transcode → update revision status to ready. New files: - video-service.ts: FFmpeg/ffprobe wrapper (HLS, thumbnails, metadata) - /api/uploads/[...path]: streaming file server with Range support Modified: - upload-service.ts: video handling, 500MB limit, async HLS pipeline - upload route: accepts video/referenceVideo types - Dockerfile: ffmpeg + /data/uploads directory - docker-compose.yml: uploads_data volume Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| stores | ||
| types | ||
| instrumentation.ts | ||
| middleware.ts | ||