Contents

VTFrameProcessor

A class that creates a new frame processor for the configured video effect.

Declaration

class VTFrameProcessor

Overview

Use this class to perform frame by frame processing on your video. Start by specifying a video effect by passing a VTFrameProcessorConfiguration object to the startSession(configuration:) call. Once the session is created, process(parameters:completionHandler:) is called in a loop to process your video’s frames one at a time. Once all the frames are processed, call an endSession() to finish all pending processing.

For successful processing, the caller needs to ensure that all buffers passed to the processWithParameters interface are unmodified (including attachments) until the function returns or the callback is received in the case of asynchronous mode.

Topics

Creating a frame processor

Processing frames

See Also

Frame processor