#Overview
AI Video Player is a full-featured desktop app for local libraries and YouTube/remote URLs.
It layers AI on top of classic playback β auto subtitles in 100+ languages, semantic transcript search,
summaries & chapters, a streaming tutor, translation, emotion analysis, quizzes, and FFmpeg-powered clip tools.
#Core Playback
- π Video library β folder scan, thumbnails, search & sort
- π URL playback β YouTube embed + direct media URLs via yt-dlp
- β© Player controls β A/B loop, 0.25Γβ4Γ speed, PiP, fullscreen
- π Playlist queue β auto-advance with rebindable hotkeys
- πΎ Watch history β resume playback with HTTP range streaming
#AI Features
- π£οΈ AI subtitles β AssemblyAI / Gladia / Whisper / Gemini routing with speaker diarization
- β±οΈ Auto-sync β align cues to speech onset via FFmpeg
- π Semantic search β FAISS + sentence-transformers, seek-on-click results
- π Summary & chapters β Gemini or local Ollama, pointwise or paragraph
- π AI tutor β streaming Q&A about video content (SSE)
- π Translation β MyMemory β Gemini/Ollama fallback
- β¨ Smart highlights β key moments spaced across the timeline
- π Emotion / sentiment β per-segment tone analysis
- β Quiz generation β comprehension Q&A from the transcript
#Clips & Processing
- βοΈ Clip creator, screenshots, named bookmarks
- ποΈ GIF creator (two-pass palettegen)
- π Clip merger, speed remapping, frame extraction
- π― Subtitle auto-sync for exported media
#Tech Stack
Desktop & Frontend
- Electron β desktop shell
- React + Vite β UI
- Custom dark glassmorphic design
Backend
- Node.js + Express β API
- FFmpeg β media processing
- yt-dlp β YouTube audio/video
AI Service
- FastAPI + FAISS search
- Gemini 2.5 Flash
- AssemblyAI / Gladia / Whisper
- Ollama β optional local LLM
#Architecture
ai-video-player/
βββ electron/ # Main process + IPC + service launcher
βββ frontend/web/ # React + Vite player UI
βββ backend/ # Express API (transcribe, tutor, clipsβ¦)
βββ ai-service/ # FastAPI + FAISS + Whisper/Gemini