Video Content Analytics Pipeline
Analyze video content at scale to extract insights: scene composition, speaker time, topic distribution, and sentiment across your video library.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")namespace = client.namespaces.create(name="video-analytics")collection = client.collections.create(namespace_id=namespace.id,name="marketing-videos",extractors=["scene-detection","audio-transcription","sentiment-analysis","topic-classification"])# Upload videos for analysisclient.buckets.upload(collection_id=collection.id,url="s3://your-bucket/campaign-videos/")# Aggregate analytics across all videosdocs = client.documents.search(namespace_id=namespace.id,collection_ids=[collection.id],page_size=100)# Analyze sentiment distributionsentiments = [d.metadata.get("sentiment") for d in docs]
Feature Extractors
Scene Detection
Detect and classify scenes in video content
Audio Transcription
Transcribe audio content to text
