|
From: Jan S. <ha...@st...> - 2012-07-25 12:06:08
|
> > I don't think there are any AMR packages for Ubuntu (at least not ones that currently work with SoX), due to licensing restrictions. > > > > So the way I do it, as Jan suggests, is to compile SoX from source, after first having compiled AMR from source. > > > Hi > I too am interested in compiling SoX with amr_wb support. > > libvo-amrwbenc is compiled and installed on my system for use with FFmpeg. > >From here ---> http://sourceforge.net/projects/opencore-amr/ > Is this suitable for SoX? This is the AMR implementation I am using. > Using Ubuntu-11.04 and SoX from git. > When I run command ./configure > It shows:- > OPTIONAL FILE FORMATS > amrnb......................yes > dlopen amrnb..............no > amrwb......................yes > dlopen amrwb..............no This means your ./configure has found the installed AMR. > > When I use:- > sox -d output.amr-nb > it is OK. > > But when I use:- > sox -d output.amr-wb > it gives:- > sox WARN formats: amr-wb can't encode at 48000Hz; using 16000Hz > sox WARN formats: amr-wb can't encode stereo; setting channels to 1 > sox FAIL formats: can't open output file `output.amr-wb': SoX was compiled without AMR-WB encoding support. I don't think http://sourceforge.net/projects/opencore-amr/files/opencore-amr/ can do WB encoding; for that you IMHO need http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/ Specifically, I think you have the libopencore-amr[nw]b.so libs but do not have the libvo-amrwbenc.so library. Out of curiosity, why do you need to encode into AMR? |