How benayaram/stream-studio works
This repository implements a small web-based live-streaming controller. A user loads the public interface, submits a source and stream layout, and the server downloads the media with yt-dlp, composites video and optional image overlays with FFmpeg, then sends the output to a configured streaming destination. The server also exposes status and image-upload endpoints. Only partial server.js excerpts are available and the README is empty, so the graph omits unverified frontend-to-endpoint details and finer configuration behavior.
Main entry points: server.js HTTP Controller · ffmpeg.exe Video Compositor · yt-dlp.exe Media Downloader · uploads Uploaded Assets
Components 11
Web Control
- Control Interface
public/index.html - HTTP Controller
server.js - Stream Status
server.js - Stream Control
server.js
Stream Processing
- Process Lifecycle
server.js - Media Downloader
yt-dlp.exe - Video Compositor
ffmpeg.exe
Overlay Assets
- Asset Uploads
server.js - Uploaded Assets
public/uploads
Other components
- Operator
- Streaming Destination
Connections 13
- Operator → Control Interface: opens
- HTTP Controller → Control Interface: serves
server.js - Operator → HTTP Controller: controls
- HTTP Controller → Stream Status: routes status
server.js - HTTP Controller → Asset Uploads: routes uploads
server.js - Asset Uploads → Uploaded Assets: writes files
server.js - HTTP Controller → Stream Control: routes stream
server.js - Stream Control → Process Lifecycle: starts or stops
server.js - Process Lifecycle → Media Downloader: spawns
server.js - Process Lifecycle → Video Compositor: spawns
server.js - Media Downloader → Video Compositor: pipes media
- Video Compositor → Streaming Destination: publishes stream
- Uploaded Assets → Video Compositor: overlays assets