[MPlayer-users] Re: amrnb and amrwb?

Zuxy Meng zuxy.meng at gmail.com
Mon Apr 16 09:59:38 CEST 2007


"John Brown" <johnbrown105 at hotmail.com> дÈëÏûÏ¢ÐÂÎÅ:loom.20070415T173113-448 at post.gmane.org...
>OK. Do you know what implications there will be for Windows users such as 
>myself?
>
>I assume that the amr libraries are the "AMR Codec Libraries for GNU-Linux" 
>at: http://www.penguin.cz/~utx/amr
>
>My first attempt to compile them failed. libamrnb.a is created, with a
>warning that undefined symbols are not allowed in Win32 shared libraries.
>No DLL is created. It did not say which symbols were undefined. However,
>I got link errors (undefined Decoder_Interface_init,
>Decoder_Interface_Decode, and Decoder_Interface_exit) when it tried to
>link amrnb-decoder.exe.
>
>I don't want to try any harder until AMR is working in MPlayer again, but
>I just want to point out to the MPlayer (and/or ffmpeg) developers that
>it seems that this change will break AMR support on Windows.
>
>I will contact the AMR library developers for help with building on
>Windows.

Did u still have the amr_float directory under libavcodec? If so you can do 
a manual link to produce libamrnb.dll:

gcc -o libamrnb.dll -shared 
*.o -Wl,--out-implib,libamrnb.dll.a -Wl,--enable-auto-image-base

And then copy *.dll to \mingw\bin, *.dll.a to \mingw\lib and *.h to 
\mingw\include\amrnb

libamrwb is similar.
-- 
Zuxy 






More information about the MPlayer-users mailing list