Initializes a new timed metadata group adaptor to receive timed metadata groups to write to an output file.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
AVAssetinstance to append groups of timed metadata. Only asset writer inputs that accept media data of type
metadatacan be used to initialize a timed metadata group adaptor.
The instance of
AVAsset passed to this method must have been created with a format hint indicating all possible combinations of
identifier (or, alternatively,
extended that will be appended to the metadata adaptor. It is an error to append metadata items not represented in the input's format hint.
It is an error to initialize an instance of
AVAsset with an asset writer input that is already attached to another instance of
AVAsset. It is also an error to initialize an instance of
AVAsset with an asset writer input whose asset writer has progressed beyond