-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libmpg123 - Raspberry PI #36
Comments
Should add the following as well: root@raspberrypi:/home/pi/audiotools-2.21# apt-get install libmpg123-dev |
The problem I run into is that running: % python setup.py build won't work as expected since Python's distutils caches a lot of stuff, so you'll need to remove the build/ directory after installing additional packages. But if that doesn't solve the problem, perhaps running: % echo "from audiotools.decoders import MP3Decoder" | python - might help determine why it's not loading. There might a 32/64-bit library mismatch or some other strangeness at work. |
Thanks for the input. I will try tonight and let you know how that works. On Tue, Sep 2, 2014 at 9:26 AM, tuffy notifications@github.com wrote:
|
Hi, Still receiving error when trying to run trackplay on an mp3. However, I see the following when running python setup.py install:Python Audio Tools 2.21 Setuplibrary present? used for download URL libasound2 no ALSA output http://www.alsa-project.org audiotools-config still shows mp2 and mp3 in red. And when running trackplay I get the following: library "libmp3lame" needed to support mp3 format When trying your other suggestion: pi@raspberrypi ~/Desktop $ echo "from audiotools.decoders import MP3Decoder" | python - Given the processor is ARM, I am not sure if there is 32/64 weirdness. Is there anything else I can try? |
Ah, looks like you're missing libmp3lame which is needed for MP3 support, since the codec wants both the decoder and encoder in order to work. Try installing "lame" and "lame-dev", clean out the build/ directory and rebuild. I haven't yet split the decoding and encoding prerequisites so that one can decode a file without also being able to encode it, but that is on my TODO list. |
I was able to do the following steps and it works great now thanks! With Raspian IMG 2014-06-20 sudo apt-get install python-dev python-gtk2 Audiotools Installation git clone git://github.com/tuffy/python-audio-tools.git cd python-audio-tools |
Forgot to add the following changes to the setup.cfg file to force acceptance of different libraries not found with probe: |
I am running Rasbian (Wheezy).
I have installed libmpg123 via repository.
When I run the following:
root@raspberrypi:/home/pi/audiotools-2.21# pkg-config --list-all | grep libmpg123
libmpg123 libmpg123 - An optimised MPEG Audio decoder
It appears to be installed (and based on the setup.cfg should find it when set to probe).
However, after compile, when I run audiotools-config - the mp2, and mp3 sections are red.
Is there something that I am missing?
The text was updated successfully, but these errors were encountered: