UNPKG

n8n-nodes-mediafx

Version:

N8N custom nodes for video editing and media processing

18 lines (17 loc) 954 B
import { IExecuteFunctions } from 'n8n-workflow'; export interface SeparateAudioResult { videoPath: string; audioPath: string; } /** * Separates audio from video, returning both a muted video and the extracted audio track. * * @param input - Path to the input video file * @param videoFormat - Output format for the muted video (e.g., 'mp4', 'mov') * @param audioFormat - Output format for the extracted audio (e.g., 'mp3', 'aac', 'wav') * @param audioCodec - Audio codec to use (e.g., 'copy', 'libmp3lame', 'aac') * @param audioBitrate - Audio bitrate (e.g., '192k', '320k') * @param itemIndex - Current item index for error handling * @returns Object containing paths to both the muted video and extracted audio */ export declare function executeSeparateAudio(this: IExecuteFunctions, input: string, videoFormat: string, audioFormat: string, audioCodec: string, audioBitrate: string, itemIndex: number): Promise<SeparateAudioResult>;