add_basic_transitions
Apply fade-in or fade-out transitions to videos with specified duration. Input a video file, define transition type and duration, and save the output. Enhances video editing with customizable transitions.
Instructions
Adds basic fade transitions to the beginning or end of a video.
Args: video_path: Path to the input video file. output_video_path: Path to save the video with the transition. transition_type: Type of transition. Options: 'fade_in', 'fade_out'. (Note: 'crossfade_from_black' is like 'fade_in', 'crossfade_to_black' is like 'fade_out') duration_seconds: Duration of the fade effect in seconds. Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration_seconds | Yes | ||
output_video_path | Yes | ||
transition_type | Yes | ||
video_path | Yes |