Skip to content

Recording (macOS): capture and tag BT.709 colour #943

Description

@EtienneLescot

Part of #920 (rank 16). Effort S, risk low.

Problem

Proposal

  • Ask ScreenCaptureKit for sRGB (colorSpaceName) and set AVVideoColorPropertiesKey to BT.709 primaries, transfer and matrix on the writer.
  • If it holds up, capture kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange with a BT.709 colorMatrix, which also divides buffer memory by about 2.7.

Verify

  • On a Mac: ffprobe -show_streams | grep color_ reads tv / bt709 / bt709 / bt709; solid red read back as raw YUV gives Y≈63, Cb≈102, Cr≈240.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions