Skip to content

Sensible-Analytics/video_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🧘 Mandukya AI

Turn Videos Into Deep Understanding

AI-powered video study companion β€” your personal lecture assistant

πŸš€ Try It Now πŸ’» GitHub


🀯 Watched a 2-Hour Lecture and Remembered Nothing?

If you're serious about learning, you know the pain:

  • ❌ Taking notes while watching is impossible
  • ❌ Can't find that one concept from last week
  • ❌ Re-watching hours of content to find a specific moment
  • ❌ No way to search what was said in a video
  • ❌ Your notes don't connect concepts together

What if AI could watch the videos for you, take perfect notes, and help you understand the big picture?


✨ What Mandukya AI Does

🎯 Automatic Transcription

Upload any video β€” lectures, YouTube, courses:

  • Whisper AI speech-to-text (super accurate)
  • Speaker identification
  • Timestamped transcript
  • Export as subtitles

Searchable video content.

πŸ“Έ Smart Visual Capture

  • Detects slide changes automatically
  • Screenshots key diagrams and charts
  • Captures important visual moments
  • OCR extracts text from slides

See the highlights without watching.

🧠 Knowledge Graph

This is the magic:

  • Extracts concepts from the content
  • Connects related ideas together
  • Shows you the "big picture"
  • Find hidden relationships

Not just notes β€” actual understanding.

🎬 Interactive Presentations

  • Auto-generated Reveal.js slides
  • Transcript snippets with timestamps
  • Jump to exact moments in video
  • Review key points quickly

Navigate 2-hour lectures in 10 minutes.

πŸ” Semantic Search

Ask questions like:

  • "What did they say about consciousness?"
  • "Find the part about the four states"
  • "Show me all diagrams"
  • "Summarize the main teaching"

AI understands the content, not just the words.


πŸ”’ Privacy First

Your videos NEVER leave your computer:

  • βœ… 100% local processing β€” No cloud, no subscriptions
  • βœ… Your data stays yours β€” Everything on your machine
  • βœ… Open source β€” Audit every line of code
  • βœ… Offline capable β€” Works without internet

Perfect for sensitive or private content.


πŸš€ Get Started

Prerequisites

Quick Setup

# Clone
git clone https://github.com/Sensible-Analytics/video_analysis.git
cd video_analysis

# Setup
make setup

# Add your Whisper paths to .env

Usage Pipeline

Step 1: Download a Video

make download URL="https://www.youtube.com/watch?v=..."

Step 2: Process & Transcribe

make run

Step 3: Launch the Split-Helix UI

cd frontend
npm install
npm start

Step 4: Build Knowledge Graph

make index

Step 5: Search & Discover

make search QUERY="What are the main concepts?"

That's it. Deep understanding in minutes.


🎯 Perfect For

Students

"Upload lecture recordings. Get searchable notes. Study 3x faster."

Researchers

"Interview transcripts without manual transcription. Find quotes instantly."

Philosophy/Spiritual Seekers

"Deep study of philosophical texts β€” connect concepts across lectures."

Online Learners

"Coursera, YouTube tutorials, conference talks β€” make them all searchable."


πŸ› οΈ Architecture

Video Input β†’ Whisper.cpp β†’ Transcript
           β†’ FFmpeg β†’ Visual Frames
           ↓
     Cognee AI β†’ Knowledge Graph
           ↓
     Ollama LLM β†’ Insights & Diagrams
           ↓
     Split-Helix UI β†’ Interactive Experience

Privacy-first. Local processing. Deep understanding.


πŸ’‘ What Makes This Different

Other video tools:

  • Upload to their servers ❌
  • Monthly subscription ❌
  • Basic transcripts only ❌
  • No concept connections ❌

Mandukya AI:

  • Runs on YOUR computer βœ…
  • Free forever βœ…
  • Knowledge graphs + transcripts βœ…
  • Connects concepts automatically βœ…

πŸŽ“ Originally Built For

This tool was created for deep study of the Mandukya Upanishad β€” exploring the four states of consciousness (waking, dreaming, deep sleep, pure consciousness).

But it works beautifully for ANY educational content:

  • University lectures
  • YouTube tutorials
  • Conference talks
  • Online courses
  • Interview recordings

πŸ› οΈ Tech Stack

  • Whisper.cpp β€” Local speech recognition
  • Ollama β€” Local LLM for insights
  • Cognee β€” Knowledge graph generation
  • FFmpeg β€” Video processing
  • Python β€” Backend processing
  • React β€” Split-Helix UI

🀝 Built By

Sensible Analytics β€” AI that respects your privacy

Want custom AI learning tools? Let's talk.


Start understanding deeper.

πŸš€ Get Started Β· ⭐ Star on GitHub


πŸš€ Getting Started (Technical Setup)

1. Prerequisites

2. Setup

make setup

This will install dependencies and create your .env file. Edit .env to point to your Whisper binary and model.

3. Usage Pipeline

Step A: Download Lessons

make download URL="https://www.youtube.com/playlist?list=..."
make run  # Start the background brain
cd frontend && npm install && npm start # Launch the Split-Helix UI

and generates Reveal.js slides in the slides/ directory.

Step C: Build Knowledge Graph

make index

Uses Cognee to extract entities and relationships across all lessons, building your local RDBMS, Vector, and Graph databases.

Step D: Semantic Discovery

make search QUERY="The four states of consciousness"

πŸ—οΈ Architecture

The system follows a modular "Knowledge Extraction" architecture:

  1. Perception: Whisper.cpp (Audio -> Text) & FFmpeg (Video -> Frames).
  2. Memory: Cognee (Text -> RDBMS/Vector/Graph).
  3. Reasoning: Ollama (Context + Chunk -> Insights/Diagrams).
  4. Presentation: Reveal.js (Data -> UI).

Created for the study of Mandukya Upanishad.