Actions15
- Video Actions
- Audio Actions
- Subtitle & Text Actions
- Transition Effects Actions
- Image Actions
- Font Management Actions
Overview
This node applies a fade transition effect to a video source using FFmpeg. It supports fading the video in or out, starting at a specified time and lasting for a defined duration. This is useful for creating smooth visual transitions in video editing workflows, such as gradually revealing or hiding a clip.
Practical examples:
- Fade in a promotional video from black at the start.
- Fade out an interview clip before transitioning to another scene.
- Apply fade effects to highlight or soften video segments dynamically.
Properties
| Name | Meaning |
|---|---|
| Output Format | The format of the output video file. Options: MP4, MOV, AVI, MKV |
| Video Source | The input video to apply the fade effect on. Can be provided as a URL or binary data. |
| Fade Effect | Type of fade effect to apply. Options: Fade In (gradually appear), Fade Out (gradually disappear) |
| Fade Start Time (seconds) | The time in seconds when the fade effect should begin |
| Fade Duration (seconds) | How long the fade effect lasts in seconds |
Output
The node outputs a binary video file with the fade effect applied. The json output field is empty ({}), while the processed video is available in the binary property named data. This binary data contains the resulting video file encoded in the selected output format.
Dependencies
- Requires FFmpeg installed and accessible in the environment where n8n runs.
- No external API keys or services are needed.
- Uses internal helper functions to handle temporary files and video processing.
Troubleshooting
Common issues:
- Input video not found or inaccessible (invalid URL or missing binary data).
- Unsupported video format or corrupted input file.
- FFmpeg not installed or not in system PATH.
- Fade start time or duration exceeding video length.
Error messages:
"No binary data found in property '...'":Check that the binary property name matches the input data."Font file not found at path: ..."(not relevant here but appears in code): Ensure correct file paths if fonts are used elsewhere."Operation "fade" on resource "transition" did not produce an output.": Indicates processing failure; verify input parameters and video validity.
Resolutions:
- Verify input video source and format.
- Confirm FFmpeg installation.
- Adjust fade timing parameters within video duration.
- Use continue-on-fail option to handle errors gracefully in workflows.
