Interface AVVideoCompositionInstruction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      boolean enablePostProcessing()
      If NO, indicates that post-processing should be skipped for the duration of this instruction.
      int passthroughTrackID()
      kCMPersistentTrackID_Invalid if not a passthrough instruction
      NSArray<? extends NSValue> requiredSourceTrackIDs()
      List of video track IDs required to compose frames for this instruction.
      CMTimeRange timeRange()
      Indicates the timeRange during which the instruction is effective.
    • 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 me 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

        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.