grab_frames
Extracts exact frames at specified timestamps from a Bilibili video to verify numbers, names, or parameters that subtitles may have misread. Returns a contact sheet and per-frame files for reading table and chart values.
Instructions
按需抽帧:只在字幕出现「明显影响理解且无法纠正」的错误时用。
什么时候用
字幕/口播里出现数字、专有名词、参数名,且这个错会改变结论—— 不是"可能读错",是"读错了我就没法下判断"。这时抽该时间点附近的一张 画面确认。数字以画面为准,不以逐字稿为准。
⛔ 不要全片抽帧。 全片抽帧产出的是"我看过这个视频", 不是"我核对了这个数字"。先用判据筛,命中才抽。
quality:720 看画面结构够用;要读表格/榜单里的数字必须 1080 (实测 640×360 只能认出几个大字,格子里全是糊的)。
page:多 P 视频抽第几部分(默认 1)。视频流缓存按分P分目录, 否则抽 P2 会复用 P1 的视频流,抽出来的画面根本不是那一段。
需要 ffmpeg。没装时返回明确指引,不静默失败。
返回 {sheet, grid[]}:grid 里每项含 #编号 / sec / ts / file, 按编号回读原图取数字(联系表只用于定位)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bvid | Yes | ||
| page | No | ||
| quality | No | ||
| at_seconds | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |