Skip to content

perf(enc): allow VideoToolbox H.264 at 4K60 on macOS - #3577

Open
AatmanAJ wants to merge 1 commit into
CapSoftware:mainfrom
AatmanAJ:perf/macos-videotoolbox-4k-fps
Open

AatmanAJ wants to merge 1 commit into
CapSoftware:mainfrom
AatmanAJ:perf/macos-videotoolbox-4k-fps

Conversation

@AatmanAJ

@AatmanAJ AatmanAJ commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Raise the conservative VideoToolbox 4K max FPS estimate from 55 to 120 so 60fps captures at 4K+ no longer preemptively fall back to software x264.

Test plan

  • Record at 4K60 on Apple Silicon and confirm hardware encoder is selected (logs / activity monitor).
  • Confirm sub-4K and export paths unchanged.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Raises VIDEOTOOLBOX_4K_MAX_FPS from 55 to 120.

  • VideoToolbox stays eligible for 4K capture at higher frame rates.

Reviews (1) · Last reviewed commit: "perf(enc): allow VideoToolbox H.264 at 4..." · Reviewed by Greptile

Raise the conservative 4K FPS estimate so recording at 60fps no longer
falls back to software x264 when hardware encoding can keep up.
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@AatmanAJ
AatmanAJ force-pushed the perf/macos-videotoolbox-4k-fps branch from 721e325 to b84b7a7 Compare October 30, 2026 00:25

This branch has not been deployed

No deployments
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