AutoMovie API
    Preparing search index...

    Interface IAutoMoviePlaybackSample

    What plays at one output instant: the live entry's shot at its local time, plus, inside the live entry's incoming transition, the outgoing entry's tail and the incoming weight ramping from 0 to 1 across the transition.

    resolveFromTimeline and playbackCursor build it with the same arithmetic, so random access and a forward sweep return identical samples for the same instant; resolveSequencePlayback and playbackFrameSamples return it, and the render and caption plans turn it into frames and cues.

    interface IAutoMoviePlaybackSample {
        blend: { alpha: number; shot: string; time: number } | null;
        shot: string;
        time: number;
    }
    Index
    blend: { alpha: number; shot: string; time: number } | null

    The outgoing tail being dissolved from, or null outside a transition.

    Type Declaration

    • { alpha: number; shot: string; time: number }
      • alpha: number

        Weight of the incoming live shot in [0, 1): 0 at the transition's first instant, rising linearly with output time; at the transition's end the sample has no blend.

      • shot: string

        Id of the outgoing shot, the previous sequence entry's shot.

      • time: number

        Shot-local seconds into the outgoing shot.

    • null
    shot: string

    Id of the live (incoming) shot.

    time: number

    Shot-local seconds into the live shot.