esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
Let’s talk

I’ll build the agent for it.

Video Understanding Basics

How AI models make sense of video: frames, motion, sound and timestamps, plus the trade-offs, explained simply for your AI interview.

In short

Video understanding is an AI model saying what happens in a clip, and at which second. Many systems pick frames and send the sound along, as audio or timestamped text, and the frame rate sets the trade-off between detail and cost.

10 min readAdvancedOccasional · estimateFacts checked 27 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Video understanding means an AI model can say what happens in a clip, and when. Many systems pick frames from the clip and send the sound along too, as audio or as text with timestamps. Frame rate is the trade-off: more frames catch short events but cost more. Long videos get cut into chunks, and a person checks anything that matters.

What is video understanding, in plain words?

Video understanding is teaching an AI model to say what happens in a clip, and when. A video is a stream of still pictures, called frames, shown one after another, usually with a sound track. A camera records many frames every second.

The hard part is time. One picture tells you what is there. A video tells you what changed, in what order, and when. A dashcam can show a car braking, and only the order of frames shows that the brake came before the crash.

Picture an insurance claims adjuster who watches dashcam footage with a stopwatch. A driver says, "The light was green the whole time." The adjuster checks the footage for the second the light changes. A claims model does the same job: it reads sampled frames and the sound, then points to the second the brake light came on.

Key words

Frame
One still picture taken from the video.
Frame rate
How many frames are taken each second. Written as FPS.
Timestamp
The point in the clip where something happens, such as 12.5 seconds in.
Sampling
Picking a few frames from the full stream, instead of keeping every one.
Attention
A way for a model to weigh which parts of its input matter most at each step.

How do models learn motion, old and new?

Before large language models, researchers built video models that looked at space and time together. The key idea was to find motion as well as shapes. Three well-known designs came from that period.

  • Two-stream

    Looks and motion, side by side

    One path reads still frames for what things look like. The other reads motion between frames. The two results are then combined.

  • 3D convolution

    Filters that slide through time

    The filter moves across width, height and time, so one layer can pick up motion. Research found 3D networks were better suited to this than 2D ones.

  • SlowFast

    Two speeds in one model

    A slow path looks at fewer frames to capture what is in the scene. A fast path looks at many frames for motion.

Newer models use attention, the same tool as language models. TimeSformer adapts that design to video, working from patches taken from a sequence of frames. Its paper reports it was faster to train than 3D networks, and that it can be applied to clips over one minute long.

Video is also repetitive, because neighbouring frames look much alike. VideoMAE, a 2022 paper, uses that to hide parts of each clip during training. The paper says this lets it hide a larger share than it could for a still image, and reports good results even when 90% to 95% of the video is hidden.

How does a video reach a model today?

Many chat models do not watch a film the way a person does. A common route is to pick frames, send the sound along as audio or as timestamped text, and send both together in one request. The model then answers from that bundle.

How a video reaches the model

Video clip

frames plus a sound track

Prepare

Pick frames

about 1 to 4 frames per second

Sound track

audio or timestamped speech

Model

reads frames and sound together

Answer with times

what happened, and at which second

  1. 1Sampling picks still frames from the clip.
  2. 2The sound track is split off from the clip.
  3. 3The chosen frames reach the model as pictures.
  4. 4The sound reaches the model as audio or as timestamped text.
  5. 5The model answers, with the times it relied on.
The clip is split into frames and a sound track, and both reach the model together. The answer can then point to the seconds it used, so a person can check them.

What does the frame rate cost you?

Take a 60-second dashcam clip with a crash that lasts 0.4 seconds. At one frame per second, the model gets 60 frames, and none lands inside the crash. At four frames per second it gets 240 frames, and one lands inside it. That is four times the frames, so the work and cost of processing them go up too.

Here it is in plain Python. The numbers are made up, and the marked lines decide what the model would see.

