Actions8
Overview
This node interacts with the ClipMagic API to perform various video and audio processing operations such as converting media formats, trimming media, compressing videos, burning captions, removing silence, stitching videos, generating AI clips with karaoke subtitles, and creating split-screen videos. It is useful for automating media processing workflows, for example, converting a video to MP3, trimming a video segment, or generating subtitles automatically.
Use Case Examples
- Convert a video from MP4 to MP3 format.
- Trim a segment from an audio file based on start and end times.
- Compress a video to reduce file size while maintaining quality.
- Burn subtitles into a video file with custom font and color settings.
Properties
| Name | Meaning |
|---|---|
| Options | Extra settings for the request, such as timeout duration in milliseconds. |
| Media URL | Direct file URL or Google Drive share link of the media to process. |
| Output Format | Target container format for the output media, e.g., MP3, WAV, AAC, MP4, MOV. |
| Resolution | Scale video to a specific height (ignored for audio). Options include Original, 360p, 480p, 720p, 1080p. |
| Bitrate (kbps) | Target video bitrate in kbps (max 3000, 0 for automatic). |
Output
Binary
Binary output contains the processed media file data, including filename and content type.
JSON
success- Indicates if the operation was successful.operation- The media processing operation performed.filename- Name of the output file if binary data is returned.contentType- MIME type of the output media file.
Dependencies
- Requires an API key credential for ClipMagic API authentication.
Troubleshooting
- Common issues include invalid media URLs, unsupported formats, or API request timeouts. Verify the media URL is accessible and the output format is supported.
- Timeout errors can be resolved by increasing the timeout option or setting it to 0 for no limit.
- If the node throws an 'Unknown operation' error, ensure the operation parameter is set to a valid value such as 'convert'.
- Errors related to binary data handling may occur if the response content-type is unexpected; check the API response and node configuration.
Links
- ClipMagic API Documentation - Official documentation for the ClipMagic API used by this node.