Topic 1 of 5 · 4 min read
Summarizing long videos with multimodal models
Goal: Choose an approach for summarizing a long recording and write a request that returns a timestamped summary covering both speech and on-screen content.
To summarize a long video, decide what carries the meaning (speech, screen, or both), send exactly that to the model, and ask for a summary where every claim has a timestamp. A summary without timestamps cannot be checked.
Check yourself · 1 of 3
A recorded demo shows the presenter clicking through three screens while saying very little. Which input gives the best summary?
Why it matters
A one-hour recorded meeting, lecture or support call is too long to watch and too long to paste as text without losing the slides, the shared screen and the speaker changes. Models such as Gemini accept video directly. Others, such as Claude and ChatGPT, are usually fed a transcript plus selected frames as images. Both routes work. They fail in different ways.
Two routes
- Native video input. You upload the file and the model samples frames and reads the audio itself. Gemini's File API takes large files and lets you reuse the upload across requests. This is the simplest route when the visuals matter (a slide deck, a whiteboard, a product demo).
- Transcript plus frames. You run speech-to-text, then add a few frames at moments that matter. This works with any model that reads images, costs less when the video is mostly talking, and gives you a text transcript you can search later.
If the video is a talking head, a transcript is enough. If someone says "as you can see here" a lot, you need frames.
How to do it
- Upload once, then wait until the file state is ready before you call the model.
- Split recordings longer than the model's window into chunks, for example 20 minutes each with 30 seconds of overlap. Summarize each chunk with absolute timestamps, then merge the chunk summaries in a second call.
- Ask for both channels: what was said and what was shown.
- Ask for timestamps in
MM:SSformat and give the video length so the model does not invent times past the end.
Before and after
Before: Summarize this video.
The model returns a smooth paragraph with no times, and you cannot tell whether a claim came from the speaker or from a slide.
After: This is a 48:10 sprint review. Give 6 to 10 bullets. Each bullet starts with a start time in MM:SS, then says what was decided or shown. Mark each bullet SPOKEN or ON SCREEN. If you cannot see or hear something clearly, write UNCLEAR instead of guessing. Do not use any time after 48:10.
What goes wrong
- Merged chunks lose context. A decision in chunk two refers to a name introduced in chunk one. Pass a short running glossary into each chunk call.
- Chunk-relative times. Each chunk starts at 00:00, so the merged summary lists times that are wrong by the chunk offset. Add the offset in code, not in the prompt.
- Visual details missed. At the default of one frame per second, a slide shown for half a second may never be seen.
- Fluent filler. Models smooth over gaps. An explicit UNCLEAR option gives them somewhere honest to go.
Examples
A chunked board meeting
A 2-hour recording is split into six 20-minute chunks with 30 seconds of overlap. Each call returns bullets with chunk-relative times such as 04:12. A small script adds the chunk start (for example 40:00) so the merged list shows 44:12. A final call receives only the bullets, not the video, and writes a one-page summary that keeps the times.
Which route for which video
A recorded product demo where the presenter clicks through screens: send the video natively, because the answers are on screen. A podcast interview: transcribe it, keep the transcript, and send no frames. A lecture with slides: transcript plus one frame at each slide change.
Key points
- Pick the route by where the meaning lives: native video when slides, screens or demos matter, transcript plus frames when the video is mostly speech.
- Upload a large file once through a file API and wait until it is processed before asking questions about it.
- Ask for MM:SS timestamps and state the video length so the model has a limit it can respect.
- When you split a long recording, add each chunk's start offset in code and pass a running glossary between chunks.
- Ask for speech and on-screen content separately, and give the model an UNCLEAR option instead of forcing a guess.
Common mistakes
- Asking for a summary with no timestamps, so no claim can be traced back to the footage.
- Merging chunk summaries without adding each chunk's offset, which makes every time after the first chunk wrong.
- Sending only the transcript for a video where the key content is on a shared screen.
- Calling the model before the uploaded file has finished processing and then treating the error as a model failure.
Check yourself · 2 of 3
You split a 60-minute recording into three 20-minute chunks. Each chunk summary uses times starting at 00:00. What must you do before merging them?
Check yourself · 3 of 3
Which request is most likely to return a summary you can check?
Practice items, not counted towards your mastery.
Start here
- Video understanding (Gemini API docs) (opens in a new tab)DocsFree
Official guide to video input, MM:SS timestamps, clipping, custom frame rates and per-second token counts.
- Files API (Gemini API docs) (opens in a new tab)DocsFree
How to upload large media once, wait for processing and reuse the file reference across requests.
- Understand and count tokens (Gemini API) (opens in a new tab)DocsFree
Lists token rates for video and audio and shows how to count tokens before sending a request.