I compiled libmad for sox. When I try to read an mp3 I get this message:
sox FAIL util: Unable to load MAD decoder library (libmad) function "mad_stream_buffer".
Did I compile the project incorrectly?
I compiled libmad for sox. When I try to read an mp3 I get this message:
sox FAIL util: Unable to load MAD decoder library (libmad) function "mad_stream_buffer".
Did I compile the project incorrectly?
Compiling SOX with Lame and Libmad for Windows http://www.codeproject.com/KB/aspnet/Compiling_SOX_with_Lame.aspx
I have put together the original SoX binary and libmad and libmp3lame from http://code.google.com/p/ossbuild/source/browse/trunk/Shared/Build/Windows/Win32/bin/
SoX binary for Win32 together with libmad and libmp3lame
Thanks that was easy. Thanks for sharing this easy solution.
I have put together the original SoX binary and libmad and libmp3lame from http://code.google.com/p/ossbuild/source/browse/trunk/Shared/Build/Windows/Win32/bin/
SoX binary for Win32 together with libmad and libmp3lame
Steps to using SOX to create MP3s:
libmad-0.dll
andlibmp3lame-0.dll
. The currently only known trustworthy source is ossbuild but this requires you to download a 1.5 GB archive. The selected two files are available here and here.libmad-0.dll
andlibmp3lame-0.dll
to the folder where SOX was installed to.Use the command line to convert a file to
.mp3
:Note:
-c 2
makes it stereo,-C 128
specifies output as 128 kbps MP3You can download SoX binaries together with libmad.dll and libmp3lame.dll from http://www.videohelp.com/software/SoX
http://www.videohelp.com/download/sox-14.4.0-libmad-libmp3lame.zip