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

# MEFormatReaderExtension

A protocol that defines a factory to create a new format reader with a byte source.

```
protocol MEFormatReaderExtension : NSObjectProtocol
```

## Overview

Media Toolbox creates the `MEFormatReaderExtension` object and the [`MEByteSource`](/documentation/MediaExtension/MEByteSource) object based on the media asset.

## Topics

### Creating a format reader

[`-  init`](/documentation/MediaExtension/MEFormatReaderExtension/init())

Creates a new format reader factory.

[`-  formatReaderWithByteSource:options:error:`](/documentation/MediaExtension/MEFormatReaderExtension/formatReader(with:options:))

Creates a new format reader with the byte source and options that you specify.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)