FFmpeg patches for libmad and WolfSSL

15th May 2022

While creating the Sharpfin Media Server I created a patched version of the FFmpeg audio libraries. These are available here. 

MP3 decoding using libmad

The native mp3 decoder in FFmpeg did not work well on the Reciva radio ARMv4 processor. This patch enables decoding using the very fast and highly optimised libmad MP3 decoder instead.

Patch against FFmpeg 5.0.1
Patch against FFmpeg git at around 5th May 2022

Secure connections using WolfSSL

WolfSSL has some useful optimisations that work well on ARMv4 processors, and also produces very compact code. This is based on a patch for FFmpeg developed in 2018 by samsamsam, posted at https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233802.html.

Patch against FFmpeg 5.0.1
Patch against FFmpeg git at around 5th May 2022

Both the libmad and WolfSSL patches were posted to the FFmpeg devel mailing list in May 2022.