<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureFileOutputDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCaptureFileOutputDelegate"
  },
  "title" : "AVCaptureFileOutputDelegate"
}
-->

# AVCaptureFileOutputDelegate

Methods for monitoring or controlling the output of a media file capture.

```
protocol AVCaptureFileOutputDelegate : NSObjectProtocol
```

## Overview

The `AVCaptureFileOutputDelegate` protocol defines an interface for delegates of an [`AVCaptureFileOutput`](/documentation/AVFoundation/AVCaptureFileOutput) object to monitor and control recordings along exact sample boundaries.

## Topics

### Sample processing

[`fileOutputShouldProvideSampleAccurateRecordingStart(_:)`](/documentation/AVFoundation/AVCaptureFileOutputDelegate/fileOutputShouldProvideSampleAccurateRecordingStart(_:))

Allows a client to opt in to frame accurate recording in [`fileOutput(_:didOutputSampleBuffer:from:)`](/documentation/AVFoundation/AVCaptureFileOutputDelegate/fileOutput(_:didOutputSampleBuffer:from:)).

[`fileOutput(_:didOutputSampleBuffer:from:)`](/documentation/AVFoundation/AVCaptureFileOutputDelegate/fileOutput(_:didOutputSampleBuffer:from:))

Gives the delegate the opportunity to inspect samples as they are received by the output and start and stop recording at exact times.



---

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)