video_hls_segment
Segment a video into HLS format with configurable segment duration and multiple quality levels for adaptive streaming.
Instructions
Segment a video into HLS (HTTP Live Streaming) format.
Args: input_path: Absolute path to the input video. output_dir: Directory to save segments. Auto-generated if omitted. segment_duration: Target segment duration in seconds (default 4). playlist_name: Name of the master playlist file. qualities: List of quality levels (e.g. ["low", "medium", "high"]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| output_dir | No | ||
| segment_duration | No | ||
| playlist_name | No | playlist.m3u8 | |
| qualities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||