Turbojpeg - Elixir bindings for libjpeg-turbo

We released turbojpeg v0.1.0 today.


turbojpeg is a NIF wrapper around libjpeg-turbo using Shmex and Unifex.

It’s still early, but supports encoding the most common YUV pixel formats into JPEG encoded binaries. It is intended for use with Membrane, but is possible to be used without Membrane.


It currently exposes a Membrane Sink element, but we intend to add a Filter element as well to allow for “capturing” frames from a live stream.

Currently only I420 video frames have been tested, but I422, and I444 should all work. Support for RGB encoded frames is planned as well.


Thanks to @mat-hek and @adkron for helping get this going.