Convert Speex files to MP3, programatically? [closed]

℡╲_俬逩灬. 提交于 2019-12-11 19:20:06

问题


Is is there some sort of library that would allow me to convert a speex file to an mp3 file? If it were do-able from php that would be even better, but really anything would probably work.


回答1:


If you have gstreamer available on your platform, it can do it for you provided you have the proper codecs installed.

On http://forums.fedoraforum.org/showthread.php?t=61984 I found this piece of code for wma to mp3 conversion, you should be able to craft something similar for your needs:

gst-launch filesrc location=filename.wma ! spider ! lame ! filesink location=filename.mp3



来源:https://stackoverflow.com/questions/306622/convert-speex-files-to-mp3-programatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!