StreamForge.
A video platform MVP: resumable direct-to-S3 uploads, ffmpeg transcoding to 1080p, 720p and 480p, and adaptive MPEG-DASH playback.



From problem to what's next.
In the order it actually happened. Use the route to jump around.
Pushing large video files through an API server is slow and fragile, an interrupted upload starts over, and one fixed-quality file stalls on slower connections.
The browser uploads 16 MiB parts straight to S3 through presigned URLs, so the API never touches the bytes. A Celery worker runs ffmpeg to build a 1080p, 720p and 480p DASH ladder, and dash.js adapts between rungs.
- 01Built the FastAPI backend: presigned multipart uploads, a catalog API and DASH streaming with HTTP range support.
- 02Wrote the Celery and ffmpeg worker: ladder transcode, poster frame and thumbnail sprite, skipping rungs above the source.
- 03Built the React 19 and Vite frontend with TanStack Query: upload dashboard, catalog and a dash.js player.
- 04Provisioned the S3 bucket and DynamoDB table with Terraform; CI runs ruff, pytest, lint, typecheck and Vitest.
The system, end to end.
- STEP 01BrowserPUTs 16 MiB parts to S3
- STEP 02FastAPIplans parts · signs URLs · finalizes
- STEP 03Amazon S3multipart upload target
- STEP 04Celery jobqueued on Redis when complete
- STEP 01Celery workerclaims job with a DynamoDB lease
- STEP 02ffmpeg1080p · 720p · 480p DASH ladder
- STEP 03Amazon S3manifest and segments, uploaded in parallel
- STEP 04DynamoDBstatus moves to ready
- STEP 01dash.js playeradapts across the ladder
- STEP 02FastAPImanifest and segments with range requests
- STEP 03Amazon S3source of segments
AND THE FIX
- IDEA
- BUILDING
- LIVE
Runs locally with docker compose and is not deployed: a faithful deploy needs S3, DynamoDB, Redis and an always-on ffmpeg worker. 12 pytest and 9 Vitest tests pass in CI.