|
From: shan e. <hol...@go...> - 2012-07-25 15:51:45
|
ok guys simpler than i thought thanx for input indeed answer was in INSTALL document in sox-14.4.0 the answer was simple delete sox then install from source enabling * --enable-dl-amrwb* shantiq@shantiq-00000000000000000000000:~/sox-14.4.0$ ./configure --enable-dl-amrwb *[B]info was there all the time in INSTALL document in sox-14.*4.0[/B] A subset of external libraries can be configured to be dlopen()'ed at run time instead of being linked in. This will allow one to distribute a binary with optional features that only require a user to install the missing libraries into their system. This can be enabled using: --enable-dl-lame --enable-dl-mad --enable-dl-sndfile --enable-dl-amrnb --enable-dl-amrwb then we get that after ./configure i did not bother with nb as i was not looking for that here OPTIONAL FILE FORMATS amrnb......................yes dlopen amrnb..............no amrwb......................yes * dlopen amrwb..............yes **here was the missing element* ffmpeg.....................no flac.......................yes [B]and then you get the 16000Hz better than the very thin 8000 from nb[/B] rec myvoice.amr-wb rec WARN formats: amr-wb can't encode at 48000Hz; using 16000Hz rec WARN formats: amr-wb can't encode stereo; setting channels to 1 Input File : 'default' (pulseaudio) Channels : 2 Sample Rate : 48000 Precision : 16-bit Sample Encoding: 16-bit Signed Integer PCM In:0.00% 00:00:22.70 [00:00:00.00] Out:360k [ | ] Clip:0 ^C Aborted. shantiq@shantiq-00000000000000000000000:~$ play myvoice.amr-wb myvoice.amr-wb: File Size: 16.7k Bit Rate: 5.93k Encoding: AMR-WB Channels: 1 @ 16-bit Samplerate: 16000Hz Replaygain: off Duration: 00:00:22.48 In:63.8% 00:00:14.34 [00:00:08.14] Out:229k [ =|= ] Clip:0 Aborted.* * |