Selur's Little Message Board
Add Codec2 support. - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Add Codec2 support. (/thread-3044.html)



Add Codec2 support. - QLaHPD - 17.01.2023

Could you please add codec2 to the list of audio format options? It is supported by ffmpeg. It can support really low bitrates (450bits/s), which are perfect for my needs.


RE: Add Codec2 support. - Selur - 17.01.2023

Any information about which container formats support codec2 and hot to calculate the container overhead?
Wasn't it an audio codec meant for speech only?

Cu Selur


RE: Add Codec2 support. - QLaHPD - 18.01.2023

Not sure, now I'm afraid there is no container that support it. And yes, it's meant to speech only.


RE: Add Codec2 support. - Selur - 18.01.2023

Okay, so you use Hybrid to convert audio files only? (no problem with that, just not many users who do that, but I'm happy that someone is testing that aspect)
I called my usual ffmpeg build (build with https://github.com/m-ab-s/media-autobuild_suite on Windows and https://github.com/Selur/HybridDeploy/blob/master/build-tools.sh on Linux) and it does not include codec2.
Seems like ffmpeg only supports decoding through libav and encoding through an external library (which is kind of annoying).
If https://github.com/m-ab-s/media-autobuild_suite adds support for codec2 I can look into adding support for it in the Linux builds and packaging.
But first thing would be that https://github.com/m-ab-s/media-autobuild_suite supports it.
=> best post a request for supporting it over at https://github.com/m-ab-s/media-autobuild_suite

Cu Selur