Skip to content

GUI mp4 download (encode on demand)#30

Closed
irobinson010 wants to merge 1 commit into
feature/webcamfrom
feature/gui-mp4
Closed

GUI mp4 download (encode on demand)#30
irobinson010 wants to merge 1 commit into
feature/webcamfrom
feature/gui-mp4

Conversation

@irobinson010

Copy link
Copy Markdown
Owner

Summary

The Video tab gains a .mp4 download that includes the source's audio. It's encode-on-demand: a new POST /api/render/mp4 re-runs the conversion and streams the file only when clicked, so the render/preview loop keeps its GIF-only speed. Upload handling is shared with /api/render via a refactored _video_from_upload that keeps the temp source file alive for the audio mux.

Stacked on #29.

Test plan

  • 191 tests pass — endpoint returns video/mp4 with an ftyp container header from a GIF-clip upload; missing-file 400
  • CI matrix green

🤖 Generated with Claude Code

New POST /api/render/mp4 re-runs the video conversion and streams back an
h264 mp4 with the source's audio muxed in - called only when the user
clicks the new .mp4 download button, so the preview loop stays fast. The
upload/convert core is shared with /api/render via _video_from_upload
(which keeps the temp source alive for audio muxing).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@irobinson010
irobinson010 requested a review from krakenhavoc July 7, 2026 15:14
@irobinson010
irobinson010 deleted the branch feature/webcam July 8, 2026 14:42
irobinson010 added a commit that referenced this pull request Jul 8, 2026
GUI mp4 download + #11 review polish (reopens #30, #31)
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