Re: [Audacity-devel] Adding "Import Audio" support on ARM
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Ajay G. <aja...@gm...> - 2012-03-30 13:11:44
|
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<http://audacity.sourceforge.net/download/>, 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 ################################################################################################### Any ideas? Please ... Regards, Ajay On Fri, Mar 30, 2012 at 5:09 PM, Ajay Garg <aja...@gm...> wrote: > Thanks James for the reply. > > > > Have you successfully built Audacity from source (with import working) > on a non-ARM machine? > > Well.. that was a good question. > > I tried it on x86-based Fedora 14; and *fortunately*, the result is same. > I get the exact same (non-MP3 support) when I compile from source. > > > So, I guess that makes the issue a little simpler.. :-) > > My thinking is that I am missing some parameters in "./configure". > > I thereby request, to please let me know what parameters to pass to > "./configure", to enable MP3 support. Right now, I am using "./configure > --with-ffmpeg --with-portmixer="local"" > > > Looking forward to a reply. > > > Thanks and Regards, > Ajay > > On Fri, Mar 30, 2012 at 1:54 PM, James Crook <cr...@in...> wrote: > >> Hi Ajay, >> >> You're not being ignored, it's just that at the moment no one on the list >> has anything useful to say. I'm not aware of anyone else on this list who >> has been building with ARM. I'd possibly have some useful comment or >> question if I developed on Linux, that might get you a step further, but >> I'm (currently) windows only. Have you successfully built Audacity from >> source (with import working) on a non-ARM machine? >> >> Someone who knows the details better may be able to point to some >> considerations around libraries. I've not been following this area >> closely. I think we changed to a different LAME after 1.3.13, and the >> older and newer LAME libraries are not compatible. Also LAME import/export >> and compressed import/export which may include mp3 via FFMPEG and >> libavformat are different. You can have a valid LAME set up without >> supporting FFMPEG as a so and vice versa. >> >> >> >> >> --James. >> >> >> >> On 30/03/2012 05:28, Ajay Garg wrote: >> >> Further, I tried building "audacity-freeworld", after doing "./configure >> --with-ffmpeg --with-portmixer="local"" >> >> Still, to no avail. >> >> I stil cannot get audacity to recognise "libavformat.so" (even after >> setting the path in "Edit" -> "Preferences" -> "Libraries"); >> and I still get the frustrating message "This version of Audacity was not >> compiled with support for MP3 files". >> >> Regards, >> Ajay >> >> On Fri, Mar 30, 2012 at 1:41 AM, Ajay Garg <aja...@gm...>wrote: >> >>> Ping.. :) >>> >>> Help required !! :) >>> >>> Regards, >>> Ajay >>> >>> >>> On Thu, Mar 29, 2012 at 6:31 PM, Ajay Garg <aja...@gm...>wrote: >>> >>>> I tried the latest "ffmpeg-0.10.2"; but to no avail :( >>>> >>>> Regards, >>>> Ajay >>>> >>>> >>>> On Thu, Mar 29, 2012 at 11:06 AM, Ajay Garg <aja...@gm...>wrote: >>>> >>>>> Hi all. >>>>> >>>>> I have been trying since 3 days to get the "Import Audio" to work in >>>>> armv7l-based F14. >>>>> For this, I have followed these steps :: >>>>> >>>>> >>>>> 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-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.7.11.tar.bz2") >>>>> 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". >>>>> >>>>> >>>>> Any ideas? >>>>> I will be really grateful. >>>>> >>>>> >>>>> Thanks and Regards, >>>>> Ajay >>>>> >>>> >>>> >>> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> >> > |