remotion
Version:
Make videos programmatically
20 lines (19 loc) • 725 B
TypeScript
import type { Codec } from './codec';
import type { ProResProfile } from './prores-profile';
import type { PixelFormat, VideoImageFormat } from './render-types';
export type VideoConfig = {
width: number;
height: number;
fps: number;
durationInFrames: number;
id: string;
defaultProps: Record<string, unknown>;
props: Record<string, unknown>;
defaultCodec: Codec | null;
defaultOutName: string | null;
defaultVideoImageFormat: VideoImageFormat | null;
defaultPixelFormat: PixelFormat | null;
defaultProResProfile: ProResProfile | null;
defaultSampleRate: number | null;
};
export type VideoConfigValues = Pick<VideoConfig, 'durationInFrames' | 'fps' | 'height' | 'width'>;