ubuntu使用 ffmpeg 转换amr格式为mp3
2015-09-12 10:48
267 查看
微信录音的amr文件小于1分钟,几十k,使用自己服务器转换比上传到阿里或七牛处理更方便。
1、安装ffmpeg apt-get install ffmpeg
2、ffmpeg只有mp3解码没有编码工具,apt-get install libmp3lame-dev 装了这个mp3编码开源第三方库 好像并没什么用
ffmpeg -codecs 查看已经有的编码解码格式
卸载:
首先sudo apt-get remove ffmpeg
可以编译安装 ffmpeg
===============================================================
或者使用sox:
1、sudo apt-get install lame
2、sudo apt-get install sox
3、sudo apt-get install libsox-fmt-mp3
使用如下命令:
sox test.amr test.mp3
1、安装ffmpeg apt-get install ffmpeg
2、ffmpeg只有mp3解码没有编码工具,apt-get install libmp3lame-dev 装了这个mp3编码开源第三方库 好像并没什么用
ffmpeg -codecs 查看已经有的编码解码格式
卸载:
首先sudo apt-get remove ffmpeg
可以编译安装 ffmpeg
===============================================================
或者使用sox:
1、sudo apt-get install lame
2、sudo apt-get install sox
3、sudo apt-get install libsox-fmt-mp3
使用如下命令:
sox test.amr test.mp3
相关文章推荐
- System.OutOfMemoryException
- 通过串口终端操作开发板
- The Log:每个程序员都应该知道有关实时数据的统一抽象(3)日志与实时流处理
- 一切成功源于积累——20150908 0910 0911 欧美经典15分钟三杀700点 教学课
- How Many Tables(hdu1213)
- TextView 显示html文本
- C++监听文件夹下的添加、修改、删除文件事件
- Linux 之C++ 线程池
- keepalived实现nginx反向代理高可用
- 个人开源项目 第三方Git@OSC客户端
- Java final关键字
- Linux多线程相关事例
- The Log:每个程序员都应该知道有关实时数据的统一抽象(2) 数据集成
- LeetCode Compare Version Numbers
- 【目标】我的软件工程实践项目
- Linux和Windows之间进行文件传输
- 无开发经验,初学python
- JavaScript中this的9种应用场景及三种复合应用场景
- ubuntu12.04 安装配置jdk1.7
- 文章标题