Python
# A 60-second dashcam clip. A crash lasts 400 ms, from 12300 ms to 12700 ms.
CLIP_MS = 60000
CRASH_START_MS = 12300
CRASH_END_MS = 12700

def sample_times(fps):
    # Pick one frame every 1000 / fps milliseconds.
    step = 1000 // fps
    return list(range(0, CLIP_MS, step))

def crash_frames(fps):
    return [t for t in sample_times(fps) if CRASH_START_MS <= t <= CRASH_END_MS]

for fps in (1, 4):
    hits = crash_frames(fps)
    verdict = "caught" if hits else "missed"
    print(f"{fps} fps: {len(sample_times(fps))} frames, crash {verdict}, frames at {hits} ms")
print(f"Extra frames at 4 fps: {len(sample_times(4)) - len(sample_times(1))}")

Output

1 fps: 60 frames, crash missed, frames at [] ms
4 fps: 240 frames, crash caught, frames at [12500] ms
Extra frames at 4 fps: 180

Google Cloud's current video guide says that when you use its File API, videos are sampled at 1 frame per second, and it warns that fast action can lose detail at that rate. The guide adds that these rates are subject to change. Google's Gemini video API also lets you set the frame rate yourself, so pick it for each job.

  • “When using the File API, videos are sampled at 1 frame per second (FPS) and audio is processed at 1Kbps (single channel).”

    Google Cloud video guide

  • “Be aware that fast action sequences might lose detail due to the 1 FPS sampling rate.”

    Google Cloud video guide

Tip

Long videos, such as a three-hour call or a week of CCTV, can go over a model limit. Google Cloud's video guide lists a maximum length of about 45 minutes with audio for several Gemini models. Cut them into time chunks, sample each chunk, and keep the start time of every chunk so the answer can point back to it.

How would you find one incident in 300 hours of warehouse CCTV?

A warehouse safety team has 300 hours of footage from 40 cameras and needs the forklift near-miss from one shift. Sending all of it to one prompt would miss short events and cost the most, so I would work in stages.

  1. 1

    Cheap first pass

    Sample a few frames per second and flag busy moments with simple motion or sound checks. Quiet aisles drop out early.

  2. 2

    Index by camera and time

    Store each flagged clip with its camera and start time, so a hit points to a specific second.

  3. 3

    Strong model on the shortlist

    Only the flagged clips go to the stronger video model, with a narrow question such as which forklift passed the pedestrian lane.

  4. 4

    A person decides

    A safety officer checks the clip before any report or disciplinary step. Models can be wrong about who was where.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition: understanding a clip means knowing what happens, and when.
  • Frames plus sound, and why sampling is a trade-off.
  • The older designs (two-stream, 3D, SlowFast) and the newer attention models.
  • Short events can fall between frames, and the frame rate sets the cost.
  • Long video needs chunks, timestamps and a person who checks the result.

Common traps

  • Trap"Just send every frame to the model."

    BetterEvery frame costs money, and most add little. Sample by need, and keep the timestamps.

  • Trap"Motion is just a faster version of still images."

    BetterMotion needs order over time. The model must see frames in sequence, or it misses what changed.

  • Trap"The model watches the video like a person."

    BetterIt reads the frames you chose and the sound you sent. Anything you didn't send, it can't see.

Can you spot the risk?

Spot the risk

A factory's safety camera tool samples footage at 1 frame per second. What is the biggest risk?

Quick check

A three-hour call recording needs a summary with timestamps. What do you do first?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q442How do images become tokens?12 min
  2. Q451What is multimodal RAG?11 min
  3. Q452Native multimodal vs pipeline approach?12 min
  4. Q455How do you evaluate multimodal outputs?14 min
  5. Q448How do you extract structured data from documents and images?12 min

Learn it in depth

Last updated on 27 November 2026

Building a tool that reads video, audio or screens?

I design and build AI products and agents, including the UI and the system behind them. Book a short call and tell me what your footage needs to answer.