Clipmagic Api icon

Clipmagic Api

Interact with ClipMagic API for video and audio processing

Overview

This node interacts with the ClipMagic API to perform various video and audio processing operations. Specifically, the 'Split Screen' operation creates a split-screen video from two media sources, allowing users to combine two videos side-by-side or stacked vertically. This is useful for creating comparison videos, reaction videos, or any content requiring simultaneous display of two media streams.

Use Case Examples

  1. Combining two video URLs into a single split-screen video with horizontal orientation.
  2. Adjusting the volume levels of each media source independently in the split-screen output.
  3. Cropping specific parts of each media source before combining them into the split-screen video.

Properties

Name Meaning
Options Extra settings for the request, including timeout duration for the HTTP call.
Media URL A First media source URL, required for the split-screen operation.
Media URL B Second media source URL, required for the split-screen operation.
Orientation Split-screen orientation, either horizontal (side-by-side) or vertical (stacked).
Volume A Volume level for media A, ranging from 0 to 2, where 1 is the original volume.
Volume B Volume level for media B, ranging from 0 to 2, where 1 is the original volume.
Crop Part A Crop setting for media A, with options to crop none, first part, second part, or center.
Crop Part B Crop setting for media B, with options similar to media A.
Output Filename Custom filename for the output video (optional).

Output

Binary

The node outputs the resulting split-screen video as binary data, including the video content and metadata such as filename and content type.

JSON

  • success - Indicates whether the operation was successful.
  • operation - The operation performed, e.g., 'splitScreen'.
  • filename - The filename of the output video.
  • contentType - The MIME type of the output video file.

Dependencies

  • Requires an API key credential for authenticating with the ClipMagic API.

Troubleshooting

  • Ensure that the media URLs provided are accessible and valid to avoid request failures.
  • If the operation fails, check the timeout setting and increase it if the processing takes longer than expected.
  • Verify that the output filename does not contain invalid characters to prevent file saving errors.
  • Common error messages include network timeouts, invalid URL formats, and authentication errors. Resolving these involves checking network connectivity, URL correctness, and API key validity.

Links

Discussion