video_hls_segment
Segment a video into HLS format for adaptive streaming. Configure segment duration, quality levels, and output directory.
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 |
|---|---|---|---|
| qualities | No | ||
| input_path | Yes | ||
| output_dir | No | ||
| playlist_name | No | playlist.m3u8 | |
| segment_duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||