Ffmpeg icon

Ffmpeg

Merge multiple video files using FFmpeg.

Overview

This node merges multiple video files into a single video file using FFmpeg. It is useful in scenarios where you need to combine several video clips into one continuous video, such as creating a highlight reel, compiling footage from different sources, or preparing a video for presentation. The node supports specifying a minimum number of files required for merging, customizing the output file name, and defining FFmpeg command arguments for the merge process.

Use Case Examples

  1. Merging multiple recorded video segments into one file for easier sharing.
  2. Combining clips from different cameras into a single video for editing.
  3. Creating a single video file from multiple short videos for social media posting.

Properties

Name Meaning
Minimum Files to Merge Minimum number of video files required before the merge operation can proceed.
Output File Name The name of the resulting merged video file.
Output Binary Property The name of the binary property where the merged video file will be stored.
FFmpeg Merge Arguments Custom FFmpeg command arguments used to merge the video files. Placeholders {input} and {output} represent the concat file and output file respectively.

Output

Binary

Contains the merged video file under the specified output binary property.

JSON

  • any - The output JSON contains metadata or information about the merged video file, depending on the FFmpeg operation results.

Dependencies

  • FFmpeg must be installed and accessible in the environment where the node runs.

Troubleshooting

  • Ensure the minimum number of files to merge is met; otherwise, the merge operation will not proceed.
  • Verify that the FFmpeg command arguments are correctly formatted and that placeholders {input} and {output} are used properly.
  • Check that the output file name is valid and does not conflict with existing files.
  • If the merge fails, inspect FFmpeg error messages for issues like unsupported codecs or file format problems.

Links

Discussion