merge_m3u8_to_mp4
Combine M3U8 playlists into a single MP4 file using FFmpeg. Specify URL, output path, and optional HTTP headers.
Instructions
合并M3U8流为MP4文件
Args:
m3u8_url: M3U8播放列表URL
output_path: 输出MP4文件路径
headers: 可选的HTTP头部信息(格式:key1:value1,key2:value2)
Returns:
合并结果信息
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"m3u8_url": "<m3u8_url>",
"output_path": "<output_path>"
},
"name": "merge_m3u8_to_mp4"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| m3u8_url | Yes | ||
| output_path | Yes | ||
| headers | No |