finds.dev

ashellunts/ffmpeg-to-webrtc

Stream video from ffmpeg to web(rtc)

View on GitHub

★ 975GoMITupdated Oct 2025

// the take

A minimal Go demo that pipes ffmpeg's H.264 stdout into a browser via WebRTC using the pion library. It's a working proof-of-concept for screen/camera streaming without a media server. The target audience is developers who want to understand the ffmpeg→WebRTC plumbing, not ship a product.

Uses pion, which is the serious Go WebRTC library — not a toy wrapper. The SDP exchange is manual-copy, which strips away all the signaling complexity and makes the core data path easy to follow. Surprisingly small codebase (~4 files of real logic) so you can actually read and understand the whole thing. The bat files for screen capture and webcam are practical starting points for Windows users.

Manual SDP copy-paste via jsfiddle is not a signaling mechanism — you can't build anything on top of this without replacing that entirely. Audio is not handled at all. The README warns about 'several seconds of delay' with no guidance on fixing it. Committed `test_program.exe` binary in the repo is a red flag for any serious use. Hasn't had meaningful development in years; ~975 stars are from curiosity, not adoption.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
975
Forks
55
Language
Go
License
MIT
Last commit
4 Oct 2025

// nearby

If ffmpeg-to-webrtc isn't quite it.

All repos →