Skip to content

fix(render): reject unsupported ProRes rate controls - #3702

Merged
miga-heygen merged 1 commit into
mainfrom
magi/fix-prores-rate-control-validation
Sep 8, 2026
Merged

fix(render): reject unsupported ProRes rate controls#3702
miga-heygen merged 1 commit into
mainfrom
magi/fix-prores-rate-control-validation

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

MOV renders now reject --crf and --video-bitrate instead of silently discarding them. CLI help and rendering docs state that MOV uses one fixed alpha-preserving ProRes 4444 profile across quality tiers.

Why

Both flags were accepted and threaded into disk and streaming execution, but each ProRes argument builder returns its fixed 4444 configuration before reading generic rate controls. Different commands therefore produced byte-identical encoder arguments without warning.

How

Format-specific validation runs once in the shared render-plan boundary before disk, streaming, Docker, or batch routing. The error explains that CRF/target bitrate apply to MP4/WebM and directs users to remove the flag or choose one of those formats. ProRes codec, profile, vendor, pixel format, and alpha behavior are unchanged.

Test plan

  • Unit tests added/updated

  • Manual testing performed

  • Documentation updated

  • Render-plan suite: 15 tests passed, covering both rejected MOV flags and retained MP4/WebM controls

  • Fixed-profile disk/streaming ProRes controls: 4 tests passed

  • Changed-file oxlint, oxfmt, and diff checks passed

CLI-wide typecheck remains unavailable because optional AWS/GCP dependencies are absent and unrelated Studio/schema errors predate this change; it reported no changed-path error.

@mintlify

mintlify Bot commented Sep 5, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Sep 5, 2026, 1:31 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@miga-heygen miga-heygen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct rejection of CRF/bitrate controls for ProRes MOV. Docs, CLI descriptions, and tests all updated consistently. — Miga

@miga-heygen
miga-heygen merged commit 2f7b7a9 into main Sep 8, 2026
51 checks passed
@miga-heygen
miga-heygen deleted the magi/fix-prores-rate-control-validation branch September 8, 2026 18:09
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