Skip to content

feat(producer): frame range rendering, probe, and audio-only endpoints - #678

Closed
miguel-heygen wants to merge 1 commit into
mainfrom
feat/parallel-chunk-rendering
Closed

feat(producer): frame range rendering, probe, and audio-only endpoints#678
miguel-heygen wants to merge 1 commit into
mainfrom
feat/parallel-chunk-rendering

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Summary

  • Adds startFrame/endFrame/skipAudio fields to the render request body for chunk-based rendering
  • New /probe endpoint — returns composition metadata (totalFrames, durationSeconds, fps, dimensions, hasAudio, videoCount) via static HTML compilation
  • New /render/audio endpoint — extracts audio track only (AAC) for fast parallel chunk stitching
  • frameRange and skipAudio passed through RenderConfig to the render orchestrator

These endpoints power the distributed parallel chunk rendering workflow in the monorepo (HyperframeRenderParallelWorkflow).

Endpoints

Endpoint Method Purpose
/probe POST Composition metadata extraction
/render/audio POST Audio-only render for chunk stitch
/render POST Now accepts startFrame/endFrame/skipAudio
/render/stream POST Same — frame range + skipAudio support

Test plan

  • TypeScript compiles cleanly
  • All pre-commit hooks pass (lint, format, typecheck)
  • Existing producer tests pass (52/52 + 22/22)
  • End-to-end validated via Temporal benchmark: 3-chunk parallel render of 141s composition in 59s (2.38× speedup)

🤖 Generated with Claude Code

…oints

- startFrame/endFrame/skipAudio on render body for chunk rendering
- /probe endpoint returns composition metadata (totalFrames, fps, etc.)
- /render/audio endpoint extracts audio track only (for parallel stitch)
- frameRange and skipAudio passed through RenderConfig to orchestrator

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@isaacdyor

Copy link
Copy Markdown

is something like this still planned?

Copy link
Copy Markdown
Collaborator Author

is something like this still planned?

​yeah, currently in progress

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.

2 participants