AudioProxy: An imgproxy-style on-the-fly audio transcoding proxy

AudioProxy: An imgproxy-style on-the-fly audio transcoding proxy

https://ift.tt/1mUrRDc

AudioProxy: An imgproxy-style on-the-fly audio transcoding proxy



1 Sep 2026


by
julianrubisch



I built audioproxy because every project I touched that used user submitted audio ended up needing variants (previews, downloads, waveform data, …), and rather than prerendering them, storing them in a database entry and
running the job queue that requires, I wanted a solution that is totally agnostic of where the audio is stored (locally or in a bucket), where it is delivered, and in what format.

In short: the URL is the entire API.

GET /{signature}/f:opus/br:96/t:0:30/fade:1:1/plain/s3://masters/track.wav

renders a signed 30-second Opus preview on demand – critically, it streams the first bytes while ffmpeg is still encoding – and because a URL fully describes its variant, every later request is served range-capable from the variant store, and CDNs can cache it as immutable.

Feedback very welcome, especially on the OTP shape and anything that looks un-idiomatic!


View on ElixirStatus

HI-FI News

via ElixirStatus https://ift.tt/7PCt3hJ

September 1, 2026 at 10:01AM