<!--
{
  "availability" : [
    "ProVideo Encoder Extensions: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/CompressorExtensionEncoder/splitPoints(forFrameStart:duration:serviceCount:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)CompressorExtensionEncoder(im)splitPointsForFrameStart:duration:serviceCount:"
  },
  "title" : "splitPoints(forFrameStart:duration:serviceCount:)"
}
-->

# splitPoints(forFrameStart:duration:serviceCount:)

Determines the source media segments based on the number of available encoder services.

```
func splitPoints(forFrameStart start: Int64, duration numFrames: Int64, serviceCount: Int32) -> [Any]!
```

## Parameters

`start`

The frame at which to start segmenting.

`numFrames`

The number of frames in the source media.

`serviceCount`

The number of encoder services available to process the source media.

## Return Value

An array of frame numbers indicating the start of each segment.

## Discussion

In a distributed process environment, the Compressor app assigns source media segments to the available encoder instances to process them concurrently. If your extension supports segmenting, the Compressor app calls this method to determine segments of the source media. Segmenting the source media is beneficial for distributed encoding, and for local encoding if you enable additional Compressor app instances.

> Note:
> When determining source media segments, specify multiple segments for video data and a single segment for complete audio data.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)