fix: add --video to manage_index examples, spot-verification parallel loop
This commit is contained in:
@@ -20,6 +20,16 @@ When verifying ASR transcript claims against actual video visuals, use this ligh
|
||||
|
||||
**Important:** Save frames to the video file's directory, never to `/tmp/` or other temporary paths.
|
||||
|
||||
**Parallel extraction:** Use a sequential `for` loop to extract multiple frames in one terminal call — each frame takes <1s so the total is still fast. Do not use shell `&` backgrounding inside a single terminal call; some terminal tools reject it.
|
||||
|
||||
```bash
|
||||
for ts in "00:05:17" "00:14:06" "00:28:00"; do
|
||||
fn="$DIR/spot_${ts//:/}.jpg"
|
||||
ffmpeg -hide_banner -y -ss "$ts" -i "$VIDEO" -frames:v 1 -q:v 3 "$fn" 2>/dev/null
|
||||
echo "$ts -> $fn ($(stat -c%s "$fn" 2>/dev/null) bytes)"
|
||||
done
|
||||
```
|
||||
|
||||
2. **Send frames to vision analysis with targeted questions.** For each frame, ask about the specific transcript claim:
|
||||
- "The transcript says 'X' at this time. Can you see X happening?"
|
||||
- "Is there a boss/enemy visible? Is combat happening?"
|
||||
|
||||
Reference in New Issue
Block a user