---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Code examples](/recipes)
3.  Video Transcription & Indexing Pipeline

Back to code examples

Training

# Video Transcription & Indexing Pipeline

Automatically transcribe video content with speaker identification, timestamps, and full-text indexing for downstream search and analytics.

video

audio

text

Single Tier

[Run in Builder](/build?recipe=video-transcription-pipeline)

Python

cURL

from mixpeek import Mixpeek

client \= Mixpeek(api\_key\="YOUR\_API\_KEY", namespace\="transcripts")

\# 1. A bucket for the recordings, and a collection that cuts each one at pauses

\#    and transcribes and embeds every segment

bucket \= client.buckets.create(

    bucket\_name\="meeting-recordings",

    bucket\_schema\={"properties": {"recording": {"type": "video"}}},

)

collection \= client.collections.create(

    collection\_name\="meetings",

    source\={"type": "bucket", "bucket\_ids": \[bucket\["bucket\_id"\]\]},

    feature\_extractor\={

        "feature\_extractor\_name": "multimodal\_extractor",

        "version": "v1",

        "parameters": {

            "split\_method": "silence",

            "run\_transcription": True,

            "run\_transcription\_embedding": True,

        },

    },

)

\# 2. Upload and process. The managed extractor does not label speakers, so

\#    diarization runs in your own pipeline when you need it.

client.buckets.upload(

    bucket\["bucket\_id"\],

    blobs\=\[{"property": "recording", "type": "video", "data": "s3://your-bucket/meeting-recordings/weekly-sync.mp4"}\],

)

client.collections.trigger(collection\["collection\_id"\])

\# 3. Read the transcript one segment at a time, with its time range

docs \= client.documents.list(collection\["collection\_id"\], page\_size\=50)

for doc in docs\["results"\]:

    print(doc\["start\_time"\], doc\["end\_time"\], doc\["transcription"\])

### Feature Extractors

Multimodal Extractor

Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

### Retriever Stages

## Frequently asked questions

### How fast is transcription?

Roughly 3-5x faster than real-time. A 60-minute video typically transcribes in 12-20 minutes.

### Can I get SRT/VTT subtitle files?

Yes. Transcripts include timestamps that can be exported as SRT or VTT format for video players.

### Does it identify different speakers?

Yes. Speaker diarization labels each segment with a speaker identifier, useful for meeting notes and interviews.

## Related code examples and resources

Pages on the same stages, extractors and patterns.

[

Extractor

### Multimodal Extractor

Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

Learn more





](/extractors/multimodal)[

Recipe

### Processing a Large Media Library

Run extraction over tens of thousands of files without paying for the same object twice. Price the job before you submit it, keep new uploads flowing in on their own, and move cold collections out of the vector store while they stay searchable.

Learn more





](/recipes/scalable-multimodal-processing)[

Recipe

### Video Content Analytics Pipeline

Analyze video content at scale to extract insights: scene composition, speaker time, topic distribution, and sentiment across your video library.

Learn more





](/recipes/video-analytics-pipeline)[

Recipe

### Video RAG Pipeline

Retrieval-augmented generation specifically designed for video content. Decomposes videos into scenes and transcripts, retrieves relevant segments for a given question, and passes them as context to an LLM with precise timestamp citations.

Learn more





](/recipes/video-rag-pipeline)[

Recipe

### Searchable Video Library

Turn an unstructured video archive into a fully searchable library. Each video is decomposed into scenes with transcriptions, visual embeddings, and metadata. Users search by natural language and jump directly to the relevant moment in any video.

Learn more





](/recipes/searchable-video-library)[

Recipe

### Dataset Versioning

Treat versioned object storage as your dataset's source of truth. Capture complete snapshots-raw assets, embeddings, and cluster assignments-for deterministic reconstruction at any point in time.

Learn more





](/recipes/dataset-versioning)