Vane Data / Reference
video_index_info
video_index_info inspects a video index BLOB without opening a FILE and reports its counts, size, and creation I/O.
Signature
vane.video_index_info(index) -> ExpressionSQL: video_index_info(index).
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| index | BLOB value or Expression | Index produced by build_video_index | Required |
Returns and errors
Returns a STRUCT with frame_count, keyframe_count, source_bytes, index_bytes, build_bytes_read, and codec_version. NULL returns NULL. Its implementation follows video_backend, including on connections that have not loaded the native_media extension. Index integrity, identity, and format failures raise.
Example
SELECT video_index_info(build_video_index(video_file('clip.mp4')));