<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTFrameSiloCreate(allocator:fileURL:timeRange:options:frameSiloOut:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@F@VTFrameSiloCreate"
  },
  "title" : "VTFrameSiloCreate(allocator:fileURL:timeRange:options:frameSiloOut:)"
}
-->

# VTFrameSiloCreate(allocator:fileURL:timeRange:options:frameSiloOut:)

Creates a frame silo object using a temporary file.

```
func VTFrameSiloCreate(allocator: CFAllocator?, fileURL: CFURL?, timeRange: CMTimeRange, options: CFDictionary?, frameSiloOut: UnsafeMutablePointer<VTFrameSilo?>) -> OSStatus
```

## Parameters

`allocator`

An allocator for the frame silo.  Pass `NULL` to use the default allocator.

`fileURL`

The URL of the backing file for the `VTFrameSilo` object. If you pass `NULL` for `fileURL`, VideoToolbox will pick a unique temporary file name.

`timeRange`

The valid time range for the frame silo. Must be valid for progress reporting.

`options`

Reserved, pass `NULL`.

`frameSiloOut`

Points to a [`VTFrameSilo`](/documentation/VideoToolbox/VTFrameSilo) to receive the newly created object. Call `CFRelease` to release your retain on the created VTFrameSilo object when you are done with it.

## Discussion

You can use the returned frame silo object to gather frames produced by multipass encoding.

Call <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> to release the frame silo object when you are done with it.

---

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)