Skip to content

A video above 1080p uploads as its original - #93

Merged
pallaoro merged 1 commit into
mainfrom
upload-originals
Nov 11, 2026
Merged

pallaoro merged 1 commit into
mainfrom
upload-originals

Conversation

@pallaoro

Copy link
Copy Markdown
Member

The media service's playable copies stop at 1080p. A video whose short side is above 1080 now uploads in parts to the service's own storage, which keeps the file as sent, and the service makes its playable copy from there. Exports do not read the original yet; that comes next.

  • Browser: reads the picture size with the length, sends parts one at a time with a fresh link per try, resumes on retry, cancels cleanly.
  • Falls back to the usual upload when the video is 1080p or less, the workspace has no room for originals, the browser cannot read the picture size, or not one part lands.
  • Server: four routes under /api/assets/originals; the finished video joins the library like any upload.

Known gap: if the answer to the final join is lost after the service has joined the parts, a retry is refused and that video is not in the library.

315 unit tests, typecheck, build and the e2e suite pass (new block 17). Not yet run against the real storage.

@pallaoro
pallaoro merged commit 03f698c into main Nov 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant