Good evening to all.
I'm creating a project in python in which i need to encode an audio stream into an mp3 file. I was using lame with subprocess, but I confess I don't like so much that way. Then, I was searching an mp3 audio encoder for python and i found the PyMedia library. The problem, is that I am not able to build and install that library even if I follow the correct instructions. The error I get from gcc is
"audio/libavcodec/dsputil.h:484:24: error: static declaration of 'lrintf' follows non-static declaration". I removed the "static" parameter in that line of code, and the file gets compiled but i get other errors on other files... My question is: Is there any here who knows how to install the PyMedia lib? Or perhaps someone could give me a name of an audio encorder that works with python, that would be great too.
Thanks,
Luigi Ungaro.