Skip to contentSkip to conversation

encoder audio or speech for omap5912

DISCUSSION Michał Szabat 1 participant 1 message Apr 27, 2006

lore
Share & tools
lore
#0 lore raw

Hello.

I want encode wav to mp3 on omap5912. I try to compiled lame3.96.1 with toolchain3.4.1 with options CC=arm-linux-gcc ./configure --target=arm-linux --host=arm-linux --prefix=/root/lame. This compiled properly, but not works.

/ # lame
LAME version 3.96.1 (http://lame.sourceforge.net/)

usage: lame [options] <infile> [outfile]

<infile> and/or <outfile> can be "-", which means stdin/stdout.

Try:
"lame --help" for general usage information
or:
"lame --preset help" for information on suggested predefined settings
or:

     "lame --longhelp"

or "lame -?" for a complete options list
/home # lame xp.wav xp.mp3
Segmentation fault.

I think that the problem maybe with this(configure warning)

checking for IEEE854 compliant 80 bit floats... configure: WARNING: can't check for IEEE854 compliant 80 bit floats

checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
configure: WARNING:
**************************************************************************

  *                                                                        *
  * You are cross compiling:                                               *
  *   - I did not have a change to determine                               *
  *     + the size of:                                                     *
  *       - short                                                          *
  *       - unsigned short                                                 *
  *       - int                                                            *
  *       - unsigned int                                                   *
  *       - long                                                           *
  *       - unsigned long                                                  *
  *       - float                                                          *
  *       - double                                                         *
  *       - long double                                                    *
  *     + the endianess of the system                                      *
  *   - You have to provide appropriate defines for them in config.h, e.g. *
  *     + define SIZEOF_SHORT to 2 if the size of a short is 2             *
  *     + define WORDS_BIGENDIAN if your system is a big endian system     *
  *                                                                        *

**************************************************************************

Anyone could help me with this. It not must be lame encoder. I tried with bladeenc and speex.