This package contains an n8n node that allows you to work with FFmpeg for video and audio file processing.
Important: Make sure FFmpeg is installed on your system.
The node supports the following operations:
- Combines multiple video files into one
- Configurable minimum number of files to merge
- Support for custom FFmpeg arguments
- Overlays an audio track onto a video file
- Configurable encoding parameters
- Get technical information about video/audio files
- Detailed information about streams, codecs, and metadata
- Execute arbitrary FFmpeg commands
- Full control over processing parameters
- Operation: Choose operation (merge/overlay/info/custom)
- Output File Name: Name of the output file
- Output Binary Property: Name of the binary property for the output file
- Minimum Files to Merge: Minimum number of files required before merging
- FFmpeg Merge Arguments: Command line arguments for merging
- FFmpeg Overlay Arguments: Command template for audio overlay
- Custom FFmpeg Command: Arbitrary FFmpeg command
{ "operation": "merge", "minFiles": 2, "outputFileName": "merged_video.mp4", "outputBinary": "mergedVideo", "ffmpegMergeArgs": "-f concat -safe 0 -i "{input}" -c:v libx264 -c:a aac "{output}"" }
{ "operation": "overlay", "outputFileName": "video_with_audio.mp4", "outputBinary": "videoWithAudio", "ffmpegOverlayArgs": "-i "{video}" -i "{audio}" -c:v copy -c:a aac "{output}"" }