UNPKG

ffmpeg-toolkit

Version:

A modern FFmpeg toolkit for Node.js

46 lines 1.99 kB
import { BaseResponse, BurnSubtitlesOptions, ConcatAudiosOptions, ConcatVideosOptions, ConcatVideosWithTransitionOptions, ConvertAudioOptions, ConvertImageOptions, ConvertVideoToPlatformOptions, CoreConfig, CropVideoOptions, ExtractThumbnailOptions, ImageToVideoOptions, MergeAudioToVideoOptions, ResizeImageOptions } from '../types/index.js'; import { BaseCore } from './BaseCore.js'; export declare class FFmpegToolkit extends BaseCore { private readonly subtitle; private readonly video; private readonly audio; private readonly image; constructor(config: CoreConfig); burnSubtitles(options: BurnSubtitlesOptions): Promise<BaseResponse<{ pathOutput: string; }>>; cropVideo(options: CropVideoOptions): Promise<BaseResponse<{ pathOutput: string; }>>; convertVideoToPlatform(options: ConvertVideoToPlatformOptions): Promise<BaseResponse<{ pathOutput: string; }>>; concatVideos(options: ConcatVideosOptions): Promise<BaseResponse<{ pathOutput: string; }>>; concatVideosWithTransition(options: ConcatVideosWithTransitionOptions): Promise<BaseResponse<{ pathOutput: string; }>>; concatAudios(options: ConcatAudiosOptions): Promise<BaseResponse<{ outputPath: string; }>>; mergeAudioToVideo(options: MergeAudioToVideoOptions): Promise<BaseResponse<{ outputPath: string; }>>; convertAudio(options: ConvertAudioOptions): Promise<BaseResponse<{ outputPath: string; }>>; convertImage(options: ConvertImageOptions): Promise<BaseResponse<{ outputPath: string; }>>; resizeImage(options: ResizeImageOptions): Promise<BaseResponse<{ outputPath: string; }>>; extractThumbnail(options: ExtractThumbnailOptions): Promise<BaseResponse<{ outputPath: string; }>>; imageToVideo(options: ImageToVideoOptions): Promise<BaseResponse<{ outputPath: string; }>>; } //# sourceMappingURL=Module.d.ts.map