Lossless Audio Compression Codecs

@Caro mentioned a lossless audio compression codec as requirement for developing algorithms for bee or hive states in the 1st phase of the BOB project.

Proposal is to use flac as audio codec. In case you have other suggestions please feel free to discuss other codecs also.


Some details about the format:

  • lossless
  • could be played from many audio player, not so important for us, but a good feature in case beekeeper want to listen to the recordings and check the recordings also
  • asymmetric codec: encoding is more expensive than decoding
  • compression rate: around 50 %
  • License: GNU GPL / BSD
1 Like

As a flac alternative I see only one popular thing, which also can be used by GStreamer: wavpack.

Besisde everything else needed here, they have a unique (?) hybrid mode:

The hybrid mode provides all the advantages of lossless compression with an additional bonus. Instead of creating a single file, this mode creates both a relatively small, high-quality lossy file that can be used all by itself, and a “correction” file that (when combined with the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression!




Just for the records: