Skip to content

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

Open
miguel-heygen wants to merge 1 commit into
mainfrom
magi/fix-prores-rate-control-validation
Open

fix(render): reject unsupported ProRes rate controls#3702
miguel-heygen wants to merge 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.

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