Processing Videos for GPT-4o and Search

From the creator

Recent multi-modal models like OpenAI's gpt-4o and Google's Gemini 1.5 models can comprehend video. When feeding video into these new models, we can push frames at a set frequency (for example, one frame every second) — but this method can be wildly inefficient and expensive. Fortunately, there is a better method called "semantic chunking." Semantic chunking is a common method used in text-based Retrieval-Augmented Generation (RAG), but we can apply the same logic to video using image embedding models. Using the similarity between these frames, we can effectively split videos based on the semantic meaning of the constituent frames. In this video, we'll explore how to use two test videos and chunk them into semantic blocks. 📌 Code: https://github.com/aurelio-labs/semantic-chunkers/blob/main/docs/01-video-chunking.ipynb 📖 Article: https://www.aurelio.ai/learn/video-chunking ⭐ Repo: https://github.com/aurelio-labs/semantic-chunkers 🌟 Build Better Agents + RAG: https://platform.aurelio.ai (use "JBMARCH2025" coupon code for $20 free credits) 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ #ai #artificialintelligence #openai 00:00 Semantic Chunking 00:24 Video Chunking and gpt-4o 01:59 Video Chunking Code 03:28 Setting up the Vision Transformer 05:56 ViT vs. CLIP and other models 06:40 Video Chunking Results 08:37 Using CLIP for Vision Chunking 11:29 Final Conclusion on Video Processing

Stop watching · start building
Matched to Semantic Search

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026
Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.