|
From: bat g. <bat...@ho...> - 2012-07-26 22:58:52
|
> sox FAIL formats: can't open output file `output.amr-wb': SoX was compiled without AMR-WB encoding support > Hi I still can't make SoX output to amr-wb. It seems with my git compiled SoX... SoX will DEcode amr-nb SoX will DEcode amr-wb SoX will ENcode amr-nb SoX will not ENcode amr-wb I think maybe SoX is using is using opencore-amr to DEcode amr-nb and DEcode amr-wb and ENcode amr-nb. But I think it needs to use vo-amrwbenc to ENcode amr-wb. Like I said before... The package I have is vo-amrwbenc v-0.1.2 >From here ---> http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/ The installed files are:- /usr/local/lib/libvo-amrwbenc.a /usr/local/lib/libvo-amrwbenc.la /usr/local/lib/libvo-amrwbenc.so /usr/local/lib/libvo-amrwbenc.so.0 /usr/local/lib/libvo-amrwbenc.so.0.0.3 But though SoX reports:- OPTIONAL FILE FORMATS amrnb......................yes dlopen amrnb..............no amrwb......................yes dlopen amrwb..............no It also tells me "SoX was compiled without AMR-WB encoding support". So probably during compile SoX has found opencore-amr OK but not found vo-amrwbenc. FFmpeg found vo-amrwbenc OK when compiled from git, so I will carry on using it with SoX. sox -d -p | ffmpeg -f sox -i - -c:a libvo_amrwbenc -b:a 23.85k -ar 16k -ac 1 output.amr |