finds.dev← search

// the find

carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor

★ 598 · Ruby · updated Dec 2019

Segments live video streams based on the Apple HTTP Live Streaming protocol and pushes the resulting files to various locations.

A Ruby+C tool from 2009–2013 that wraps FFmpeg to segment live video into HLS chunks and ships them to S3, FTP, SCP, or a local directory. Targets anyone who needed to self-host HLS before it was boring and well-supported. That era is over.

Multi-bitrate output is handled cleanly via named encoding profiles in YAML, so you can target iPhone and iPad at different bitrates from one config. The C segmenter keeps the hot path out of Ruby, which matters for real-time work. Transfer backends are properly separated — swapping S3 for SCP is a config change, not a code change. Example configs for common device aspect ratios are a practical touch.

Dead since 2019, and realistically dead since ~2013 when development stopped; FFmpeg's own HLS muxer (`-f hls`) made this redundant years ago. The C segmenter uses libavformat APIs that have changed substantially — it almost certainly won't compile against any FFmpeg version shipped in the last five years without patches. The right_aws gem it depends on for S3 is itself long-abandoned in favor of aws-sdk-s3. No tests, no CI, no lockfile for gem versions.

View on GitHub → Homepage ↗

// 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 →