3 ms·
Show HN: Go helper for generating FFmpeg HLS/DASH commands
I’ve been working on a Go-based video pipeline and got tired of maintaining large, fragile FFmpeg command strings for adaptive bitrate outputs.
I wrote a small helper library that focuses on:
structuring FFmpeg command generation
building simple ABR ladders based on input resolution
keeping encoding logic testable and explicit
It doesn’t wrap or hide FFmpeg — it just generates commands in a more maintainable way.
Source: https://github.com/farshidrezaei/mosaic https://github.com/farshidrezaei/mosaic
Feedback and criticism welcome.
- farshidrezaei 11mo agoThe goal wasn’t to abstract FFmpeg or be “one library to rule them all”. I mainly wanted something opinionated but explicit, with tests, instead of ad-hoc shell strings scattered across the codebase.