13 lines
636 B
TypeScript
13 lines
636 B
TypeScript
import type { MediaParserVideoTrack } from '@remotion/media-parser';
|
|
import type { ConvertMediaOnVideoFrame } from './convert-media';
|
|
import type { ConvertMediaVideoCodec } from './get-available-video-codecs';
|
|
import type { ResizeOperation } from './resizing/mode';
|
|
export declare const processFrame: ({ frame: unrotatedFrame, onVideoFrame, track, outputCodec, rotation, resizeOperation, }: {
|
|
frame: VideoFrame;
|
|
onVideoFrame: ConvertMediaOnVideoFrame | null;
|
|
track: MediaParserVideoTrack;
|
|
outputCodec: ConvertMediaVideoCodec;
|
|
rotation: number;
|
|
resizeOperation: ResizeOperation | null;
|
|
}) => Promise<VideoFrame>;
|