finds.dev← search

// the find

ashellunts/ffmpeg-to-webrtc

★ 975 · Go · MIT · updated Oct 2025

Stream video from ffmpeg to web(rtc)

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.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →