How kleniobraz/opussb works
OpusSB is a video-clipping and podcast-production application with a web interface and a Flask backend. Its user-facing capabilities include video upload, clip review/editing, caption review, projects, and podcast workflows. The sampled source shows backend job processing, caption-review calls, and GPU reframe behavior; the file tree also documents frontend and podcast feature areas. Several podcast and frontend-to-backend relationships are not visible in the excerpts, so they are represented without speculative connections.
Main entry points: caption_reviewer.py Caption review pipeline · db.py Application database · app.py Flask application · handler.py Reframe worker
Components 25
Web application
- Video upload
frontend/components/upload-console.tsx - Dashboard
frontend/app/(app)/painel/page.tsx - Projects
frontend/app/(app)/projetos/page.tsx - Project detail
frontend/app/(app)/projetos/[id]/page.tsx - Clip editor
frontend/components/editor/clip-editor.tsx - Caption reviewer UI
frontend/app/(app)/revisor/page.tsx - Podcast UI
frontend/app/(app)/podcast/page.tsx - Frontend API client
frontend/lib/api.ts
Video processing
- Flask application
app.py - Clip processor
processor.py - Reframe worker
gpu_reframe/handler.py - Reframe algorithms
reframe_core.py - Caption handling
captions.py - Caption review pipeline
caption_reviewer.py - Caption frame sampling
caption_sampler.py
Podcast production
- Podcast ingest
podcast_ingest.py - Podcast intro cut
podcast_cut.py - Podcast assembly
podcast_compose.py - Podcast audio extraction
podcast_audio.py
Shared services
- Application database
db.py - S3 storage
s3_client.py - Claude client
anthropic_client.py - Configuration
config.py - In-flight work tracking
em_voo.py
Other components
- User
Connections 8
- User → Video upload: uploads video
- Flask application → Clip processor: starts job
app.py - Flask application → Application database: deletes session
app.py - Reframe worker → Reframe algorithms: generates keyframes
gpu_reframe/handler.py - Caption review pipeline → Caption frame sampling: estimates budget
caption_reviewer.py - Caption review pipeline → Claude client: requests review
caption_reviewer.py - Caption review pipeline → Application database: reads glossary
caption_reviewer.py - Podcast ingest → Application database: updates job
podcast_ingest.py