sox FAIL util:无法加载MAD解码器库(libmad)函数“mad_stream_buffer” [英] sox FAIL util: Unable to load MAD decoder library (libmad) function "mad_stream_buffer"

查看:1703
本文介绍了sox FAIL util:无法加载MAD解码器库(libmad)函数“mad_stream_buffer”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编译了libmad for sox。当我尝试读一个mp3时,我收到这个消息:



sox FAIL util:无法加载MAD解码器库(libmad)函数mad_stream_buffer。



我是否编译错误的项目?

解决方案

使用SOX创建MP3的步骤:


  1. 下载最新版本的 SOX 并安装。

  2. 下载 libmad-0.dll lbmp3lame-0.dll 。目前唯一已知的值得信赖的来源是 ossbuild ,但这需要您下载1.5 GB的存档。所选的两个文件可从此处获取。

  3. 添加 libmad-0.dll lbmp3lame-0.dll 到安装SOX的文件夹。

  4. 使用命令行将文件转换为 .mp3

      sox input.wav -c 2 -C 128 output.mp3 


注意: -c 2 使其立体声, -C 128 指定输出作为128 kbps的MP3


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?

解决方案

Steps to using SOX to create MP3s:

  1. Download latest version of SOX and install.
  2. Download libmad-0.dll and lbmp3lame-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.
  3. Add libmad-0.dll and lbmp3lame-0.dll to the folder where SOX was installed to.
  4. Use the command line to convert a file to .mp3:

    sox input.wav -c 2 -C 128 output.mp3
    

Note: -c 2 makes it stereo, -C 128 specifies output as 128 kbps MP3

这篇关于sox FAIL util:无法加载MAD解码器库(libmad)函数“mad_stream_buffer”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