Add video fade
video_fadeAdd fade from black at the start and fade to black at the end of a video, creating a new output file. The original video remains unchanged.
Instructions
Render fade-in and/or fade-out effects onto an existing video without modifying the source file. Use fade_in for a fade from black at the start and fade_out for a fade to black at the end; output_path is created or overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Absolute path to an existing local video file. The input file is read only. | |
| fade_in | No | Non-negative fade-in duration in seconds from black at the start. | |
| fade_out | No | Non-negative fade-out duration in seconds to black at the end. | |
| output_path | No | Destination video path. Auto-generated when omitted; an existing supplied path may be overwritten. | |
| crf | No | Optional FFmpeg CRF override from 0 to 51, where lower means higher quality. | |
| preset | No | Optional FFmpeg encoding preset: ultrafast, fast, medium, slow, or veryslow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||