Fw: ffmpeg to speexenc

Tom Sparks tom_a_sparks at yahoo.com.au
Fri Mar 12 04:17:34 UTC 2010


> Date: Thu, 11 Mar 2010 09:30:02 -0800
> From: Patton Echols <p.echols at comcast.net>
> Subject: Re: Fw: ffmpeg to speexenc
> 
> Hmmm, the ffmpeg command looks rational so probably not the
> place I 
> would start.  Not familiar with speexenc, but what is
> in the output 
> file?  maybe error messages?
> 
> I looked at the man page online (version?) and the
> --skeleton switch is 
> not shown.  So my two other thoughts would be to try
> it without skeleton 
> or try it in two steps.   Those attempts
> would probably tell you if 
> there is something wrong with the command. 

runs until I terminate ffmpeg or ffmpeg finishes 

tom at tom-laptop:~/Videos$ ffmpeg -i "ART_raw.mp3" -ac 1 -ar 16000 -f wav test.wav
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --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 Oct 13 2009 22:15:16, gcc: 4.4.1
Input #0, mp3, from 'ART_raw.mp3':
  Duration: 01:57:49.77, start: 0.000000, bitrate: 128 kb/s
    Stream #0.0: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Output #0, wav, to 'test.wav':
    Stream #0.0: Audio: pcm_s16le, 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=   12080kB time=386.54 bitrate= 256.0kbits/s    
video:0kB audio:12079kB global headers:0kB muxing overhead 0.000356%
Received signal 2: terminating.
tom at tom-laptop:~/Videos$

stopped at 11.8Mb (6 minutes 26 seconds)

tom at tom-laptop:~/Videos$  speexenc --skeleton -V "test.wav" "test.spx"
Encoding 16000 Hz audio using wideband (sub-band CELP) mode (mono)
Warning: Enabling skeleton output may cause some decoders to fail.
Bitrate is use: 27800 bps     tom at tom-laptop:~/Videos$ 

the test.spx file is 1.3 Mb and plays in VLC for 6 minutes 26 seconds

tom_a_sparks


      




More information about the ubuntu-users mailing list