OnAir

Voice and audio codecs

OnAir never ships a patented codec. You install the ones you may use yourself, and OnAir loads them.

Your responsibility. Whether you may install or use these codecs is up to you: follow the patent and radio-listening law where you live.

Which mode needs which codec

ModeCodecLibrary you provide
DMR, P25 Phase 1, NXDN, dPMRAMBE+2 / IMBE (patented)mbelib
D-STARAMBE (patented)mbelib
FreeDV, M17codec2 (open)codec2
TETRAits own speech codecnothing
DAB, DRM, TV, FMMP2, AAC, H.264 …nothing (FFmpeg is inside OnAir)

codec2 does not help DMR, P25, NXDN or dPMR. If a digital-voice mode says "mbelib not found", you need mbelib, a different library.

Where OnAir looks

Every mode that needs a codec has a small ? button. It shows whether the library was found and where, the exact file names OnAir looks for, the folders it searches, an Open codecs folder button and Look again (no restart needed). Search order:

  1. The DECT2_MBELIB_PATH or DECT2_CODEC2_PATH environment variable (a full path).
  2. The OnAir codecs folders.
  3. The program's own folder.
  4. The system library folders.
LibraryWindowsmacOSLinux
mbelibmbelib.dll, libmbe.dlllibmbe.dyliblibmbe.so
codec2codec2.dll, libcodec2.dlllibcodec2.dyliblibcodec2.so

Without the library, these modes still show calls, IDs, talkgroups and messages, only without sound. The full file name lists and folders are in docs/CODECS.md in the repository.