"Import Audio" Support on ARM

Hi all.

I have already posted the query to audacity-devel; but I guess this is the right place.


a)
I first tried with the simple audacity package.
In this when I tried to “Import Audio”, it said “This version of Audacity was not compiled with MP3 files support”.

b)
I then downloaded “audacity-freeworld-1.3.12-0.1.3.beta.fc14.src.rpm”;
“rpm -ivh audacity-freeworld-1.3.12-0.1.3.beta.fc14.src.rpm”

and ran

./configure --with-ffmpeg --with-portmixer=“local”
make

c)
This generated the “audacity” binary in “~/rpmbuild/SOURCES/audacity-src-1.3.12-beta”.


d)
Now when I ran audacity, I was asked to set the location of “lame” and “ffmpeg” libraries.


e)
I then compiled and installed “libmp3lame*” (from “lame-3.98.4-1.fc14.src.rpm”)
and
“libavformat.so.52” (from “ffmpeg-0.10.2”)
libraries.


f)
After that when I set the location of these libraries in “Edit → Preferences → Libraries”, it recognised LAME (as “MP3 Library Version: LAME 3.98.4”);
but it still says FFmpeg Library Version: FFmpeg library not found, EVEN THOUGH I HAVE LOCATED THE PATH OF “libavformat.so.52”.

g)
Also, I then get the message"This version of Audacity was not compiled with support for MP3 files"


Any ideas?
I am turning desperate now :neutral_face:


Thanks and Regards,
Ajay

Ajay, yes you’re right this is the right place for support issues.

The devel email list is really for the coders to discuss development issues - so they tend to just ignore help/support postings like yours.

Update: I’ve just noticed that one of the developers (James Crook) has just responded to you on the devel list.

WC

Thanks waxcylinder for the reply.

Here is the latest update; in summary, I have been able to use “Import Audio” feature on x86 using the codebase 2.0.0; but the same does not work for ARM.
More importantly, on ARM, I am still not able to make recognise FFMPEG Library.

Here are more details ::

###########################################################################################################################
Well, just came across the note at http://manual.audacityteam.org/man/FAQ:Installation_and_Plug-Ins#installffmpeg

##################################################################################################
FFmpeg version information: Audacity 1.3.8 to 1.3.12 inclusive did not compile or work correctly with FFmpeg versions greater than 0.5, and 1.3.13 to 1.3.14 inclusive did not compile or work correctly with FFmpeg versions greater than 0.6. If you are not using the latest version of Audacity, please upgrade.
##################################################################################################








Thus I downloaded “audacity-2.0.0” and built it on X86 F14. “Import Audio” WORKED !!!

However, when I did the same on ARM, “Import Audio” DID NOT WORK.
Instead, it showed the following error logs on startup ::


###################################################################################################
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Expression ‘ret’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 1035
Expression ‘AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 1192
Expression ‘PaAlsaStreamComponent_Initialize( &self->playback, alsaApi, outParams, StreamDirection_Out, NULL != callback )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 1437
Expression ‘PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2105
Expression ‘stream->playback.pcm’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 3875
Expression ‘stream->playback.pcm’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 3875
Expression ‘stream->playback.pcm’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 3875
##################################################################################################
###########################################################################################################################




Regards,
Ajay