read_videos divides each video into fixed time windows and returns one row per window. Each row has a representative frame in image and the speech from that window in transcript.
See Models for the transcription model. Frame extraction doesn’t use a model.
Signature
Supported extensions:
.mp4, .mov, .mkv, .webm, .avi, and .m4v.
Example
Columns
Each transcript item contains
start_s, end_s, and text.
A null transcript indicates a failure or that transcription was not produced. An empty list means no speech. A frame failure retains the row with empty image bytes, a null image_content_id, and an error in metadata. Files larger than CHOWDER_MAX_FILE_MB (500 MB by default) are skipped with a warning and produce no rows. A remote server can set its own limit. See Configuration.
Set the window duration
Pass the window size in seconds as the second argument. For example, use 10-second windows with:Execution
- Chowder seeks to each window’s frame instead of decoding every frame.
- Queries that select only
source,duration_s, and the window columns, includingcount(*), don’t extract frames. - Transcription runs only when the query selects
transcript. LIMITstops sampling once the query has enough rows.- Transcription runs locally with whisper.cpp, or on the server with remote compute. Use
LocalTranscriptionConfigto choose the local model.