UNPKG

uyem

Version:
57 lines 1.63 kB
declare type LoadingCallback = (procent: number) => void; declare class FFmpeg { private dirPath; private time; private chunks; private episodes; private roomId; private readonly border; private readonly videoWidth; private readonly videoHeight; private readonly mapLength; private readonly delimiter; private readonly forceOption; private readonly inputOption; private readonly filterComplexOption; private readonly mapOption; private readonly eol; private readonly backgroundInput; private backgroundImagePath; private readonly vstack; private readonly hstack; private readonly amerge; private readonly overlay; private readonly pad; private readonly concat; private readonly trim; private readonly atrim; private readonly scale; private readonly color; constructor({ dirPath, dir, roomId, backgroundImagePath, }: { dirPath: string; dir: string[]; roomId: string; backgroundImagePath: string | null; }); private getFilterComplexArgument; createVideo({ loading }: { loading: LoadingCallback; }): Promise<{ errorCode: number; name: string; time: number; }>; private getVideoName; private getVideosDirPath; private createInputArguments; private createMapArg; private getArg; private joinFilterComplexArgs; private createFilterComplexArguments; private getUniqueMaps; private getMap; private parseTime; private runFFmpegCommand; } export default FFmpeg; //# sourceMappingURL=ffmpeg.d.ts.map