The abstract class that defines the common interface for moving samples from an asset to a player.


class AVPlayerItemOutput : NSObject


This class provides basic methods for converting time values to the timebase of the item. It also provides an option to suppress rendering of the output associated with the specific instance of this class.


Converting Time Information

func itemTime(forHostTime: CFTimeInterval) -> CMTime

Converts a host time, specified in seconds, to the item’s timebase.

func itemTime(forMachAbsoluteTime: Int64) -> CMTime

Converts a Mach host time to the item’s timebase.

func itemTime(for: CVTimeStamp) -> CMTime

Converts a Core Video timestamp to the item’s timebase.

Configuring the Playback Options

var suppressesPlayerRendering: Bool

A Boolean value that indicates whether the player object renders the receiver’s output.


Inherits From

Conforms To

See Also

Media Item Transfer

protocol AVPlayerItemOutputPushDelegate

Methods you can implement to respond to changes in the media data sequence.

class AVPlayerItemLegibleOutput

An object that can vend media with a legible characteristic as an attributed string.

class AVPlayerItemMetadataOutput

An object used to vend collections of metadata items carried in metadata tracks.

class AVPlayerItemVideoOutput

An object that coordinates the output of content associated with a Core Video pixel buffer.

class AVPlayerItemMediaDataCollector

The abstract base for media data collectors.