Actions7
Overview
This node integrates with the ClipMagic API to perform various video and audio processing tasks. Specifically, the "Stitch Videos" operation allows users to combine multiple video files sequentially into a single output video file. This is useful when you have several clips that need to be merged into one continuous video without manual editing.
Common scenarios include:
- Combining recorded segments of an event or presentation into one video.
- Merging multiple short clips from different sources into a single video for easier sharing or uploading.
- Creating highlight reels by stitching together selected video parts.
For example, if you have three separate video URLs representing parts of a tutorial, you can provide them as input, and the node will stitch them in order into one MP4 or MOV file.
Properties
| Name | Meaning |
|---|---|
| Options | Extra settings for the request. Contains: - Timeout (ms): How long to wait before aborting the HTTP call. Set to 0 for no limit. |
| Video URLs | JSON array or comma-separated list of video URLs to stitch in order. |
| Output Format | Output container/codec format. Options: MP4, MOV. |
| Output Filename | Desired filename for the output video (without extension). Optional. |
Output
The node outputs a JSON object and may also output binary data representing the resulting stitched video file.
json: Contains fields such as:
success: Boolean indicating if the operation succeeded.operation: The operation performed, here always"stitch".filename: The name of the output file (including extension).contentType: The MIME type of the output video (e.g.,video/mp4).
binary.data: Contains the binary content of the stitched video file, ready for further use in workflows (e.g., saving to disk, uploading).
Dependencies
- Requires an API key credential for authenticating with the ClipMagic API.
- Needs network access to the ClipMagic service endpoint.
- The user must supply valid video URLs accessible by the ClipMagic API.
Troubleshooting
- Invalid video URLs: If the provided URLs are inaccessible or invalid, the API call will fail. Ensure URLs are publicly accessible or properly shared.
- Timeouts: Large videos or slow network conditions might cause timeouts. Adjust the "Timeout (ms)" option accordingly or set it to 0 for no timeout.
- Unsupported formats: Only MP4 and MOV output formats are supported for stitching. Selecting other formats will cause errors.
- Malformed URLs input: The "Video URLs" property accepts either a JSON array string or a comma-separated list. Invalid JSON or incorrect formatting will cause parsing errors.
- API errors: Any error returned by the ClipMagic API will be surfaced. Check the error message for details and verify credentials and parameters.
Links and References
- ClipMagic API Documentation (general reference for API capabilities)
- FFmpeg Concatenation Guide (underlying technology often used for stitching videos)
This summary covers the "Stitch Videos" operation of the ClipMagic node based on static code analysis and provided property definitions.