Contents

MEFormatReader

A protocol that defines the requirements for a format reader, which represents a single media asset.

Declaration

protocol MEFormatReader : NSObjectProtocol

Overview

This protocol provides an interface for the Media Toolbox to interact with extension plug-in format readers, which provide information about media assets. MEFormatReader objects are always instantiated by the Media Toolbox.

To create an MEFormatReader object, Media Toolbox first creates a primary MEByteSource object from a source media asset. It then creates an MEFormatReaderExtension object and calls its formatReader(with:options:) method.

Once a user installs and runs the host app, embedded MediaExtension format reader extensions become available to any app on the user’s system that opts in to using them by calling MTRegisterProfessionalVideoWorkflowFormatReaders().

Topics

Reading and parsing media assets

Extension requirements

See Also

Format readers