AssetClip

public struct AssetClip : XMLRepresentable, Offsettable

A clip referencing a single media asset.

  • A note about the asset clip.

    Declaration

    Swift

    public var note: String?
  • The conform rate of the asset clip.

    Declaration

    Swift

    public var conformRate: ConformRate?
  • The time map of the asset clip.

    Declaration

    Swift

    public var timeMap: TimeMap?
  • The crop adjustment applied to the asset clip.

    Declaration

    Swift

    public var crop: Crop?
  • The corners adjustment applied to the asset clip.

    Declaration

    Swift

    public var corners: Corners?
  • The conform adjustment applied to the asset clip.

    Declaration

    Swift

    public var conform: Conform?
  • The transform adjustment applied to the asset clip.

    Declaration

    Swift

    public var transform: Transform?
  • The blend adjustment applied to the asset clip.

    Declaration

    Swift

    public var blend: Blend?
  • The stabilization adjustment applied to the asset clip.

    Declaration

    Swift

    public var stabilization: Stabilization?
  • The rolling shutter adjustment applied to the asset clip.

    Declaration

    Swift

    public var rollingShutter: RollingShutter?
  • The 360 transform adjustment applied to the asset clip.

    Declaration

    Swift

    public var transform360: Transform360?
  • The reorient adjustment applied to the asset clip.

    Declaration

    Swift

    public var reorient: Reorient?
  • The orientation adjustment applied to the asset clip.

    Declaration

    Swift

    public var orientation: Orientation?
  • The volume adjustment applied to the asset clip.

    Declaration

    Swift

    public var volume: Volume?
  • The panner adjustment applied to the asset clip.

    Declaration

    Swift

    public var panner: Panner?
  • The audios anchored to the asset clip.

    Declaration

    Swift

    public var audios: [Audio]
  • The videos anchored to the asset clip.

    Declaration

    Swift

    public var videos: [Video]
  • The clips anchored to the asset clip.

    Declaration

    Swift

    public var clips: [Clip]
  • The titles anchored to the asset clip.

    Declaration

    Swift

    public var titles: [Title]
  • The captions anchored to the asset clip.

    Declaration

    Swift

    public var captions: [Caption]
  • The multicam clips anchored to the asset clip.

    Declaration

    Swift

    public var multicamClips: [MulticamClip]
  • The reference clips anchored to the asset clip.

    Declaration

    Swift

    public var referenceClips: [ReferenceClip]
  • The sync clips anchored to the asset clip.

    Declaration

    Swift

    public var syncClips: [SyncClip]
  • The asset clips anchored to the asset clip.

    Declaration

    Swift

    public var assetClips: [AssetClip]
  • The auditions anchored to the asset clip.

    Declaration

    Swift

    public var auditions: [Audition]
  • The spines anchored to the asset clip.

    Declaration

    Swift

    public var spines: [Spine]
  • The markers attached to the asset clip.

    Declaration

    Swift

    public var markers: [Marker]
  • The chapter markers attached to the asset clip.

    Declaration

    Swift

    public var chapterMarkers: [ChapterMarker]
  • The ratings associated with the asset clip.

    Declaration

    Swift

    public var ratings: [Rating]
  • The keywords associated with the asset clip.

    Declaration

    Swift

    public var keywords: [Keyword]
  • The analysis markers attached to the asset clip.

    Declaration

    Swift

    public var analysisMarkers: [AnalysisMarker]
  • The audio channel sources of the asset clip.

    Declaration

    Swift

    public var audioChannelSources: [AudioChannelSource]
  • The video filters applied to the asset clip.

    Declaration

    Swift

    public var videoFilters: [VideoFilter]
  • The video filter masks applied to the asset clip.

    Declaration

    Swift

    public var videoFilterMasks: [VideoFilterMask]
  • The audio filters applied to the asset clip.

    Declaration

    Swift

    public var audioFilters: [AudioFilter]
  • The metadata associated with the asset clip.

    Declaration

    Swift

    public var metadata: [Metadatum]? { get set }
  • The identifier of the asset referenced by this asset clip.

    Declaration

    Swift

    public var referenceID: String
  • The lane of the asset clip.

    Declaration

    Swift

    public var lane: Int?
  • The offset of the asset clip.

    Declaration

    Swift

    public var offset: CMTime?
  • The name of the asset clip.

    Declaration

    Swift

    public var name: String?
  • The start time of the asset clip.

    Declaration

    Swift

    public var start: CMTime?
  • The duration of the asset clip. The default value if nil is the duration of the referenced asset.

    Declaration

    Swift

    public var duration: CMTime?
  • A Boolean value that indicates whether the asset clip is enabled.

    Declaration

    Swift

    public var isEnabled: Bool { get set }
  • Specifies which sources are enabled for the asset clip.

    Declaration

    Swift

    public var enabledSource: EnabledSource { get set }
  • The audio start of the asset clip.

    Declaration

    Swift

    public var audioStart: CMTime?
  • The audio duration of the asset clip.

    Declaration

    Swift

    public var audioDuration: CMTime?
  • The identifier of the format referenced by this asset clip. The default value is the format identifier referenced by the asset clip’s parent.

    Declaration

    Swift

    public var formatID: String?
  • The timecode origin of the asset clip.

    Declaration

    Swift

    public var timecodeStart: CMTime?
  • The timecode format of the asset clip.

    Declaration

    Swift

    public var timecodeFormat: TimecodeFormat?
  • The date modified of the asset clip.

    Declaration

    Swift

    public var dateModified: Date?
  • The main audio role of the asset clip. Subroles are generated using the main role name followed by a numerical suffix (e.g. dialogue.dialogue-1)

    Declaration

    Swift

    public var audioRole: String?
  • The main video role of the asset clip. Subroles are generated using the main role name followed by a numerical suffix (e.g. video.video-1)

    Declaration

    Swift

    public var videoRole: String?
  • Initializes a new asset clip.

    Declaration

    Swift

    public init(referenceID: String, offset: CMTime = .zero, name: String? = nil, start: CMTime? = nil, duration: CMTime? = nil,
                audioRole: String? = nil, timecodeFormat: TimecodeFormat? = nil)

    Parameters

    referenceID

    The identifier of the asset referenced by this asset clip.

    offset

    The offset of the asset clip.

    name

    The name of the asset clip.

    start

    The start time of the asset clip.

    duration

    The duration of the asset clip.

    audioRole

    The audio role of the asset clip.

    timecodeFormat

    The timecode format of the asset clip.