Overview
This node integrates with AutoSubtitle.net to generate subtitles for videos. It supports creating subtitle jobs by either providing a video URL or uploading binary video data. Users can customize subtitle appearance including font, size, color, position, and animation. This node is useful for automating subtitle creation in video processing workflows, enhancing accessibility and viewer engagement.
Use Case Examples
- Automatically generate subtitles for a video hosted online by providing its URL.
- Upload a video file in binary form to create subtitles with customized font and colors.
- Create subtitles with specific language detection and styling options for social media videos.
Properties
| Name | Meaning |
|---|---|
| Video Source | Selects the source of the video to process, either a URL or binary data. |
| Video URL | The URL of the video to process, required if Video Source is URL. |
| Input Binary Field | The name of the input binary field containing the video file, required if Video Source is binary. |
| Language | The language of the video for subtitle generation, with an option for auto-detection. |
| Font Name | Google Font name to use for subtitles (e.g., Montserrat, Roboto, Open Sans). |
| Font Size | Font size for subtitles, ranging from 20 to 200. |
| Font Weight | Font weight for subtitles. |
| Font Color | Color of the subtitle font. |
| Highlight Color | Color used to highlight active words in subtitles. |
| Stroke Width | Width of the font stroke, from 0 to 10. |
| Stroke Color | Color of the font stroke. |
| Background Color | Background color behind subtitles or 'none' for transparent. |
| Background Opacity | Opacity of the background color, from 0 to 1, applicable only if background color is not 'none'. |
| Position | Position of subtitles on the video (top, middle, bottom). |
| Vertical Offset | Vertical offset in pixels to adjust subtitle position (positive moves down, negative moves up). |
| Words Per Subtitle | Number of words per subtitle segment, from 1 to 10. |
| Enable Animation | Whether to enable animation for subtitles. |
Output
JSON
json- Response object from AutoSubtitle.net API containing subtitle job details and results.
Dependencies
- AutoSubtitle.net API key credential
Troubleshooting
- Ensure the API key credential for AutoSubtitle.net is correctly configured and valid.
- If using binary video input, verify the binary field name matches the input data and the video format is supported.
- For video URL input, confirm the URL is accessible and points to a valid video file.
- Common errors include authentication failures (invalid API key), network issues, or invalid input parameters. Check error messages returned in the node output for guidance.
Links
- AutoSubtitle.net API Documentation - Official API documentation for subtitle generation service used by this node.