Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: general coding practice recommendation to convert raw mulaw audio streams to mp3 (Read 1765 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

general coding practice recommendation to convert raw mulaw audio streams to mp3

I'm seeking guidance in how to use the lame library on Ubuntu 1804 the best way in C code
to produce a mp3 based hls stream from a raw mu-law input stream / data chunks
I need to code this on the smallest footprint possible
I posted another topic with a file based problem that I then will convert to a stream solution
This will all run on a very small  - not very potent -  hardware servicing one client (receiving client)
I tried sox, ffmpeg and ended up with lame.
Is that the right choice and if so are there any code samples(non outdated  that run and compile today)
I went through a lot of code samples that at the end were outdated and simply did not solve my problem.