---
title: AVCaptureFileOutputDelegate
framework: avfoundation
role: symbol
role_heading: Protocol
path: avfoundation/avcapturefileoutputdelegate
---

# AVCaptureFileOutputDelegate

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

## Declaration

```swift
protocol AVCaptureFileOutputDelegate : NSObjectProtocol
```

## Overview

Overview The AVCaptureFileOutputDelegate protocol defines an interface for delegates of an AVCaptureFileOutput object to monitor and control recordings along exact sample boundaries.

## Topics

### Sample processing

- [fileOutputShouldProvideSampleAccurateRecordingStart(_:)](avfoundation/avcapturefileoutputdelegate/fileoutputshouldprovidesampleaccuraterecordingstart(_:).md)
- [fileOutput(_:didOutputSampleBuffer:from:)](avfoundation/avcapturefileoutputdelegate/fileoutput(_:didoutputsamplebuffer:from:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### File capture

- [Recording movies in alternative formats](avfoundation/recording-movies-in-alternative-formats.md)
- [AVCaptureMovieFileOutput](avfoundation/avcapturemoviefileoutput.md)
- [AVCaptureAudioFileOutput](avfoundation/avcaptureaudiofileoutput.md)
- [AVCaptureFileOutput](avfoundation/avcapturefileoutput.md)
- [AVCaptureFileOutputRecordingDelegate](avfoundation/avcapturefileoutputrecordingdelegate.md)
