|
From: bat g. <bat...@ho...> - 2012-07-25 10:36:46
|
---------------------------------------- > 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? 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 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. The config report is here ---> http://pastebin.com/yVahSBSq Is there something missing? In the meantime.... I use this command:- sox -d -p | ffmpeg -f sox -i - -c:a libvo_amrwbenc -b:a 23.85k -ar 16k -ac 1 output.amr |