@diffusionstudio/core-v4
Version:
A fast, browser based video compositing engine powered by WebCodecs
17 lines (16 loc) • 944 B
TypeScript
export declare const AUDIO_LOOK_AHEAD = 0.2;
export declare const FPS_INACTIVE = 1;
export declare let timeBase: number;
export declare let canonicalTimeBase: number;
export declare const env: {
/**
* This is basically the frame rate your timeline uses to count time. If your sequence is set to 24 fps, the time base is 24. If it is 29.97 fps, the time base is 29.97. It is how the system decides what one frame of time means and how it increments timecode.
* @default 30
*/
experimental_timeBase: number;
/**
* This is an internal clock used by the library to represent time with very high precision, separate from the user facing timeline frame rate. It is usually a fixed high resolution tick rate. For example, some systems use 1 over 30000 seconds as the smallest timing unit, or a large integer tick rate like 48000 or 90000 Hz.
* @default 48000
*/
experimental_canonicalTimeBase: number;
};