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
Feedback and criticism welcome.