Problem with encodec-i686-pc-linux-gnu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I'm having problems with the program encodec-i686-pc-linux-gnu. When I type: ./encdec-i686-pc-linux-gnu Speex 2.wav 1.WAV it gives me this in on the output:

  16:42:00.449 File wav_player.c player'2. WAV 'created: samp.rate = 22050, ch = 1, bufsize = 4KB, filesize = 49KB 
  16:42:00.449 wav_writer.c File writer'1. WAV 'created: samp.rate = 32000, bufsize = 4KB 
encdec-i686-pc-linux-gnu: .. / src / pjmedia-codec / speex_codec.c: 943: spx_codec_decode: Assertion `output_buf_len> = samples_per_frame <<1 'failed. 

And when I do this: 
./encdec-i686-pc-linux-gnu gsm 2.wav 1.WAV 
File wav_player.c player'2. WAV 'created: samp.rate = 22050, ch = 1, bufsize = 4KB, filesize = 49KB 
  16:43:18.006 wav_writer.c File writer'1. WAV 'created: samp.rate = 8000, bufsize = 4KB 
  16:43:18.006 Starting silencedet.c talk burst (level threshold = 1312 = 1000) 
  16:43:18.017 Starting silencedet.c silence (threshold level = 836 = 926) 
  16:43:18.017 File wav_player.c port 000835.WAV EOF 
  16:43:18.506 pa_dev.c PortAudio sound library shutting down .. 
  16:43:18.506 g711 pool is not released by application, releasing a new 
  16:43:18.506 cellular pool is not released by application, releasing a new 
  16:43:18.506 Speex pool is not released by application, releasing a new 
  16:43:18.506 g722 pool is not released by application, releasing a new 

Success 
Duration: 3s.080 
Time: 0s.011 

It works, but the output file, 1.WAV takes up 44KB, although originally it has 49KB and a very low voice quality i.e. voice is slowed. Could someone explain to me how to use speex codec and why why gsm codec produce low voice quality?

Regards, Michal



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux