Vidformer: Enabling Instant Playback for Interactive Video Exploration

ACM International Conference on Multimedia (MM '26), Rio de Janeiro, Brazil
Conversational video exploration: a user asks to be shown a compilation video, an LLM queries a database and writes a video editing script, and Vidformer serves the result as a video stream rendered segment by segment

Vidformer brings instant playback to data-edited videos, enabling rapid exploration of multimodal datasets.


0.25–0.5 s

to playback, regardless of video length

~400×

faster time-to-playback

2–3×

faster full rendering

Instant Playback for Data-Edited Videos

Exploring multimodal datasets means editing videos with data: "Show me every time X happens", "Draw a box over each Y", "Overlay Z telemetry on this video". Scripts, usually Python and OpenCV, are the only tool expressive enough for these tasks, but they take minutes or hours to render. Just change import cv2 to import vidformer.cv2 as cv2 and play the result instantly, no matter how long your video is.


Try it out below! You can run code, see an annotated video, and jump to any part of it instantly.

Click Run to start

Click Run to render a video

First run loads Python (~10s)

For more complex examples, try the playground or Open In Colab

How Vidformer Works

Vidformer uses a declarative data model to combine three techniques:


1) Declarative Lifting

An API shim uses symbolic computation to losslessly lift imperative code into a declarative specification. The code actually runs, but with mock frames.

2) Optimized Rendering

The full edit specification is known in advance, so the rendering engine transparently optimizes and parallelizes rendering. It handles worst-case frame access patterns, not just typical ones, and uses GPUs when available.

3) Video on Demand

Result videos are served as a standard VOD stream, with each segment rendered just in time. Playback latency is independent of video length, and the stream grows as the script runs.

"Show me ..." Conversational Video Exploration

When operated by an LLM agent, Vidformer lets users explore multimodal datasets through conversational video queries in real time. Ask for what you want to see in natural language, and newly edited video results start playing in seconds.

Slack bot demo showing conversational video querying with Apollo 11 footage
A query, invoked via Slack, searching 9+ hours of Apollo 11 footage—video playback began within 6 seconds.

BibTeX

@inproceedings{winecki2026_vidformer,
  title     = {Vidformer: Enabling Instant Playback for Interactive Video Exploration},
  author    = {Winecki, Dominik and Nandi, Arnab},
  booktitle = {Proceedings of the 34th ACM International Conference on Multimedia},
  series    = {MM '26},
  year      = {2026},
  location  = {Rio de Janeiro, Brazil},
  publisher = {Association for Computing Machinery},
  address   = {New York, NY, USA},
  isbn      = {979-8-4007-2213-4},
  doi       = {10.1145/3767308.3836399},
  url       = {https://doi.org/10.1145/3767308.3836399},
}

An earlier version of this paper is available as a preprint on arXiv.