getting sox to use the amr-nb library?
Adam Funk
a24061 at ducksburg.com
Tue Jul 7 18:09:14 UTC 2009
On 2009-07-04, David Fox wrote:
> On Thu, Jul 2, 2009 at 2:35 AM, Adam Funk<a24061 at ducksburg.com> wrote:
>> $ file Record000.amr
>> Record000.amr: Adaptive Multi-Rate Codec (GSM telephony)
>>
>> $ sox Record000.amr Record000.wav
>> sox formats: no handler for detected file type `amr-nb'
>
> You might try installing libsox-fmt-all. No guarantee that sox will
> understand amr. Have you tried ffmpeg to do the conversion?
I have now (see below). I checked and libsox-fmt-all is installed ---
although libamrnb3 isn't part of it but comes from Medibuntu. Is it
possible to force sox or ffmpeg (or any other sound file converter
that you recommend) to use the amrnb3 library?
Thanks,
Adam
$ sox Record000.amr Record000.wav
sox formats: no handler for detected file type `amr-nb'
$ ffmpeg -i Record000.amr Record000.wav
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 10 2009 23:18:41, gcc: 4.3.3
Input #0, amr, from 'Record000.amr':
Duration: N/A, bitrate: N/A
Stream #0.0: Audio: samr / 0x726D6173, 8000 Hz, mono, s16
Output #0, wav, to 'Record000.wav':
Stream #0.0: Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec (id=73728) for input stream #0.0
More information about the ubuntu-users
mailing list