opus icon indicating copy to clipboard operation
opus copied to clipboard

Request for disabling features on low-resource embedded closed systems

Open mikkeldamsgaard opened this issue 2 years ago • 1 comments

Hey.

We are using the celt encoder from this project with great success and we are using it in 100% custom mode on both encoder and decoder. Our embedded MCU has limited memory and to make the encoder perform good enough to run in realtime, we have to load most of the code into memory. The encode_with_ec in particular is rather bloated for our use case, as it handles all possible options. We dont use most of them.

So, the question is: Would it make sense to add compile time options to disable features? Like VBR, LFE, multi streams etc?

If there is a general interest in this, I dont mind doing some of the leg work.

I was thinking about adding a CMakeFile.txt option to enable/disable encoder CTL Id's that could be considered an additional feature.

Kind regards Mikkel

mikkeldamsgaard avatar Aug 27 '23 12:08 mikkeldamsgaard

Nothing seems to be going on? I recently tried to introduce Custom Mode in the MCU of Cortex-M0 and it failed. OPUS requires more RAM than LIBLC3, and obviously, most MCUs can't meet this requirement.

sam131208 avatar Jan 08 '25 08:01 sam131208