batch_screenshot
Extract screenshots from videos at fixed intervals, specifying start time, end time, output format, and resolution. Save multiple frames to a designated directory with customizable file naming.
Instructions
按固定时间间隔批量截取视频画面
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | 结束时间(秒),默认为视频结束 | |
| format | No | 输出格式,默认为 jpg | |
| height | No | 输出高度(像素) | |
| interval | Yes | 截图时间间隔(秒) | |
| maxCount | No | 最大截图数量 | |
| outputDir | No | 输出目录,默认为 ./screenshots | |
| prefix | No | 文件名前缀,默认为 screenshot | |
| quality | No | 图片质量(1-100,仅对 jpg 有效),默认为 90 | |
| startTime | No | 开始时间(秒),默认为 0 | |
| videoPath | Yes | 视频文件路径 | |
| width | No | 输出宽度(像素) |