ffmpeg-toolkit
Version:
A modern FFmpeg toolkit for Node.js
21 lines • 901 B
TypeScript
import { BaseCore } from '../core/BaseCore.js';
import { BaseResponse, ConcatVideosOptions, ConcatVideosWithTransitionOptions, ConvertVideoToPlatformOptions, CropVideoOptions } from '../types/index.js';
export declare class VideoModule {
private readonly base;
constructor(base: BaseCore);
private calculateCropFilters;
cropVideo(options: CropVideoOptions): Promise<BaseResponse<{
pathOutput: string;
}>>;
convertVideoToPlatform(options: ConvertVideoToPlatformOptions): Promise<BaseResponse<{
pathOutput: string;
}>>;
concatVideos(options: ConcatVideosOptions): Promise<BaseResponse<{
pathOutput: string;
}>>;
getVideoDuration(inputPath: string): Promise<number>;
concatVideosWithTransition(options: ConcatVideosWithTransitionOptions): Promise<BaseResponse<{
pathOutput: string;
}>>;
}
//# sourceMappingURL=video.d.ts.map