Author Topic: [SOLVED (for now)] Speex encoder decoder Win32 CLI tools, anyone have working?  (Read 1155 times)

0 Members and 1 Guest are viewing this topic.

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: 00
  • STM32, STM8, AVR, 8051
Hello

just evaluating a possibility to use a Speex codec in an embedded application. https://speex.org/

There are Win32 CLI tools available for download, that would be a very helpful for debugging stuff and generating sample files. However those damned CLI apps do not work. Whenever I try to encode anything, the encoder tells me it starts encoding (or decoding) and then it crashes. Doh!  |O
Here is the download link for the binaries: http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip

Tried on two different computers running W7 x64.

Does anyone have any of these binaries actually working? Or what might be the problem?
I have only found a brief mention of the problem from May 2009: http://lists.xiph.org/pipermail/speex-dev/2009-May/007223.html

Thank you for help,
Yansi

PS: Supplied you a sample wav file if you dare to try yourself :)

//EDIT: Finally found the 1.0.4 binaries seems to work. Dammit! Sad they couldnt repair the bloody 1.2b3 since 2009...
« Last Edit: August 17, 2017, 03:48:19 pm by Yansi »
 

Offline blueskull

  • Supporter
  • ****
  • Posts: 12479
  • Country: cn
  • Power Electronics Guy
Using libspeex included with latest FFMPEG Win64 build, the output Speex OGG sounds absolutely terribly.
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: 00
  • STM32, STM8, AVR, 8051
And what did you try to encode?
 

Offline blueskull

  • Supporter
  • ****
  • Posts: 12479
  • Country: cn
  • Power Electronics Guy
And what did you try to encode?

Your sample wav.
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: 00
  • STM32, STM8, AVR, 8051
What bitrate and what settings was it at? (codec complexity and quality settings)
Can you please upload the resulting ogg?
 

Offline blueskull

  • Supporter
  • ****
  • Posts: 12479
  • Country: cn
  • Power Electronics Guy
What bitrate and what settings was it at? (codec complexity and quality settings)
Can you please upload the resulting ogg?

qscale=10

My command line is: ffmpeg.exe -i input.wav -codec:a libspeex -qscale:a 10 output.ogg

I was using the latest FFMPEG 86994 version, official Win64 build, with gcc 7.1.0.
 

Online Whales

  • Frequent Contributor
  • **
  • Posts: 879
  • Country: au
    • Halestrom
My understanding is that SPEEX has been completely abandoned in favour of OPUS.  That's probably why those builds are broken/out of date.

Not sure if it will be any easier/harder to implement on an embedded platform, however.  Someone who possibly may have tried.

As bad and ancient as MP3 is, you can get dedicated hardware on the cheap to decode it.
« Last Edit: August 19, 2017, 02:39:28 am by Whales »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf