Interface AVVideoCompositionInstruction

  • All Known Implementing Classes:
    AVMutableVideoCompositionInstruction, AVVideoCompositionInstruction

    public interface AVVideoCompositionInstruction
    [@protocol] AVVideoCompositionInstruction The AVVideoCompositionInstruction protocol is implemented by objects to represent operations to be performed by a compositor. API-Since: 7.0
    • Method Detail

      • containsTweening

        boolean containsTweening()
        If YES, rendering a frame from the same source buffers and the same composition instruction at 2 different compositionTime may yield different output frames. If NO, 2 such compositions would yield the same frame. The media pipeline may be able to avoid some duplicate processing when containsTweening is NO
      • enablePostProcessing

        boolean enablePostProcessing()
        If NO, indicates that post-processing should be skipped for the duration of this instruction. See +[AVVideoCompositionCoreAnimationTool videoCompositionToolWithPostProcessingAsVideoLayer:inLayer:].
      • passthroughTrackID

        int passthroughTrackID()
        kCMPersistentTrackID_Invalid if not a passthrough instruction
      • requiredSourceTrackIDs

        @Nullable
        @Nullable NSArray<? extends NSValue> requiredSourceTrackIDs()
        List of video track IDs required to compose frames for this instruction. If the value of this property is nil, all source tracks will be considered required for composition
      • timeRange

        CMTimeRange timeRange()
        Indicates the timeRange during which the instruction is effective. Note requirements for the timeRanges of instructions described in connection with AVVideoComposition's instructions key above.
      • requiredSourceSampleDataTrackIDs

        @NotNull
        default @NotNull NSArray<? extends NSNumber> requiredSourceSampleDataTrackIDs()
        List of sample data track IDs required to compose frames for this instruction. An empty array indicates that no sample data is required for this instruction. API-Since: 15.0